Model
ItemCreation
Magento\Sales\Model\Order\Shipment\ItemCreation
What it does
This class is a Data Transfer Object (DTO) used when creating shipment items programmatically via Magento's API.
Developers use this class to specify which order item to ship and the quantity being shipped when creating a new shipment through the ShipmentRepositoryInterface or related service contracts.
Public Methods
- getOrderItemId()
- setOrderItemId()
- getQty()
- setQty()
- getExtensionAttributes()
- setExtensionAttributes()