Weee
Magento\Weee\Model\Total\Creditmemo\Weee
What it does
This class calculates and collects WEEE (Waste Electrical and Electronic Equipment) tax amounts when creating a credit memo in Magento 2.
It proportionally refunds WEEE taxes based on the quantity being credited, updates both credit memo and order item totals, and handles both tax-inclusive and tax-exclusive amounts.
Developers typically don't need to interact with this class directly as it's automatically invoked during the credit memo creation process.
Public Methods
- collect()