public function LocalTaxTypeBase::shouldRound in Commerce Core 8.2
Gets whether tax should be rounded at the order item level.
Return value
bool TRUE if tax should be rounded at the order item level, FALSE otherwise.
Overrides LocalTaxTypeInterface::shouldRound
1 call to LocalTaxTypeBase::shouldRound()
- LocalTaxTypeBase::apply in modules/
tax/ src/ Plugin/ Commerce/ TaxType/ LocalTaxTypeBase.php - Applies the tax type to the given order.
1 method overrides LocalTaxTypeBase::shouldRound()
- Custom::shouldRound in modules/
tax/ src/ Plugin/ Commerce/ TaxType/ Custom.php - Gets whether tax should be rounded at the order item level.
File
- modules/
tax/ src/ Plugin/ Commerce/ TaxType/ LocalTaxTypeBase.php, line 97
Class
- LocalTaxTypeBase
- Provides the base class for local tax types.
Namespace
Drupal\commerce_tax\Plugin\Commerce\TaxTypeCode
public function shouldRound() {
return TRUE;
}