Address

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)

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.