Copied!

IncreaseProductAvailabilityEvent

IncreaseProductAvailabilityEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

IncreaseProductAvailabilityEvent.php : 23
public __construct(AvailabilityInterface $productAvailability, ProductInterface $product, int $amount)

Parameters

Name Type Default value Description
$productAvailability AvailabilityInterface - -
$product ProductInterface - -
$amount int - -

publicgetAmount()

IncreaseProductAvailabilityEvent.php : 43
public getAmount() : int

Return values

int

publicgetProduct()

IncreaseProductAvailabilityEvent.php : 38
public getProduct() : ProductInterface

Return values

ProductInterface

publicgetProductAvailability()

IncreaseProductAvailabilityEvent.php : 33
public getProductAvailability() : AvailabilityInterface

Return values

AvailabilityInterface