Click or drag to resize

StockUnit Constructor (Product, String, Int64)

Note: This API is now obsolete.

Initializes a new instance of the StockUnit class

Namespace:  Dynamicweb.Ecommerce.Stocks
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use GetProductStockUnits instead")]
public StockUnit(
	Product product,
	string unitId,
	long stockLocationId
)

Parameters

product
Type: Dynamicweb.Ecommerce.ProductsProduct
unitId
Type: SystemString
stockLocationId
Type: SystemInt64
See Also