Interface
CommentInterface
Magento\Sales\Api\Data\CommentInterface
What it does
This interface defines the contract for comment data objects in the Magento Sales module.
Developers use this interface when working with comments on sales entities like orders, invoices, shipments, and credit memos, allowing them to get/set the comment text and control whether the comment is visible to customers on the storefront.
Public Methods
- getComment()
- setComment()
- getIsVisibleOnFront()
- setIsVisibleOnFront()