Class GlobalISO
- Namespace
- Dynamicweb.Ecommerce.International
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the global ISO.
[Serializable]
public class GlobalISO
- Inheritance
-
GlobalISO
- Inherited Members
Constructors
GlobalISO()
Initializes a new instance of the class.
public GlobalISO()
GlobalISO(IDataReader)
Initializes a new instance of the class.
public GlobalISO(IDataReader dataReader)
Parameters
dataReader
IDataReader- The data reader.
GlobalISO(string)
Initializes a new instance of the class.
public GlobalISO(string id)
Parameters
id
string- The ISO id.
Properties
Code2
Gets or sets the two-character ISO code.
public string Code2 { get; set; }
Property Value
Code3
Gets or sets the three-character ISO code.
public string Code3 { get; set; }
Property Value
CountryDK
Gets or sets the DK country.
public string CountryDK { get; set; }
Property Value
CountryUK
Gets or sets the UK country.
public string CountryUK { get; set; }
Property Value
CultureInfo
Gets or sets the culture information.
public string CultureInfo { get; set; }
Property Value
CurrencyCode
Gets or sets the currency code.
public string CurrencyCode { get; set; }
Property Value
CurrencySymbol
Gets or sets the currency symbol.
public string CurrencySymbol { get; set; }
Property Value
Disabled
Gets or sets the value specified whether ISO is disabled.
public bool Disabled { get; set; }
Property Value
Id
Gets or sets the id.
public string Id { get; set; }
Property Value
Vat
Gets or sets the VAT.
public double Vat { get; set; }
Property Value
Methods
GetCultureFromCountryCode(string)
public static CultureInfo GetCultureFromCountryCode(string countryCode)
Parameters
countryCode
string
Returns
GetGlobalISOByISOCode2(string)
Gets ISO by the tw-character ISO code.
public static GlobalISO GetGlobalISOByISOCode2(string code)
Parameters
code
string- Two-character ISO code.
Returns
GetGlobalISOs()
Gets all active ISO.
public static GlobalISOCollection GetGlobalISOs()
Returns
- GlobalISOCollection
- A collection of the GlobalISO.
GetGlobalISOs(bool)
Gets all active ISO by specified parameters.
public static GlobalISOCollection GetGlobalISOs(bool existsInCountry)
Parameters
existsInCountry
bool- The ISO exists.
Returns
- GlobalISOCollection
- A collection of the GlobalISO.
GetGlobalISOs(string)
Gets all active ISO by specified parameters.
public static GlobalISOCollection GetGlobalISOs(string id)
Parameters
id
string- The ISO id.
Returns
- GlobalISOCollection
- A collection of the GlobalISO.
GetRegion(string)
public static RegionInfo GetRegion(string TwoLetterISORegionName)
Parameters
TwoLetterISORegionName
string
Returns
GetRegions()
Returns countries in the ISO format
public static IList<RegionInfo> GetRegions()