TollOptions class
The option to specify how the tolls should be calculated.
Note Not used for offline calculations.
Constructors
Properties
- co2Class ↔ int?
-
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.getter/setter pair - emissionType ↔ TollOptionsEmissionType?
-
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).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transponders
↔ List<
String> -
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.
getter/setter pair
- vehicleCategory ↔ TollOptionsVehicleCategory?
-
Defines special vehicle category for toll calculation. Usual types like car or truck
are determined from transport mode.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.