TransactionResourceInterface
Magento\Sales\Model\Spi\TransactionResourceInterface
What it does
This interface defines the contract for managing database operations (save, load, delete) for sales transaction records in Magento 2.
Developers use this interface when implementing or extending transaction resource models to ensure consistent data persistence operations.
It serves as a Service Provider Interface (SPI) that defines how transaction data should be stored and retrieved from the database.
Public Methods
- save()
- load()
- delete()