Model
CommentRepository
Magento\Sales\Model\Order\Creditmemo\CommentRepository
What it does
This repository class manages CRUD operations for credit memo comments in Magento 2.
Developers use it to retrieve, save, delete, or search for comments associated with credit memos, and it automatically handles sending email notifications to customers when comments are added.
It's the primary service layer for working with credit memo comment data programmatically.
Public Methods
- get()
- getList()
- delete()
- save()