Van
constructor(maxSpeed: Speed? = null, isCommercial: Boolean = false, electricEngine: ElectricEngine? = null, combustionEngine: CombustionEngine? = null, dimensions: VehicleDimensions? = null, modelId: String? = null, hazmatClasses: Set<HazmatClass> = emptySet(), adrTunnelRestrictionCode: AdrTunnelRestrictionCode? = null)
Parameters
maxSpeed 
The van's maximum speed.
isCommercial 
If true, the vehicle is used for commercial purposes and thus may not be allowed to drive on some roads.
electricEngine 
The vehicle's electric engine for route and consumption calculation.
combustionEngine 
The vehicle's combustion engine for route and consumption calculation.
dimensions
The van's dimensions.
modelId 
Specifies the Model ID of the vehicle as obtained from the TomTom Vehicle Database.
hazmatClasses 
The hazardous materials classes of the vehicle's load.
adrTunnelRestrictionCode   
The ADR tunnel restrictions of the vehicle. It allows calculating an EV route without specifying the vehicle's consumption and charging parameters.