struct

Google::Maps::RouteOptimization::VisitRequest

Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object

Visit request for pickup or delivery of a shipment

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

arrival_location

The geo-location where the vehicle arrives

arrival_waypoint

The waypoint where vehicle arrives

cost

Cost to service this visit request

departure_location

The geo-location where the vehicle departs from

departure_waypoint

The waypoint where vehicle departs from

duration

Duration of the visit

label

Label for this visit request

load_demands

Load demands specific to this visit

tags

Tags attached to the visit request

time_windows

Time windows constraining arrival time

visit_types

Types of the visit for scheduling purposes