DeliveryAddress

data class DeliveryAddress(val address1: String, val address2: String? = null, val address3: String? = null, val city: String, val countryCode: String, val state: String? = null, 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? = null, address3: String? = null, city: String, countryCode: String, state: String? = null, postalCode: String)

Properties

Link copied to clipboard

Mandatory field for address.

Link copied to clipboard
val address2: String? = null

Second field for address.

Link copied to clipboard
val address3: String? = null

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
val state: String? = null

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