Model
ItemRepository
Magento\Sales\Model\Order\Creditmemo\ItemRepository
What it does
This repository class provides CRUD (Create, Read, Update, Delete) operations for credit memo items in Magento 2.
Developers use this class when they need to programmatically retrieve, save, delete, or search for individual line items within credit memos, such as when building custom refund workflows or displaying credit memo details in custom modules.
Public Methods
- get()
- getList()
- delete()
- save()