Click or drag to resize

CartServiceAddOrderLine Method (String, String, Boolean, Boolean, String, Int32, OrderLineCollection)

Note: This API is now obsolete.

Namespace:  Dynamicweb.Ecommerce.Frontend.Cart
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use the AddOrderLine method that accepts a cart instead")]
public OrderLine AddOrderLine(
	string postfix,
	string orderLineType,
	bool quantityCheck,
	bool addToCart,
	string productUrl,
	int pageId,
	ref OrderLineCollection newOrderLines
)

Parameters

postfix
Type: SystemString
orderLineType
Type: SystemString
quantityCheck
Type: SystemBoolean
addToCart
Type: SystemBoolean
productUrl
Type: SystemString
pageId
Type: SystemInt32
newOrderLines
Type: Dynamicweb.Ecommerce.OrdersOrderLineCollection

Return Value

Type: OrderLine
See Also