IssuedCardDetailsModel

@Serializable
data class IssuedCardDetailsModel(val externalId: String, val cardUuid: String, val accountUuid: String, val walletUuid: String, val productId: String, val typeString: String, val type: CardTypeModel? = typeString.getEnum<CardTypeModel>(), val statusString: String, val status: CardStatusModel? = statusString.getEnum<CardStatusModel>(), val statusReason: String?, val brandString: String, val brand: CardBrandModel? = brandString.getEnum<CardBrandModel>(), val initialBalance: Long?, val shippingAddress: ShippingAddressModel, val authRules: AuthRulesModel, val embossId: String?, val customFields: CustomFieldsModel, val serviceFees: List<ServiceFeeModel> = emptyList(), val metadata: Map<String, JsonPrimitive> = mapOf(), val isBlocked: Boolean = false, val isPinSet: Boolean = false, val cardExpiration: String, val last4: String, val incentiveRuleUuids: List<String> = emptyList(), val createdAt: String, val updatedAt: String)

Issued Card Details.

Constructors

Link copied to clipboard
constructor(externalId: String, cardUuid: String, accountUuid: String, walletUuid: String, productId: String, typeString: String, type: CardTypeModel? = typeString.getEnum<CardTypeModel>(), statusString: String, status: CardStatusModel? = statusString.getEnum<CardStatusModel>(), statusReason: String?, brandString: String, brand: CardBrandModel? = brandString.getEnum<CardBrandModel>(), initialBalance: Long?, shippingAddress: ShippingAddressModel, authRules: AuthRulesModel, embossId: String?, customFields: CustomFieldsModel, serviceFees: List<ServiceFeeModel> = emptyList(), metadata: Map<String, JsonPrimitive> = mapOf(), isBlocked: Boolean = false, isPinSet: Boolean = false, cardExpiration: String, last4: String, incentiveRuleUuids: List<String> = emptyList(), createdAt: String, updatedAt: String)

Properties

Link copied to clipboard
@SerialName(value = "account_uuid")
val accountUuid: String

Account unique identifier

Link copied to clipboard
@SerialName(value = "auth_rules")
val authRules: AuthRulesModel

Card rules when authorizing a transaction

Link copied to clipboard
@Transient
val brand: CardBrandModel?

Card brand. Check brandString if null.

Link copied to clipboard
@SerialName(value = "brand")
val brandString: String

Card brand

Link copied to clipboard
@SerialName(value = "card_expiration")
val cardExpiration: String

Card expiration date

Link copied to clipboard
@SerialName(value = "card_uuid")
val cardUuid: String

Card unique identifier

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: String

Card creation date

Link copied to clipboard
@SerialName(value = "custom_fields")
val customFields: CustomFieldsModel

Card custom fields

Link copied to clipboard
@SerialName(value = "emboss_id")
val embossId: String?

Emboss identifier

Link copied to clipboard
@SerialName(value = "external_id")
val externalId: String

External identifier in your platform

Link copied to clipboard
@SerialName(value = "incentive_rule_uuids")
val incentiveRuleUuids: List<String>

Incentive rule UUIDs

Link copied to clipboard
@SerialName(value = "initial_balance")
val initialBalance: Long?

Card initial balance, in cents (1USD = 100)

Link copied to clipboard
@SerialName(value = "blocked")
val isBlocked: Boolean = false

If the card is blocked or not

Link copied to clipboard
@SerialName(value = "pin_set")
val isPinSet: Boolean = false

If the pin is set or not

Link copied to clipboard
@SerialName(value = "last_4")
val last4: String

Card last 4 digits

Link copied to clipboard
@SerialName(value = "metadata")
val metadata: Map<String, JsonPrimitive>

Card metadata fields

Link copied to clipboard
@SerialName(value = "product_id")
val productId: String

Product identifier

Link copied to clipboard
@SerialName(value = "service_fees")
val serviceFees: List<ServiceFeeModel>

Card Service fees

Link copied to clipboard
@SerialName(value = "shipping_address")
val shippingAddress: ShippingAddressModel

Card shipping address

Link copied to clipboard
@Transient
val status: CardStatusModel?

Card status. Check statusString if null.

Link copied to clipboard
@SerialName(value = "status_reason")
val statusReason: String?

Card status reason

Link copied to clipboard
@SerialName(value = "status")
val statusString: String

Card status

Link copied to clipboard
@Transient
val type: CardTypeModel?

Card Type. Check typeString if null.

Link copied to clipboard
@SerialName(value = "type")
val typeString: String

Card Type

Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: String

Card modification date

Link copied to clipboard
@SerialName(value = "wallet_uuid")
val walletUuid: String

Wallet identifier