You are here

public function StoreTaxInterface::getDefaultTaxType in Commerce Core 8.2

Gets the default tax type for the given store.

Parameters

\Drupal\commerce_store\Entity\StoreInterface $store: The store.

Return value

\Drupal\commerce_tax\Entity\TaxTypeInterface|null The default tax type, or NULL if none apply.

1 method overrides StoreTaxInterface::getDefaultTaxType()
StoreTax::getDefaultTaxType in modules/tax/src/StoreTax.php
Gets the default tax type for the given store.

File

modules/tax/src/StoreTaxInterface.php, line 19

Class

StoreTaxInterface

Namespace

Drupal\commerce_tax

Code

public function getDefaultTaxType(StoreInterface $store);