PostalAddress

@Serializable
data class PostalAddress(val languageTag: Rfc5646LanguageTag, val streetAddress: String, val countryCode: EtsiCountryCode, val locality: String? = null, val stateOrProvince: String? = null, val postalCode: String? = null)(source)

Constructors

Link copied to clipboard
constructor(languageTag: Rfc5646LanguageTag, streetAddress: String, countryCode: EtsiCountryCode, locality: String? = null, stateOrProvince: String? = null, postalCode: String? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
@SerialName(value = "Country")
val countryCode: EtsiCountryCode

Country code of the postal address, using the specified ETSI country-code conventions (TS 119 612, 5.1.5; 5.3.5.1).

Link copied to clipboard
@SerialName(value = "lang")
val languageTag: Rfc5646LanguageTag

Language tag identifying the language of the postal address (TS 119 612, 5.1.4; 5.3.5.1).

Link copied to clipboard
@SerialName(value = "Locality")
val locality: String?

Locality, such as the town or city, of the postal address (TS 119 612, 5.3.5.1).

Link copied to clipboard
@SerialName(value = "PostalCode")
val postalCode: String?

Postal or ZIP code of the postal address (TS 119 612, 5.3.5.1).

Link copied to clipboard
@SerialName(value = "StateOrProvince")
val stateOrProvince: String?

State or province of the postal address (TS 119 612, 5.3.5.1).

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

Street address of the postal contact point (TS 119 612, 5.3.5.1).