ordercloud-javascript-sdk
    Preparing search index...

    Interface LineItem<TLineItemXp, TProductXp, TVariantXp, TShippingAddressXp, TShipFromAddressXp>

    interface LineItem<
        TLineItemXp = any,
        TProductXp = any,
        TVariantXp = any,
        TShippingAddressXp = any,
        TShipFromAddressXp = any,
    > {
        BaseDiscount?: number;
        BundleItemID?: string;
        CostCenter?: string;
        DateAdded?: string;
        DateNeeded?: string;
        DiscountID?: string;
        ID?: string;
        IncomingOrderID?: string;
        InventoryRecordID?: string;
        InvitationID?: string;
        IsBundle?: boolean;
        IsOnSale?: boolean;
        LineSubtotal?: number;
        LineTotal?: number;
        OutgoingOrderID?: string;
        PriceOverridden?: boolean;
        PriceScheduleID?: string;
        Product?: LineItemProduct<TProductXp>;
        ProductID: string;
        PromotionDiscount?: number;
        Quantity?: number;
        QuantityShipped?: number;
        ShipFromAddress?: Address<TShipFromAddressXp>;
        ShipFromAddressID?: string;
        ShippingAccount?: string;
        ShippingAddress?: Address<TShippingAddressXp>;
        ShippingAddressID?: string;
        Specs?: LineItemSpec[];
        SupplierID?: string;
        UnitPrice?: number;
        Variant?: LineItemVariant<TVariantXp>;
        xp?: TLineItemXp;
    }

    Type Parameters

    • TLineItemXp = any
    • TProductXp = any
    • TVariantXp = any
    • TShippingAddressXp = any
    • TShipFromAddressXp = any
    Index
    BaseDiscount?: number
    BundleItemID?: string
    CostCenter?: string
    DateAdded?: string
    DateNeeded?: string
    DiscountID?: string
    ID?: string
    IncomingOrderID?: string
    InventoryRecordID?: string
    InvitationID?: string
    IsBundle?: boolean
    IsOnSale?: boolean
    LineSubtotal?: number
    LineTotal?: number
    OutgoingOrderID?: string
    PriceOverridden?: boolean
    PriceScheduleID?: string
    ProductID: string
    PromotionDiscount?: number
    Quantity?: number
    QuantityShipped?: number
    ShipFromAddress?: Address<TShipFromAddressXp>
    ShipFromAddressID?: string
    ShippingAccount?: string
    ShippingAddress?: Address<TShippingAddressXp>
    ShippingAddressID?: string
    Specs?: LineItemSpec[]
    SupplierID?: string
    UnitPrice?: number