Model
PartialTransferItemsValidator
Magento\InventoryCatalog\Model\Source\Validator\PartialTransferItemsValidator
What it does
This validator ensures that inventory transfers between sources are valid by checking that the origin source has sufficient quantity and that both origin and destination sources have items for the requested SKUs.
Developers use this when implementing partial inventory transfers between warehouses or stock locations to prevent invalid transfer operations.
Public Methods
- validate()