Property | Type | Description | |
---|---|---|---|
$emptyAddresses | The empty addresses constructed for checking store registrations. |
Method | Description | |
---|---|---|
checkStoreRegistration ( CommerceGuys\Zone\Model\ZoneInterface $zone, |
Checks whether the store is registered to collect taxes in the given zone. | |
filterByStoreRegistration ( array $taxTypes, |
Filters out tax types not matching the store registration. |
protected checkStoreRegistration ( CommerceGuys\Zone\Model\ZoneInterface $zone, |
||
$zone | CommerceGuys\Zone\Model\ZoneInterface | The zone. |
$context | The context containing store information. | |
return | boolean | True if the store is registered to collect taxes in the given zone, false otherwise. |
protected filterByStoreRegistration ( array $taxTypes, |
||
$taxTypes | array | The tax types to filter. |
$context | The context containing store information. | |
return | CommerceGuys\Tax\Model\TaxTypeInterface[] | An array of additional tax types the store is registered to collect. |