Class OrderListViewModelSettings
- Namespace
- Dynamicweb.Ecommerce.Frontend
- Assembly
- Dynamicweb.Ecommerce.dll
public class OrderListViewModelSettings : ViewSettingsBase<OrderListViewModel>
- Inheritance
-
OrderListViewModelSettings
- Inherited Members
Properties
CurrentPage
Gets or sets the current page number.
public int CurrentPage { get; set; }
Property Value
FromCompletedDate
Filter to only show results where the order is completed after the given date.
public DateTime? FromCompletedDate { get; set; }
Property Value
OrderSettings
Configures which properties are filled on each OrderViewModel in the list. When not set, all properties are filled.
public OrderViewModelSettings? OrderSettings { get; set; }
Property Value
PageSize
Gets or sets the product count per page. If this value is greater than 0, the view model result will be paginated, otherwise, plain list.
public int PageSize { get; set; }
Property Value
RetrieveMode
Controls which orders are included relative to the authenticated user. When set to any value other than UseUserId, takes precedence over Dynamicweb.Ecommerce.Frontend.OrderListViewModelSettings.ByCustomerNumber. Defaults to UseUserId.
public OrderRetrieveMode RetrieveMode { get; set; }
Property Value
ShowPricesWithVat
Gets or sets wether the display prices should be with or without vat.
public bool ShowPricesWithVat { get; set; }
Property Value
ToCompletedDate
Filter to only show results where the order is completed before the given date.
public DateTime? ToCompletedDate { get; set; }