Log in
Interface

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, typically during invoice creation or update operations.

It extends both ExtensibleDataInterface for custom attributes and CommentInterface for standard comment properties like text and visibility.

Public Methods

  • getExtensionAttributes()
  • setExtensionAttributes()