| 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
)
<ObsoleteAttribute("Use Create(Order, Product, Double, StockUnit, PriceInfo) instead.")>
Public Function Create (
order As Order,
product As Product,
quantity As Double,
unit As StockUnit,
unitPrice As PriceInfo,
currency As Currency,
country As Country
) As OrderLine
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:
OrderLineSee Also