TaxEngine
class TaxEngine
Class TaxEngine
Methods
No description
Add a directroy which contains tax types classes. The tax engine will scan this directory, and add all the tax type classes.
Add a tax type to the current list.
No description
Find Tax Country Id First look for a picked delivery address country Then look at the current customer default address country Else look at the default website country
Find Tax State Id
Details
at line 40
__construct(
RequestStack $requestStack)
at line 55
addTaxTypeDirectory(
string $namespace,
string $path_to_tax_type_classes)
Add a directroy which contains tax types classes. The tax engine will scan this directory, and add all the tax type classes.
at line 66
addTaxType(
unknown $fullyQualifiedclassName)
Add a tax type to the current list.
at line 71
getTaxTypeList()
at line 117
null|Country
getDeliveryCountry()
Find Tax Country Id First look for a picked delivery address country Then look at the current customer default address country Else look at the default website country
at line 154
null|State
getDeliveryState()
Find Tax State Id
First look for a picked delivery address state Then look at the current customer default address state Else null