Class MarketImpl
The default implementation of IMarket.
Inheritance
System.Object
MarketImpl
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
public class MarketImpl : Object, IMarket
Constructors
Creates a copy of the passed IMarket instance.
Declaration
public MarketImpl(IMarket market)
Parameters
Type |
Name |
Description |
IMarket |
market |
The IMarket instance to copy.
|
Creates an empty IMarket instance with the specified market identifier.
Declaration
public MarketImpl(MarketId marketId)
Parameters
Properties
Declaration
public IEnumerable<string> Countries { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Gets a modifiable collection of the associated countries.
Declaration
public ICollection<string> CountriesCollection { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<System.String> |
|
Declaration
public IEnumerable<Currency> Currencies { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Currency> |
|
Gets a modifiable collection of the available currencies.
Declaration
public ICollection<Currency> CurrenciesCollection { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<Currency> |
|
Declaration
public Currency DefaultCurrency { get; set; }
Property Value
Declaration
public CultureInfo DefaultLanguage { get; set; }
Property Value
Type |
Description |
System.Globalization.CultureInfo |
|
Declaration
public bool IsEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public IEnumerable<CultureInfo> Languages { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo> |
|
Gets a modifiable collection of the available languages.
Declaration
public ICollection<CultureInfo> LanguagesCollection { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<System.Globalization.CultureInfo> |
|
Declaration
public string MarketDescription { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public MarketId MarketId { get; }
Property Value
Declaration
public string MarketName { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets the value indicating if the price of the market includes tax or not.
Declaration
public bool PricesIncludeTax { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Implements