InvoiceCommentCreationInterface
Magento\Sales\Api\Data\InvoiceCommentCreationInterface
What it does
This interface defines the contract for creating invoice comments in Magento 2.
Developers use this when programmatically adding comments to invoices through the API, such as adding notes during invoice generation or updating invoice status.
It extends both ExtensibleDataInterface for custom attributes and CommentInterface for standard comment properties like text and visibility.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()