Updated on 2026-08-14
This commit is contained in:
parent
eda701fed9
commit
06cb9620e9
13 changed files with 64 additions and 41 deletions
|
|
@ -87,6 +87,9 @@ data class TangemPayTariffPlan(
|
|||
@SerialName("BANNER")
|
||||
BANNER,
|
||||
|
||||
@SerialName("BACKGROUND")
|
||||
BACKGROUND,
|
||||
|
||||
@SerialName("UNKNOWN")
|
||||
UNKNOWN,
|
||||
;
|
||||
|
|
@ -96,6 +99,7 @@ data class TangemPayTariffPlan(
|
|||
"THUMBNAIL" -> THUMBNAIL
|
||||
"MAIN" -> MAIN
|
||||
"BANNER" -> BANNER
|
||||
"BACKGROUND" -> BACKGROUND
|
||||
else -> UNKNOWN
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,4 +72,7 @@ val TangemPayCard.thumbnailUrl: String?
|
|||
get() = images.firstOrNull { it.type == TangemPayTariffPlan.Image.Type.THUMBNAIL }?.url
|
||||
|
||||
val TangemPayCard.mainImageUrl: String?
|
||||
get() = images.firstOrNull { it.type == TangemPayTariffPlan.Image.Type.MAIN }?.url
|
||||
get() = images.firstOrNull { it.type == TangemPayTariffPlan.Image.Type.MAIN }?.url
|
||||
|
||||
val TangemPayCard.backgroundImageUrl: String?
|
||||
get() = images.firstOrNull { it.type == TangemPayTariffPlan.Image.Type.BACKGROUND }?.url
|
||||
Loading…
Add table
Add a link
Reference in a new issue