function _uc_usps_env_services in Ubercart 6.2
Same name and namespace in other branches
- 7.3 shipping/uc_usps/uc_usps.module \_uc_usps_env_services()
Maps envelope shipment services to their IDs.
2 calls to _uc_usps_env_services()
- uc_usps_admin_settings in shipping/
uc_usps/ uc_usps.admin.inc - Configure USPS settings.
- uc_usps_shipping_method in shipping/
uc_usps/ uc_usps.module - Implements hook_shipping_method().
File
- shipping/
uc_usps/ uc_usps.module, line 837 - Shipping quote method module that receives quotes from the United States Postal Service via XML web service.
Code
function _uc_usps_env_services() {
return array(
'zero' => t('U.S.P.S. First-Class Mail Postcard'),
'zeroFlat' => t('U.S.P.S. First-Class Mail Letter'),
12 => t('U.S.P.S. First-Class Postcard Stamped'),
1 => t('U.S.P.S. Priority Mail'),
16 => t('U.S.P.S. Priority Mail Flat-Rate Envelope'),
3 => t('U.S.P.S. Express Mail'),
13 => t('U.S.P.S. Express Mail Flat-Rate Envelope'),
23 => t('U.S.P.S. Express Mail Sunday/Holiday Guarantee'),
25 => t('U.S.P.S. Express Mail Flat-Rate Envelope Sunday/Holiday Guarantee'),
);
}