AddressDetailsModel

@Serializable
data class AddressDetailsModel(val addressUuid: String, val externalId: String?, val accountUuid: String, val primary: Boolean, val label: String, val line1: String, val line2: String?, val postalCode: String, val city: String, val state: String, val countryString: String, val country: CountryModel? = countryString.getEnum<CountryModel>(), val createdAt: String, val updatedAt: String) : Address

Address details.

Constructors

Link copied to clipboard
constructor(addressUuid: String, externalId: String?, accountUuid: String, primary: Boolean, label: String, line1: String, line2: String?, postalCode: String, city: String, state: String, countryString: String, country: CountryModel? = countryString.getEnum<CountryModel>(), createdAt: String, updatedAt: String)

Properties

Link copied to clipboard
@SerialName(value = "account_uuid")
val accountUuid: String

User account unique identifier

Link copied to clipboard
@SerialName(value = "address_uuid")
val addressUuid: String

User address unique identifier

Link copied to clipboard
@SerialName(value = "city")
open override val city: String

User address city, district, suburb, town, or village

Link copied to clipboard
@Transient
open override val country: CountryModel?

Card country, 3-letter code of the country (ISO 3166-1 alpha-3). Check countryString if null

Link copied to clipboard
@SerialName(value = "country")
val countryString: String

Card country, 3-letter code of the country (ISO 3166-1 alpha-3).

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: String

Address creation date.

Link copied to clipboard
@SerialName(value = "external_id")
val externalId: String?

External identifier in your platform

Link copied to clipboard
@SerialName(value = "label")
val label: String

User address description

Link copied to clipboard
@SerialName(value = "line_1")
open override val line1: String

User address Line One

Link copied to clipboard
@SerialName(value = "line_2")
open override val line2: String?

User address Line Two

Link copied to clipboard
@SerialName(value = "postal_code")
open override val postalCode: String

User address ZIP or postal code

Link copied to clipboard
@SerialName(value = "primary")
val primary: Boolean

If user address is primary or not

Link copied to clipboard
@SerialName(value = "state")
open override val state: String

User address state, county, province, or region

Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: String

Address modification date.