Address Details Model
data class AddressDetailsModel(@Json(name = "address_uuid" ) val addressUuid: String, @Json(name = "external_id" ) val externalId: String?, @Json(name = "account_uuid" ) val accountUuid: String, @Json(name = "primary" ) val primary: Boolean, @Json(name = "label" ) val label: String, @Json(name = "line_1" ) val line1: String, @Json(name = "line_2" ) val line2: String?, @Json(name = "postal_code" ) val postalCode: String, @Json(name = "city" ) val city: String, @Json(name = "state" ) val state: String, @Json(name = "country" ) val countryString: String, @Json(ignore = true ) val country: CountryModel? = countryString.getEnum<CountryModel>(), @Json(name = "created_at" ) val createdAt: String, @Json(name = "updated_at" ) val updatedAt: String) : Address
Address details.
Constructors
Link copied to clipboard
constructor(@Json(name = "address_uuid" ) addressUuid: String, @Json(name = "external_id" ) externalId: String?, @Json(name = "account_uuid" ) accountUuid: String, @Json(name = "primary" ) primary: Boolean, @Json(name = "label" ) label: String, @Json(name = "line_1" ) line1: String, @Json(name = "line_2" ) line2: String?, @Json(name = "postal_code" ) postalCode: String, @Json(name = "city" ) city: String, @Json(name = "state" ) state: String, @Json(name = "country" ) countryString: String, @Json(ignore = true ) country: CountryModel? = countryString.getEnum<CountryModel>(), @Json(name = "created_at" ) createdAt: String, @Json(name = "updated_at" ) updatedAt: String)
Properties
Link copied to clipboard
User account unique identifier
Link copied to clipboard
User address unique identifier
Link copied to clipboard
Card country, 3-letter code of the country (ISO 3166-1 alpha-3). Check countryString if null
Link copied to clipboard
Card country, 3-letter code of the country (ISO 3166-1 alpha-3).
Link copied to clipboard
External identifier in your platform
Link copied to clipboard
User address ZIP or postal code