Log in
Interface

OrderPaymentSearchResultInterface

Magento\Sales\Api\Data\OrderPaymentSearchResultInterface

What it does

This interface defines the contract for search results when querying order payment records in Magento 2.

Developers use this when working with repositories to retrieve collections of order payment data, such as when displaying payment information for multiple orders or filtering payments based on specific criteria.

It extends SearchResultsInterface and ensures returned collections contain OrderPaymentInterface objects.

Public Methods

  • getItems()
  • setItems()