ExtensionAttributesProcessor
Magento\Sales\Model\Order\ShipmentDocumentFactory\ExtensionAttributesProcessor
What it does
This class processes and merges extension attributes when creating shipments in Magento 2.
It combines existing shipment extension attributes with any custom attributes passed during shipment creation, ensuring all extension data is properly set on the final shipment object.
Developers use this during shipment document creation to preserve and extend custom attributes across the shipment creation workflow.
Public Methods
- execute()