Table of Contents

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

string

Product

Product
public Product Product { get; }

Property Value

Product

ProductId

Product identifier (master)
public string ProductId { get; }

Property Value

string

Quantity

Quantity of the specified product
public double Quantity { get; }

Property Value

double

QuantityAllVariants

Quantity of the specified product in any variant
public double QuantityAllVariants { get; }

Property Value

double

StockLocationId

Stock location identifier
public long StockLocationId { get; }

Property Value

long

UnitId

Unit identifier
public string UnitId { get; }

Property Value

string

VariantId

Variant identifier
public string VariantId { get; }

Property Value

string
To top