---
title: INRideFareLineItem
framework: intents
role: symbol
role_heading: Class
path: intents/inridefarelineitem
---

# INRideFareLineItem

A specific type of ride-related charge.

## Declaration

```swift
class INRideFareLineItem
```

## Overview

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

- [init(title:price:currencyCode:)](intents/inridefarelineitem/init(title:price:currencycode:).md)

### Getting the Line Item Information

- [title](intents/inridefarelineitem/title.md)
- [price](intents/inridefarelineitem/price.md)
- [currencyCode](intents/inridefarelineitem/currencycode.md)

### Initializers

- [init(coder:)](intents/inridefarelineitem/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Data Objects

- [INRideOption](intents/inrideoption.md)
- [INRideStatus](intents/inridestatus.md)
- [INRideDriver](intents/inridedriver.md)
- [INRideVehicle](intents/inridevehicle.md)
- [INRidePartySizeOption](intents/inridepartysizeoption.md)
- [INRideCompletionStatus](intents/inridecompletionstatus.md)
