InvoiceResourceInterface
Magento\Sales\Model\Spi\InvoiceResourceInterface
What it does
This interface defines the contract for managing Invoice resource operations in Magento 2's database layer.
Developers use this interface when they need to perform CRUD operations (save, load, delete) on invoice objects, typically when implementing custom invoice handling or extending invoice functionality.
It serves as the Service Provider Interface (SPI) for invoice persistence operations.
Public Methods
- save()
- load()
- delete()