Class Country
Carrier object for Country. Services for the Country Carrier is available from the List Agent.
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
Properties
AddressLayoutId
Address layout of the country
Declaration
[DataMember]
public virtual int AddressLayoutId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
CountryId
Primary key
Declaration
[DataMember]
public virtual int CountryId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
CurrencyId
Default currency for this country
Declaration
[DataMember]
public virtual int CurrencyId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Deleted
true if the country is deleted
Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
DialInPrefix
Dial in prefix
Declaration
[DataMember]
public virtual string DialInPrefix { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
DomainName
Domain name of the country
Declaration
[DataMember]
public virtual string DomainName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
DomesticAddressLayoutId
Domestic address layout of the country
Declaration
[DataMember]
public virtual int DomesticAddressLayoutId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
EnglishName
Name of country in english
Declaration
[DataMember]
public virtual string EnglishName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
ForeignAddressLayoutId
Foreign address layout of the country
Declaration
[DataMember]
public virtual int ForeignAddressLayoutId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
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
InterAreaPrefix
International prefix
Declaration
[DataMember]
public virtual string InterAreaPrefix { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Name
Name of country in installed language
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
OrgNrText
Lead text for organisation field
Declaration
[DataMember]
public virtual string OrgNrText { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Rank
The rank of the country
Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type | Description |
---|---|
short |
See Also
ThreeLetterISOCountry
Three-letter country-code according to ISO3166
Declaration
[DataMember]
public virtual string ThreeLetterISOCountry { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Tooltip
The tooltip of the country
Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
TwoLetterISOCountry
Two-letter country-code according to ISO3166
Declaration
[DataMember]
public virtual string TwoLetterISOCountry { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
ZipPrefix
Post prefix
Declaration
[DataMember]
public virtual string ZipPrefix { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
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. |