You are here

function _uc_usps_intl_services in Ubercart 6.2

Same name and namespace in other branches
  1. 5 shipping/uc_usps/uc_usps.module \_uc_usps_intl_services()
  2. 7.3 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
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 890
Shipping quote method module that receives quotes from the United States Postal Service via XML web service.

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