For public signature removed parameter hasRetrievedTransactionsWithTanJustBefore from tryGetTransactionsOfLast90DaysWithoutTan()

This commit is contained in:
dankito 2020-05-13 14:19:03 +02:00
parent 11359b5664
commit 6b53355b97
2 changed files with 7 additions and 3 deletions

View File

@ -219,7 +219,11 @@ open class FinTsClient @JvmOverloads constructor(
*
* Check if bank supports this.
*/
open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData, account: AccountData,
open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData, account: AccountData): GetTransactionsResponse {
return tryGetTransactionsOfLast90DaysWithoutTan(bank, customer, account, false)
}
protected open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData, account: AccountData,
hasRetrievedTransactionsWithTanJustBefore: Boolean): GetTransactionsResponse {
val now = Date()

View File

@ -145,7 +145,7 @@ class FinTsClientTest {
// when
// some banks support retrieving account transactions of last 90 days without TAN
val result = underTest.tryGetTransactionsOfLast90DaysWithoutTan(Bank, Customer, account!!, false)
val result = underTest.tryGetTransactionsOfLast90DaysWithoutTan(Bank, Customer, account!!)
// then