Class TollOptions

java.lang.Object
com.here.sdk.routing.TollOptions

public final class TollOptions extends Object

The option to specify how the tolls should be calculated. Note Not used for offline calculations.

  • Field Details

    • transponders

      @NonNull public List<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 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.

  • Constructor Details

    • TollOptions

      public TollOptions()

      Creates a new instance.

  • Method Details