November Happy Hour will be moved to Thursday December 5th.

Interface IMarket

Namespace: Mediachase.Commerce
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public interface IMarket

Properties

Countries

Gets the country codes associated with the market.

Declaration
IEnumerable<string> Countries { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>
Remarks

The country codes should be in ISO standard. By default, the ISO 3166-1 alpha 3 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) is used.

Currencies

Gets the available currencies for the market.

Declaration
IEnumerable<Currency> Currencies { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Currency>

DefaultCurrency

Gets the default currency for the market.

Declaration
Currency DefaultCurrency { get; }
Property Value
Type Description
Currency

DefaultLanguage

Gets the default language for the market.

Declaration
CultureInfo DefaultLanguage { get; }
Property Value
Type Description
System.Globalization.CultureInfo

IsEnabled

Gets a value indicating if the market is enabled.

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

Languages

Gets the available languages for the market.

Declaration
IEnumerable<CultureInfo> Languages { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo>

MarketDescription

Gets the market's description.

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

MarketId

Gets the market's unique identifier.

Declaration
MarketId MarketId { get; }
Property Value
Type Description
MarketId

MarketName

Gets the market's name.

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

PricesIncludeTax

Gets the value indicating if the price of the market includes tax or not.

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