diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt index ec8a2ae4..24d15427 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt @@ -171,7 +171,7 @@ open class FinTsClient @JvmOverloads constructor( * * Check if bank supports this. */ - protected open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData, + open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData, hasRetrievedTransactionsWithTanJustBefore: Boolean): GetTransactionsResponse { val ninetyDaysAgo = Date(Date().time - NinetyDaysAgoMilliseconds) diff --git a/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsClientTest.kt b/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsClientTest.kt index eabfa675..502df397 100644 --- a/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsClientTest.kt +++ b/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsClientTest.kt @@ -134,7 +134,7 @@ class FinTsClientTest { // when // some banks support retrieving account transactions of last 90 days without TAN - val result = underTest.tryGetTransactionsOfLast90DaysWithoutTan(Bank, Customer) + val result = underTest.tryGetTransactionsOfLast90DaysWithoutTan(Bank, Customer, false) // then