Made supportedFeatures accessible
This commit is contained in:
parent
1ff2c0ecf3
commit
0efb4ba708
|
@ -27,6 +27,9 @@ open class AccountData(
|
|||
|
||||
protected open val _supportedFeatures = mutableSetOf<AccountFeature>()
|
||||
|
||||
open val supportedFeatures: Collection<AccountFeature>
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue