Class Country
- Namespace
- Dynamicweb.Ecommerce.International
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a country.
- Inheritance
-
Country
- Implements
- Inherited Members
Constructors
Country()
Initializes a new instance of the class.
Properties
AddressDisplayFormat
Gets or sets the display format
Property Value
AddressDisplayFormatMode
Gets or sets the display format mode
Property Value
AddressEditFormat
Gets or sets the edit format
Property Value
AddressEditFormatMode
Gets or sets the edit format mode
Property Value
Code2
Gets or sets the two-character code.
Property Value
Code3
Gets or sets the three-character code.
Property Value
CultureInfo
Gets or sets the culture information.
Property Value
CurrencyCode
Gets or sets the currency code.
Property Value
Number
Gets or sets the number.
Property Value
RegionCode
Gets or sets the region code.
Property Value
Regions
Gets or sets the regions.
Property Value
ReverseChargeForVat
Gets or sets the reverse VAT
Property Value
Translations
Gets the translations for the current entity
Property Value
Vat
Gets or sets the VAT
Property Value
VatPostingGroup
Gets or sets the VAT Posting Group
Property Value
Methods
Clone()
Creates a new instance of a class with the same value as an existing instance.
Returns
Remarks
Method performs a deep copy of all properties except the LanguageId property. LanguageId property always is set to Nothing.
GetDisplayAddress(CountryAddressInfo)
Gets the display address according to the address format information for specific country
Parameters
addressInfo
CountryAddress Info Address information
Returns
GetDisplayAddress(string)
Gets the display address according to the address format information for specific country
Parameters
countryCode
string2 letter country code
Returns
GetEditAddress(CountryAddressInfo)
Gets the edit address data according to the address format information for specific country
Parameters
addressInfo
CountryAddress Info Address information
Returns
GetEditAddress(string)
Gets the edit address data according to the address format information for specific country
Parameters
countryCode
string2 letter country code
Returns
GetName(string)
Gets the translated name in specified language
Parameters
languageId
string
Returns
SetName(string, string)
Sets the translated name in specified language