Show / Hide Table of Contents

Class NSCountry

Carrier object for Country.

Syntax

Constructors

NSCountry()

Initializes a new instance of the NSCountry class.

Declaration
NSCountry

Methods

GetAddressLayoutId()

Carrier object for Country.

Declaration
Integer GetAddressLayoutId()
Returns
Type Description
Integer

Address layout of the country.

Examples
NSCountry thing;
Integer addressLayoutId = thing.GetAddressLayoutId();

GetCountryId()

Carrier object for Country.

Declaration
Integer GetCountryId()
Returns
Type Description
Integer

Primary key.

Examples
NSCountry thing;
Integer countryId = thing.GetCountryId();

GetCurrencyId()

Carrier object for Country.

Declaration
Integer GetCurrencyId()
Returns
Type Description
Integer

Default currency for this country.

Examples
NSCountry thing;
Integer currencyId = thing.GetCurrencyId();

GetDeleted()

Carrier object for Country.

Declaration
Bool GetDeleted()
Returns
Type Description
Bool

true if the country is deleted.

Examples
NSCountry thing;
Bool deleted = thing.GetDeleted();

GetDialInPrefix()

Carrier object for Country.

Declaration
String GetDialInPrefix()
Returns
Type Description
String

Dial in prefix.

Examples
NSCountry thing;
String dialInPrefix = thing.GetDialInPrefix();

GetDomainName()

Carrier object for Country.

Declaration
String GetDomainName()
Returns
Type Description
String

Domain name of the country.

Examples
NSCountry thing;
String domainName = thing.GetDomainName();

GetDomesticAddressLayoutId()

Carrier object for Country.

Declaration
Integer GetDomesticAddressLayoutId()
Returns
Type Description
Integer

Domestic address layout of the country.

Examples
NSCountry thing;
Integer domesticAddressLayoutId = thing.GetDomesticAddressLayoutId();

GetEnglishName()

Carrier object for Country.

Declaration
String GetEnglishName()
Returns
Type Description
String

Name of country in English.

Examples
NSCountry thing;
String englishName = thing.GetEnglishName();

GetForeignAddressLayoutId()

Carrier object for Country.

Declaration
Integer GetForeignAddressLayoutId()
Returns
Type Description
Integer

Foreign address layout of the country.

Examples
NSCountry thing;
Integer foreignAddressLayoutId = thing.GetForeignAddressLayoutId();

GetImageDescription()

Carrier object for Country.

Declaration
String GetImageDescription()
Returns
Type Description
String

Description of the country's flag image.

Remarks

This is the country flag that is displayed in the CRM client

Examples
NSCountry thing;
String imageDescription = thing.GetImageDescription();

GetInterAreaPrefix()

Carrier object for Country.

Declaration
String GetInterAreaPrefix()
Returns
Type Description
String

International prefix.

Examples
NSCountry thing;
String interAreaPrefix = thing.GetInterAreaPrefix();

GetName()

Carrier object for Country.

Declaration
String GetName()
Returns
Type Description
String

Name of country in installed language.

Examples
NSCountry thing;
String name = thing.GetName();

GetOrgNrText()

Carrier object for Country.

Declaration
String GetOrgNrText()
Returns
Type Description
String

Lead text for organization field.

Examples
NSCountry thing;
String orgNrText = thing.GetOrgNrText();

GetRank()

Carrier object for Country.

Declaration
Integer GetRank()
Returns
Type Description
Integer

The rank of the country.

Examples
NSCountry thing;
Integer rank = thing.GetRank();

GetThreeLetterISOCountry()

Carrier object for Country.

Declaration
String GetThreeLetterISOCountry()
Returns
Type Description
String

Three-letter country-code according to ISO3166

Examples
NSCountry thing;
String threeLetterISOCountry = thing.GetThreeLetterISOCountry();

GetTooltip()

Carrier object for Country.

Declaration
String GetTooltip()
Returns
Type Description
String

The tooltip of the country.

Examples
NSCountry thing;
String tooltip = thing.GetTooltip();

GetTwoLetterISOCountry()

Carrier object for Country.

Declaration
String GetTwoLetterISOCountry()
Returns
Type Description
String

Two-letter country-code according to ISO3166

Examples
NSCountry thing;
String twoLetterISOCountry = thing.GetTwoLetterISOCountry();

GetZipPrefix()

Carrier object for Country.

Declaration
String GetZipPrefix()
Returns
Type Description
String

Post prefix.

Examples
NSCountry thing;
String zipPrefix = thing.GetZipPrefix();

SetAddressLayoutId(Integer)

Carrier object for Country.

Declaration
Void SetAddressLayoutId(Integer addressLayoutId)
Parameters
Type Name Description
Integer addressLayoutId

Address layout of the country.

Returns
Type Description
Void
Examples
NSCountry thing;
Integer addressLayoutId;
thing.SetAddressLayoutId(addressLayoutId);

SetCountryId(Integer)

Carrier object for Country.

Declaration
Void SetCountryId(Integer countryId)
Parameters
Type Name Description
Integer countryId

Primary key.

Returns
Type Description
Void
Examples
NSCountry thing;
Integer countryId;
thing.SetCountryId(countryId);

SetCurrencyId(Integer)

Carrier object for Country.

