Log in
Interface

StrategyInterface

Magento\InventoryInStorePickupApi\Model\SearchResult\StrategyInterface

What it does

This interface defines a strategy pattern for extracting and filtering pickup locations based on search criteria.

Developers implement this interface to create custom strategies that determine when and how to retrieve in-store pickup sources, allowing for flexible location selection logic based on different business requirements like distance, availability, or inventory.

Public Methods

  • isApplicable()
  • getSources()