Business::Shipping::USPS_Offline::RateRequest


NAME

Business::Shipping::RateRequest::Offline::USPS -- Calculates US Postal service rates (intl only)


SYNOPSIS

 (in catalog.cfg)
    Database   usps             ship/usps.txt              TAB
    Database   air_pp           ship/air_pp.txt            TAB
    Database   surf_pp          ship/surf_pp.txt           TAB
 (in shipping.asc)
    air_pp: US Postal Air Parcel
        crit            weight
        min             0
        max             0
        cost            e No shipping needed!
        at_least        4
        adder           1
        aggregate       70
        table           air_pp
        min             0
        max             1000
        cost            s Postal
        min             70
        max             9999999
        cost            e Too heavy for Air Parcel
    surf_pp:    US Postal Surface Parcel
        crit            weight
        min             0
        max             0
        cost            e No shipping needed!
        at_least        4
        adder           1
        aggregate       70
        table           surf_pp
        min             0
        max             1000
        cost            s Postal
        min             70
        max             9999999
        cost            e Too heavy for Postal Parcel


DESCRIPTION

Looks up a service zone by country in the usps table, then looks in the appropriate rate table for a price by that zone.

Can aggregate shipments greater than 70 pounds by assuming you will ship multiple 70-pound packages (plus one package with the remainder).


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.

 Business::Shipping::USPS_Offline::RateRequest