Search Results for

    Show / Hide Table of Contents

    Class LineItem

    Inheritance
    System.Object
    LineItem
    Namespace: DirectScale.Disco.Extension
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class LineItem : Object
    Remarks

    See overloads to poperly construct LineItem.

    Constructors

    LineItem()

    Declaration
    public LineItem()

    LineItem(Int32, Double)

    Declaration
    public LineItem(int itemId, double qty)
    Parameters
    Type Name Description
    System.Int32 itemId
    System.Double qty

    Properties

    Bonus

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

    Category

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

    ChargeShipping

    Declaration
    public bool ChargeShipping { get; set; }
    Property Value
    Type Description
    System.Boolean

    Cost

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

    CouponsBeingUsed

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

    Custom

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

    CV

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

    Description

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

    Disabled

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    ExtendedBonus

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

    ExtendedCost

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

    ExtendedCV

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

    ExtendedOriginalPrice

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

    ExtendedPrice

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

    ExtendedQV

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

    ExtendedRewardPoints

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

    FlagBirthDefects

    Declaration
    public bool FlagBirthDefects { get; set; }
    Property Value
    Type Description
    System.Boolean

    FlagCancer

    Declaration
    public bool FlagCancer { get; set; }
    Property Value
    Type Description
    System.Boolean

    HasKitGroups

    Declaration
    public bool HasKitGroups { get; set; }
    Property Value
    Type Description
    System.Boolean

    HasOptions

    Declaration
    public bool HasOptions { get; }
    Property Value
    Type Description
    System.Boolean

    Height

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

    Image

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

    Images

    Declaration
    public ItemImage[] Images { get; set; }
    Property Value
    Type Description
    ItemImage[]

    ItemId

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

    ItemOptions

    Declaration
    public ItemOption[] ItemOptions { get; set; }
    Property Value
    Type Description
    ItemOption[]

    LanguageCode

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

    Languages

    Declaration
    public LanguageMap[] Languages { get; set; }
    Property Value
    Type Description
    LanguageMap[]

    Length

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

    LengthUOM

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

    MPN

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

    Options

    Declaration
    public LineItemOption[] Options { get; set; }
    Property Value
    Type Description
    LineItemOption[]

    OptionsMap

    Declaration
    public ItemOptionKeyMap[] OptionsMap { get; set; }
    Property Value
    Type Description
    ItemOptionKeyMap[]

    OriginalPrice

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

    OutOfStockStatus

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

    PackageGroupId

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

    PackCount

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

    Price

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

    PriceCurrency

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

    PriceGroup

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

    PriceGroups

    Declaration
    public int[] PriceGroups { get; }
    Property Value
    Type Description
    System.Int32[]

    Prices

    Declaration
    public LineItemPrice[] Prices { get; set; }
    Property Value
    Type Description
    LineItemPrice[]

    ProductName

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

    Quantity

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

    QV

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

    RewardPoints

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

    SKU

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

    Specifications

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

    TaxClassId

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

    UnitOfMeasure

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

    UPC

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

    Weight

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

    WeightUOM

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

    Width

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

    Methods

    GetPrice(Int32)

    Declaration
    public LineItemPrice GetPrice(int priceGroupId)
    Parameters
    Type Name Description
    System.Int32 priceGroupId
    Returns
    Type Description
    LineItemPrice

    GetPriceByCurrency(String)

    Declaration
    public LineItemPrice GetPriceByCurrency(string currencyCode)
    Parameters
    Type Name Description
    System.String currencyCode
    Returns
    Type Description
    LineItemPrice
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX