Log in
Interface

InvoiceCommentInterface

Magento\Sales\Api\Data\InvoiceCommentInterface

What it does

This interface defines the contract for invoice comment data objects in Magento 2.

Developers use it to manage comments added to invoices, including tracking whether customers were notified about the comment and linking comments to their parent invoice.

It's commonly used when creating, reading, or updating invoice comments through the API or service layer.

Public Methods

  • getIsCustomerNotified()
  • getParentId()
  • setParentId()
  • setIsCustomerNotified()
  • getExtensionAttributes()
  • setExtensionAttributes()