Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-13 14:18:21 +04:00
parent a88a63d6ef
commit 6018cf0b71
6 changed files with 43 additions and 13 deletions

View file

@ -7,5 +7,16 @@ import com.squareup.moshi.JsonClass
data class WalletIdBody(
@Json(name = "id") val walletId: String,
@Json(name = "name") val name: String,
@Json(name = "type") val walletType: WalletType? = null,
@Json(name = "cards") val cards: List<CardInfoBody>? = null,
)
) {
@JsonClass(generateAdapter = false)
enum class WalletType {
@Json(name = "card")
COLD,
@Json(name = "mobile")
HOT,
}
}