Log in
Interface

CreditmemoItemInterface

Magento\Sales\Api\Data\CreditmemoItemInterface

What it does

This interface defines the contract for credit memo item data in Magento 2.

Developers use it when working with refunds to access or modify individual line items in a credit memo, including pricing, taxes, quantities, and product details.

It provides getter and setter methods for all properties related to items being refunded to customers.

Public Methods

  • getAdditionalData()
  • getBaseCost()
  • getBaseDiscountAmount()
  • getBaseDiscountTaxCompensationAmount()
  • getBasePrice()
  • getBasePriceInclTax()
  • getBaseRowTotal()
  • getBaseRowTotalInclTax()
  • getBaseTaxAmount()
  • getBaseWeeeTaxAppliedAmount()
  • getBaseWeeeTaxAppliedRowAmnt()
  • getBaseWeeeTaxDisposition()
  • getBaseWeeeTaxRowDisposition()
  • getDescription()
  • getDiscountAmount()
  • getEntityId()
  • setEntityId()
  • getDiscountTaxCompensationAmount()
  • getName()
  • getOrderItemId()
  • getParentId()
  • getPrice()
  • getPriceInclTax()
  • getProductId()
  • getQty()
  • getRowTotal()
  • getRowTotalInclTax()
  • getSku()
  • getTaxAmount()
  • getWeeeTaxApplied()
  • getWeeeTaxAppliedAmount()
  • getWeeeTaxAppliedRowAmount()
  • getWeeeTaxDisposition()
  • getWeeeTaxRowDisposition()
  • setParentId()
  • setBasePrice()
  • setTaxAmount()
  • setBaseRowTotal()
  • setDiscountAmount()
  • setRowTotal()
  • setBaseDiscountAmount()
  • setPriceInclTax()
  • setBaseTaxAmount()
  • setBasePriceInclTax()
  • setQty()
  • setBaseCost()
  • setPrice()
  • setBaseRowTotalInclTax()
  • setRowTotalInclTax()
  • setProductId()
  • setOrderItemId()
  • setAdditionalData()
  • setDescription()
  • setSku()
  • setName()
  • setDiscountTaxCompensationAmount()
  • setBaseDiscountTaxCompensationAmount()
  • setWeeeTaxDisposition()
  • setWeeeTaxRowDisposition()
  • setBaseWeeeTaxDisposition()
  • setBaseWeeeTaxRowDisposition()
  • setWeeeTaxApplied()
  • setBaseWeeeTaxAppliedAmount()
  • setBaseWeeeTaxAppliedRowAmnt()
  • setWeeeTaxAppliedAmount()
  • setWeeeTaxAppliedRowAmount()
  • getExtensionAttributes()
  • setExtensionAttributes()