You are here

service commerce_avatax.avatax_lib in Drupal Commerce Connector for AvaTax 8

Class

Drupal\commerce_avatax\AvataxLib
9 string references to commerce_avatax.avatax_lib
AddressValidator::create in src/Controller/AddressValidator.php
Instantiates a new instance of this class.
Avatax::create in src/Plugin/Commerce/TaxType/Avatax.php
Creates an instance of the plugin.
TaxTypePluginTest::setUp in tests/src/Kernel/TaxTypePluginTest.php
TaxTypePluginTest::testCustomerCodeAnonymous in tests/src/Kernel/TaxTypePluginTest.php
Test that the correct customerCode is sent for anonymous users.
TaxTypePluginTest::testCustomerCodeEmail in tests/src/Kernel/TaxTypePluginTest.php
Test that the email is sent as the customerCode by default.

... See full list

File

./commerce_avatax.services.yml
commerce_avatax.services.yml

View source
  1. class: Drupal\commerce_avatax\AvataxLib
  2. arguments:
  3. - '@plugin.manager.commerce_adjustment_type'
  4. - '@commerce_avatax.chain_tax_code_resolver'
  5. - '@commerce_avatax.client_factory'
  6. - '@config.factory'
  7. - '@event_dispatcher'
  8. - '@logger.channel.commerce_avatax'
  9. - '@module_handler'
  10. - '@cache.commerce_avatax'