function commerce_fedex_smartpost_hub_ids in Commerce FedEx 7
Returns a list of SmartPost Hub IDs.
Return value
array They keyed list of SmartPost Hub IDs provided by FedEx.
1 call to commerce_fedex_smartpost_hub_ids()
- commerce_fedex_settings_form in includes/
commerce_fedex.admin.inc - Builds the admin settings form for configuring FedEx.
File
- ./
commerce_fedex.module, line 281 - Defines the FedEx shipping method and services for Drupal Commerce.
Code
function commerce_fedex_smartpost_hub_ids() {
return array(
'5185' => 'ALPA Allentown',
'5303' => 'ATGA Atlanta',
'5281' => 'CHNC Charlotte',
'5602' => 'CIIL Chicago',
'5929' => 'COCA Chino',
'5751' => 'DLTX Dallas',
'5802' => 'DNCO Denver',
'5481' => 'DTMI Detroit',
'5087' => 'EDNJ Edison',
'5431' => 'GCOH Grove City',
'5771' => 'HOTX Houston',
'5465' => 'ININ Indianapolis',
'5648' => 'KCKS Kansas City',
'5902' => 'LACA Los Angeles',
'5254' => 'MAWV Martinsburg',
'5379' => 'METN Memphis',
'5552' => 'MPMN Minneapolis',
'5531' => 'NBWI New Berlin',
'5110' => 'NENY Newburgh',
'5015' => 'NOMA Northborough',
'5327' => 'ORFL Orlando',
'5194' => 'PHPA Philadelphia',
'5854' => 'PHAZ Phoenix',
'5150' => 'PTPA Pittsburgh',
'5958' => 'SACA Sacramento',
'5843' => 'SCUT Salt Lake City',
'5983' => 'SEWA Seattle',
'5631' => 'STMO St. Louis',
);
}