Table of Contents

Class PurchasedProductListViewModel

Namespace
Dynamicweb.Ecommerce.ProductCatalog
Assembly
Dynamicweb.Ecommerce.dll

Paginated list of products purchased by the authenticated user.

public sealed class PurchasedProductListViewModel : ViewModelBase
Inheritance
PurchasedProductListViewModel
Inherited Members
Extension Methods

Properties

CurrentPage

Gets the current page number (1-based).

public int CurrentPage { get; init; }

Property Value

int

PageCount

Gets the total number of pages.

public int PageCount { get; init; }

Property Value

int

PageSize

Gets the number of items per page.

public int PageSize { get; init; }

Property Value

int

PurchasedProducts

Gets the purchased products on the current page, each enriched with purchase metadata.

public IList<PurchasedProductViewModel> PurchasedProducts { get; }

Property Value

IList<PurchasedProductViewModel>

TotalProductsCount

Gets the total number of distinct products purchased by the user (across all pages).

public int TotalProductsCount { get; init; }

Property Value

int

See Also

To top