PurchasedBookingProduct

public struct PurchasedBookingProduct : PurchasedProduct, Decodable

Any purchased booking 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?
  • Name

    Declaration

    Swift

    public let title: String
  • Array of different Passes purchased

    Declaration

    Swift

    public let passes: [Pass]
  • Date in which the product takes place

    Declaration

    Swift

    public let eventDate: Date
  • Price of product

    Declaration

    Swift

    public let finalPrice: Price
  • Type

    Declaration

    Swift

    public let purchaseType: PurchaseType
  • Categories

    Declaration

    Swift

    public let categories: [BookingItemCategory]
  • Attributes

    Declaration

    Swift

    public let information: [Attribute]?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws