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

Poi

open class Poi : Serializable

POI (Points of Interest) retrieved via a Search request.

Constructors

<init>

Poi()

Empty constructor for the Poi.

Poi(name: String!, phone: String!, url: String!, categories: Array<String!>!, categorySet: Array<Category!>!, classifications: Array<Classification!>!, brands: Array<String!>!, openingHours: Optional<OpeningHours!>!, timeZone: Optional<DateTimeZone!>!)

Default constructor for the Poi.

Properties

brands

var brands: Array<String!>!

The brands this POI belongs to.

categories

var categories: Array<String!>!

The categories this POI belongs to.

categorySet

var categorySet: Array<Category!>!

The most specific POI categories.

classifications

var classifications: Array<Classification!>!

The classifications this POI belongs to.

name

var name: String!

The name of the POI.

openingHours

var openingHours: Optional<OpeningHours!>!

The POI's opening hours.

phone

var phone: String!

The phone number of the POI.

timeZone

var timeZone: Optional<DateTimeZone!>!

The POI's time zone.

url

var url: String!

The URL address of the POI's website.

Functions

getBrands

open fun getBrands(): Array<String!>!

Returns the brands this POI belongs to.

getCategories

open fun getCategories(): Array<String!>!

Returns the categories this POI belongs to.

getCategorySet

open fun getCategorySet(): Array<Category!>!

Returns the most specific POI categories.

getClassifications

open fun getClassifications(): Array<Classification!>!

Returns the classifications this POI belongs to.

getName

open fun getName(): String!

Returns the name of the POI.

getOpeningHours

open fun getOpeningHours(): Optional<OpeningHours!>!

Returns the POI's opening hours.

getPhone

open fun getPhone(): String!

Returns the phone number of the POI.

getTimeZone

open fun getTimeZone(): Optional<DateTimeZone!>!

Returns the POI's time zone.

getUrl

open fun getUrl(): String!

Returns the URL address of the POI's website.

toString

open fun toString(): String