protected filterByAddress ( array $taxTypes, CommerceGuys\Addressing\AddressInterface $address ) : CommerceGuys\Tax\Model\TaxTypeInterface[] | ||
$taxTypes | array | The tax types to filter. |
$address | CommerceGuys\Addressing\AddressInterface | The address to filter by. |
return | CommerceGuys\Tax\Model\TaxTypeInterface[] | An array of tax types whose zones match the provided address. |