Log in
Interface

TransactionSearchResultInterface

Magento\Sales\Api\Data\TransactionSearchResultInterface

What it does

This interface defines the contract for search results when querying sales transactions in Magento 2.

Developers use this when working with transaction repositories to retrieve collections of transaction records (purchases, refunds, credits) with methods to get and set the transaction items in the result set.

It extends Magento's standard SearchResultsInterface to provide type-specific methods for transaction data.

Public Methods

  • getItems()
  • setItems()