phpDocumentor

CheckStockCriteria
in package

Table of Contents

COMBINATION_QUANTITY  = 2
GENERAL_CONFIGURATION  = 0
Only defines the source of the stock check, not the stock check itself
PRODUCT_QUANTITY  = 1
$allowCheckout  : bool
$attributesStockCheck  : bool
$stockCheck  : bool
__construct()  : mixed
CheckStockCriteria constructor.
allowCheckout()  : bool
checkStockForCombinationConfiguration()  : mixed
getSourceConfiguration()  : mixed
getStockSourceConfiguration()  : mixed

Constants

GENERAL_CONFIGURATION

Only defines the source of the stock check, not the stock check itself

private mixed GENERAL_CONFIGURATION = ""

Properties

Methods

__construct()

CheckStockCriteria constructor.

public __construct(bool $stockCheck, bool $attributesStockCheck, bool $allowCheckout) : mixed
Parameters
$stockCheck : bool
$attributesStockCheck : bool
$allowCheckout : bool
Return values
mixed

checkStockForCombinationConfiguration()

public checkStockForCombinationConfiguration(int $configuration) : mixed
Parameters
$configuration : int
Return values
mixed

getSourceConfiguration()

public getSourceConfiguration(int $configuration,  $productField,  $combinationFields) : mixed
Parameters
$configuration : int
$productField :
$combinationFields :
Return values
mixed

getStockSourceConfiguration()

public getStockSourceConfiguration(int $configuration,  $productField,  $combinationFields) : mixed
Parameters
$configuration : int
$productField :
$combinationFields :
Return values
mixed

Search results