| OrderCreateOrderLine Method (String, Double, PriceInfo, OrderLineType, String, String) |
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(
string text,
double quantity,
PriceInfo unitPrice,
OrderLineType type,
string parentOrderLineId,
string discountId
)
<ObsoleteAttribute("Use Ecommerce.Services.OrderLines.Create instead.")>
Public Function CreateOrderLine (
text As String,
quantity As Double,
unitPrice As PriceInfo,
type As OrderLineType,
parentOrderLineId As String,
discountId As String
) As OrderLine
Parameters
- text
- Type: SystemString
- quantity
- Type: SystemDouble
- unitPrice
- Type: Dynamicweb.Ecommerce.PricesPriceInfo
- type
- Type: Dynamicweb.Ecommerce.OrdersOrderLineType
- parentOrderLineId
- Type: SystemString
- discountId
- Type: SystemString
Return Value
Type:
OrderLineSee Also