You are here

interface ChainTaxCodeResolverInterface in Drupal Commerce Connector for AvaTax 8

Defines a chain tax code resolver.

Hierarchy

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\Resolver
View 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

Namesort descending Modifiers Type Description Overrides
ChainTaxCodeResolverInterface::addResolver public function Adds a resolver. 1
ChainTaxCodeResolverInterface::getResolvers public function Gets all added resolvers. 1
TaxCodeResolverInterface::resolve public function Resolves the tax code of a given order item.. 2