Class InMemoryOrderGroup

This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this.

Inheritance
System.Object
InMemoryOrderGroup
Inherited Members
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.Internal
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class InMemoryOrderGroup : IOrderGroup, IExtendedProperties

Constructors

InMemoryOrderGroup(IOrderGroup)

Initializes a new instance of an InMemoryOrderGroup, with same values as the specified IOrderGroup.

Declaration
public InMemoryOrderGroup(IOrderGroup orderGroup)
Parameters
Type Name Description
IOrderGroup orderGroup

InMemoryOrderGroup(IMarket, Currency)

Initializes a new instance of an InMemoryOrderGroup.

Declaration
public InMemoryOrderGroup(IMarket market, Currency currency)
Parameters
Type Name Description
IMarket market

The market.

Currency currency

The currency.

Properties

Created

Gets the created date.

Declaration
public DateTime Created { get; }
Property Value
Type Description
System.DateTime

Currency

Gets or sets the currency used in the order.

Declaration
public Currency Currency { get; set; }
Property Value
Type Description
Currency

CustomerId

Gets the customer identifier.

Declaration
public Guid CustomerId { get; set; }
Property Value
Type Description
System.Guid

Forms

Gets the collection of order forms in the order group.

Declaration
public ICollection<IOrderForm> Forms { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<IOrderForm>

Market

Gets or sets the market.

Declaration
public IMarket Market { get; set; }
Property Value
Type Description
IMarket

Modified

Gets the modified date.

Declaration
public DateTime? Modified { get; }
Property Value
Type Description
System.Nullable<System.DateTime>

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Notes

Gets or sets the order notes.

Declaration
public ICollection<IOrderNote> Notes { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<IOrderNote>

Gets an instance of the class Mediachase.Commerce.Orders.OrderReference, which contains the unique identity for the order group, and the type of order group it represents (cart, purchase order, or payment plan)

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

OrderStatus

Gets or sets the order status.

Declaration
public OrderStatus OrderStatus { get; set; }
Property Value
Type Description
OrderStatus

Organization

Gets or sets the organization.

Declaration
public Guid? Organization { get; set; }
Property Value
Type Description
System.Nullable<System.Guid>

Properties

Gets the property bag for dealing with custom meta fields.

Declaration
public Hashtable Properties { get; }
Property Value
Type Description
System.Collections.Hashtable

Implements

Extension Methods