Log in
Interface

ItemToDeductInterface

Magento\InventorySourceDeductionApi\Model\ItemToDeductInterface

What it does

This interface defines the contract for representing an item that needs to have its inventory quantity deducted from a source.

Developers implement this interface when they need to specify which product (by SKU) and how much quantity should be deducted during inventory operations like order placement or shipment.

Public Methods

  • getSku()
  • getQty()