public function TaxRate::setForShippable in Ubercart 8.4
If the tax applies only to shippable products.
Parameters
bool $shippable: If the tax applies only to shippable products.
Return value
$this
Overrides TaxRateInterface::setForShippable
File
- uc_tax/
src/ Entity/ TaxRate.php, line 267
Class
- TaxRate
- Defines a tax rate configuration entity.
Namespace
Drupal\uc_tax\EntityCode
public function setForShippable($shippable) {
$this->shippable = (bool) $shippable;
return $this;
}