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