From f76603a6ac8b47a039585c1f49a624f97be6bcba Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 6 Oct 2020 10:50:26 +0200 Subject: [PATCH] Fixed that accounts for which types we think we don't support them, but which support to retrieve balance or transactions anyway (e.g. Sparkonten also seem to support HKSAL and HKKAZ, but i can't tell for sure) are now also evaluated as supported --- .../kotlin/net/dankito/banking/fints/model/AccountData.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/AccountData.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/AccountData.kt index 1115aa16..3836b43e 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/AccountData.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/AccountData.kt @@ -2,6 +2,7 @@ package net.dankito.banking.fints.model import net.dankito.banking.fints.FinTsClient import net.dankito.banking.fints.messages.datenelemente.abgeleiteteformate.Laenderkennzeichen +import net.dankito.banking.fints.messages.segmente.id.CustomerSegmentId import net.dankito.banking.fints.response.segments.AccountType import net.dankito.banking.fints.response.segments.JobParameters @@ -27,6 +28,8 @@ open class AccountData( open val isAccountTypeSupportedByApplication: Boolean get() = FinTsClient.SupportedAccountTypes.contains(accountType) + || allowedJobNames.contains(CustomerSegmentId.Balance.id) + || allowedJobNames.contains(CustomerSegmentId.AccountTransactionsMt940.id) open var countDaysForWhichTransactionsAreKept: Int? = null