Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-07 03:05:46 -07:00
parent e3868e3ecd
commit 576332d67d
24 changed files with 250 additions and 17 deletions

View file

@ -11,7 +11,9 @@ data class OrderRequest(
@JsonClass(generateAdapter = true)
data class Data(
@Json(name = "customer_wallet_address") val customerWalletAddress: String,
@Json(name = "specification_name") val specificationName: String = "SP_000004",
@Json(name = "type") val type: String = "CARD_ISSUE_VIRTUAL_RAIN_KYC",
@Json(name = "specification_name") val specificationName: String?,
@Json(name = "type") val type: String,
@Json(name = "target_tariff_plan_id") val targetTariffPlanId: String? = null,
@Json(name = "tariff_plan_transition_type") val tariffPlanTransitionType: String? = null,
)
}

View file

@ -40,6 +40,16 @@ data class CustomerMeResponse(
@Json(name = "name") val name: String?,
@Json(name = "description_items") val descriptionItems: List<DescriptionItem>?,
@Json(name = "images") val images: List<Image>? = null,
@Json(name = "fees") val fees: List<Fee>? = null,
)
@JsonClass(generateAdapter = true)
data class Fee(
@Json(name = "type") val type: String?,
@Json(name = "amount") val amount: BigDecimal?,
@Json(name = "currency") val currency: String?,
@Json(name = "description") val description: String?,
@Json(name = "period") val period: String?,
)
@JsonClass(generateAdapter = true)

View file

@ -27,6 +27,7 @@ data class OrderResponse(
@Json(name = "emboss_name") val embossName: String?,
@Json(name = "product_instance_id") val productInstanceId: String?,
@Json(name = "payment_account_id") val paymentAccountId: String?,
@Json(name = "target_tariff_plan_id") val targetTariffPlanId: String?,
@Json(name = "transaction_hash") val transactionHash: String?,
)