Class OrderListViewModelSettings
- Namespace
- Dynamicweb.Ecommerce.Frontend
- Assembly
- Dynamicweb.Ecommerce.dll
Filter settings for OrderListViewModel.
public class OrderListViewModelSettings : ViewSettingsBase<OrderListViewModel>
- Inheritance
-
OrderListViewModelSettings
- Inherited Members
Properties
ByCustomerNumber
If set to true, orders are fetched for all users sharing the current users customer number. Default is false
public bool ByCustomerNumber { get; set; }
Property Value
CurrentPage
The current page viewing Orders on.
public int CurrentPage { get; set; }
Property Value
Remarks
Gets or sets the current page number.
PageCount
Gets or sets the count of pages.
[JsonIgnore]
[Obsolete("This is a response information and should not be on request. Do not use")]
public int PageCount { get; set; }
Property Value
PageSize
The maximum amount of Orders in the response. To see more orders, change CurrentPage to another page.
If PageSize value is greater than 0, the view model result will be paginated, otherwise, plain list.
public int PageSize { get; set; }
Property Value
Remarks
Gets or sets the product count per page.
ShowPricesWithVat
public bool ShowPricesWithVat { get; set; }
Property Value
Remarks
Gets or sets whether the display prices should be with or without vat.
TotalOrdersCount
Gets or sets the total order count in the list.
[JsonIgnore]
[Obsolete("This is a response information and should not be on request. Do not use")]
public int TotalOrdersCount { get; set; }