Interface

OrderRegistrarInterface

Magento\Sales\Model\Order\Shipment\OrderRegistrarInterface

What it does

This interface defines a contract for updating order data when a shipment is created.

Developers implement this interface to calculate and register shipment-related information on an order, such as updating shipped quantities and order status.

It's used during the shipment creation process to ensure the parent order reflects the new shipment data.

Public Methods

  • register()