GetStockSourceLinksInterface.php 793 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\InventoryApi\Api;
  8. /**
  9. * Find StockSourceLink list by SearchCriteria API
  10. *
  11. * Used fully qualified namespaces in annotations for proper work of WebApi request parser
  12. *
  13. * @api
  14. */
  15. interface GetStockSourceLinksInterface
  16. {
  17. /**
  18. * Find StockSourceLink list by given SearchCriteria
  19. *
  20. * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
  21. * @return \Magento\InventoryApi\Api\Data\StockSourceLinkSearchResultsInterface
  22. */
  23. public function execute(
  24. \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
  25. ): \Magento\InventoryApi\Api\Data\StockSourceLinkSearchResultsInterface;
  26. }