Google::Maps::RouteOptimization::Shipment
Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object
Single item shipment from pickup(s) to delivery(s)
Constructors
new(pull : JSON::PullParser)
new(pull : MessagePack::Unpacker)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance methods
allowed_vehicle_indices
Vehicles that may perform this shipment
costs_per_vehicle
Cost per vehicle to perform shipment
costs_per_vehicle_indices
Indices that costs_per_vehicle applies to
deliveries
Set of available delivery locations
display_name
Display name (up to 63 UTF-8 chars)
ignore
Whether to skip this shipment
label
Label for this shipment
load_demands
Load demands of the shipment
penalty_cost
Cost if shipment is not completed
pickup_to_delivery_absolute_detour_limit
Maximum absolute detour time
pickup_to_delivery_relative_detour_limit
Maximum relative detour time
pickup_to_delivery_time_limit
Maximum time between pickup and delivery
pickups
Set of available pickup locations
shipment_type
Type classification for this shipment