Class TollOptions
Class TollOptions
- java.lang.Object
-
- com.here.sdk.routing.TollOptions
-
public final class TollOptions extends java.lang.ObjectThe option to specify how the tolls should be calculated. Note Not used for offline calculations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTollOptions.EmissionTypeSupported options of emission typestatic classTollOptions.VehicleCategorySupported options of vehicle category for toll calculation.
-
Field Summary
Fields Modifier and Type Field Description java.lang.Integerco2ClassDefines the CO2 class of the vehicle as defined by the toll operator.TollOptions.EmissionTypeemissionTypeDefines the emission type as defined by the toll operator for toll calculation based on vehicle emissions class.java.util.List<java.lang.String>transpondersSpecifies the toll collection systems for which the user has valid transponders.TollOptions.VehicleCategoryvehicleCategoryDefines special vehicle category for toll calculation.
-
Constructor Summary
Constructors Constructor Description TollOptions()Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
transponders
@NonNull public java.util.List<java.lang.String> transponders
Specifies the toll collection systems for which the user has valid transponders. Note: currently, the only valid value is "all". This means the user has a transponder that is accepted by all toll systems.
-
vehicleCategory
@Nullable public TollOptions.VehicleCategory vehicleCategory
Defines special vehicle category for toll calculation. Usual types like car or truck are determined from transport mode.
-
emissionType
@Nullable public TollOptions.EmissionType emissionType
Defines the emission type as defined by the toll operator for toll calculation based on vehicle emissions class. The emission type is based on the European emission standards (Euro 1 to Euro 6, and Euro EEV).
-
co2Class
@Nullable public java.lang.Integer co2Class
Defines the CO2 class of the vehicle as defined by the toll operator. CO2 class is used with
emissionType. Allowed values for CO2 class are 1, 2, 3, 4, or 5, where a lower value generally indicates lower CO2 emissions.
-
-