Business::UPS::Tracking::Shipment - Base class for shipments
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.
XML::LibXML::Node node of the shipment.
Scheduled delivery date and time. Returns a DateTime object.
Pickup date. Returns a DateTime object.
Shipper UPS customer number.
Shipper address. Returns a Business::UPS::Tracking::Element::Address object.
Shipment weight. Returns a Business::UPS::Tracking::Element::Weight object.
Shipment destination address. Returns a Business::UPS::Tracking::Element::Address object.
Service code and description. Returns a Business::UPS::Tracking::Element::Code object.
Reference number for the whole shipment as provided by the shipper. Returns a Business::UPS::Tracking::Element::ReferenceNumber object.
Returns the shipment type. Either 'Freight' or 'Small Package'
Moose meta method
To install Business::UPS::Tracking, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::UPS::Tracking
CPAN shell
perl -MCPAN -e shell install Business::UPS::Tracking
For more information on module installation, please visit the detailed CPAN module installation guide.