Model
CommentCreation
Magento\Sales\Model\Order\Shipment\CommentCreation
What it does
This class is a data transfer object (DTO) used when creating comments for shipments via Magento's API.
Developers use it to pass comment data including the comment text and visibility settings when programmatically adding comments to shipment records, typically during shipment creation or update operations.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()
- getComment()
- setComment()
- getIsVisibleOnFront()
- setIsVisibleOnFront()