Log in
Repository

OrderPaymentRepositoryInterface

Magento\Sales\Api\OrderPaymentRepositoryInterface

What it does

This interface defines the contract for managing order payment data in Magento 2.

Developers use this repository to retrieve, save, delete, and search for payment information associated with customer orders.

It provides a standardized API for accessing payment details like payment method, amount, transaction ID, and authorization information for sales orders.

Public Methods

  • getList()
  • get()
  • delete()
  • save()
  • create()