 | OrderLineService.Create 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
)
<ObsoleteAttribute("Use Create(Order, String, Double, PriceInfo, OrderLineType, String, String) instead.")>
Public Function Create (
order As Order,
text As String,
quantity As Double,
unitPrice As PriceInfo,
type As OrderLineType,
parentOrderLineId As String,
discountId As String,
currency As Currency
) As OrderLine
Parameters
- order
- Type: Dynamicweb.Ecommerce.Orders.Order
- text
- Type: System.String
- quantity
- Type: System.Double
- unitPrice
- Type: Dynamicweb.Ecommerce.Prices.PriceInfo
- type
- Type: Dynamicweb.Ecommerce.Orders.OrderLineType
- parentOrderLineId
- Type: System.String
- discountId
- Type: System.String
- currency
- Type: Dynamicweb.Ecommerce.International.Currency
Return Value
Type:
OrderLine
See Also