Instance Property

fareLineItems

An array of price-related items that break down the costs of the ride.

Declaration

var fareLineItems: [INRideFareLineItem]? { get set }

Discussion

When the cost of a ride has multiple components, use INRideFareLineItem objects to break down the individual costs of the ride. You can use line items to specify fixed charges, per-mile charges, special surcharges, or any other charges that you designate. The system displays the fare line items to the user as part of the pricing information.

See Also

Specifying Pricing Information

var priceRange: INPriceRange?

The range of prices for this ride option.

var specialPricing: String?

A user-visible string describing any special pricing considerations that apply to this ride.

var specialPricingBadgeImage: INImage?

A template image for Maps to display when special prices apply.

var usesMeteredFare: Bool?

A Boolean value indicating whether the price uses a metered fare instead of a fixed price.