GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::UPS::Package(3) User Contributed Perl Documentation Net::UPS::Package(3)

Net::UPS::Package - Class representing a UPS Package

    $pkg = Net::UPS::Package->new();
    $pkg->packaging_type('PACKAGE');
    $pkg->measurement_system('metric');
    $pkg->length(40);
    $pkg->width(30);
    $pkg->height(2);
    $pkg->weight(10);

Net::UPS::Package represents a single UPS package. In addition to the above attributes, id attribute will be set once package is submitted for a rate quote. id starts at 1, and will be incremented by one for each subsequent package submitted at single request. The purpose of this attribute is still not clear. Comments are welcome.

In addition to all the aforementioned attributes, following method(s) are supported
is_oversized
Convenience method. Return value indicates if the package is oversized, and if so, its oversize level. Possible return values are 0, 1, 2 and 3. 0 means not oversized.

For support and licensing information refer to Net::UPS
2015-06-27 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.