ParkingPriceOptions

data class ParkingPriceOptions(val parkingDetailId: ParkingDetailId, val startTime: Calendar? = null, val duration: Duration? = null)

Describes the details of the parking price options. Provide startTime and duration to get the fees for parking for a particular time as a ParkingPriceResponse in the response.

val options = ParkingPriceOptions(
parkingDetailId = searchResultId.parkingDetailId!!,
startTime = Calendar.getInstance(),
duration = 50.minutes
)

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(parkingDetailId: ParkingDetailId, startTime: Calendar? = null, duration: Duration? = null)

Properties

Link copied to clipboard
val duration: Duration? = null

Duration in minutes. Taken into account only if startTime is provided.

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.

Link copied to clipboard
val startTime: Calendar? = null

Start time as a Calendar object. Optional parameter.