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

This commit is contained in:
dankito 2020-10-06 10:50:26 +02:00
parent f6f28890a7
commit f76603a6ac
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package net.dankito.banking.fints.model
import net.dankito.banking.fints.FinTsClient import net.dankito.banking.fints.FinTsClient
import net.dankito.banking.fints.messages.datenelemente.abgeleiteteformate.Laenderkennzeichen 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.AccountType
import net.dankito.banking.fints.response.segments.JobParameters import net.dankito.banking.fints.response.segments.JobParameters
@ -27,6 +28,8 @@ open class AccountData(
open val isAccountTypeSupportedByApplication: Boolean open val isAccountTypeSupportedByApplication: Boolean
get() = FinTsClient.SupportedAccountTypes.contains(accountType) get() = FinTsClient.SupportedAccountTypes.contains(accountType)
|| allowedJobNames.contains(CustomerSegmentId.Balance.id)
|| allowedJobNames.contains(CustomerSegmentId.AccountTransactionsMt940.id)
open var countDaysForWhichTransactionsAreKept: Int? = null open var countDaysForWhichTransactionsAreKept: Int? = null