OrderSearchResultInterface
Magento\Sales\Api\Data\OrderSearchResultInterface
What it does
This interface defines the contract for order search result collections in Magento 2.
Developers use this when retrieving multiple orders through repository search operations, as it extends SearchResultsInterface and specifies that results must be OrderInterface objects.
It's commonly used in custom modules or extensions that need to query and display lists of orders with pagination and filtering capabilities.
Public Methods
- getItems()
- setItems()