You are here

function commerce_avatax_commerce_line_item_type_info in Drupal Commerce Connector for AvaTax 7.5

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

Implements hook_commerce_line_item_type_info().

File

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

Code

function commerce_avatax_commerce_line_item_type_info() {
  $line_item_types = array();
  $line_item_types['avatax'] = array(
    'name' => t('AvaTax'),
    'description' => t('Tax calculated by AvaTax.'),
    'add_form_submit_value' => t('Add Tax'),
    'base' => 'commerce_avatax_line_item',
  );
  return $line_item_types;
}