Click or drag to resize

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

Note: This API is now obsolete.

Namespace:  Dynamicweb.Ecommerce.Orders
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use 'Ecommerce.Services.OrderLines.Create' instead")]
public OrderLine CreateOrderLine(
	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