diff --git a/fints4k/src/iosMain/kotlin/FinTsClientForCustomerSwift.kt b/fints4k/src/iosMain/kotlin/FinTsClientForCustomerSwift.kt index b1a9e1fa..8c4e75a3 100644 --- a/fints4k/src/iosMain/kotlin/FinTsClientForCustomerSwift.kt +++ b/fints4k/src/iosMain/kotlin/FinTsClientForCustomerSwift.kt @@ -86,12 +86,7 @@ open class FinTsClientForCustomerSwift( arg.customer.selectedLanguage, arg.customer.customerSystemId, arg.customer.customerSystemStatus ) - val parameter = net.dankito.banking.fints.model.GetTransactionsParameter( - arg.parameter.alsoRetrieveBalance, arg.parameter.fromDate.toDate(), arg.parameter.toDate.toDate(), - arg.parameter.maxCountEntries, arg.parameter.abortIfTanIsRequired, arg.parameter.retrievedChunkListener - ) - - val response = client.getTransactions(parameter, bank, customer, arg.account) // TODO: map account + val response = client.getTransactions(arg.parameter, bank, customer, arg.account) // TODO: map account FinTsClientWorkerResult(bank.freeze(), customer.freeze(), response.freeze()) } diff --git a/fints4k/src/iosMain/kotlin/GetTransactionsParameter.kt b/fints4k/src/iosMain/kotlin/GetTransactionsParameter.kt deleted file mode 100644 index db72da47..00000000 --- a/fints4k/src/iosMain/kotlin/GetTransactionsParameter.kt +++ /dev/null @@ -1,16 +0,0 @@ -import net.dankito.banking.fints.model.AccountTransaction -import platform.Foundation.NSDate - - -class GetTransactionsParameter( - val alsoRetrieveBalance: Boolean = true, - val fromDate: NSDate? = null, - val toDate: NSDate? = null, - val maxCountEntries: Int? = null, - val abortIfTanIsRequired: Boolean = false, - val retrievedChunkListener: ((List) -> Unit)? = null -) { - - constructor() : this(true, null, null, null, false, null) - -} \ No newline at end of file