TKLocalCost
public class TKLocalCost : NSObject, Codable
This class encapsulates information about the money cost of a trip segment.
-
Minimum value when cost is specified as a range
Declaration
Swift
public let minCost: Double?
-
Maximum value when cost is specified as a range
Declaration
Swift
public let maxCost: Double?
-
Cost for a trip segment. This value considers the average value when the cost is specified as a range.
Declaration
Swift
public let cost: Double
-
The ISO 4217 currency code
Declaration
Swift
public let currency: String
-
Level of accuracy attached to the cost value.
Possible values are
internalEstimate
externalEstimate
confirmed
Declaration
Swift
public let accuracy: TKLocalCostAccuracy