You are here

interface TaxCodeResolverInterface in Drupal Commerce Connector for AvaTax 8

Defines interface for tax code resolvers.

Hierarchy

Expanded class hierarchy of TaxCodeResolverInterface

All classes that implement TaxCodeResolverInterface

File

src/Resolver/TaxCodeResolverInterface.php, line 10

Namespace

Drupal\commerce_avatax\Resolver
View source
interface TaxCodeResolverInterface {

  /**
   * Resolves the tax code of a given order item..
   *
   * @param \Drupal\commerce_order\Entity\OrderItemInterface $order_item
   *   The purchaseable entity.
   *
   * @return string
   *   The tax code.
   */
  public function resolve(OrderItemInterface $order_item);

}

Members

Namesort descending Modifiers Type Description Overrides
TaxCodeResolverInterface::resolve public function Resolves the tax code of a given order item.. 2