Click or drag to resize

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

Note: This API is now obsolete.

Namespace:  Dynamicweb.Ecommerce.Orders
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use Create(Order, Product, Double, StockUnit, PriceInfo) instead.")]
public OrderLine Create(
	Order order,
	Product product,
	double quantity,
	StockUnit unit,
	PriceInfo unitPrice,
	Currency currency,
	Country country
)

Parameters

order
Type: Dynamicweb.Ecommerce.OrdersOrder
product
Type: Dynamicweb.Ecommerce.ProductsProduct
quantity
Type: SystemDouble
unit
Type: Dynamicweb.Ecommerce.StocksStockUnit
unitPrice
Type: Dynamicweb.Ecommerce.PricesPriceInfo
currency
Type: Dynamicweb.Ecommerce.InternationalCurrency
country
Type: Dynamicweb.Ecommerce.InternationalCountry

Return Value

Type: OrderLine
See Also