BookingItem
public struct BookingItem : CatalogItem, Decodable, Product
Undocumented
-
An identifier
Declaration
Swift
public let id: String
-
Starting price
Declaration
Swift
public let price: Price
-
Minimum number of loyalty points that can be earned
Declaration
Swift
public var minimumEarningPoints: Price?
-
Type
Declaration
Swift
public let purchaseType: PurchaseType
-
Categories
Declaration
Swift
public let categories: [BookingItemCategory]
-
A title
Declaration
Swift
public let title: String
-
A secondary title
Declaration
Swift
public let subTitle: String?
-
A display image
Declaration
Swift
public let imageURL: URL?
-
Translation attribution
Declaration
Swift
public let providerTranslationAttribution: ProviderTranslationAttribution
-
Undocumented
Declaration
Swift
public let location: Coordinate?
-
Whether is item is available or not
Declaration
Swift
public var isAvailable: Bool
-
Declaration
Swift
public init(from decoder: Decoder) throws