ExtensionAttributesProcessor
Magento\Sales\Model\Order\ShipmentDocumentFactory\ExtensionAttributesProcessor
What it does
This class processes and merges extension attributes for shipment documents in Magento 2.
It combines extension attributes from both the shipment object and shipment creation arguments, ensuring any custom data added through extensions is properly preserved.
Developers would use this when creating shipments programmatically to maintain custom attributes added by third-party modules.
Public Methods
- execute()