Class OrderEventArgs
Event arguments for order events.
Inheritance
System.Object
System.EventArgs
OrderEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
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.
OrderLink
Gets the OrderReference of the order being processed.
Declaration
public OrderReference OrderLink { get; }
Property Value
Type | Description |
---|---|
OrderReference |