Model
Weee
Magento\Weee\Model\Total\Invoice\Weee
What it does
This class calculates and collects WEEE (Waste Electrical and Electronic Equipment) tax amounts when creating invoices in Magento 2.
Developers would use this as part of the invoice totals collection process to ensure FPT (Fixed Product Tax) amounts are properly distributed from order items to invoice items, handling both tax-included and tax-excluded scenarios based on store configuration.
Public Methods
- collect()