service commerce_avatax.avatax_lib in Drupal Commerce Connector for AvaTax 8
Class
Drupal\commerce_avatax\AvataxLib9 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.
File
View source
- class: Drupal\commerce_avatax\AvataxLib
- arguments:
- - '@plugin.manager.commerce_adjustment_type'
- - '@commerce_avatax.chain_tax_code_resolver'
- - '@commerce_avatax.client_factory'
- - '@config.factory'
- - '@event_dispatcher'
- - '@logger.channel.commerce_avatax'
- - '@module_handler'
- - '@cache.commerce_avatax'