public function TaxRatePluginBase::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
Overrides TaxRatePluginInterface::calculateTax
1 method overrides TaxRatePluginBase::calculateTax()
- PercentageTaxRate::calculateTax in uc_tax/
src/ Plugin/ Ubercart/ TaxRate/ PercentageTaxRate.php - Returns the amount of tax for the order.
File
- uc_tax/
src/ TaxRatePluginBase.php, line 66
Class
- TaxRatePluginBase
- Defines a base tax rate plugin implementation.
Namespace
Drupal\uc_taxCode
public function calculateTax(OrderInterface $order) {
return [];
}