Card

constructor(type: PaymentMethodType, number: String, expiryDate: CardExpiryDate, cvv: String? = null, cardholder: String? = null)

Use this to initialize a card object with the card data.

Parameters

type

Card type, e.g. Visa or Mastercard

number

Card number

expiryDate

Expiry date

cvv

Card security code - null if the card does not have a card security code

cardholder

Cardholder's name (as written on the card)