Interface
ShipmentPackageCreationInterface
Magento\Sales\Api\Data\ShipmentPackageCreationInterface
What it does
This interface defines the contract for creating shipment packages in Magento 2.
Developers use this when programmatically creating delivery packages that contain products being shipped to customers.
It provides a standardized way to handle shipment package data with support for custom extension attributes that can be added by third-party modules.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()