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


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

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

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

Top

serialize

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

meta

Moose meta method


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