Updated on 2026-08-14
This commit is contained in:
parent
2070f1d21c
commit
8ca7bc0ca7
15 changed files with 132 additions and 53 deletions
|
|
@ -0,0 +1,17 @@
|
|||
package com.tangem.domain.models
|
||||
|
||||
enum class TangemPayEligibilityType {
|
||||
|
||||
BANNER,
|
||||
DETAILS,
|
||||
UNKNOWN,
|
||||
;
|
||||
|
||||
companion object {
|
||||
fun fromString(value: String): TangemPayEligibilityType = when (value.lowercase()) {
|
||||
"banner" -> BANNER
|
||||
"details" -> DETAILS
|
||||
else -> UNKNOWN
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue