sdk-search / com.tomtom.online.sdk.search.data.common / Address

Address

open class Address : Serializable

The address retrieved via a Search request.

Constructors

<init>

Address()

Empty constructor for the Address.

Address(streetNumber: String!, street: String!, streetName: String!, municipalitySubdivision: String!, municipality: String!, countrySecondarySubdivision: String!, countryTertiarySubdivision: String!, countrySubdivision: String!, postalCode: String!, countryCode: String!, country: String!, countryCodeISO3: String!, freeformAddress: String!, countrySubdivisionName: String!, speedLimit: String!)

Default constructor for the Address.

Properties

country

var country: String!

The name of the country.

countryCode

var countryCode: String!

The country code.

countryCodeISO3

var countryCodeISO3: String!

The ISO3-standard country code.

countrySecondarySubdivision

var countrySecondarySubdivision: String!

The county.

countrySubdivision

var countrySubdivision: String!

The state or province.

countrySubdivisionName

var countrySubdivisionName: String!

The full name of a first level of country administrative hierarchy. This field only appears in case countrySubdivision is presented in an abbreviated form. Supported only for USA, Canada, and Great Britain.

countryTertiarySubdivision

var countryTertiarySubdivision: String!

The named area.

freeformAddress

var freeformAddress: String!

The freeform address: the full address in a usable form.

municipality

var municipality: String!

The city/town.

municipalitySubdivision

var municipalitySubdivision: String!

The sub/super city.

postalCode

var postalCode: String!

The postal code.

speedLimit

var speedLimit: String!

The speed limit.

street

var street: String!

The name of the street.

streetName

var streetName: String!

The street name.

streetNumber

var streetNumber: String!

The building's number.

Functions

getCountry

open fun getCountry(): String!

Returns the name of the country

getCountryCode

open fun getCountryCode(): String!

Returns the country code.

getCountryCodeISO3

open fun getCountryCodeISO3(): String!

Returns the ISO3-standard country code.

getCountrySecondarySubdivision

open fun getCountrySecondarySubdivision(): String!

Returns the county.

getCountrySubdivision

open fun getCountrySubdivision(): String!

Returns the state or province.

getCountrySubdivisionName

open fun getCountrySubdivisionName(): String!

Returns the full name of a first level of country administrative hierarchy.

getCountryTertiarySubdivision

open fun getCountryTertiarySubdivision(): String!

Returns the named area.

getFreeformAddress

open fun getFreeformAddress(): String!

Returns the freeform address: the full address in a usable form.

getMunicipality

open fun getMunicipality(): String!

Returns the city/town.

getMunicipalitySubdivision

open fun getMunicipalitySubdivision(): String!

Returns the sub/super city.

getPostalCode

open fun getPostalCode(): String!

Returns the postal code.

getSpeedLimit

open fun getSpeedLimit(): String!

Returns the current speed limit.

getStreet

open fun getStreet(): String!

Returns the name of the street.

getStreetName

open fun getStreetName(): String!

Returns the street name.

getStreetNumber

open fun getStreetNumber(): String!

Returns the building's number.

toString

open fun toString(): String