Log in
Interface

OrderStatusHistorySearchResultInterface

Magento\Sales\Api\Data\OrderStatusHistorySearchResultInterface

What it does

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

It extends the framework's SearchResultsInterface and ensures that getItems() and setItems() methods work specifically with OrderStatusHistoryInterface objects.

Developers use this when implementing or consuming repository methods that return collections of order status history entries, such as tracking status changes and comments on orders.

Public Methods

  • getItems()
  • setItems()