interface ChainTaxCodeResolverInterface in Drupal Commerce Connector for AvaTax 8
Defines a chain tax code resolver.
Hierarchy
- interface \Drupal\commerce_avatax\Resolver\TaxCodeResolverInterface
- interface \Drupal\commerce_avatax\Resolver\ChainTaxCodeResolverInterface
Expanded class hierarchy of ChainTaxCodeResolverInterface
All classes that implement ChainTaxCodeResolverInterface
1 file declares its use of ChainTaxCodeResolverInterface
- AvataxLib.php in src/
AvataxLib.php
File
- src/
Resolver/ ChainTaxCodeResolverInterface.php, line 8
Namespace
Drupal\commerce_avatax\ResolverView source
interface ChainTaxCodeResolverInterface extends TaxCodeResolverInterface {
/**
* Adds a resolver.
*
* @param \Drupal\commerce_avatax\Resolver\TaxCodeResolverInterface $resolver
* The resolver.
*/
public function addResolver(TaxCodeResolverInterface $resolver);
/**
* Gets all added resolvers.
*
* @return \Drupal\commerce_avatax\Resolver\TaxCodeResolverInterface[]
* The resolvers.
*/
public function getResolvers();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChainTaxCodeResolverInterface:: |
public | function | Adds a resolver. | 1 |
ChainTaxCodeResolverInterface:: |
public | function | Gets all added resolvers. | 1 |
TaxCodeResolverInterface:: |
public | function | Resolves the tax code of a given order item.. | 2 |