diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt index 8afecbb1..eecdab95 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt @@ -400,7 +400,8 @@ open class FinTsClient( response, bookedTransactions.toList(), listOf(), // TODO: implement parsing MT942 - balance + balance, + if (parameter.maxCountEntries != null) parameter.isSettingMaxCountEntriesAllowedByBank else null ) ) } diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/client/GetTransactionsResponse.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/client/GetTransactionsResponse.kt index a4c40afe..0ecf133a 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/client/GetTransactionsResponse.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/client/GetTransactionsResponse.kt @@ -9,6 +9,9 @@ open class GetTransactionsResponse( response: Response, val bookedTransactions: List = listOf(), val unbookedTransactions: List = listOf(), - val balance: Money? = null -) - : FinTsClientResponse(response) \ No newline at end of file + val balance: Money? = null, + /** + * This value is only set if [GetTransactionsParameter.maxCountEntries] was set to tell caller if maxCountEntries parameter has been evaluated or not + */ + var isSettingMaxCountEntriesAllowedByBank: Boolean? = null +) : FinTsClientResponse(response) \ No newline at end of file