ParkingPriceResponse

public struct ParkingPriceResponse

Describes the details of a single result item returned by the Parking Price API.

Important

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

Lifecycle

  • Creates new ParkingPriceResponse.

    Declaration

    Swift

    public init(
        paymentDetails: ParkingPaymentDetails,
        price: ParkingPrice?,
        rates: [ParkingRate],
        additionalInfo: String?
    )

    Parameters

    paymentDetails

    Payment procedure indicating how to pay parking bills.

    price

    Calculated parking price when startTime and duration are provided.

    rates

    Scheme of parking rates

    additionalInfo

    Additional information related to the parking price.

Public

  • Payment procedure indicating how to pay parking bills.

    Declaration

    Swift

    public let paymentDetails: ParkingPaymentDetails
  • Calculated parking price when startTime and duration are provided.

    Declaration

    Swift

    public let price: ParkingPrice?
  • Scheme of parking rates. Advised to be used only for display purpose.

    Declaration

    Swift

    public let rates: [ParkingRate]
  • Additional information related to the parking price.

    Declaration

    Swift

    public let additionalInfo: String?