Interface
ShipmentCommentCreationInterface
Magento\Sales\Api\Data\ShipmentCommentCreationInterface
What it does
This interface defines the contract for creating shipment comments in Magento 2.
Developers use this when programmatically adding comments to shipments through the API, such as adding notes about shipping delays or special handling instructions.
It extends both ExtensibleDataInterface for custom attributes and CommentInterface for standard comment functionality.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()