ParkingRateDetails

public struct ParkingRateDetails

Price details for a single parking service type.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Creates a new ParkingRateDetails

    Declaration

    Swift

    public init(timeRanges: [DateInterval], offeredTickets: [ParkingTicket])

    Parameters

    timeRanges

    An array of date intervals when the ticket price applies

    offeredTickets

    The tickets offered by this parking location.

  • The parking date intervals within the current or upcoming week (relative to the requested date). Usually, the parking periods are based on weekdays, so for the following weeks the same weekday ranges can be extrapolated.

    Declaration

    Swift

    public let timeRanges: [DateInterval]
  • The tickets offered by this parking location.

    Declaration

    Swift

    public let offeredTickets: [ParkingTicket]