From 3a40167e2fd2d7060d0ccfb27d3f1b829300a790 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 15 Oct 2024 11:14:46 +0200 Subject: [PATCH] Using now new constructor --- .../kotlin/net/codinux/banking/ui/service/BankingService.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/service/BankingService.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/service/BankingService.kt index b7c81a5..a443522 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/service/BankingService.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/service/BankingService.kt @@ -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