ParkingPriceOptions
public struct ParkingPriceOptions
Parameters for parking price information request.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Construct a
ParkingPriceOptions.Declaration
Swift
public init( parkingDetailID: ParkingDetailID, startTime: Date = Date(), duration: Measurement<UnitDuration> = .init(value: 60, unit: .minutes) )Parameters
parkingDetailIDThe identifier of the parking detail data source. You can get this identifier from the search result. The identifier is in the
SearchResultIDof theSearchResult, labeledparkingDetailID.startTimeStarting time of parking. Used for parking price calculation. Defaults to current time.
durationDuration of parking. Used for parking price calculation. Defaults to 60 minutes.
-
The identifier of the parking detail data source. You can get this identifier from the search result. The identifier is in the
SearchResultIDof theSearchResult, labeledparkingDetailID.Declaration
Swift
public var parkingDetailID: ParkingDetailID -
Starting time of parking. Used for parking price calculation. Defaults to current time.
Declaration
Swift
public var startTime: Date -
Duration of parking. Used for parking price calculation. Defaults to 60 minutes.
Declaration
Swift
public var duration: Measurement<UnitDuration>
TomTom SDK for iOS (0.53.1)
ParkingPriceOptions