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
Product- Product
unitId
string- Unit identifier
stockLocationId
long- Stock 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
Product- Product
unitId
string- Unit identifier
stockLocationId
long- Stock location identifier
quantity
double- Quantity of the specified product
quantityAllVariants
double- Quantity 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; }