DeliveryAddress

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

Data class will be used for the PHYSICAL card delivery. It can be null in case of VIRTUAL card.

Constructors

Link copied to clipboard
constructor(address1: String, address2: String?, address3: String?, city: String, countryCode: String, state: String?, postalCode: 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

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".