Log in
Model

CreditmemoRepository

Magento\Sales\Model\Order\CreditmemoRepository

What it does

This repository class provides CRUD (Create, Read, Update, Delete) operations for Credit Memo entities in Magento 2.

Developers use this class when they need to programmatically retrieve, save, delete, or search for credit memos using the Magento API.

It acts as the main interface for managing credit memo data while abstracting the underlying database operations.

Public Methods

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