A specific type of ride-related charge.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.0+
Framework
- Intents
Declaration
@interface INRideFareLineItem : NSObject
Overview
Create one or more INRide
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 INRide
object is optional but recommended when the cost of the ride involves separate charges. When appropriate, create one or more INRide
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.