Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (IsProductSalableBackOrderCondition $backOrderCondition, ProductSalabilityErrorInterfaceFactory $productSalabilityErrorFactory, ProductSalableResultInterfaceFactory $productSalableResultFactory) | |
execute (string $sku, int $stockId, float $requestedQty) | |
Definition at line 19 of file BackOrderCondition.php.
__construct | ( | IsProductSalableBackOrderCondition | $backOrderCondition, |
ProductSalabilityErrorInterfaceFactory | $productSalabilityErrorFactory, | ||
ProductSalableResultInterfaceFactory | $productSalableResultFactory | ||
) |
IsProductSalableBackOrderCondition | $backOrderCondition | |
ProductSalabilityErrorInterfaceFactory | $productSalabilityErrorFactory | |
ProductSalableResultInterfaceFactory | $productSalableResultFactory |
Definition at line 41 of file BackOrderCondition.php.
execute | ( | string | $sku, |
int | $stockId, | ||
float | $requestedQty | ||
) |
Get is product salable for given SKU in a given Stock for a certain Qty
string | $sku | |
int | $stockId | |
float | $requestedQty |
Implements IsProductSalableForRequestedQtyInterface.
Definition at line 55 of file BackOrderCondition.php.