struct Google::Maps::RouteOptimization::SkippedShipment

Overview

Details of unperformed shipments in a solution

See the documentation for additional information.

Included Modules

Extended Modules

Defined in:

maps.cr

Constructors

Instance Method Summary

Macros inherited from module Google::Resource

define(name, *fields) define, field(var, key = nil, **options, &block) field, field!(var, key = nil, **options, &block) field!, field?(var, key = nil, **options, &block) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pull : MessagePack::Unpacker) #

Instance Method Detail

def index : Int32 #

The index corresponds to the index of the shipment in the source ShipmentModel


def label : String | Nil #

Copy of the corresponding Shipment.label, if specified in the Shipment


def reasons : Array(Reason) #

A list of reasons that explain why the shipment was skipped. If we are unable to understand why a shipment was skipped, reasons will not be set.