NAME

Business::UPS::Tracking::Element::Weight - A shipment or package weight

DESCRIPTION

This class represents a declaration of weight. Usually it is created automatically from a Business::UPS::Tracking::Shipment object.

This module uses overload for stringification if called in string context.

ACCESSORS

xml

Original XML::LibXML::Node node.

UnitOfMeasurement

Unit of measurement. Returns a Business::UPS::Tracking::Element::Code object.

Weight

Weight value (e.g. '5.50')

METHODS

printall

Returns the weight as a string (eg. '14.5 KGS')

meta

Moose meta method