AddressUpdateRequest

@Serializable
data class AddressUpdateRequest(val externalId: String? = null, val label: String? = null, val line1: String? = null, val line2: String? = null, val postalCode: String? = null, val city: String? = null, val state: String? = null, val country: CountryModel? = null) : Address

Model that holds the address data to be updated.

Constructors

Link copied to clipboard
constructor(externalId: String? = null, label: String? = null, line1: String? = null, line2: String? = null, postalCode: String? = null, city: String? = null, state: String? = null, country: CountryModel? = null)

Properties

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

Address City, district, suburb, town, or village

Link copied to clipboard
@SerialName(value = "country")
open override val country: CountryModel? = null

Address country. 3-letter country code (ISO 3166-1 alpha-3)

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

External ID of this address in your platform

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

Address label

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

Address Line One

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

Address Line Two

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

Address ZIP or postal code

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

Address State, county, province, or region