Vehicle

fun Vehicle(    vehicleMaxSpeedInKph: Int? = null,     isVehicleCommercial: Boolean? = null,     vehicleLoadType: Set<VehicleLoadType> = emptySet(),     vehicleAdrTunnelRestrictionCode: VehicleAdrTunnelRestrictionCode? = null,     vehicleDimensions: VehicleDimensions? = null,     electricEngine: ElectricEngine? = null,     combustionEngine: CombustionEngine? = null)

Parameters

vehicleMaxSpeedInKph

Specifies maximum speed of the vehicle in km/hour.

isVehicleCommercial

Specifies whether the vehicle is used for commercial purposes and thus may not be allowed to drive on some roads.

vehicleLoadType

Specifies the vehicle load type for route calculation.

vehicleAdrTunnelRestrictionCode

If specified, the vehicle is subject to ADR tunnel restrictions.

vehicleDimensions

Specifies the vehicle's dimensions for route calculation.

electricEngine

Specifies the vehicle's electric engine for route and consumption calculation.

combustionEngine

Specifies the vehicle's combustion engine for route and consumption calculation.