Removed setCallback()
This commit is contained in:
parent
6f5eabf144
commit
753b947425
|
@ -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)
|
||||
|
|
|
@ -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())
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue