Log in
Interface

ShipmentCreationArgumentsInterface

Magento\Sales\Api\Data\ShipmentCreationArgumentsInterface

What it does

This interface defines a contract for passing additional arguments when creating a shipment in Magento 2.

Developers use this to extend shipment creation functionality by adding custom data or parameters through extension attributes.

It's particularly useful when third-party modules need to inject custom logic or data during the shipment creation process without modifying core code.

Public Methods

  • getExtensionAttributes()
  • setExtensionAttributes()