PurchasedParkingProduct

public struct PurchasedParkingProduct : PurchasedProduct, Decodable

Any purchased parking product:

  • id

    Identifier

    Declaration

    Swift

    public let id: String
  • Order identifier

    Declaration

    Swift

    public let orderId: String
  • Order reference number

    Declaration

    Swift

    public let orderReferenceNumber: String?
  • Price of product

    Declaration

    Swift

    public let finalPrice: Price
  • Type

    Declaration

    Swift

    public let purchaseType: PurchaseType
  • A title

    Declaration

    Swift

    public let title: String
  • Date in which the product takes place

    Declaration

    Swift

    public let eventDate: Date
  • Attributes

    Declaration

    Swift

    public let information: [Attribute]
  • Array of different Passes purchased

    Declaration

    Swift

    public let passes: [Pass]
  • Primary contact information

    Declaration

    Swift

    public let primaryContact: String?
  • Order detail information

    Declaration

    Swift

    public let orderDetail: String?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws