Class Country
Carrier object for Country. Services for the Country Carrier is available from the IListAgent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Country : Carrier
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
Constructors
Country()
Default constructor
Declaration
public Country()
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
Properties
AddressLayoutId
Address layout of the country
Declaration
public virtual int AddressLayoutId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
CountryId
Primary key
Declaration
public virtual int CountryId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
CurrencyId
Default currency for this country
Declaration
public virtual int CurrencyId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
Deleted
true if the country is deleted
Declaration
public virtual bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
DialInPrefix
Dial in prefix
Declaration
public virtual string DialInPrefix { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
DomainName
Domain name of the country
Declaration
public virtual string DomainName { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
DomesticAddressLayoutId
Domestic address layout of the country
Declaration
public virtual int DomesticAddressLayoutId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
EnglishName
Name of country in english
Declaration
public virtual string EnglishName { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
ForeignAddressLayoutId
Foreign address layout of the country
Declaration
public virtual int ForeignAddressLayoutId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
ImageDescription
Description of the country's flag image. (This is the country flag that is displayed in the CRM client)
Declaration
public virtual string ImageDescription { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
InterAreaPrefix
International prefix
Declaration
public virtual string InterAreaPrefix { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
Name
Name of country in installed language
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
OrgNrText
Lead text for organisation field
Declaration
public virtual string OrgNrText { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
Rank
The rank of the country
Declaration
public virtual short Rank { get; set; }
Property Value
Type | Description |
---|---|
Int16 |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
ThreeLetterISOCountry
Three-letter country-code according to ISO3166
Declaration
public virtual string ThreeLetterISOCountry { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
Tooltip
The tooltip of the country
Declaration
public virtual string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
TwoLetterISOCountry
Two-letter country-code according to ISO3166
Declaration
public virtual string TwoLetterISOCountry { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
ZipPrefix
Post prefix
Declaration
public virtual string ZipPrefix { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |
Examples
Get Country 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var country = agent.GetCountry( 123 );
}