Search Results for

    Show / Hide Table of Contents

    Class ImportOrderHookRequest

    A completed order being imported through the ImportOrder API

    Inheritance
    System.Object
    ImportOrderHookRequest
    Namespace: DirectScale.Disco.Extension.Hooks.Orders
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class ImportOrderHookRequest : Object

    Constructors

    ImportOrderHookRequest()

    Defaults

    Declaration
    public ImportOrderHookRequest()

    Properties

    AssociateId

    Required. The AssociateId of the associate that placed the order.

    Declaration
    public int AssociateId { get; set; }
    Property Value
    Type Description
    System.Int32

    CommissionDate

    Required. The date the commission engine uses to determine which period this order occurred in. Usually this will be the same as InvoiceDate.

    Declaration
    public DateTime CommissionDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    CustomFields

    Order custom fields.

    Declaration
    public CustomFields CustomFields { get; set; }
    Property Value
    Type Description
    CustomFields

    EmailAddress

    Email Address associated with this order. If not specified, the Associate's default Email Address will be used.

    Declaration
    public string EmailAddress { get; set; }
    Property Value
    Type Description
    System.String

    ExtOrderNumber

    Required. External order number from the exporting system.

    Declaration
    public string ExtOrderNumber { get; set; }
    Property Value
    Type Description
    System.String

    InvoiceDate

    The date the order was paid.

    Declaration
    public DateTime InvoiceDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    LineItems

    All of the items in this order.

    Declaration
    public ImportLineItem[] LineItems { get; set; }
    Property Value
    Type Description
    ImportLineItem[]

    OrderDate

    The Date the order was placed.

    Declaration
    public DateTime OrderDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    OrderName

    The name of the individual associated with the order. If not specified, the Associate's Full Name will be used.

    Declaration
    public string OrderName { get; set; }
    Property Value
    Type Description
    System.String

    OrderSource

    The source of order being placed. When creating orders through the extension, the order source will default to OrderSource.ImportOrder

    Declaration
    public OrderSource OrderSource { get; set; }
    Property Value
    Type Description
    OrderSource

    OrderType

    Indicates where the order was initiated from.

    Declaration
    public OrderType OrderType { get; set; }
    Property Value
    Type Description
    OrderType

    PartyId

    Party this order came from, if any.

    Declaration
    public int PartyId { get; set; }
    Property Value
    Type Description
    System.Int32

    PriceGroupId

    The ID of the Price Group used to place the order. See PriceGroup for further reference. If not specified, the ID of the Associate's default Price Group will be used.

    Declaration
    public int PriceGroupId { get; set; }
    Property Value
    Type Description
    System.Int32

    ShipAddress

    The address the order was shipped to.

    Declaration
    public Address ShipAddress { get; set; }
    Property Value
    Type Description
    Address

    ShipPhone

    Phone number provided for this order.

    Declaration
    public string ShipPhone { get; set; }
    Property Value
    Type Description
    System.String

    ShippingTotal

    Amount charged for shipping.

    Declaration
    public double ShippingTotal { get; set; }
    Property Value
    Type Description
    System.Double

    SpecialInstructions

    Shipping special instructions

    Declaration
    public string SpecialInstructions { get; set; }
    Property Value
    Type Description
    System.String

    SubTotal

    Subtotal of LineItems.

    Declaration
    public double SubTotal { get; set; }
    Property Value
    Type Description
    System.Double

    TaxTotal

    Amount charged in tax.

    Declaration
    public double TaxTotal { get; set; }
    Property Value
    Type Description
    System.Double

    TotalBonus

    Required. Total bonus from this order.

    Declaration
    public double TotalBonus { get; set; }
    Property Value
    Type Description
    System.Double

    TotalCV

    Required. Commission Volume generated from this order.

    Declaration
    public double TotalCV { get; set; }
    Property Value
    Type Description
    System.Double

    TotalQV

    Required. Qualified Volume generated from this order.

    Declaration
    public double TotalQV { get; set; }
    Property Value
    Type Description
    System.Double
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX