Model
IsItemCouldBeDeductedByTypes
Magento\InventorySourceDeductionApi\Model\IsItemCouldBeDeductedByTypes
What it does
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 product type change allows for inventory deduction, ensuring that only product types configured for source item management can have their stock reduced.
Public Methods
- execute()