Pass
public struct Pass : Decodable, Hashable, ProductOffering
This type represents the type of admission for a bookable product. As an example a tour may have different passes for adults, children and infants.
-
Declaration
Swift
public static func == (lhs: Pass, rhs: Pass) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Id
Declaration
Swift
public let id: String
-
Title
Declaration
Swift
public let name: String
-
Description
Declaration
Swift
public let description: String?
-
Price
Declaration
Swift
public let price: Price
-
Loyalty points can be earned from the pass
Declaration
Swift
public let earningPoints: Price?