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
productProductProduct
unitIdstringUnit identifier
stockLocationIdlongStock 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
productProductProduct
unitIdstringUnit identifier
stockLocationIdlongStock location identifier
quantitydoubleQuantity of the specified product
quantityAllVariantsdoubleQuantity 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; }