Class Ecommerce.Stock.StatusChangedArgs
- Namespace
- Dynamicweb.Ecommerce.Notifications
- Assembly
- Dynamicweb.Ecommerce.dll
Class StatusChangedArgs.
public class Ecommerce.Stock.StatusChangedArgs : NotificationArgs
- Inheritance
-
Ecommerce.Stock.StatusChangedArgs
- Inherited Members
Constructors
StatusChangedArgs(Product, StockStatus?, StockStatus?)
Initializes a new instance of the Ecommerce.Stock.StatusChangedArgs class.
public StatusChangedArgs(Product product, StockStatus? oldStockStatus, StockStatus? newStockStatus)
Parameters
productProductThe product.
oldStockStatusStockStatusThe old stock status.
newStockStatusStockStatusThe new stock status.
Properties
NewStockStatus
Gets the new stock status.
public StockStatus? NewStockStatus { get; }
Property Value
- StockStatus
The new stock status.
OldStockStatus
Gets the old stock status.
public StockStatus? OldStockStatus { get; }
Property Value
- StockStatus
The old stock status.
Product
Gets the product.
public Product Product { get; }
Property Value
- Product
The product.