Log in
Interface

OrderPaymentResourceInterface

Magento\Sales\Model\Spi\OrderPaymentResourceInterface

What it does

This interface defines the contract for managing Order Payment data persistence operations in Magento 2.

Developers use this interface when they need to interact with the database layer for order payment records, providing methods to save, load, and delete payment information.

It serves as part of Magento's Service Provider Interface (SPI) layer, allowing for custom implementations of order payment resource models.

Public Methods

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