InventorySourceDeductionApi Module
GetSourceItemBySourceCodeAndSku
This class retrieves a specific inventory source item by matching both the source code (warehouse/location identifier) and product SKU. Developers use...
IsItemCouldBeDeductedByTypes
This class determines whether inventory can be deducted for a product based on its type. Developers use this when processing orders to verify if a pro...
ItemToDeduct
This class represents an inventory item that needs to be deducted from stock, containing the product SKU and quantity to deduct. Developers use this a...
Model\ItemToDeductInterface
This interface defines the contract for representing an item that needs to have its inventory quantity deducted from a source. Developers implement th...
Model\SourceDeductionRequestInterface
This interface defines a request object for deducting inventory quantities from a specific source in Magento's Multi-Source Inventory (MSI) system. De...
Model\SourceDeductionServiceInterface
This interface defines the contract for deducting inventory quantities from specific sources in Magento's Multi-Source Inventory (MSI) system. Develop...
SourceDeductionRequest
This class represents a request to deduct inventory quantities from a specific source/warehouse in Magento's Multi-Source Inventory (MSI) system. Deve...
SourceDeductionService
This service handles inventory deduction from specific sources when orders are placed. Developers use this to automatically reduce stock quantities at...