ParkingAvailabilityOptions

data class ParkingAvailabilityOptions(val parkingDetailId: ParkingDetailId)

Defines the parameters of a parking availability request from the ParkingDetailProvider.

  • Usage example:

val options = searchResultId.parkingDetailId?.let { ParkingAvailabilityOptions(it) }

Constructors

Link copied to clipboard
constructor(parkingDetailId: ParkingDetailId)

Properties

Link copied to clipboard

The identifier of the data source for the parking details. Obtain the ID from the Search API by performing a search request and extracting the ID from the result, if it has a parking place. Alternatively, retrieve it from the POI Details API by requesting the details of a POI with a parking place.