phpDocumentor

OnGetSellingUnitAvailableQuantityListener extends AbstractPrioritizedEventListener

Class OnGetSellingUnitAvailableQuantityListener

Table of Contents

PRIORITY  = self::PRIORITY_LOW
$service  : ReaderServiceInterface
$allowCheckout  : bool
$GM_ORDER_STOCK_CHECKER_NO_STOCK_CANT_CHECKOUT  : string
$GM_ORDER_STOCK_CHECKER_OUT_OF_STOCK_CAN_CHECKOUT  : string
$GM_ORDER_STOCK_CHECKER_OUT_OF_STOCK_CANT_CHECKOUT  : string
__construct()  : mixed
OnGetSellingUnitAvailableQuantityListener constructor.
__invoke()  : OnGetSellingUnitAvailableQuantityEventInterface
priority()  : int
Returns the priority of this event listener. The higher the returned value, the earlier it will be executed.
addExceptionToRequested()  : mixed

Constants

Properties

Methods

__construct()

OnGetSellingUnitAvailableQuantityListener constructor.

public __construct(ReaderServiceInterface $service, bool $allowCheckout, string $GM_ORDER_STOCK_CHECKER_OUT_OF_STOCK_CAN_CHECKOUT, string $GM_ORDER_STOCK_CHECKER_OUT_OF_STOCK_CANT_CHECKOUT, string $GM_ORDER_STOCK_CHECKER_NO_STOCK_CANT_CHECKOUT) : mixed
Parameters
$service : ReaderServiceInterface
$allowCheckout : bool
$GM_ORDER_STOCK_CHECKER_OUT_OF_STOCK_CAN_CHECKOUT : string
$GM_ORDER_STOCK_CHECKER_OUT_OF_STOCK_CANT_CHECKOUT : string
$GM_ORDER_STOCK_CHECKER_NO_STOCK_CANT_CHECKOUT : string
Return values
mixed

priority()

Returns the priority of this event listener. The higher the returned value, the earlier it will be executed.

public priority() : int
Tags
inheritDoc
Return values
int

Search results