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) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull) 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) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull) new

Instances of this class should not be initialized directly

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.