SaleProductChangedEvent
extends Event
in package
The mz.sale.product.changed event is dispatched each time an order is shipped in the system.
You should not use this class any more
Tags
Table of Contents
Constants
- NAME = 'mz.sale.product.changed'
Properties
Methods
- __construct() : mixed
- SaleProductChangedEvent constructor.
- getNewProduct() : Product
- getSaleProduct() : SaleProduct
Constants
NAME
public
mixed
NAME
= 'mz.sale.product.changed'
Properties
$product
protected
Product
$product
$saleProduct
private
SaleProduct
$saleProduct
Methods
__construct()
SaleProductChangedEvent constructor.
public
__construct(mixed $saleProduct, mixed $newProduct) : mixed
Parameters
- $saleProduct : mixed
- $newProduct : mixed
getNewProduct()
public
getNewProduct() : Product
Return values
ProductgetSaleProduct()
public
getSaleProduct() : SaleProduct