GetSourceCodesBySkusInterface.php 402 B

123456789101112131415161718192021
  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\Model;
  8. /**
  9. * Sugar service to retrieve source codes by a list of SKUs
  10. * @api
  11. */
  12. interface GetSourceCodesBySkusInterface
  13. {
  14. /**
  15. * @param array $skus
  16. * @return array
  17. */
  18. public function execute(array $skus): array;
  19. }