You are here

function commerce_avatax_void_codes_list in Drupal Commerce Connector for AvaTax 7.5

Options list callback for the commerce_avatax_void_transaction() rules condition.

1 string reference to 'commerce_avatax_void_codes_list'
commerce_avatax_rules_action_info in ./commerce_avatax.rules.inc
Implements hook_rules_action_info().

File

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

Code

function commerce_avatax_void_codes_list() {
  return drupal_map_assoc(array(
    'Unspecified',
    'PostFailed',
    'DocDeleted',
    'DocVoided',
    'AdjustmentCancelled',
  ));
}