Click or drag to resize

OrderLineServiceCreate Method (Order, Product, Double, StockUnit, PriceInfo)

Namespace:  Dynamicweb.Ecommerce.Orders
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
public OrderLine Create(
	Order order,
	Product product,
	double quantity,
	StockUnit unit,
	PriceInfo unitPrice
)

Parameters

order
Type: Dynamicweb.Ecommerce.OrdersOrder
product
Type: Dynamicweb.Ecommerce.ProductsProduct
quantity
Type: SystemDouble
unit
Type: Dynamicweb.Ecommerce.StocksStockUnit
unitPrice
Type: Dynamicweb.Ecommerce.PricesPriceInfo

Return Value

Type: OrderLine
See Also