public function TaxRatePluginInterface::calculateTax in Ubercart 8.4
Returns the amount of tax for the order.
Parameters
\Drupal\uc_order\OrderInterface $order: The order that is being processed.
Return value
\Drupal\uc_tax\TaxLineItem
1 method overrides TaxRatePluginInterface::calculateTax()
- TaxRatePluginBase::calculateTax in uc_tax/
src/ TaxRatePluginBase.php - Returns the amount of tax for the order.
File
- uc_tax/
src/ TaxRatePluginInterface.php, line 31
Class
- TaxRatePluginInterface
- Defines an interface for TaxRate plugins.
Namespace
Drupal\uc_taxCode
public function calculateTax(OrderInterface $order);