Reference documentation and code samples for the Google Maps Route Optimization V1 Client class VisitType.
Indicates whether the visit is a pickup, a delivery, or a visit to a Stop. Visits to a stop are used only when multimodal optimization is enabled.
Protobuf type google.maps.routeoptimization.v1.ShipmentRoute.Visit.VisitType
Namespace
Google \ Maps \ RouteOptimization \ V1 \ ShipmentRoute \ VisitMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
VISIT_TYPE_UNSPECIFIED
Value: 0Unspecified visit type.
Generated from protobuf enum VISIT_TYPE_UNSPECIFIED = 0;
PICKUP_SHIPMENT
Value: 1Visit corresponds to a shipment pickup.
Generated from protobuf enum PICKUP_SHIPMENT = 1;
DELIVER_SHIPMENT
Value: 2Visit corresponds to a shipment delivery.
Generated from protobuf enum DELIVER_SHIPMENT = 2;