NAME

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

DESCRIPTION

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

ACCESSORS

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.

Arrayref of

RescheduledDelivery

Date and time of rescheduled delivery attempt. Retuens 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

meta

Moose meta method

METHODS

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