Google::Maps::RouteOptimization::SkippedShipment::Reason::Code
Code identifying the reason type for skipped shipments
Constants
This should never be used
There is no vehicle in the model making all shipments infeasible
The demand of the shipment exceeds a vehicle's capacity for some capacity types
The minimum distance necessary to perform this shipment exceeds the vehicle's routeDistanceLimit
The minimum time necessary to perform this shipment, including travel time, wait time and service time exceeds the vehicle's routeDurationLimit
Same as above but we only compare minimum travel time and the vehicle's travelDurationLimit
The vehicle cannot perform this shipment in the best-case scenario if it starts at its earliest start time
The allowedVehicleIndices field of the shipment is not empty and this vehicle does not belong to it
Instance methods
Returns true if this enum value equals CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT
Returns true if this enum value equals CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DURATION_LIMIT
Returns true if this enum value equals CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TIME_WINDOWS
Returns true if this enum value equals CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TRAVEL_DURATION_LIMIT
Returns true if this enum value equals DEMAND_EXCEEDS_VEHICLE_CAPACITY