NAME

Business::UPS::Tracking::Shipment - Base class for shipments

DESCRIPTION

This class is a base class for Business::UPS::Tracking::Shipment::SmallPackage and Business::UPS::Tracking::Shipment::Freight. Usually it is created automatically from a Business::UPS::Tracking::Response object. It provides accessors common to all shipment types.

ACCESSORS

xml

XML::LibXML::Node node of the shipment.

ScheduledDelivery

Scheduled delivery date and time. Returns a DateTime object.

PickupDate

Pickup date. Returns a DateTime object.

ShipperNumber

Shipper UPS customer number.

ShipperAddress

Shipper address. Returns a Business::UPS::Tracking::Element::Address object.

ShipmentWeight

Shipment weight. Returns a Business::UPS::Tracking::Element::Weight object.

ShipToAddress

Shipment destination address. Returns a Business::UPS::Tracking::Element::Address object.

Service

Service code and description. Returns a Business::UPS::Tracking::Element::Code object.

ShipmentReferenceNumber

Reference number for the whole shipment as provided by the shipper. Returns a Business::UPS::Tracking::Element::ReferenceNumber object.

METHODS

ShipmentType

Returns the shipment type. Either 'Freight' or 'Small Package'

meta

Moose meta method