Show / Hide Table of Contents

Class Country

Carrier object for Country. Services for the Country Carrier is available from the List Agent.

Inheritance
object
Country
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
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()
See Also
IListAgent

Properties

AddressLayoutId

Address layout of the country

Declaration
[DataMember]
public virtual int AddressLayoutId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

CountryId

Primary key

Declaration
[DataMember]
public virtual int CountryId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

CurrencyId

Default currency for this country

Declaration
[DataMember]
public virtual int CurrencyId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

Deleted

true if the country is deleted

Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

DialInPrefix

Dial in prefix

Declaration
[DataMember]
public virtual string DialInPrefix { get; set; }
Property Value
Type Description
string
See Also
IListAgent

DomainName

Domain name of the country

Declaration
[DataMember]
public virtual string DomainName { get; set; }
Property Value
Type Description
string
See Also
IListAgent

DomesticAddressLayoutId

Domestic address layout of the country

Declaration
[DataMember]
public virtual int DomesticAddressLayoutId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

EnglishName

Name of country in english

Declaration
[DataMember]
public virtual string EnglishName { get; set; }
Property Value
Type Description
string
See Also
IListAgent

ForeignAddressLayoutId

Foreign address layout of the country

Declaration
[DataMember]
public virtual int ForeignAddressLayoutId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

ImageDescription

Description of the country's flag image. (This is the country flag that is displayed in the CRM client)

Declaration
[DataMember]
public virtual string ImageDescription { get; set; }
Property Value
Type Description
string
See Also
IListAgent

InterAreaPrefix

International prefix

Declaration
[DataMember]
public virtual string InterAreaPrefix { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Name

Name of country in installed language

Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type Description
string
See Also
IListAgent

OrgNrText

Lead text for organisation field

Declaration
[DataMember]
public virtual string OrgNrText { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Rank

The rank of the country

Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type Description
short
See Also
IListAgent

ThreeLetterISOCountry

Three-letter country-code according to ISO3166

Declaration
[DataMember]
public virtual string ThreeLetterISOCountry { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Tooltip

The tooltip of the country

Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type Description
string
See Also
IListAgent

TwoLetterISOCountry

Two-letter country-code according to ISO3166

Declaration
[DataMember]
public virtual string TwoLetterISOCountry { get; set; }
Property Value
Type Description
string
See Also
IListAgent

ZipPrefix

Post prefix

Declaration
[DataMember]
public virtual string ZipPrefix { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IListAgent

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.

See Also
IListAgent

See Also

IListAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top