Using now new constructor
This commit is contained in:
parent
c3655e38ea
commit
3a40167e2f
|
@ -398,8 +398,7 @@ class BankingService(
|
|||
recipientName: String, recipientAccountIdentifier: String, amount: Amount, currency: String,
|
||||
paymentReference: String? = null, instantTransfer: Boolean = false, recipientBankIdentifier: String? = null): Boolean {
|
||||
val response = client.transferMoneyAsync(TransferMoneyRequestForUser(
|
||||
bank.domesticBankCode, bank.loginName, bank.password!!,
|
||||
BankAccountIdentifier(account.identifier, account.subAccountNumber, account.iban), // TODO: use BankingClient's one
|
||||
bank, account,
|
||||
recipientName, recipientAccountIdentifier, recipientBankIdentifier,
|
||||
amount, "EUR",
|
||||
paymentReference, instantTransfer
|
||||
|
|
Loading…
Reference in New Issue