You are here

public function TaxTypeAwareInterface::setTaxType in Commerce Core 8.2

Sets the tax type.

Parameters

\Drupal\commerce_tax\Entity\TaxTypeInterface $tax_type: The tax type.

Return value

$this

File

modules/tax/src/Resolver/TaxTypeAwareInterface.php, line 26

Class

TaxTypeAwareInterface
Defines the interface for resolvers that depend on the tax type.

Namespace

Drupal\commerce_tax\Resolver

Code

public function setTaxType(TaxTypeInterface $tax_type);