ItemToDeductInterface.php 516 B

123456789101112131415161718192021222324252627282930
  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\InventorySourceDeductionApi\Model;
  8. /**
  9. * Represents requested quantity for particular product
  10. *
  11. * @api
  12. */
  13. interface ItemToDeductInterface
  14. {
  15. /**
  16. * Requested SKU
  17. *
  18. * @return string
  19. */
  20. public function getSku(): string;
  21. /**
  22. * Requested Product Quantity
  23. *
  24. * @return float
  25. */
  26. public function getQty(): float;
  27. }