You are here

public function TaxRate::setIncludedInPrice in Ubercart 8.4

Whether to display prices including tax.

Parameters

bool $included: Whether to display prices including tax.

Return value

$this

Overrides TaxRateInterface::setIncludedInPrice

File

uc_tax/src/Entity/TaxRate.php, line 237

Class

TaxRate
Defines a tax rate configuration entity.

Namespace

Drupal\uc_tax\Entity

Code

public function setIncludedInPrice($included) {
  $this->display_include = (bool) $included;
  return $this;
}