currentWeightChangeInKilograms property
getter/setter pair
Changes the value of vehicle[currentWeight] by this value.
Enables the support of scenarios where the vehicle takes additional cargo or unloads its cargo along the route.
Changes to the configuration of the vehicle, such as adding a trailer, aren't supported.
Relative value in kilograms. Available range: from -40000 to 40000 (inclusive).
Note:
- A route request with this parameter requires to set VehicleSpecification.currentWeightInKilograms and VehicleSpecification.grossWeightInKilograms.
- This feature is supported in transport modes of TransportMode.car, TransportMode.taxi, or TransportMode.truck.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Implementation
int? currentWeightChangeInKilograms;