Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class OrderEventArgs

Event arguments for order events.

Inheritance
System.Object
OrderEventArgs
Namespace: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class OrderEventArgs : EventArgs

Constructors

OrderEventArgs(OrderReference, IOrderGroup)

Initializes a new instance of OrderEventArgs

Declaration
public OrderEventArgs(OrderReference orderLink, IOrderGroup orderGroup)
Parameters
Type Name Description
OrderReference orderLink

The order link.

IOrderGroup orderGroup

The order group.

Properties

OrderGroup

Gets the IOrderGroup being processed.

Declaration
public IOrderGroup OrderGroup { get; }
Property Value
Type Description
IOrderGroup
Remarks

In case of DeletingOrder and DeletedOrder, this will be null. To process orders when they are deleted, listen to DeletingOrder and load the order there.

Gets the OrderReference of the order being processed.

Declaration
public OrderReference OrderLink { get; }
Property Value
Type Description
OrderReference