You are here

function _uc_usps_env_services in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 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
Configures USPS settings.
uc_usps_uc_shipping_method in shipping/uc_usps/uc_usps.module
Implements hook_uc_shipping_method().

File

shipping/uc_usps/uc_usps.module, line 850
United States Postal Service (USPS) shipping quote module.

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'),
  );
}