AI-generated Key Takeaways
-
The
Shipment.Loadmessage defines the amount added or subtracted from a vehicle's load during a pickup or delivery. -
This amount is represented by the
amountfield in the JSON representation, which is a string formatted as anint64. -
The
amountvalue must be non-negative and users should choose an appropriate unit to maintain precision. -
Refer to
loadDemandsfor how this message is used within the broader context of route optimization.
When performing a visit, a predefined amount may be added to the vehicle load if it's a pickup, or subtracted if it's a delivery. This message defines such amount. See loadDemands.
| JSON representation |
|---|
{ "amount": string } |
| Fields | |
|---|---|
amount |
The amount by which the load of the vehicle performing the corresponding visit will vary. Since it is an integer, users are advised to choose an appropriate unit to avoid loss of precision. Must be ≥ 0. |