Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class MarketModel

Inheritance
System.Object
MarketModel
Namespace: EPiServer.Commerce.UI.CustomerService.Models
Assembly: EPiServer.Commerce.UI.CustomerService.dll
Version: 14.26.0
Syntax
public class MarketModel : Object

Constructors

MarketModel(IMarket)

Declaration
public MarketModel(IMarket market)
Parameters
Type Name Description
IMarket market

MarketModel(IMarket, Boolean)

Declaration
public MarketModel(IMarket market, bool isCurrentMarket)
Parameters
Type Name Description
IMarket market
System.Boolean isCurrentMarket

Properties

Id

Declaration
public string Id { get; }
Property Value
Type Description
System.String

IsCurrentMarket

Declaration
public bool IsCurrentMarket { get; }
Property Value
Type Description
System.Boolean

IsEnabled

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
System.Boolean

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String