Model
Comment
Magento\Sales\Model\Order\Shipment\Comment
What it does
This class represents a comment attached to a shipment in Magento 2.
Developers use it to add, retrieve, and manage notes or comments on shipment records, including tracking whether customers were notified and whether the comment should be visible on the storefront.
It's commonly used when adding administrative notes or customer-facing messages during the shipping process.
Public Methods
- setShipment()
- getShipment()
- getStore()
- getComment()
- getCreatedAt()
- setCreatedAt()
- getIsCustomerNotified()
- getIsVisibleOnFront()
- getParentId()
- setParentId()
- setIsCustomerNotified()
- setIsVisibleOnFront()
- setComment()
- getExtensionAttributes()
- setExtensionAttributes()