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,
|
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
|
||||||
|
|
Loading…
Reference in New Issue