HERE iOS SDK Developer's Guide

NMAUrbanMobilityFare

Class Summary

class NMAUrbanMobilityFare

Derived from: NSObject

A single fare which covers a portion of a journey (e.

Include: NMAKit.framework/headers/NMAUrbanMobilityFare.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAUrbanMobilityFare

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSString *  currency

Gets ISO 4217 code of currency in which the price is given, e

[readable, assign] BOOL  estimatedPrice

Attribute value is YES if the fare price is estimated, NO if it's an exact value

[readable, assign] NMAUrbanMobilityFareType   fareType

Specifies the type of a fare

[readable, assign] NSArray< NMAUrbanMobilityLink * > *  links

Gets the array of NMAUrbanMobilityLink associated with this fare e

[readable, assign] double  maximumPrice

Maximum price of the fare, if range of price is available

[readable, assign] NSString *  name

Name of the fare

[readable, assign] double  price

Price of the fare or minimum price of the fare if fare type is a range

[readable, assign] NSString *  reason

Reason for the cost described in this fare, e

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

A single fare which covers a portion of a journey (e.g. ticket).

IMPORTANT: Urban Mobility routing is a Beta feature. The related classes are subject to change without notice.

Public Property Details

[readable, assign] NSString * currency

See also:

ISO 4217 code

[readable, assign] BOOL estimatedPrice

Attribute value is YES if the fare price is estimated, NO if it's an exact value. The default value is NO.

[readable, assign] NMAUrbanMobilityFareType  fareType

Specifies the type of a fare. The default value is NMAUrbanMobilityFareTypeNotAvailable.

Gets the array of NMAUrbanMobilityLink associated with this fare e.g. to booking page.

Returns an array of NMAUrbanMobilityLink associated with this fare, or nil.

[readable, assign] double maximumPrice

Maximum price of the fare, if range of price is available. The default value is NMAUrbanMobilityValueNotAvailable;

[readable, assign] NSString * name

Name of the fare.

[readable, assign] double price

Price of the fare or minimum price of the fare if fare type is a range.

[readable, assign] NSString * reason

Reason for the cost described in this fare, e.g. parking. The string value or nil.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly