sdk-search / com.tomtom.online.sdk.search.data.poidetails / PriceRange

PriceRange

open class PriceRange : Serializable

Object that contains price range information, between min/max values inclusive. The price range is a value which evaluates price on a scale from, for example, "Cheap" to "Very Expensive".

Constructors

<init>

PriceRange()

Object that contains price range information, between min/max values inclusive. The price range is a value which evaluates price on a scale from, for example, "Cheap" to "Very Expensive".

Functions

getLabel

open fun getLabel(): Optional<String!>!

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

getMaxValue

open fun getMaxValue(): Optional<Double!>!

Gets the max value of the price range.

getMinValue

open fun getMinValue(): Optional<Double!>!

Gets the min value of the price range.

getValue

open fun getValue(): Optional<Double!>!

Returns the price range value between min/max values inclusive.

toString

open fun toString(): String