Card

data class Card @JvmOverloads constructor(var number: String, val expirationMonth: String, val expirationYear: String, var securityCode: String, var cardholderName: String? = null, var billingAddress: Address? = null) : Parcelable

Represents raw credit or debit card data provided by the customer.

Constructors

Link copied to clipboard
constructor(number: String, expirationMonth: String, expirationYear: String, securityCode: String, cardholderName: String? = null, billingAddress: Address? = null)

Properties

Link copied to clipboard

Optional. The billing address

Link copied to clipboard

Optional. The card holder's name as it appears on the card

Link copied to clipboard

The 2-digit card expiration month in MM format

Link copied to clipboard

The 4-digit card expiration year in YYYY format

Link copied to clipboard

The primary account number (PAN) for the payment card

Link copied to clipboard

The three- or four-digit security code of the card. Also known as the CVV, CVC, CVN, CVE, or CID.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)