Class ApplicationOrder
This is the information needed to create a new order at enrollment time.
Inheritance
Namespace: DirectScale.Disco.Extension
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class ApplicationOrder : Object
Remarks
This class serves the same purpose as NewOrderDetail, but only needs about half the fields, because the other half are already contained within Application.
Constructors
ApplicationOrder()
Declaration
public ApplicationOrder()
Properties
CurrencyCode
The currency to use for the order.
Declaration
public string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If Autoship is null, it will use this same CurrencyCode.
See Also
Custom
Custom values that may be provided which tied to the order and available to use from client code.
Declaration
public CustomFields Custom { get; set; }
Property Value
Type | Description |
---|---|
CustomFields |
Remarks
These custom values will be written to ORD_CustomFields and will be the same as Custom. These are separate from other custom fields which can be tied to associates, autoships, and inventory items.
See Also
Items
Additional items being purchased.
Declaration
public LineItem[] Items { get; set; }
Property Value
Type | Description |
---|---|
LineItem[] |
Remarks
These items will be purchased from StoreId.
See Also
KitItems
The enrollment kits being purchased.
Declaration
public LineItem[] KitItems { get; set; }
Property Value
Type | Description |
---|---|
LineItem[] |
Remarks
These items will always be purchased using the enrollment store (StoreId 4). StoreId is ignored for these items.
See Also
OrderType
The type of order being placed.
Declaration
public int OrderType { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
See Also
Payments
The payment information to use for this order.
Declaration
public NewPayment[] Payments { get; set; }
Property Value
Type | Description |
---|---|
NewPayment[] |
ShipMethod
The ship method selected for this order.
Declaration
public int ShipMethod { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
See Also
StoreId
The store that is being used for this order.
Declaration
public int StoreId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Usually this will always indicate the enrollment store (4), but the assocaite may be able to purchase additional Items from another store during enrollment.