Customer

data class Customer(val address1: String, val address2: String?, val address3: String?, val city: String, val countryCode: String, val state: String?, val postalCode: String, val name: String, val mobile: String)

Data class containing the Customer information about specific card holder.

Constructors

Link copied to clipboard
constructor(address1: String, address2: String?, address3: String?, city: String, countryCode: String, state: String?, postalCode: String, name: String, mobile: String)

Properties

Link copied to clipboard

Mandatory field for address.

Link copied to clipboard

Second field for address.

Link copied to clipboard

Third field for address.

Link copied to clipboard

Max 30 characters: letters, spaces, hyphen and period.

Link copied to clipboard

Country code in ISO-3166 Alpha 2.

Link copied to clipboard

Mobile phone number used during card creation.

Link copied to clipboard

Name of the customer.

Link copied to clipboard

For EU customers: maximum length 16. For US customers: Pattern: ^a-zA-Z0-9-\ *$ minimum 4, maximum 10.

Link copied to clipboard

For US Customers: 2,3-character state or province abbreviation Example: "UT".