Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (GetStockItemConfigurationInterface $getStockItemConfiguration, GetStockItemDataInterface $getStockItemData, ProductSalableResultInterfaceFactory $productSalableResultFactory, ProductSalabilityErrorInterfaceFactory $productSalabilityErrorFactory) | |
execute (string $sku, int $stockId, float $requestedQty) | |
Definition at line 21 of file BackOrderNotifyCustomerCondition.php.
__construct | ( | GetStockItemConfigurationInterface | $getStockItemConfiguration, |
GetStockItemDataInterface | $getStockItemData, | ||
ProductSalableResultInterfaceFactory | $productSalableResultFactory, | ||
ProductSalabilityErrorInterfaceFactory | $productSalabilityErrorFactory | ||
) |
GetStockItemConfigurationInterface | $getStockItemConfiguration | |
GetStockItemDataInterface | $getStockItemData | |
ProductSalableResultInterfaceFactory | $productSalableResultFactory | |
ProductSalabilityErrorInterfaceFactory | $productSalabilityErrorFactory |
Definition at line 49 of file BackOrderNotifyCustomerCondition.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 64 of file BackOrderNotifyCustomerCondition.php.