You are here

function commerce_ups_commerce_shipping_service_name in Commerce UPS 7.2

Same name and namespace in other branches
  1. 7 commerce_ups.module \commerce_ups_commerce_shipping_service_name()

List of Shipping Service.

1 call to commerce_ups_commerce_shipping_service_name()
commerce_ups_service_rate_order in ./commerce_ups.module
Shipping service callback: returns a base price array for a shipping service calculated for the given order.

File

./commerce_ups.module, line 250
Handles main functionality for Commerce UPS module.

Code

function commerce_ups_commerce_shipping_service_name($service_code) {
  $service_names = _commerce_ups_service_list();
  return $service_names[$service_code]['slug'];
}