Interface
CartSearchResultsInterface
Magento\Quote\Api\Data\CartSearchResultsInterface
What it does
This interface defines the contract for search results when querying shopping carts (quotes) in Magento 2.
Developers use this when implementing or consuming cart repository search methods to retrieve multiple carts with pagination and filtering.
It provides standardized methods to access the list of carts, search criteria used, and total count of results matching the search.
Public Methods
- getItems()
- setItems()
- getSearchCriteria()
- setSearchCriteria()
- getTotalCount()
- setTotalCount()