Model
ShipmentProvider
Magento\Shipping\Model\ShipmentProvider
What it does
This class retrieves shipment data from HTTP requests in Magento 2's shipping module.
Developers use it when they need to access shipment information that was submitted through a form or API request, such as when creating or updating shipments.
It acts as a centralized way to extract the 'shipment' parameter from the current request.
Public Methods
- getShipmentData()