Log in
Interface

InvoiceItemResourceInterface

Magento\Sales\Model\Spi\InvoiceItemResourceInterface

What it does

This interface defines the contract for database operations (CRUD) on invoice item resources in Magento 2.

Developers use this interface when they need to save, load, or delete individual invoice item records from the database.

It follows the Service Provider Interface (SPI) pattern, allowing for different implementations of invoice item persistence while maintaining a consistent API.

Public Methods

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