You are here

function commerce_fedex_package_types in Commerce FedEx 7

Returns an array of available FedEx package types.

Return value

array The keyed values of available shipping package types.

1 call to commerce_fedex_package_types()
commerce_fedex_settings_form in includes/commerce_fedex.admin.inc
Builds the admin settings form for configuring FedEx.

File

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

Code

function commerce_fedex_package_types() {
  return array(
    'FEDEX_BOX' => t('FedEx Box'),
    'FEDEX_TUBE' => t('FedEx Tube'),
    'FEDEX_PAK' => t('FedEx Pak'),
    'FEDEX_ENVELOPE' => t('FedEx Envelope'),
    'YOUR_PACKAGING' => t('Customer Supplied Packaging'),
  );
}