<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INRideFareLineItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INRideFareLineItem"
  },
  "title" : "INRideFareLineItem"
}
-->

# INRideFareLineItem

A specific type of ride-related charge.

```
class INRideFareLineItem
```

## Overview

Create one or more [`INRideFareLineItem`](/documentation/Intents/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`](/documentation/Intents/INRideOption) object is optional but recommended when the cost of the ride involves separate charges. When appropriate, create one or more [`INRideFareLineItem`](/documentation/Intents/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:)`](/documentation/Intents/INRideFareLineItem/init(title:price:currencyCode:))

Initializes the line item object with the specified title and pricing information.

### Getting the Line Item Information

[`title`](/documentation/Intents/INRideFareLineItem/title)

The localized string containing a description of the charge.

[`price`](/documentation/Intents/INRideFareLineItem/price)

The cost value of the line item.

[`currencyCode`](/documentation/Intents/INRideFareLineItem/currencyCode)

The ISO 4217 currency code that applies to the price information.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)