You are here

function commerce_fedex_shipping_service_types in Commerce FedEx 7

Returns an array representing the available shipping services from FedEx that this module offers.

Return value

array The keyed values of available shipping services.

3 calls to commerce_fedex_shipping_service_types()
commerce_fedex_commerce_shipping_service_info in ./commerce_fedex.module
Implements hook_commerce_shipping_service_info().
commerce_fedex_commerce_shipping_service_rate_options_alter in ./commerce_fedex.module
Implements hook_commerce_shipping_service_rate_options_alter().
commerce_fedex_settings_form in includes/commerce_fedex.admin.inc
Builds the admin settings form for configuring FedEx.

File

./commerce_fedex.module, line 185
Defines the FedEx shipping method and services for Drupal Commerce.

Code

function commerce_fedex_shipping_service_types() {
  return array(
    'FEDEX_GROUND' => t('FedEx Ground'),
    'FEDEX_2_DAY' => t('FedEx 2 Day'),
    'FEDEX_2_DAY_AM' => t('FedEx 2 Day AM'),
    'FEDEX_EXPRESS_SAVER' => t('FedEx Express Saver'),
    'FIRST_OVERNIGHT' => t('FedEx First Overnight'),
    'GROUND_HOME_DELIVERY' => t('FedEx Ground Home Delivery'),
    'INTERNATIONAL_ECONOMY' => t('FedEx International Economy'),
    'INTERNATIONAL_FIRST' => t('FedEx International First'),
    'INTERNATIONAL_PRIORITY' => t('FedEx International Priority'),
    'PRIORITY_OVERNIGHT' => t('FedEx Priority Overnight'),
    'SMART_POST' => t('FedEx Smart Post'),
    'STANDARD_OVERNIGHT' => t('FedEx Standard Overnight'),
  );
}