Fare
public struct Fare : Codable, Hashable, Identifiable
Undocumented
-
Undocumented
See moreDeclaration
Swift
public enum Status : String, Codable
-
Undocumented
See moreDeclaration
Swift
public enum RideType : String, Codable
-
Declaration
Swift
public typealias ID = String
-
Declaration
Swift
public let id: ID
-
Undocumented
Declaration
Swift
public let name: String
-
Undocumented
Declaration
Swift
public let details: String?
-
Price in cents
Declaration
Swift
public let price: Int?
-
Undocumented
Declaration
Swift
public let currencyCode: String?
-
Number of tickets to pre-select, can also be used to define how many tickets to purchase for this fare
Declaration
Swift
public var amount: Int?
-
Maximum number of tickets that can be purchased of this fare
Declaration
Swift
public var max: Int?
-
list of riders under the fare for filtering purposes
Declaration
Swift
@DefaultEmptyArray public var riders: [TKBooking.Rider] { get set }
-
Undocumented
Declaration
Swift
public let status: Status?
-
Undocumented
Declaration
Swift
public let type: RideType?
-
Undocumented
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey
-
Undocumented
See moreDeclaration
Swift
public enum InputValue : Hashable
-
priceValue(locale:
From TripKit) Undocumented
Declaration
Swift
public func priceValue(locale: Locale = .current) -> String?
-
noAmount()
From TripKitUndocumented
Declaration
Swift
public func noAmount() -> Bool