ParkingRate
public struct ParkingRate
Detailed information related to calculating parking price.
Preferably this should be used only for display purpose.
To get a calculated parking price, please refer to ParkingPrice.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new
ParkingRate.Declaration
Swift
public init( isFreeOutsideHours: Bool, currency: String, prices: [ParkingRateDetails], additionalTax: Double?, category: ParkingRateCategory? )Parameters
isFreeOutsideHoursIndicates whether parking is free outside parking hours.
currencyCurrency used for the price.
pricesList of
ParkingRateDetailsfor a single parking service type.additionalTaxAdditional tax rate which might not be included in the listed price.
categoryParking rate category that may affect parking price.
-
Indicates whether parking is free outside parking hours.
Declaration
Swift
public let isFreeOutsideHours: Bool -
Currency used for the price.
Declaration
Swift
public let currency: String -
List of
ParkingRateDetailsfor a single parking service type.Declaration
Swift
public let prices: [ParkingRateDetails] -
Additional tax rate which might not be included in the listed price.
Declaration
Swift
public let additionalTax: Double? -
Parking rate category that may affect parking price.
Declaration
Swift
public let category: ParkingRateCategory?
TomTom SDK for iOS (0.53.1)
ParkingRate