FuelPriceOptions

data class FuelPriceOptions(val fuelPriceId: FuelPriceId)

Defines the parameters of a request from the FuelPriceProvider.

Usage example:

val options = searchResultId.fuelPriceId?.let { FuelPriceOptions(it) }

Constructors

Link copied to clipboard
constructor(fuelPriceId: FuelPriceId)

Properties

Link copied to clipboard

The identifier of the data source for the fuel prices. Obtain the ID from the Search API by performing a search request and extracting the ID from the result, if it represents a fuel station. Alternatively, retrieve it from the POI Details API by requesting the details of a fuel station.