public function LocalTaxTypeInterface::getMatchingZones in Commerce Core 8.2
Gets the tax zones which match the given address.
Parameters
\CommerceGuys\Addressing\AddressInterface $address: The address.
Return value
\Drupal\commerce_tax\TaxZone[] The tax zones, keyed by ID.
1 method overrides LocalTaxTypeInterface::getMatchingZones()
- LocalTaxTypeBase::getMatchingZones in modules/
tax/ src/ Plugin/ Commerce/ TaxType/ LocalTaxTypeBase.php - Gets the tax zones which match the given address.
File
- modules/
tax/ src/ Plugin/ Commerce/ TaxType/ LocalTaxTypeInterface.php, line 40
Class
- LocalTaxTypeInterface
- Defines the interface for local tax type plugins.
Namespace
Drupal\commerce_tax\Plugin\Commerce\TaxTypeCode
public function getMatchingZones(AddressInterface $address);