Log in
Interface

TransactionResourceInterface

Magento\Sales\Model\Spi\TransactionResourceInterface

What it does

This interface defines the contract for resource models that handle database operations for sales transactions in Magento 2.

Developers implement this interface when creating custom resource models to persist, retrieve, or delete transaction data from the database.

It's part of the Service Provider Interface (SPI) layer, allowing for flexible implementations of transaction data persistence.

Public Methods

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