Business::Shipping::RateRequest::Offline - Abstract class for cost calculation.


Business-Shipping documentation  | view source Contained in the Business-Shipping distribution.

Index


NAME

Top

Business::Shipping::RateRequest::Offline - Abstract class for cost calculation.

DESCRIPTION

Top

This doesn't have very much to it. It just disables the cache feature, and has a few miscellaneous functions.

METHODS

Top

* perform_action()

For compatibility with parent class

* cache()

Cache always disabled for Offline lookups: they are so fast already, the disk I/O of a running a cache is not worth it.

* make_three( $zip )
 $zip   Input to shorten/lengthen.  Usually a zip code.

Shorten to three digits. If the input doesn't have leading zeros, add them.

AUTHOR

Top

Daniel Browning, db@kavod.com, http://www.kavod.com/

COPYRIGHT AND LICENCE

Top


Business-Shipping documentation  | view source Contained in the Business-Shipping distribution.