Removed setCallback()

This commit is contained in:
dankito 2024-08-20 11:01:15 +02:00
parent 6f5eabf144
commit 753b947425
3 changed files with 3 additions and 6 deletions

View File

@ -20,7 +20,7 @@ import net.dankito.banking.fints.webclient.IWebClient
*/
open class FinTsClientDeprecated(
protected val config: FinTsClientConfiguration,
open var callback: FinTsClientCallback
open val callback: FinTsClientCallback
) {
constructor(callback: FinTsClientCallback) : this(FinTsClientConfiguration(), callback)

View File

@ -22,10 +22,6 @@ open class FinTsClientForCustomer(
open val messageLogWithoutSensitiveData: List<MessageLogEntry> = mutableListOf()
open fun setCallback(callback: FinTsClientCallback) {
client.callback = callback
}
open suspend fun addAccountAsync(): AddAccountResponse {
return addAccountAsync(bank.toAddAccountParameter())

View File

@ -3,6 +3,7 @@ package net.dankito.banking.fints
import kotlinx.datetime.LocalDate
import net.dankito.banking.fints.callback.SimpleFinTsClientCallback
import net.dankito.banking.fints.config.FinTsClientConfiguration
import net.dankito.banking.fints.config.FinTsClientOptions
import net.dankito.banking.fints.extensions.randomWithSeed
import net.dankito.banking.fints.messages.datenelemente.abgeleiteteformate.Datum
import net.dankito.banking.fints.messages.datenelemente.abgeleiteteformate.Laenderkennzeichen
@ -56,7 +57,7 @@ abstract class FinTsTestBase {
const val Time = 182752
val ClientConfig = FinTsClientConfiguration()
val ClientConfig = FinTsClientConfiguration(FinTsClientOptions(version = ProductVersion, productName = ProductName))
init {