Repository
OrderPaymentRepositoryInterface
Magento\Sales\Api\OrderPaymentRepositoryInterface
What it does
This repository interface provides methods for managing order payment records in Magento 2.
Developers use this to retrieve, create, update, or delete payment information associated with sales orders, such as fetching payment details by ID, searching for payments using criteria, or persisting new payment data to the database.
Public Methods
- getList()
- get()
- delete()
- save()
- create()