Table of Contents

Class OrderListViewModel

Namespace
Dynamicweb.Ecommerce.Frontend
Assembly
Dynamicweb.Ecommerce.dll
OrderListViewModel represents the rendering context used when a collection of orders is rendered.
public class OrderListViewModel : FillableViewModelBase
Inheritance
OrderListViewModel
Inherited Members

Properties

CurrentPage

Gets or sets the current page number.
public int CurrentPage { get; set; }

Property Value

int

Orders

public IList<OrderViewModel> Orders { get; set; }

Property Value

IList<OrderViewModel>

PageCount

Gets or sets the count of pages. If this value is greater than 0, the view model result will be paginated, otherwise, plain list.
public int PageCount { get; set; }

Property Value

int

PageSize

Gets or sets the items count per page.
public int PageSize { get; set; }

Property Value

int

TotalOrdersCount

Gets or sets the total number of orders in the list.
public int TotalOrdersCount { get; set; }

Property Value

int
To top