You are here

function _uc_usps_intl_services in Ubercart 7.3

Same name and namespace in other branches
  1. 5 shipping/uc_usps/uc_usps.module \_uc_usps_intl_services()
  2. 6.2 shipping/uc_usps/uc_usps.module \_uc_usps_intl_services()

Maps international parcel services to their IDs.

2 calls to _uc_usps_intl_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 903
United States Postal Service (USPS) shipping quote module.

Code

function _uc_usps_intl_services() {
  return array(
    15 => t('First Class Mail International Package'),
    2 => t('Priority Mail International'),
    16 => t('Priority Mail International Small Flat-Rate Box'),
    9 => t('Priority Mail International Regular/Medium Flat-Rate Box'),
    11 => t('Priority Mail International Large Flat-Rate Box'),
    4 => t('Global Express Guaranteed'),
    6 => t('Global Express Guaranteed Non-Document Rectangular'),
    7 => t('Global Express Guaranteed Non-Document Non-Rectangular'),
    1 => t('Express Mail International (EMS)'),
  );
}