Log in
Interface

InvoiceResourceInterface

Magento\Sales\Model\Spi\InvoiceResourceInterface

What it does

This interface defines the contract for invoice resource operations in Magento 2's Service Provider Interface (SPI) layer.

Developers implement this interface to create custom resource models that handle database operations (CRUD) for invoice entities, allowing for alternative storage mechanisms or custom persistence logic beyond the default implementation.

Public Methods

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