Class PriceProductSelection
- Namespace
- Dynamicweb.Ecommerce.Prices
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the selected product for which a price calculation is performed.
public class PriceProductSelection
- Inheritance
-
PriceProductSelection
- Inherited Members
Constructors
PriceProductSelection(Product, string, long)
Creates an instance of PriceProductSelection.
public PriceProductSelection(Product product, string unitId, long stockLocationId)
Parameters
product
ProductProduct
unitId
stringUnit identifier
stockLocationId
longStock location identifier
PriceProductSelection(Product, string, long, double, double)
Creates an instance of PriceProductSelection.
public PriceProductSelection(Product product, string unitId, long stockLocationId, double quantity, double quantityAllVariants)
Parameters
product
ProductProduct
unitId
stringUnit identifier
stockLocationId
longStock location identifier
quantity
doubleQuantity of the specified product
quantityAllVariants
doubleQuantity of the specified product in any variant
Properties
LanguageId
Language identifier
public string LanguageId { get; }
Property Value
Product
Product
public Product Product { get; }
Property Value
ProductId
Product identifier (master)
public string ProductId { get; }
Property Value
Quantity
Quantity of the specified product
public double Quantity { get; }
Property Value
QuantityAllVariants
Quantity of the specified product in any variant
public double QuantityAllVariants { get; }
Property Value
StockLocationId
Stock location identifier
public long StockLocationId { get; }
Property Value
UnitId
Unit identifier
public string UnitId { get; }
Property Value
VariantId
Variant identifier
public string VariantId { get; }