Class Shipment.Types.Load
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 [load_demands][google.maps.routeoptimization.v1.Shipment.load_demands].
Implements
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public sealed class Shipment.Types.Load : IMessage<Shipment.Types.Load>, IEquatable<Shipment.Types.Load>, IDeepCloneable<Shipment.Types.Load>, IBufferMessage, IMessage
Constructors
Load()
Declaration
public Load()
Load(Load)
Declaration
public Load(Shipment.Types.Load other)
Parameters
Type | Name | Description |
---|---|---|
Shipment.Types.Load | other |
Properties
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.
Declaration
public long Amount { get; set; }
Property Value
Type | Description |
---|---|
long |