Instance Property

specialPricing

A user-visible string describing any special pricing considerations that apply to this ride.

Declaration

var specialPricing: String? { get set }

Discussion

Use this property when you need to communicate special pricing conditions to the user. For example, you might set the value of this property to “Sale” when you want to offer discounted rides. The value in the priceRange and fareLineItems properties should account for any special pricing you offer. Set this property to nil if special pricing does not apply.

See Also

Specifying Pricing Information

var priceRange: INPriceRange?

The range of prices for this ride option.

var specialPricingBadgeImage: INImage?

A template image for Maps to display when special prices apply.

var usesMeteredFare: Bool?

A Boolean value indicating whether the price uses a metered fare instead of a fixed price.

var fareLineItems: [INRideFareLineItem]?

An array of price-related items that break down the costs of the ride.