Log in
Model

CommentRepository

Magento\Sales\Model\Order\Invoice\CommentRepository

What it does

This repository class manages CRUD operations for invoice comments in Magento 2.

Developers use it to retrieve, save, or delete comments associated with invoices, and it automatically sends email notifications to customers when comments are saved with the notify flag enabled.

It provides a standardized interface for working with invoice comment data throughout the system.

Public Methods

  • getList()
  • get()
  • delete()
  • save()