Card

data class Card @JvmOverloads constructor(val expiryDate: ExpiryDate, val name: String? = null, val number: String, val cvv: String? = null, val billingAddress: Address? = null, val phone: Phone? = null)

A representation of a Card API object

Constructors

Link copied to clipboard
constructor(expiryDate: ExpiryDate, name: String? = null, number: String, cvv: String? = null, billingAddress: Address? = null, phone: Phone? = null)

Properties

Link copied to clipboard
val billingAddress: Address? = null

Billing Address Address

Link copied to clipboard
val cvv: String? = null

Card CVV.

Link copied to clipboard

ExpiryDate of the Card. See ExpiryDate

Link copied to clipboard
val name: String? = null

Cardholder name.

Link copied to clipboard

Card number.

Link copied to clipboard
val phone: Phone? = null

Cardholder Phone.