Class InMemoryPurchaseOrder
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: 10.8.0Syntax
public class InMemoryPurchaseOrder : IPurchaseOrder, IOrderGroup, IExtendedProperties
Constructors
InMemoryPurchaseOrder()
Initializes a new instance of an InMemoryPurchaseOrder.
Declaration
public InMemoryPurchaseOrder()
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 |
ExpirationDate
Gets or sets the expiration date. Expiration date can be used for subscription type of orders.
Declaration
public DateTime? ExpirationDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Forms
Gets or sets the collection of order forms in the order group.
Declaration
public ICollection<IOrderForm> Forms { get; set; }
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> |
OrderLink
Gets or sets 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 |
OrderNumber
Gets or sets the order number.
Declaration
public string OrderNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
ReturnForms
Gets the return forms.
Declaration
public ICollection<IOrderForm> ReturnForms { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<IOrderForm> |