NAME
Business::Shipping::USPS_Online::RateRequest
VERSION
$Rev: 280 $
SERVICE TYPES
Domestic
All
EXPRESS
Priority
Parcel
Library
BPM
Media
International
Global Express Guaranteed Document Service
Global Express Guaranteed Non-Document Service
Global Express Mail (EMS)
Global Priority Mail - Flat-rate Envelope (Large)
Global Priority Mail - Flat-rate Envelope (Small)
Global Priority Mail - Variable Weight (Single)
Airmail Letter-post
Airmail Parcel Post
Economy (Surface) Letter-post
Economy (Surface) Parcel Post
METHODS
domestic
Required()
International USPS does not require the service or from_zip parameters, but domestic does.
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.
_gen_request_xml
Generate the XML document.
_gen_request
_massage_values
_handle_response
error_details()
See Business::Shipping::RateRequest for full documentation. Adds the following keys to each error:
package_id : The unique package id in which the error occurred
error_source : The component that generated the error
_domestic_or_intl
Decide if we are domestic or international for this run.
to_residential()
For compatibility with UPS modules. Always returns 0.
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.