sdk-search / com.tomtom.online.sdk.search.poi.details / PoiDetails

PoiDetails

@Beta(2020, 12) data class PoiDetails

Describes the poi details returned by the POI Details endpoint.

Parameters

id - Unique ID for the POI details.

rating - An object that contains rating information.

priceRange - An object that contains price range information.

socialMedias - Social media links of the POI.

photos - Photo ids of the POI.

reviews - User reviews about the POI.

Constructors

<init>

PoiDetails(id: String, rating: Rating?, priceRange: PriceRange?, socialMedias: List<SocialMedia> = listOf(), photos: List<Photo> = listOf(), reviews: List<Review> = listOf())

Describes the poi details returned by the POI Details endpoint.

Properties

id

val id: String

Unique ID for the POI details.

photos

val photos: List<Photo>

Photo ids of the POI.

priceRange

val priceRange: PriceRange?

An object that contains price range information.

rating

val rating: Rating?

An object that contains rating information.

reviews

val reviews: List<Review>

User reviews about the POI.

socialMedias

val socialMedias: List<SocialMedia>

Social media links of the POI.