Your IP : 216.73.217.95


Current Path : /home/rtorresani/www/vendor/magento/module-inventory-sales-api/Model/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-inventory-sales-api/Model/GetIsQtySalableInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\InventorySalesApi\Model;

/**
 * Service which determines if the qty in stock is salable
 */
interface GetIsQtySalableInterface
{
    /**
     * Finds whether the qty in stock is salable
     *
     * @param string $sku
     * @param int $stockId
     * @return bool
     * @throws \Magento\Framework\Exception\InputException
     * @throws \Magento\Framework\Exception\LocalizedException
     */
    public function execute(string $sku, int $stockId): bool;
}