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 c0d24dd4..3e16443a 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 @@ -27,6 +27,9 @@ open class AccountData( protected open val _supportedFeatures = mutableSetOf() + open val supportedFeatures: Collection + get() = ArrayList(_supportedFeatures) // make a copy, don't pass original (and mutable) _supportedFeatures Set to outside + open val isAccountTypeSupported: Boolean get() = FinTsClient.SupportedAccountTypes.contains(accountType)