NAME

Business::FedEx::Constants - Constants used by Business::FedEx::ShipRequest;

SYNOPSIS

Constants are used in the creation of a ShipRequest Object, and in a ShipRequest get_data() method.

API

DESCRIPTION

Two parts to this documentation:

1) SET FEDEX VALUES -- used by ShipRequest->new() (for ship and rate...not track)

2) GET FEDEX VALUES -- used by ShipRequest->get_data()

SET FEDEX VALUES:

              transaction_id=>'32826482',                #--/-REQUIRED - Any number you want - used for error tracking
	      account_number => '',                      #--/-REQUIRED - Your 9 digit FedEx Account number
	      weight => '',                              #--/-REQUIRED
	      weight_units =>'LBS',
	      service => '1',
	      special_services => '',
	      ship_date => '',
	      declared_value => '',
	      cod_flag => 'N',
	      cod_amount => '',
	      cod_cashiers_check => '',
	      special_services => 'NNNNNNNNNNNNN',
	      dry_ice_weight => '',
	      meter_number => '',                        #--/-REQUIRED - Your 7 digit FedEx meter number
	      gif_label => '400',
	      tracking_num => '',

	      shipper_name => '',                        #--/-REQUIRED - 
	      shipper_company => '',                      #--/-REQUIRED - 
	      shipper_address1 => '',                    #--/-REQUIRED - 
	      shipper_address2 => '',
	      shipper_city => '',                        #--/-REQUIRED - 
	      shipper_zip_code => '',                    #--/-REQUIRED - 
	      shipper_state => '',                       #--/-REQUIRED - 
	      shipper_phone => '',                       #--/-REQUIRED - 
	      
	      dest_company => '',                        #--/-REQUIRED - 
	      dest_address1 => '',                       #--/-REQUIRED - 
	      dest_address2 => '',
	      dest_city => '',                           #--/-REQUIRED - 
	      dest_zip_code => '',                       #--/-REQUIRED - 
	      dest_state => '',                          #--/-REQUIRED - 
	      dest_phone => '',                           #--/-REQUIRED - 
	      recipient_department => '',                
	      payor_account_number => '',                #--/-REQUIRED - 10 digit fedex account # of payor
	      payment_code => '1',                       #--/-REQUIRED - 
	      reference_info => '',
	      signature_release_flag => 'N',
	      #
	      hal_station_address1 => '',
	      hal_city => '',
	      hal_state => '',
	      hal_zip_code => '',
	      pkg_height => '',
	      pkg_width => '', 
	      pkg_length => '',
	      dim_units => '',
	      future_day_ship => '',
	      dest_country_code => 'US',
	      ult_dest_country_code => 'US',
	      shipper_country_code => 'US',
	      #INTERNATIONAL SHIPPING ONLY-------------------------------------------------                  
	      duties_pay_type => '',
	      duties_account_num => '',
	      pkg_description => '',
	      manufacture_country_code => '',
	      currency_type => '',
	      carriage_value => '',
	      unit_weight1 => '',
	      unit_value1 => '',
	      quantity1 => '',
	      unit_measure1 => '',
	      #local_ship_time => '',
	      customs_value => '',
	      ein_num => '',
	      commercial_invoice_flag => '',
	      hal_phone => '',

GET FEDEX VALUES:

You can get all the above values as well as the values listed below through Business::FedEx::ShipRequest->get_data('constant_name'):

'transaction_type';
'transaction_id';
'error_code';
'error_mesg';
'weight';
'cod_tracking_num';
'tracking_num';
'ursa_code';
'service_area';
'base_charge';
'total_surcharge';
'total_discount';
'net_charge';
'billed_weight';
'astra_bar_code';
'gif_label';
'delivery_day';
'routing_location_id';
'cod_label';
'dim_weight_used';
'tracking_form_id';
'transaction_term';
'tracking_status';
'package_type';
'service_type';
'delivery_description';
'signed_for';
'delivery_time';
'dispatch_exception';
'cartage_agent';
'status_exception';
'cod_ret_track_num';
'cod_flag';
'num_tracking_activities';
'pkg_type';
'delivery_date';
'track_1';
'track_2';
'track_3';
'track_4';
'track_5';
'track_6';
'track_7';
'track_8';
'track_9';
'track_10';
'track_11';
'track_12';
'track_13';
'track_14';
'track_15';

Refer to the FedEx ShipAPI documentation.

EXPORT

None by default.

AUTHOR

Patrick Tully, ptully@avatartech.com

SEE ALSO

Business::FedEx

Business::FedEx::ShipRequest

Business::FedEx::ShipAPI