Interface
ShipmentItemCreationInterface
Magento\Sales\Api\Data\ShipmentItemCreationInterface
What it does
This interface defines the contract for creating shipment items when processing orders in Magento 2.
Developers use it when programmatically creating shipments via the API, specifying which order items to include and their quantities.
It extends LineItemInterface for core item data and provides extension attributes for custom data needs during shipment creation.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()