SavedCard

constructor(type: PaymentMethodType, alias: String, cardExpiryDate: CardExpiryDate?, maskedCardNumber: String?, cardholder: String?, cardInfo: SavedCardInfo?)

Parameters

type

Payment method type, e.g. Visa

alias

This is the alias for the card, also known as token. This can be used to debit the card without further customer interaction.

cardExpiryDate

Expiry date

maskedCardNumber

The masked card number you can use to display that specific card in your app. The masked card number shows the first 6 digits and the last 4 digits of the card, e.g. 432930xxxxxx6095.

cardholder

Cardholder's name

cardInfo

Additional card metadata of the saved card.