Address

data class Address(val countryCode: String, val stateProvince: String?, val city: String, val postalCode: String, val address1: String, val address2: String?)

Data class representing an address.

Constructors

Link copied to clipboard
constructor(countryCode: String, stateProvince: String?, city: String, postalCode: String, address1: String, address2: String?)

Properties

Link copied to clipboard

The first line of the address.

Link copied to clipboard

The second line of the address.

Link copied to clipboard

The city of the address.

Link copied to clipboard

The country code in ISO-3166 Alpha 2 format.

Link copied to clipboard

The postal code of the address.

Link copied to clipboard

US state postal abbreviation. Not used for non-US territories.