Declaration
Void SetCurrencyId(Integer currencyId)
Parameters
Type Name Description
Integer currencyId

Default currency for this country.

Returns
Type Description
Void
Examples
NSCountry thing;
Integer currencyId;
thing.SetCurrencyId(currencyId);

SetDeleted(Bool)

Carrier object for Country.

Declaration
Void SetDeleted(Bool deleted)
Parameters
Type Name Description
Bool deleted

true if the country is deleted.

Returns
Type Description
Void
Examples
NSCountry thing;
Bool deleted;
thing.SetDeleted(deleted);

SetDialInPrefix(String)

Carrier object for Country.

Declaration
Void SetDialInPrefix(String dialInPrefix)
Parameters
Type Name Description
String dialInPrefix

Dial in prefix.

Returns
Type Description
Void
Examples
NSCountry thing;
String dialInPrefix;
thing.SetDialInPrefix(dialInPrefix);

SetDomainName(String)

Carrier object for Country.

Declaration
Void SetDomainName(String domainName)
Parameters
Type Name Description
String domainName

Domain name of the country.

Returns
Type Description
Void
Examples
NSCountry thing;
String domainName;
thing.SetDomainName(domainName);

SetDomesticAddressLayoutId(Integer)

Carrier object for Country.

Declaration
Void SetDomesticAddressLayoutId(Integer domesticAddressLayoutId)
Parameters
Type Name Description
Integer domesticAddressLayoutId

Domestic address layout of the country.

Returns
Type Description
Void
Examples
NSCountry thing;
Integer domesticAddressLayoutId;
thing.SetDomesticAddressLayoutId(domesticAddressLayoutId);

SetEnglishName(String)

Carrier object for Country.

Declaration
Void SetEnglishName(String englishName)
Parameters
Type Name Description
String englishName

Name of country in English.

Returns
Type Description
Void
Examples
NSCountry thing;
String englishName;
thing.SetEnglishName(englishName);

SetForeignAddressLayoutId(Integer)

Carrier object for Country.

Declaration
Void SetForeignAddressLayoutId(Integer foreignAddressLayoutId)
Parameters
Type Name Description
Integer foreignAddressLayoutId

Foreign address layout of the country.

Returns
Type Description
Void
Examples
NSCountry thing;
Integer foreignAddressLayoutId;
thing.SetForeignAddressLayoutId(foreignAddressLayoutId);

SetImageDescription(String)

Carrier object for Country.

Declaration
Void SetImageDescription(String imageDescription)
Parameters
Type Name Description
String imageDescription

Description of the country's flag image.

Returns
Type Description
Void
Remarks

This is the country flag that is displayed in the CRM client

Examples
NSCountry thing;
String imageDescription;
thing.SetImageDescription(imageDescription);

SetInterAreaPrefix(String)

Carrier object for Country.

Declaration
Void SetInterAreaPrefix(String interAreaPrefix)
Parameters
Type Name Description
String interAreaPrefix

International prefix.

Returns
Type Description
Void
Examples
NSCountry thing;
String interAreaPrefix;
thing.SetInterAreaPrefix(interAreaPrefix);

SetName(String)

Carrier object for Country.

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

Name of country in installed language.

Returns
Type Description
Void
Examples
NSCountry thing;
String name;
thing.SetName(name);

SetOrgNrText(String)

Carrier object for Country.

Declaration
Void SetOrgNrText(String orgNrText)
Parameters
Type Name Description
String orgNrText

Lead text for organization field.

Returns
Type Description
Void
Examples
NSCountry thing;
String orgNrText;
thing.SetOrgNrText(orgNrText);

SetRank(Integer)

Carrier object for Country.

Declaration
Void SetRank(Integer rank)
Parameters
Type Name Description
Integer rank

The rank of the country.

Returns
Type Description
Void
Examples
NSCountry thing;
Integer rank;
thing.SetRank(rank);

SetThreeLetterISOCountry(String)

Carrier object for Country.

Declaration
Void SetThreeLetterISOCountry(String threeLetterISOCountry)
Parameters
Type Name Description
String threeLetterISOCountry

Three-letter country-code according to ISO3166

Returns
Type Description
Void
Examples
NSCountry thing;
String threeLetterISOCountry;
thing.SetThreeLetterISOCountry(threeLetterISOCountry);

SetTooltip(String)

Carrier object for Country.

Declaration
Void SetTooltip(String tooltip)
Parameters
Type Name Description
String tooltip

The tooltip of the country.

Returns
Type Description
Void
Examples
NSCountry thing;
String tooltip;
thing.SetTooltip(tooltip);

SetTwoLetterISOCountry(String)

Carrier object for Country.

Declaration
Void SetTwoLetterISOCountry(String twoLetterISOCountry)
Parameters
Type Name Description
String twoLetterISOCountry

Two-letter country-code according to ISO3166

Returns
Type Description
Void
Examples
NSCountry thing;
String twoLetterISOCountry;
thing.SetTwoLetterISOCountry(twoLetterISOCountry);

SetZipPrefix(String)

Carrier object for Country.

Declaration
Void SetZipPrefix(String zipPrefix)
Parameters
Type Name Description
String zipPrefix

Post prefix.

Returns
Type Description
Void
Examples
NSCountry thing;
String zipPrefix;
thing.SetZipPrefix(zipPrefix);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top