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
PageCount
Gets the total number of pages.
public int PageCount { get; init; }
Property Value
PageSize
Gets the number of items per page.
public int PageSize { get; init; }
Property Value
PurchasedProducts
Gets the purchased products on the current page, each enriched with purchase metadata.
public IList<PurchasedProductViewModel> PurchasedProducts { get; }
Property Value
TotalProductsCount
Gets the total number of distinct products purchased by the user (across all pages).
public int TotalProductsCount { get; init; }