// // INRideFareLineItem.h // Intents // // Copyright (c) 2016-2020 Apple Inc. All rights reserved. // #import API_AVAILABLE(ios(10.0), watchos(3.0)) API_UNAVAILABLE(macos, tvos) @interface INRideFareLineItem : NSObject // A single line item in a set of pricing line items that describes - (instancetype)initWithTitle:(NSString *)title price:(NSDecimalNumber *)price currencyCode:(NSString *)currencyCode NS_DESIGNATED_INITIALIZER; - (instancetype)init NS_UNAVAILABLE; @property (readonly, nonatomic) NSString *title; // e.g. "Base fare", or "+ per mile" @property (readonly, nonatomic) NSDecimalNumber *price; // e.g. '4.50' @property (readonly, nonatomic) NSString *currencyCode; // the ISO currency code for the currency for this price, e.g. "USD" for U.S. Dollar. @end