interface TaxCodeResolverInterface in Drupal Commerce Connector for AvaTax 8
Defines interface for tax code resolvers.
Hierarchy
- interface \Drupal\commerce_avatax\Resolver\TaxCodeResolverInterface
Expanded class hierarchy of TaxCodeResolverInterface
All classes that implement TaxCodeResolverInterface
File
- src/
Resolver/ TaxCodeResolverInterface.php, line 10
Namespace
Drupal\commerce_avatax\ResolverView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TaxCodeResolverInterface:: |
public | function | Resolves the tax code of a given order item.. | 2 |