You are here

public function TaxTypeAwareTrait::setTaxType in Commerce Core 8.2

File

modules/tax/src/Resolver/TaxTypeAwareTrait.php, line 22

Class

TaxTypeAwareTrait
Provides a trait for implementing TaxTypeAwareInterface.

Namespace

Drupal\commerce_tax\Resolver

Code

public function setTaxType(TaxTypeInterface $tax_type) {
  $this->taxType = $tax_type;
  return $this;
}