Interface
ShipOrderInterface
Magento\Sales\Model\Order\Validation\ShipOrderInterface
What it does
This interface defines the contract for validating shipment creation in Magento 2.
Developers implement this interface to add custom validation logic that checks whether an order can be shipped with the specified items, tracking information, and packages before the shipment is actually created.
It's used by the order shipment workflow to ensure all business rules are met.
Public Methods
- validate()