You are here

public function TaxTypeInterface::isDisplayInclusive in Commerce Core 8.2

Gets whether the tax type is display inclusive.

E.g. US sales tax is not display inclusive, a $5 price is shown as $5 even if a $1 tax has been calculated. In France, a 5€ price is shown as 6€ if a 1€ tax was calculated, because French VAT is display inclusive.

Return value

bool TRUE if the tax type is display inclusive, FALSE otherwise.

1 method overrides TaxTypeInterface::isDisplayInclusive()
TaxTypeBase::isDisplayInclusive in modules/tax/src/Plugin/Commerce/TaxType/TaxTypeBase.php
Gets whether the tax type is display inclusive.

File

modules/tax/src/Plugin/Commerce/TaxType/TaxTypeInterface.php, line 51

Class

TaxTypeInterface
Defines the base interface for tax types.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxType

Code

public function isDisplayInclusive();