Google Maps Route Optimization V1 Client - Class VisitType (0.9.0)

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 \ Visit

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

VISIT_TYPE_UNSPECIFIED

Value: 0

Unspecified visit type.

Generated from protobuf enum VISIT_TYPE_UNSPECIFIED = 0;

PICKUP_SHIPMENT

Value: 1

Visit corresponds to a shipment pickup.

Generated from protobuf enum PICKUP_SHIPMENT = 1;

DELIVER_SHIPMENT

Value: 2

Visit corresponds to a shipment delivery.

Generated from protobuf enum DELIVER_SHIPMENT = 2;