Class OrderReference
Reference to order instances.
Inheritance
System.Object
OrderReference
Inherited Members
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: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class OrderReference
Constructors
OrderReference(Int32, String, Guid, Type)
Creates an instance of the OrderReference.
Declaration
public OrderReference(int orderGroupId, string name, Guid customerId, Type orderGroupType)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | orderGroupId | The order id |
System.String | name | The name of the order. The name is not unique for each order, instead it's suppose to differentiate orders of the same type. |
System.Guid | customerId | The customer identity. |
System.Type | orderGroupType | The order type |
Properties
CustomerId
Gets the customer identity.
Declaration
public Guid CustomerId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Name
Gets the name of the order. The name is not unique for each order, instead it's suppose to differentiate orders of the same type.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
OrderGroupId
The order Id
Declaration
public int OrderGroupId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
OrderType
The order type
Declaration
public Type OrderType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
ToString()
Combination of OrderGroupId, and OrderType
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()