function _uc_ups_service_list in Ubercart 5
Same name and namespace in other branches
- 6.2 shipping/uc_ups/uc_ups.module \_uc_ups_service_list()
- 7.3 shipping/uc_ups/uc_ups.module \_uc_ups_service_list()
Convenience function to get UPS codes for their services.
5 calls to _uc_ups_service_list()
- uc_ups_admin_settings in shipping/
uc_ups/ uc_ups.module - UPS Online Tool settings.
- uc_ups_fulfill_order in shipping/
uc_ups/ uc_ups.module - Shipment creation callback.
- uc_ups_shipment_request in shipping/
uc_ups/ uc_ups.module - Construct an XML shippment request.
- uc_ups_shipping_method in shipping/
uc_ups/ uc_ups.module - Implementation of Übercart's hook_shipping_method().
- uc_ups_shipping_quote in shipping/
uc_ups/ uc_ups.module - Construct an XML quote request.
File
- shipping/
uc_ups/ uc_ups.module, line 1496 - Shipping quote module that interfaces with www.ups.com to get rates for small package shipments.
Code
function _uc_ups_service_list() {
return array(
'03' => t('UPS Ground'),
'11' => t('UPS Standard'),
'01' => t('UPS Next Day Air'),
'13' => t('UPS Next Day Air Saver'),
'14' => t('UPS Next Day Early A.M.'),
'02' => t('UPS 2nd Day Air'),
'59' => t('UPS 2nd Day Air A.M.'),
'12' => t('UPS 3-Day Select'),
);
}