Factory
SourceDeductionRequestFromShipmentFactory
Magento\InventoryShipping\Model\SourceDeductionRequestFromShipmentFactory
What it does
This factory class creates SourceDeductionRequest objects from shipment data, which are used to deduct inventory quantities from specific sources when an order is shipped.
Developers use this when implementing custom shipping workflows or inventory management extensions that need to properly track and reduce stock levels across multiple warehouse sources in Magento's Multi-Source Inventory (MSI) system.
Public Methods
- execute()