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

Inheritance: VariationContent, IIndexableContent, IProductListViewModelInitializer, IResourceable
Mostrar archivo Open project: episerver/Commerce-Demo-Kit Class Usage Examples

Private Properties

Property Type Description
GetDisplayPriceWithCheck string
GetPriceWithCheck double

Public Methods

Method Description
GetFindProduct ( Mediachase market ) : FindProduct
GetProductByVariant ( EPiServer.Core.ContentReference variation ) : IEnumerable
Populate ( Mediachase currentMarket ) : ProductListViewModel
ShouldIndex ( ) : bool

Private Methods

Method Description
GetDisplayPriceWithCheck ( PriceAndMarket price ) : string
GetPriceWithCheck ( PriceAndMarket price ) : double

Method Details

GetFindProduct() public method

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

GetProductByVariant() public method

public GetProductByVariant ( EPiServer.Core.ContentReference variation ) : IEnumerable
variation EPiServer.Core.ContentReference
return IEnumerable

Populate() public method

public Populate ( Mediachase currentMarket ) : ProductListViewModel
currentMarket Mediachase
return OxxCommerceStarterKit.Web.Models.ViewModels.ProductListViewModel

ShouldIndex() public method

public ShouldIndex ( ) : bool
return bool