SearchResultId

fun SearchResultId(id: String, source: Source, position: Int? = null, fuelPriceId: FuelPriceId? = null, evChargingAvailabilityId: EvChargingAvailabilityId? = null, parkingDetailId: ParkingDetailId? = null, geometryId: GeometryId? = null)

Parameters

id

Identifier. In combination with the source it uniquely identifies a search result. It is available for all online search results and only offline POI search results.

source

This is the source of the result.

position

Optional position of the search result in the source list of results. It is not present for search results returned from poi details.

fuelPriceId

This is an optional source identifier that can be used for retrieving a fuel price. This is applicable for fuel stations only.

evChargingAvailabilityId

This is an optional source identifier which can be used for retrieving availability of Electric Vehicle (EV) connectors. This is applicable for EV stations only.

parkingDetailId

This is an optional source identifier which can be used for retrieving availability of parking spots. This is applicable for parking stations only.

geometryId

This is an optional source identifier which can be used for retrieving geometries for search results.