Model
OrderRegistrar
Magento\Sales\Model\Order\Shipment\OrderRegistrar
What it does
This class registers a shipment with its parent order by processing shipment items, calculating the total shipped quantity, and updating item states.
Developers use this during the shipment creation process to ensure order items are properly marked as shipped and quantities are tracked correctly in the order workflow.
Public Methods
- register()