StockByWebsiteIdResolverInterface.php 449 B

12345678910111213141516171819202122
  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\InventorySalesApi\Model;
  8. use Magento\InventoryApi\Api\Data\StockInterface;
  9. /**
  10. * Resolve Stock by Website ID
  11. */
  12. interface StockByWebsiteIdResolverInterface
  13. {
  14. /**
  15. * @param int $websiteId
  16. * @return StockInterface
  17. */
  18. public function execute(int $websiteId): StockInterface;
  19. }