Class InMemoryOrderGroup
This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this.
Inheritance
Inherited Members
Namespace: EPiServer.Commerce.Order.Internal
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public class InMemoryOrderGroup : IOrderGroup, IExtendedProperties, IOrderGroupCalculatedAmount
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
[Obsolete("This property is no longer used. Use IMarketService to get the market from MarketId instead. Will remain at least until May 2019.")]
public IMarket Market { get; set; }
Property Value
Type | Description |
---|---|
IMarket |
MarketId
Gets or sets the market id.
Declaration
public MarketId MarketId { get; set; }
Property Value
Type | Description |
---|---|
MarketId |
MarketName
Gets or sets the market name.
Declaration
public string MarketName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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> |
OrderLink
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> |
PricesIncludeTax
Gets the value indicating if the price of the order group includes tax or not.
Declaration
public bool PricesIncludeTax { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Properties
Gets the property bag for dealing with custom meta fields.
Declaration
public Hashtable Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.Hashtable |
Explicit Interface Implementations
IOrderGroupCalculatedAmount.IsTaxTotalUpToDate
Gets or sets the flag indicating whether the TaxTotal is up-to-date.
Declaration
bool IOrderGroupCalculatedAmount.IsTaxTotalUpToDate { get; set; }
Returns
Type | Description |
---|---|
System.Boolean |
IOrderGroupCalculatedAmount.TaxTotal
Gets or sets the tax total.
Declaration
decimal IOrderGroupCalculatedAmount.TaxTotal { get; set; }
Returns
Type | Description |
---|---|
System.Decimal |