Card
data class Card @JvmOverloads constructor(var merchantAccountId: String? = null, var isAuthenticationInsightRequested: Boolean = false, var shouldValidate: Boolean = false, var cardholderName: String? = null, var number: String? = null, var company: String? = null, var countryCode: String? = null, var cvv: String? = null, var expirationMonth: String? = null, var expirationYear: String? = null, var extendedAddress: String? = null, var firstName: String? = null, var lastName: String? = null, var locality: String? = null, var postalCode: String? = null, var region: String? = null, var streetAddress: String? = null, var sessionId: String? = null, var source: String? = DEFAULT_SOURCE, var integration: IntegrationType? = IntegrationType.CUSTOM) : PaymentMethod, Parcelable
Use to construct a card tokenization request.
Constructors
Link copied to clipboard
constructor(merchantAccountId: String? = null, isAuthenticationInsightRequested: Boolean = false, shouldValidate: Boolean = false, cardholderName: String? = null, number: String? = null, company: String? = null, countryCode: String? = null, cvv: String? = null, expirationMonth: String? = null, expirationYear: String? = null, extendedAddress: String? = null, firstName: String? = null, lastName: String? = null, locality: String? = null, postalCode: String? = null, region: String? = null, streetAddress: String? = null, sessionId: String? = null, source: String? = DEFAULT_SOURCE, integration: IntegrationType? = IntegrationType.CUSTOM)
Properties
Link copied to clipboard
Link copied to clipboard
Name on the card.
Link copied to clipboard
The ISO 3166-1 alpha-3 country code specified in the card's billing address.
Link copied to clipboard
The expiration month of the card.
Link copied to clipboard
The expiration year of the card.
Link copied to clipboard
The extended address of the card.
Link copied to clipboard
The integration method associated with the tokenization call for analytics use. Defaults to custom and does not need to ever be set.
Link copied to clipboard
If authentication insight will be requested.
Link copied to clipboard
The merchant account id used to generate the authentication insight.
Link copied to clipboard
Postal code of the card.
Link copied to clipboard
Flag to denote if the associated {@link Card} will be validated. Defaults to false.
Link copied to clipboard
Street address of the card.