We’re sorry but this documentation section is outdated. Please have that in mind when trying to use it. You can help us making documentation up to date via Sylius Github. Thank you!
To create taxable object which has specific type of tax category, the object class needs to implement TaxableInterface.
For more detailed information go to Sylius API Taxable Interface.
Tax Category Interface¶
To create object which provides information about tax category, the object class needs to implement TaxCategoryInterface.
To create class which provides information about tax rate for given taxable object and specific criteria, the class needs to implement TaxRateResolverInterface. The criteria describes tax rate object.
For more detailed information about the interfaces go to Sylius API Tax Rate Resolver Interface.