Updated on 2026-08-14
This commit is contained in:
parent
a88a63d6ef
commit
6018cf0b71
6 changed files with 43 additions and 13 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue