You are here

function commerce_avatax_line_item_title in Drupal Commerce Connector for AvaTax 7.5

Same name and namespace in other branches
  1. 7.3 commerce_avatax.module \commerce_avatax_line_item_title()
  2. 7.4 commerce_avatax.module \commerce_avatax_line_item_title()

Returns the title of an AvaTax line item.

File

./commerce_avatax.module, line 279
AvaTax service integration from Avalara, Inc.

Code

function commerce_avatax_line_item_title($line_item) {
  return !empty($line_item->line_item_label) ? $line_item->line_item_label : t('Tax');
}