Log in
Interface

CreditmemoResourceInterface

Magento\Sales\Model\Spi\CreditmemoResourceInterface

What it does

This interface defines the contract for credit memo resource operations in Magento 2, specifically handling database persistence operations.

Developers implement this interface when creating custom resource models for credit memos or use its implementations to save, load, and delete credit memo entities from the database.

It's part of Magento's Service Provider Interface (SPI) layer, allowing for customization of credit memo data persistence behavior.

Public Methods

  • save()
  • load()
  • delete()