| 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
)
<ObsoleteAttribute("Use GetProductStockUnits instead")>
Public Sub New (
product As Product,
unitId As String,
stockLocationId As Long
)
Parameters
- product
- Type: Dynamicweb.Ecommerce.ProductsProduct
- unitId
- Type: SystemString
- stockLocationId
- Type: SystemInt64
See Also