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

PoiDetails

@Beta(2020, 12) data class PoiDetails : Serializable

Describes the POI details returned by the Points of Interest Details endpoint.

Important: You shall attribute all results delivered by the Points of Interest Details endpoint and Points of Interest Photos endpoint as being ‘powered by Foursquare'.

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 of 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 Points of Interest 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 of the POI.

socialMedias

val socialMedias: List<SocialMedia>

Social media links of the POI.