You are here

function _uc_fedex_ground_services in FedEx Shipping 6.2

Same name and namespace in other branches
  1. 7.2 uc_fedex.module \_uc_fedex_ground_services()

Convenience function to get FedEx codes for their Ground services.

This should probably be sucked out of the WSDL file, to be sure the options stay correct and up-to-date.

Return value

An array of human-friendly names for the different FedEx service codes.

4 calls to _uc_fedex_ground_services()
uc_fedex_admin_settings in ./uc_fedex.admin.inc
Default FedEx Web Services API settings.
uc_fedex_fulfill_order in ./uc_fedex.ship.inc
Shipment creation callback.
uc_fedex_quote in ./uc_fedex.module
Callback for retrieving a FedEx shipping quote.
uc_fedex_shipping_method in ./uc_fedex.module
Implements Ubercart's hook_shipping_method().

File

./uc_fedex.module, line 941
FedEx Web Services Rate / Available Services Quote.

Code

function _uc_fedex_ground_services() {
  return array(
    'FEDEX_GROUND' => t('FedEx Ground'),
    'GROUND_HOME_DELIVERY' => t('FedEx Home Delivery'),
  );
}