Business::UPS::Tracking::Element::Package - A small freight package


Business-UPS-Tracking documentation  | view source Contained in the Business-UPS-Tracking distribution.

Index


NAME

Top

Business::UPS::Tracking::Element::Package - A small freight package

DESCRIPTION

Top

This class represents an small freight package. Usually it is created automatically from a Business::UPS::Tracking::Shipment object.

ACCESSORS

Top

xml

Original XML::LibXML::Node node.

Activity

Arrayref of Business::UPS::Tracking::Element::Activity objects ordered by activity date and time. Check the first element in the list for the most recent status.

RescheduledDelivery

Date and time of rescheduled delivery attempt. Returns a DateTime object.

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

ReturnToAddress

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

SignatureRequired

Returns 'A' (adult signature), 'S' (signature) or undef (no signature required).

PackageWeight

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

TrackingNumber

UPS tracking number.

RerouteAddress

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

METHODS

Top

CurrentStatus

Returns the last known status. Can return

* In Transit
* Delivered
* Exeption
* Pickup
* Manifest Pickup
* Unknown

If you need to obtain more detailed information on the current status use $pakcage->Activity->[0]-<gtStatusTypeDescription>, $pakcage->Activity->[0]-<gtStatusCode> and $pakcage->Activity->[0]-<gtDateTime>.

meta

Moose meta method


Business-UPS-Tracking documentation  | view source Contained in the Business-UPS-Tracking distribution.