Interface
ShipmentProviderInterface
Magento\Shipping\Model\ShipmentProviderInterface
What it does
This interface defines a contract for classes that provide shipment data in Magento 2.
Developers implement this interface when creating custom shipment data providers that need to retrieve and return shipment items information in a standardized array format.
It's commonly used in shipping workflows where different sources of shipment data need to be accessed uniformly.
Public Methods
- getShipmentData()