Copied!

UpdateProductVariantEvent

UpdateProductVariantEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdateProductVariantEvent.php : 21
public __construct(ProductVariantInterface $productVariant, ProductVariantUpdateStruct $updateStruct)

Parameters

Name Type Default value Description
$productVariant ProductVariantInterface - -
$updateStruct ProductVariantUpdateStruct - -

publicgetProductVariant()

UpdateProductVariantEvent.php : 29
public getProductVariant() : ProductVariantInterface

Return values

ProductVariantInterface

publicgetUpdateStruct()

UpdateProductVariantEvent.php : 34
public getUpdateStruct() : ProductVariantUpdateStruct

Return values

ProductVariantUpdateStruct