Business::Shipping::UPS_Online::RateRequest - Estimates shipping cost online


NAME

Business::Shipping::UPS_Online::RateRequest - Estimates shipping cost online

See Shipping.pm POD for usage information.


REQUIRED FIELDS

user_id password access_key

If user_id, password, and/or access_key are not defined, then the following shell environment variables will be used, if defiend:

UPS_USER_ID UPS_PASSWORD UPS_ACCESS_KEY


SERVICE TYPES

Domestic

    1DM        
    1DML    
    1DA        One Day Air
    1DAL    
    2DM    
    2DA        Two Day Air
    2DML    
    2DAL    
    3DS        Three Day Select    
    GNDCOM    Ground Commercial
    GNDRES    Ground Residential
    
=head2 International
 
    XPR        UPS Worldwide Express
    XDM        UPS Worldwide Express Plus
    UPSSTD    UPS Standard
    XPRL    UPS Worldwide Express Letter
    XDML    UPS Worldwide Express Plus Letter
    XPD        UPS Worldwide Expedited


ARGUMENTS

Required

    user_id
    password
    access_key
    pickup_type
    from_country
    from_zip
    to_country
    to_zip
    to_residential
    service
    packaging
    weight
    
=head2 Optional
    test_server
    no_ssl
    event_handlers
    from_city
    to_city


METHODS


=cut

$VERSION = do { my $r = q$Rev: 165 $; $r =~ /\d+/; $&; };

use strict; use warnings; use base ( 'Business::Shipping::RateRequest::Online' ); use Business::Shipping::Logging; use Business::Shipping::Config; use Business::Shipping::UPS_Online::Package; use Business::Shipping::UPS_Online::Shipment; use Business::Shipping::Util; use XML::Simple 2.05; use Cache::FileCache; use LWP::UserAgent;


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::UPS_Online::RateRequest - Estimates shipping cost online