Click or drag to resize

OrderLineServiceCreate Method (Order, String, Double, PriceInfo, OrderLineType, String, String, Currency)

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, String, Double, PriceInfo, OrderLineType, String, String) instead.")]
public OrderLine Create(
	Order order,
	string text,
	double quantity,
	PriceInfo unitPrice,
	OrderLineType type,
	string parentOrderLineId,
	string discountId,
	Currency currency
)

Parameters

order
Type: Dynamicweb.Ecommerce.OrdersOrder
text
Type: SystemString
quantity
Type: SystemDouble
unitPrice
Type: Dynamicweb.Ecommerce.PricesPriceInfo
type
Type: Dynamicweb.Ecommerce.OrdersOrderLineType
parentOrderLineId
Type: SystemString
discountId
Type: SystemString
currency
Type: Dynamicweb.Ecommerce.InternationalCurrency

Return Value

Type: OrderLine
See Also