Class OrderLineViewModelExtensions
- Namespace
- Dynamicweb.Ecommerce.Frontend
- Assembly
- Dynamicweb.Ecommerce.dll
public static class OrderLineViewModelExtensions
- Inheritance
-
OrderLineViewModelExtensions
- Inherited Members
Methods
GetProduct(OrderLineViewModel)
public static ProductViewModel GetProduct(this OrderLineViewModel orderLine)
Parameters
orderLine
OrderLineViewModel
Returns
GetProduct(CartOrderlineViewModel)
Extending the CartOrderLineViewModel from frontend namespace with a method to get the product from the orderline
public static ProductViewModel GetProduct(this CartOrderlineViewModel orderLine)
Parameters
orderLine
CartOrderlineViewModel- The orderline to find the product from