C# Class OxxCommerceStarterKit.Web.Models.Catalog.GenericProductContent

Inheritance: OxxCommerceStarterKit.Web.Models.Catalog.Base.ProductBase, IIndexableContent, IProductListViewModelInitializer, IResourceable
Mostra file Open project: episerver/Commerce-Demo-Kit

Private Properties

Property Type Description
GetDisplayPriceWithCheck string
GetGenericVariants List
GetPriceWithCheck double

Public Methods

Method Description
GetFindProduct ( IMarket market ) : FindProduct
Populate ( IMarket market ) : ProductListViewModel
ShouldIndex ( ) : bool

Private Methods

Method Description
GetDisplayPriceWithCheck ( PriceAndMarket price ) : string
GetGenericVariants ( IEnumerable productVariants, IMarket market ) : List
GetPriceWithCheck ( PriceAndMarket price ) : double

Method Details

GetFindProduct() public method

public GetFindProduct ( IMarket market ) : FindProduct
market IMarket
return OxxCommerceStarterKit.Web.Models.FindModels.FindProduct

Populate() public method

public Populate ( IMarket market ) : ProductListViewModel
market IMarket
return OxxCommerceStarterKit.Web.Models.ViewModels.ProductListViewModel

ShouldIndex() public method

public ShouldIndex ( ) : bool
return bool