Load

  • A visit can adjust a vehicle's load, either adding to it for pickups or subtracting for deliveries.

  • The amount field, represented as a string of an integer in JSON, defines the load variation amount.

  • The amount field, formatted as int64, indicates the load adjustment value.

  • The amount must be greater than or equal to 0, and it is recommended to choose an appropriate unit to avoid loss of precision, as it is an integer.

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

string (int64 format)

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.