PaymentCard

data class PaymentCard(val brand: String?, val expirationMonth: String?, val expirationYear: String?, val issuer: String?, val currency: String?, val segment: String?, val type: String?, val lastFourDigits: String?, val wallet: FrameObjects.Wallet? = null)

Card details for a payment method of type PaymentMethodType.CARD.

Constructors

Link copied to clipboard
constructor(brand: String?, expirationMonth: String?, expirationYear: String?, issuer: String?, currency: String?, segment: String?, type: String?, lastFourDigits: String?, wallet: FrameObjects.Wallet? = null)

Properties

Link copied to clipboard

Card network name (e.g. "visa", "mastercard").

Link copied to clipboard

ISO 4217 billing currency code.

Link copied to clipboard
@SerializedName(value = "exp_month")
val expirationMonth: String?

Two-digit expiration month.

Link copied to clipboard
@SerializedName(value = "exp_year")
val expirationYear: String?

Four-digit expiration year.

Link copied to clipboard

The issuing bank name.

Link copied to clipboard
@SerializedName(value = "last_four")
val lastFourDigits: String?

The last four digits of the card number.

Link copied to clipboard

Card segment (e.g. "consumer", "commercial").

Link copied to clipboard
val type: String?

Card funding type (e.g. "debit", "credit").

Link copied to clipboard

Digital wallet details, if this card is tokenized in a wallet.