Address
data class Address( val country: String? = null, val countryId: CountryId? = null, val state: String? = null, val stateCode: String? = null, val city: String? = null, val cityDistrict: String? = null, val cityBlock: String? = null, val houseNumber: String? = null, val streetName: String? = null, val buildingName: String? = null, val floor: String? = null, val door: String? = null, val postalCode: String? = null, val extendedPostalCode: String? = null, val formattedAddress: String? = null) : Parcelable
Content copied to clipboard
Class to hold information about an address.
Parameters
country
The full name of the country.
countryId
The country ISO 3166 alpha code CountryId.
state
The state. It might be empty as the map data may not include it for all countries.
stateCode
The ISO 3166-2 sub-country code. Depending on countries it corresponds to a state, province, territory, etc. It may be empty as map data may not populate it for all countries.
city
The city.
cityDistrict
The city district.
cityBlock
The city block.
houseNumber
The house number.
streetName
The street name.
buildingName
The building name.
floor
The floor where the address is located at.
door
The door (e.g. apartment number).
postalCode
The postal code.
extendedPostalCode
The extended postal code.
formattedAddress
The formatted address, can be country dependent.
Constructors
Link copied to clipboard
fun Address( country: String? = null, countryId: CountryId? = null, state: String? = null, stateCode: String? = null, city: String? = null, cityDistrict: String? = null, cityBlock: String? = null, houseNumber: String? = null, streetName: String? = null, buildingName: String? = null, floor: String? = null, door: String? = null, postalCode: String? = null, extendedPostalCode: String? = null, formattedAddress: String? = null)
Content copied to clipboard