Contents

INRideFareLineItem

A specific type of ride-related charge.

Declaration

class INRideFareLineItem

Overview

Create one or more INRideFareLineItem objects when you need to break down the cost of a ride using different pricing rules. For example, one line item might specify the base charge of the ride and a second line item might specify the per-mile charge. When displaying the ride information to the user, Siri and Maps display the line-item information.

The inclusion of line items in an INRideOption object is optional but recommended when the cost of the ride involves separate charges. When appropriate, create one or more INRideFareLineItem objects and attach them to your ride option object. Siri and Maps use the currency code you specify to apply the appropriate currency designator to the price information.

Topics

Initializing a Ride Fare Object

Getting the Line Item Information

Initializers

See Also

Data Objects