diff --git a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/TanMethod.kt b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/TanMethod.kt index 0da8e433..534730cf 100644 --- a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/TanMethod.kt +++ b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/TanMethod.kt @@ -10,5 +10,9 @@ open class TanMethod( open val maxTanInputLength: Int? = null, open val allowedTanFormat: AllowedTanFormat = AllowedTanFormat.Alphanumeric ) { + + open val isNumericTan: Boolean + get() = allowedTanFormat == AllowedTanFormat.Numeric + override fun toString() = "$displayName ($type, ${identifier})" } \ No newline at end of file