Class OrderSource
This is the source that the order came from
Inheritance
Namespace: DirectScale.Disco.Extension
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public sealed class OrderSource : Enum
Fields
Autoship
Used when autoship orders are created
Declaration
public const OrderSource Autoship
Field Value
Type | Description |
---|---|
OrderSource |
AutoshipExtension
Used when autoship orders are created that run through the client extension
Declaration
public const OrderSource AutoshipExtension
Field Value
Type | Description |
---|---|
OrderSource |
CorpAdmin
Used for orders created in corp admin
Declaration
public const OrderSource CorpAdmin
Field Value
Type | Description |
---|---|
OrderSource |
CorpAdminExtension
Used for orders created in corp admin that run through the client extension
Declaration
public const OrderSource CorpAdminExtension
Field Value
Type | Description |
---|---|
OrderSource |
DataMigration
This is the only source that has to be set by the caller. Since data migration is mostly SQL, they will have to set it
Declaration
public const OrderSource DataMigration
Field Value
Type | Description |
---|---|
OrderSource |
Facade
Used when facade orders are created
Declaration
public const OrderSource Facade
Field Value
Type | Description |
---|---|
OrderSource |
FacadeExtension
Used when facade orders are created that run through the client extension
Declaration
public const OrderSource FacadeExtension
Field Value
Type | Description |
---|---|
OrderSource |
ImportOrder
Used when orders are created using the import order API
Declaration
public const OrderSource ImportOrder
Field Value
Type | Description |
---|---|
OrderSource |
ImportOrderExtension
Used when orders are created using the import order API that run through the client extension
Declaration
public const OrderSource ImportOrderExtension
Field Value
Type | Description |
---|---|
OrderSource |
PublicApi
Used for public API calls
Declaration
public const OrderSource PublicApi
Field Value
Type | Description |
---|---|
OrderSource |
PublicApiExtension
Used for public API calls that run through the client extension
Declaration
public const OrderSource PublicApiExtension
Field Value
Type | Description |
---|---|
OrderSource |
Unknown
Only used when no order source is defined.
Declaration
public const OrderSource Unknown
Field Value
Type | Description |
---|---|
OrderSource |
UnknownExtension
Used for unknown orders that run through the client extension
Declaration
public const OrderSource UnknownExtension
Field Value
Type | Description |
---|---|
OrderSource |
V1Api
Used for V1 API calls
Declaration
public const OrderSource V1Api
Field Value
Type | Description |
---|---|
OrderSource |
V1ApiExtension
Used for V1 API calls that run through the client extension
Declaration
public const OrderSource V1ApiExtension
Field Value
Type | Description |
---|---|
OrderSource |
V2Api
Used for V2 API calls
Declaration
public const OrderSource V2Api
Field Value
Type | Description |
---|---|
OrderSource |
V2ApiExtension
Used for V2 API calls that run through the client extension
Declaration
public const OrderSource V2ApiExtension
Field Value
Type | Description |
---|---|
OrderSource |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |