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

PriceRange

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

An object that contains price range information.

Parameters

value - Price range value, between min/max values inclusive.

label - Label which describes the price range, for example: "Cheap", "Moderate", "Expensive", "Very Expensive". Values may differ per data provider.

minValue - Min value of the price range.

maxValue - Max value of the price range.

Constructors

<init>

PriceRange(value: Double?, label: String?, minValue: Double?, maxValue: Double?)

An object that contains price range information.

Properties

label

val label: String?

Label which describes the price range, for example: "Cheap", "Moderate", "Expensive", "Very Expensive". Values may differ per data provider.

maxValue

val maxValue: Double?

Max value of the price range.

minValue

val minValue: Double?

Min value of the price range.

value

val value: Double?

Price range value, between min/max values inclusive.