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.

ServiceCode

UPS service code. (eg. '002' for 2nd day air)

ServiceDescription

UPS service code description (eg. '2ND DAY AIR')

ShipmentReferenceNumber

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