Using now new constructor

This commit is contained in:
dankito 2024-10-15 11:14:46 +02:00
parent c3655e38ea
commit 3a40167e2f
1 changed files with 1 additions and 2 deletions

View File

@ -398,8 +398,7 @@ class BankingService(
recipientName: String, recipientAccountIdentifier: String, amount: Amount, currency: String, recipientName: String, recipientAccountIdentifier: String, amount: Amount, currency: String,
paymentReference: String? = null, instantTransfer: Boolean = false, recipientBankIdentifier: String? = null): Boolean { paymentReference: String? = null, instantTransfer: Boolean = false, recipientBankIdentifier: String? = null): Boolean {
val response = client.transferMoneyAsync(TransferMoneyRequestForUser( val response = client.transferMoneyAsync(TransferMoneyRequestForUser(
bank.domesticBankCode, bank.loginName, bank.password!!, bank, account,
BankAccountIdentifier(account.identifier, account.subAccountNumber, account.iban), // TODO: use BankingClient's one
recipientName, recipientAccountIdentifier, recipientBankIdentifier, recipientName, recipientAccountIdentifier, recipientBankIdentifier,
amount, "EUR", amount, "EUR",
paymentReference, instantTransfer paymentReference, instantTransfer