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 MarketViewModel

Inheritance
System.Object
MarketViewModel
Namespace: EPiServer.Commerce.Shell.Rest.Models
Assembly: EPiServer.Commerce.Shell.dll
Version: 14.26.0
Syntax
public class MarketViewModel : Object

Constructors

MarketViewModel()

Declaration
public MarketViewModel()

MarketViewModel(IMarket, Boolean)

Declaration
public MarketViewModel(IMarket market, bool excludeCurrencies)
Parameters
Type Name Description
IMarket market
System.Boolean excludeCurrencies

Properties

Currencies

Declaration
public IEnumerable<ISelectItem> Currencies { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<EPiServer.Shell.ObjectEditing.ISelectItem>

Id

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

IsEnabled

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

Label

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

LocalizationService

Declaration
protected Injected<LocalizationService> LocalizationService { get; set; }
Property Value
Type Description
EPiServer.ServiceLocation.Injected<EPiServer.Framework.Localization.LocalizationService>

Name

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