Added isNumericTan

This commit is contained in:
dankito 2024-09-08 22:46:47 +02:00
parent 4acb58b571
commit 4298fc9e40
1 changed files with 4 additions and 0 deletions

View File

@ -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})"
}