You are here

function _commerce_ups_packaging_types in Commerce UPS 7

Same name and namespace in other branches
  1. 7.2 commerce_ups.module \_commerce_ups_packaging_types()

Convenience function to get UPS codes for their package types.

File

./commerce_ups.module, line 163

Code

function _commerce_ups_packaging_types() {
  return array(
    // Customer Supplied Page is first so it will be the default
    '02' => t('Customer Supplied Package'),
    '01' => t('UPS Letter'),
    '03' => t('Tube'),
    '04' => t('PAK'),
    '21' => t('UPS Express Box'),
    '24' => t('UPS 25KG Box'),
    '25' => t('UPS 10KG Box'),
    '30' => t('Pallet'),
    '2a' => t('Small Express Box'),
    '2b' => t('Medium Express Box'),
    '2c' => t('Large Express Box'),
  );
}