Removed unused changeTanMedium()

This commit is contained in:
dankl 2020-01-01 18:18:01 +01:00 committed by dankito
parent 7093973e17
commit fcec18fc15
2 changed files with 0 additions and 13 deletions

View File

@ -332,14 +332,6 @@ open class FinTsClient @JvmOverloads constructor(
}
open fun changeTanMediumAsync(newActiveTanMedium: TanGeneratorTanMedium, bank: BankData, customer: CustomerData,
callback: (FinTsClientResponse) -> Unit) {
threadPool.runAsync {
callback(changeTanMedium(newActiveTanMedium, bank, customer))
}
}
open fun changeTanMedium(newActiveTanMedium: TanGeneratorTanMedium, bank: BankData, customer: CustomerData): FinTsClientResponse {
var enteredAtc: EnterTanGeneratorAtcResult? = null

View File

@ -1,7 +1,6 @@
package net.dankito.fints
import net.dankito.fints.messages.MessageBuilder
import net.dankito.fints.messages.datenelemente.implementierte.tan.TanGeneratorTanMedium
import net.dankito.fints.model.*
import net.dankito.fints.response.ResponseParser
import net.dankito.fints.response.client.AddAccountResponse
@ -44,8 +43,4 @@ open class FinTsClientForCustomer(
client.doBankTransferAsync(bankTransferData, bank, customer, callback)
}
open fun changeTanMedium(newActiveTanMedium: TanGeneratorTanMedium, callback: (FinTsClientResponse) -> Unit) {
client.changeTanMediumAsync(newActiveTanMedium, bank, customer, callback)
}
}