You are here

public static function Avatax::getExemptionTypes in Drupal Commerce Connector for AvaTax 8

Gets the list of Tax exemption types.

Return value

array The exemption types, keyed by code.

File

src/Avatax.php, line 17

Class

Avatax

Namespace

Drupal\commerce_avatax

Code

public static function getExemptionTypes() {
  return [
    'A' => new TranslatableMarkup('Federal government (United States)'),
    'B' => new TranslatableMarkup('State government (United States)'),
    'C' => new TranslatableMarkup('Tribe / Status Indian / Indian Band'),
    'D' => new TranslatableMarkup('Foreign diplomat'),
    'E' => new TranslatableMarkup('Charitable or benevolent org'),
    'F' => new TranslatableMarkup('Religious or educational org'),
    'G' => new TranslatableMarkup('Resale'),
    'H' => new TranslatableMarkup('Commercial agricultural production'),
    'I' => new TranslatableMarkup('Industrial production / manufacturer'),
    'J' => new TranslatableMarkup('Direct pay permit (United States)'),
    'K' => new TranslatableMarkup('Direct mail (United States)'),
    'L' => new TranslatableMarkup('Other'),
    'N' => new TranslatableMarkup('Local government (United States)'),
    'P' => new TranslatableMarkup('Commercial aquaculture (Canada)'),
    'Q' => new TranslatableMarkup('Commercial Fishery (Canada)'),
    'R' => new TranslatableMarkup('Non-resident (Canada)'),
  ];
}