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: 13.30.0Syntax
public class InMemoryPurchaseOrder : IPurchaseOrder, IOrderGroup, IExtendedProperties, IOrderGroupCalculatedAmount
Constructors
InMemoryPurchaseOrder()
Initializes a new instance of an In
Declaration
public InMemoryPurchaseOrder()
InMemoryPurchaseOrder(IPurchaseOrder)
Declaration
public InMemoryPurchaseOrder(IPurchaseOrder purchaseOrder)
Parameters
Type | Name | Description |
---|---|---|
IPurchase |
purchaseOrder |
Properties
Created
Gets the created date.
Declaration
public DateTime Created { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
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. |
Forms
Gets the collection of order forms in the order group.
Declaration
public ICollection<IOrderForm> Forms { get; }
Property Value
Type | Description |
---|---|
System. |
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 |
---|---|
Market |
MarketName
Gets or sets the market name.
Declaration
public string MarketName { get; set; }
Property Value
Type | Description |
---|---|
System. |
Modified
Gets the modified date.
Declaration
public DateTime? Modified { get; }
Property Value
Type | Description |
---|---|
System. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
Notes
Gets the order notes.
Declaration
public ICollection<IOrderNote> Notes { get; }
Property Value
Type | Description |
---|---|
System. |
OrderLink
Gets or sets an instance of the class Mediachase.
Declaration
public OrderReference OrderLink { get; set; }
Property Value
Type | Description |
---|---|
Order |
OrderNumber
Gets or sets the order number.
Declaration
public string OrderNumber { get; set; }
Property Value
Type | Description |
---|---|
System. |
OrderStatus
Gets or sets the order status.
Declaration
public OrderStatus OrderStatus { get; set; }
Property Value
Type | Description |
---|---|
Order |
Organization
Gets or sets the organization.
Declaration
public Guid? Organization { get; set; }
Property Value
Type | Description |
---|---|
System. |
ParentOrderGroupId
Gets or sets the parent order group id. This can be used to relate purchase orders to a payment plan or other order.
Declaration
public int ParentOrderGroupId { get; set; }
Property Value
Type | Description |
---|---|
System. |
The parent order group instance id. |
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. |
Properties
Gets the property bag for dealing with custom meta fields.
Declaration
public Hashtable Properties { get; }
Property Value
Type | Description |
---|---|
System. |
ReturnForms
Gets the return forms.
Declaration
public ICollection<IReturnOrderForm> ReturnForms { get; }
Property Value
Type | Description |
---|---|
System. |
Explicit Interface Implementations
IOrderGroupCalculatedAmount.IsTaxTotalUpToDate
Gets or sets the flag indicating whether the Tax
Declaration
bool IOrderGroupCalculatedAmount.IsTaxTotalUpToDate { get; set; }
Returns
Type | Description |
---|---|
System. |
IOrderGroupCalculatedAmount.TaxTotal
Gets or sets the tax total.
Declaration
decimal IOrderGroupCalculatedAmount.TaxTotal { get; set; }
Returns
Type | Description |
---|---|
System. |