Class NSCountry
Carrier object for Country.
Constructors
NSCountry()
Initializes a new instance of the NSCountry class.
Declaration
NSCountry Methods
GetAddressLayoutId()
Declaration
Integer GetAddressLayoutId() Examples
NSCountry thing;
Integer addressLayoutId = thing.GetAddressLayoutId();
Returns
| Type | Description |
| Integer | Address layout of the country. |
GetCountryId()
Declaration
Integer GetCountryId() Examples
NSCountry thing;
Integer countryId = thing.GetCountryId();
Returns
| Type | Description |
| Integer | Primary key. |
GetCurrencyId()
Declaration
Integer GetCurrencyId() Examples
NSCountry thing;
Integer currencyId = thing.GetCurrencyId();
Returns
| Type | Description |
| Integer | Default currency for this country. |
GetDeleted()
Declaration
Bool GetDeleted() Examples
NSCountry thing;
Bool deleted = thing.GetDeleted();
Returns
| Type | Description |
| Bool | true if the country is deleted. |
GetDialInPrefix()
Declaration
String GetDialInPrefix() Examples
NSCountry thing;
String dialInPrefix = thing.GetDialInPrefix();
Returns
| Type | Description |
| String | Dial in prefix. |
GetDomainName()
Declaration
String GetDomainName() Examples
NSCountry thing;
String domainName = thing.GetDomainName();
Returns
| Type | Description |
| String | Domain name of the country. |
GetDomesticAddressLayoutId()
Declaration
Integer GetDomesticAddressLayoutId() Examples
NSCountry thing;
Integer domesticAddressLayoutId = thing.GetDomesticAddressLayoutId();
Returns
| Type | Description |
| Integer | Domestic address layout of the country. |
GetEnglishName()
Declaration
String GetEnglishName() Examples
NSCountry thing;
String englishName = thing.GetEnglishName();
Returns
| Type | Description |
| String | Name of country in English. |
GetForeignAddressLayoutId()
Declaration
Integer GetForeignAddressLayoutId() Examples
NSCountry thing;
Integer foreignAddressLayoutId = thing.GetForeignAddressLayoutId();
Returns
| Type | Description |
| Integer | Foreign address layout of the country. |
GetImageDescription()
Declaration
String GetImageDescription() Examples
NSCountry thing;
String imageDescription = thing.GetImageDescription();
Returns
| Type | Description |
| String | Description of the country's flag image. |
GetInterAreaPrefix()
Declaration
String GetInterAreaPrefix() Examples
NSCountry thing;
String interAreaPrefix = thing.GetInterAreaPrefix();
Returns
| Type | Description |
| String | International prefix. |
GetName()
Declaration
String GetName() Examples
NSCountry thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | Name of country in installed language. |
GetOrgNrText()
Declaration
String GetOrgNrText() Examples
NSCountry thing;
String orgNrText = thing.GetOrgNrText();
Returns
| Type | Description |
| String | Lead text for organization field. |
GetRank()
Declaration
Integer GetRank() Examples
NSCountry thing;
Integer rank = thing.GetRank();
Returns
| Type | Description |
| Integer | The rank of the country. |
GetThreeLetterISOCountry()
Declaration
String GetThreeLetterISOCountry() Examples
NSCountry thing;
String threeLetterISOCountry = thing.GetThreeLetterISOCountry();
Returns
| Type | Description |
| String | Three-letter country-code according to ISO3166 |
GetTooltip()
Declaration
String GetTooltip() Examples
NSCountry thing;
String tooltip = thing.GetTooltip();
Returns
| Type | Description |
| String | The tooltip of the country. |
GetTwoLetterISOCountry()
Declaration
String GetTwoLetterISOCountry() Examples
NSCountry thing;
String twoLetterISOCountry = thing.GetTwoLetterISOCountry();
Returns
| Type | Description |
| String | Two-letter country-code according to ISO3166 |
GetZipPrefix()
Declaration
String GetZipPrefix() Examples
NSCountry thing;
String zipPrefix = thing.GetZipPrefix();
Returns
| Type | Description |
| String | Post prefix. |
SetAddressLayoutId(Integer)
Declaration
Void SetAddressLayoutId(Integer addressLayoutId) Examples
NSCountry thing;
Integer addressLayoutId;
thing.SetAddressLayoutId(addressLayoutId);
Parameters
| Type | Name | Description |
| Integer | addressLayoutId | Address layout of the country. |
Returns
| Type | Description |
| Void |
SetCountryId(Integer)
Declaration
Void SetCountryId(Integer countryId) Examples
NSCountry thing;
Integer countryId;
thing.SetCountryId(countryId);
Parameters
| Type | Name | Description |
| Integer | countryId | Primary key. |
Returns
| Type | Description |
| Void |
SetCurrencyId(Integer)
Declaration
Void SetCurrencyId(Integer currencyId) Examples
NSCountry thing;
Integer currencyId;
thing.SetCurrencyId(currencyId);
Parameters
| Type | Name | Description |
| Integer | currencyId | Default currency for this country. |
Returns
| Type | Description |
| Void |
SetDeleted(Bool)
Declaration
Void SetDeleted(Bool deleted) Examples
NSCountry thing;
Bool deleted;
thing.SetDeleted(deleted);
Parameters
| Type | Name | Description |
| Bool | deleted | true if the country is deleted. |
Returns
| Type | Description |
| Void |
SetDialInPrefix(String)
Declaration
Void SetDialInPrefix(String dialInPrefix) Examples
NSCountry thing;
String dialInPrefix;
thing.SetDialInPrefix(dialInPrefix);
Parameters
| Type | Name | Description |
| String | dialInPrefix | Dial in prefix. |
Returns
| Type | Description |
| Void |
SetDomainName(String)
Declaration
Void SetDomainName(String domainName) Examples
NSCountry thing;
String domainName;
thing.SetDomainName(domainName);
Parameters
| Type | Name | Description |
| String | domainName | Domain name of the country. |
Returns
| Type | Description |
| Void |
SetDomesticAddressLayoutId(Integer)
Declaration
Void SetDomesticAddressLayoutId(Integer domesticAddressLayoutId) Examples
NSCountry thing;
Integer domesticAddressLayoutId;
thing.SetDomesticAddressLayoutId(domesticAddressLayoutId);
Parameters
| Type | Name | Description |
| Integer | domesticAddressLayoutId | Domestic address layout of the country. |
Returns
| Type | Description |
| Void |
SetEnglishName(String)
Declaration
Void SetEnglishName(String englishName) Examples
NSCountry thing;
String englishName;
thing.SetEnglishName(englishName);
Parameters
| Type | Name | Description |
| String | englishName | Name of country in English. |
Returns
| Type | Description |
| Void |
SetForeignAddressLayoutId(Integer)
Declaration
Void SetForeignAddressLayoutId(Integer foreignAddressLayoutId) Examples
NSCountry thing;
Integer foreignAddressLayoutId;
thing.SetForeignAddressLayoutId(foreignAddressLayoutId);
Parameters
| Type | Name | Description |
| Integer | foreignAddressLayoutId | Foreign address layout of the country. |
Returns
| Type | Description |
| Void |
SetImageDescription(String)
Declaration
Void SetImageDescription(String imageDescription) Examples
NSCountry thing;
String imageDescription;
thing.SetImageDescription(imageDescription);
Parameters
| Type | Name | Description |
| String | imageDescription | Description of the country's flag image. |
Returns
| Type | Description |
| Void |
SetInterAreaPrefix(String)
Declaration
Void SetInterAreaPrefix(String interAreaPrefix) Examples
NSCountry thing;
String interAreaPrefix;
thing.SetInterAreaPrefix(interAreaPrefix);
Parameters
| Type | Name | Description |
| String | interAreaPrefix | International prefix. |
Returns
| Type | Description |
| Void |
SetName(String)
Declaration
Void SetName(String name) Examples
NSCountry thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | Name of country in installed language. |
Returns
| Type | Description |
| Void |
SetOrgNrText(String)
Declaration
Void SetOrgNrText(String orgNrText) Examples
NSCountry thing;
String orgNrText;
thing.SetOrgNrText(orgNrText);
Parameters
| Type | Name | Description |
| String | orgNrText | Lead text for organization field. |
Returns
| Type | Description |
| Void |
SetRank(Integer)
Declaration
Void SetRank(Integer rank) Examples
NSCountry thing;
Integer rank;
thing.SetRank(rank);
Parameters
| Type | Name | Description |
| Integer | rank | The rank of the country. |
Returns
| Type | Description |
| Void |
SetThreeLetterISOCountry(String)
Declaration
Void SetThreeLetterISOCountry(String threeLetterISOCountry) Examples
NSCountry thing;
String threeLetterISOCountry;
thing.SetThreeLetterISOCountry(threeLetterISOCountry);
Parameters
| Type | Name | Description |
| String | threeLetterISOCountry | Three-letter country-code according to ISO3166 |
Returns
| Type | Description |
| Void |
SetTooltip(String)
Declaration
Void SetTooltip(String tooltip) Examples
NSCountry thing;
String tooltip;
thing.SetTooltip(tooltip);
Parameters
| Type | Name | Description |
| String | tooltip | The tooltip of the country. |
Returns
| Type | Description |
| Void |
SetTwoLetterISOCountry(String)
Declaration
Void SetTwoLetterISOCountry(String twoLetterISOCountry) Examples
NSCountry thing;
String twoLetterISOCountry;
thing.SetTwoLetterISOCountry(twoLetterISOCountry);
Parameters
| Type | Name | Description |
| String | twoLetterISOCountry | Two-letter country-code according to ISO3166 |
Returns
| Type | Description |
| Void |