Model
ShipOrder
Magento\Sales\Model\Order\Validation\ShipOrder
What it does
This class validates whether an order can be shipped in Magento 2.
It checks if the order state allows shipment creation, validates shipment quantities and tracking information, and ensures requested order items can be shipped.
Developers use this during the order shipment process to prevent invalid shipment operations.
Public Methods
- validate()