HERE iOS SDK Developer's Guide

NMATollCostOptions

Class Summary

class NMATollCostOptions

Derived from: NSObject

.

Include: NMAKit.framework/headers/NMATollCostOptions.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMATollCostOptions

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, strong] NSString *  currency

Currency parameter in the ISO-4217 code format like "EUR" or "USD"

[readable, writable, strong] NSDate *  departure

The departure date for the trip

[readable, strong] NMATollCostVehicleProfile vehicleProfile

The vehicle profile in use

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(instancetype) init

Creates a toll cost request with the default vehicle profile

-(instancetype) initWithVehicleProfile:( NMATollCostVehicleProfile *) vehicleProfile

Creates a toll cost request with the specified vehicle profile

Class Details

All the TCE options

Public Property Details

[readable, writable, strong] NSString * currency

Currency parameter in the ISO-4217 code format like "EUR" or "USD". When the currency is found to be invalid, the related request raises an error, either "Currency is not valid" or "Error validating currency: Unknown currency". When it is not set, the default currency "EUR" is used.

See also:

ISO 4217 code

[readable, writable, strong] NSDate * departure

The departure date for the trip.

This is an optional parameter. When it is nil, it is ignored.

See also:

NMATollCostRequest::initWithRoute:

[readable, strong] NMATollCostVehicleProfilevehicleProfile

The vehicle profile in use.

Instance Method Details

-(instancetype) init

Creates a toll cost request with the default vehicle profile.

Returns:

An NMATollCostOptions object configured with the default NMATollCostVehicleProfile.

-(instancetype) initWithVehicleProfile:( NMATollCostVehicleProfile *) vehicleProfile

Creates a toll cost request with the specified vehicle profile.

Parameters:

  • vehicleProfile

    All the parameters for the toll cost request. When it is nil, the object isn't created, i.e. nil is returned.

Returns:

If the parameters are valid, an NMATollCostOptions object configured with the vehicle profile and nil otherwise.

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.