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.

Lifecycle

Public

  • 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 ParkingRateDetails for 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?