Log in
Interface

WeeeAdjustmentAttributeInterface

Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeInterface

What it does

This interface defines the contract for handling WEEE (Waste Electrical and Electronic Equipment) tax attributes on products during rendering.

Developers use this when displaying product prices that include fixed product taxes, such as environmental fees or recycling charges, and need to show amounts with and without tax applied separately.

It provides methods to get and set WEEE amounts, tax calculations, and attribute codes for frontend product displays.

Public Methods

  • setAmount()
  • getAmount()
  • getTaxAmount()
  • setTaxAmount()
  • setAmountExclTax()
  • setTaxAmountInclTax()
  • getTaxAmountInclTax()
  • getAmountExclTax()
  • setAttributeCode()
  • getAttributeCode()
  • getExtensionAttributes()
  • setExtensionAttributes()