Tax
Magento\Weee\Model\Tax
What it does
This model manages Fixed Product Tax (FPT/WEEE - Waste Electrical and Electronic Equipment) calculations for products in Magento 2.
Developers use it to retrieve WEEE amounts for products, get WEEE attribute codes, calculate WEEE with or without tax based on customer location and shipping/billing addresses, and check if WEEE applies to specific locations.
It handles complex tax calculations including region-specific WEEE values and integrates with Magento's tax calculation system.
Public Methods
- getWeeeAmount()
- getWeeeAmountExclTax()
- getWeeeAttributeCodes()
- getWeeeTaxAttributeCodes()
- getProductWeeeAttributes()
- isWeeeInLocation()