ShipOrderInterface
Magento\Sales\Model\Order\Validation\ShipOrderInterface
What it does
This interface defines a contract for validating order shipment operations in Magento 2.
Developers use this when they need to implement custom validation logic before creating a shipment for an order, ensuring all required conditions are met (like order state, item quantities, etc.).
The validate method returns a ValidatorResultInterface indicating whether the shipment can be created successfully.
Public Methods
- validate()