Log in
Interface

SearchResultInterface

Magento\InventoryInStorePickupApi\Api\Data\SearchResultInterface

What it does

This interface defines the structure for search results when querying for in-store pickup locations in Magento 2.

Developers use this to retrieve a list of available pickup locations based on search criteria, along with the total count and original search request.

It's typically returned by pickup location search services and consumed by frontend or API clients displaying store pickup options to customers.

Public Methods

  • getItems()
  • setItems()
  • getSearchRequest()
  • setSearchRequest()
  • getTotalCount()
  • setTotalCount()