NAME

Business::Shipping::Package::USPS

VERSION

$Rev: 159 $ $Date: 2004-09-09 20:26:14 -0700 (Thu, 09 Sep 2004) $

METHODS

  • container

    Default 'None'.

  • size

    Default 'Regular'.

  • machinable

    Default 'False'.

  • mail_type

    Default 'Package'.

  • pounds

  • ounces

  • Required()

    We use a hand-written "Required()" method for this class, because we require one of the following: pounds, ounces, or weight. It doesn't matter which one it is, but if none of them are defined, then we pick 'weight' to Require.

  • weight

    Overrides the standard weight definition so that it can correctly set pounds & ounces.

  • set_lbs_oz

    Set pounds and ounces. Converts from fractional pounds.

  • lbs_oz_to_weight

    Converts pounds + ounces to fractional weight. Returns weight.

  • _round_up

AUTHOR

Dan Browning <db@kavod.com>, Kavod Technologies, http://www.kavod.com.

COPYRIGHT AND LICENCE

Copyright (c) 2003-2004 Kavod Technologies, Dan Browning. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. See LICENSE for more info.