CreationArguments
Magento\Sales\Model\Order\Shipment\CreationArguments
What it does
This class serves as a data container for passing additional arguments during shipment creation in Magento 2.
Developers use this when creating shipments programmatically to pass custom extension attributes that may be needed by third-party modules or customizations.
It implements the ShipmentCreationArgumentsInterface and allows extending shipment creation functionality without modifying core code.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()