Log in
Interface

AddressSearchResultsInterface

Magento\Customer\Api\Data\AddressSearchResultsInterface

What it does

This interface defines the contract for handling search results when querying customer addresses in Magento 2.

Developers use this when implementing or working with customer address search operations through the API layer, as it extends the base SearchResultsInterface to specifically handle collections of AddressInterface objects.

It provides type-safe methods to get and set arrays of customer addresses returned from search queries.

Public Methods

  • getItems()
  • setItems()