public function Custom::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 LocalTaxTypeBase::shouldRound
File
- modules/
tax/ src/ Plugin/ Commerce/ TaxType/ Custom.php, line 372
Class
- Custom
- Provides the Custom tax type.
Namespace
Drupal\commerce_tax\Plugin\Commerce\TaxTypeCode
public function shouldRound() {
return $this->configuration['round'];
}