Table of Contents

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

int

FromCompletedDate

Filter to only show results where the order is completed after the given date.

public DateTime? FromCompletedDate { get; set; }

Property Value

DateTime?

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

OrderViewModelSettings

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

int

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

OrderRetrieveMode

ShowPricesWithVat

Gets or sets wether the display prices should be with or without vat.

public bool ShowPricesWithVat { get; set; }

Property Value

bool

ToCompletedDate

Filter to only show results where the order is completed before the given date.

public DateTime? ToCompletedDate { get; set; }

Property Value

DateTime?
To top