Class OrderEvent
ID: "1"
Currently, the OrderEvent model, used by the Order Processed Event, assigns the Order Payment’s status to the OrderStatus property.
Order and payment statuses must be present in events but not at the same time.
The Order Processed Event communicates incorrect data to those who subscribe to it; as a result, it will be deprecated.
Use the following events instead:
Inheritance
System.Object
OrderEvent
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class OrderEvent : EventBase
Constructors
OrderEvent()
Declaration
Properties
DistributorId
Declaration
public string DistributorId { get; set; }
Property Value
| Type |
Description |
| System.String |
|
OrderCountry
Declaration
public string OrderCountry { get; set; }
Property Value
| Type |
Description |
| System.String |
|
OrderCurrency
Declaration
public string OrderCurrency { get; set; }
Property Value
| Type |
Description |
| System.String |
|
OrderDateUtc
Declaration
public DateTime OrderDateUtc { get; set; }
Property Value
| Type |
Description |
| System.DateTime |
|
OrderId
Declaration
public string OrderId { get; set; }
Property Value
| Type |
Description |
| System.String |
|
OrderStatus
Declaration
public string OrderStatus { get; set; }
Property Value
| Type |
Description |
| System.String |
|
OrderTotal
Declaration
public Decimal OrderTotal { get; set; }
Property Value
| Type |
Description |
| System.Decimal |
|
OrderType
Declaration
public string OrderType { get; set; }
Property Value
| Type |
Description |
| System.String |
|