Fare
public struct Fare : Codable, Hashable
Undocumented
-
Undocumented
See moreDeclaration
Swift
public enum Status : String, Codable
-
Undocumented
See moreDeclaration
Swift
public enum RideType : String, Codable
-
Undocumented
Declaration
Swift
public typealias Identifier = String
-
Undocumented
Declaration
Swift
public let id: Identifier
-
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?
-
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
-
Undocumented
Declaration
Swift
public func priceValue(locale: Locale = .current) -> String?
-
Undocumented
Declaration
Swift
public func noAmount() -> Bool