Interface IContactInfo
Interface providing information about a contact
Namespace: SuperOffice.CRM
Assembly: SuperOffice.Plugins.dll
Syntax
public interface IContactInfo
Properties
AddressLine1
Postal address line 1. If this is empty, street address line 1
Declaration
string AddressLine1 { get; }
Property Value
Type | Description |
---|---|
String |
Business
Business
Declaration
string Business { get; }
Property Value
Type | Description |
---|---|
String |
Category
Category
Declaration
string Category { get; }
Property Value
Type | Description |
---|---|
String |
Code
Code
Declaration
string Code { get; }
Property Value
Type | Description |
---|---|
String |
ContactId
Primary key of the contact
Declaration
int ContactId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Country
Country
Declaration
string Country { get; }
Property Value
Type | Description |
---|---|
String |
Country2
Country if different from the sender's country
Declaration
string Country2 { get; }
Property Value
Type | Description |
---|---|
String |
CountryCode
Country code
Declaration
string CountryCode { get; }
Property Value
Type | Description |
---|---|
String |
CountryEnglish
English name of country
Declaration
string CountryEnglish { get; }
Property Value
Type | Description |
---|---|
String |
CountryId
Country ID from database
Declaration
int CountryId { get; }
Property Value
Type | Description |
---|---|
Int32 |
County
County
Declaration
string County { get; }
Property Value
Type | Description |
---|---|
String |
CountyZipUK
County and postcode (for UK addresses)
Declaration
string CountyZipUK { get; }
Property Value
Type | Description |
---|---|
String |
Department
Department
Declaration
string Department { get; }
Property Value
Type | Description |
---|---|
String |
Primary e-mail address.
Declaration
string EMail { get; }
Property Value
Type | Description |
---|---|
String |
EMailId
Primary e-mail address id.
Declaration
int EMailId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Fax
Fax
Declaration
string Fax { get; }
Property Value
Type | Description |
---|---|
String |
FaxId
Fax id
Declaration
int FaxId { get; }
Property Value
Type | Description |
---|---|
Int32 |
FaxStripped
Fax. Any non digit characters are stripped.
Declaration
string FaxStripped { get; }
Property Value
Type | Description |
---|---|
String |
LineFeedAustraliaUK
Line feed for Australian and UK treatment of counties and postcodes
Declaration
string LineFeedAustraliaUK { get; }
Property Value
Type | Description |
---|---|
String |
LineFeedGermany
Line feed for internal post in Germany
Declaration
string LineFeedGermany { get; }
Property Value
Type | Description |
---|---|
String |
Name
Company name
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
Number
Number
Declaration
string Number { get; }
Property Value
Type | Description |
---|---|
String |
OrganisationNumber
Organisation number
Declaration
string OrganisationNumber { get; }
Property Value
Type | Description |
---|---|
String |
OurContact
Our contact
Declaration
string OurContact { get; }
Property Value
Type | Description |
---|---|
String |
Phone
Phone
Declaration
string Phone { get; }
Property Value
Type | Description |
---|---|
String |
PhoneId
Phone Id
Declaration
int PhoneId { get; }
Property Value
Type | Description |
---|---|
Int32 |
PostalAddressCity
Postal town
Declaration
string PostalAddressCity { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressCityFull
Postal town, state/province and zipcode (for American, Canadian and Australian addresses, e.g. Bedford, MA 01730)
Declaration
string PostalAddressCityFull { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressCounty
County (for UK addresses)
Declaration
string PostalAddressCounty { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressLine1
Postal Address, line 1
Declaration
string PostalAddressLine1 { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressLine1And3
First address line, including Mail Stop (for American addresses).
Declaration
string PostalAddressLine1And3 { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressLine2
Postal Address, line 2
Declaration
string PostalAddressLine2 { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressLine3
Postal Address, line 3
Declaration
string PostalAddressLine3 { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressPrefix
Postcode prefix
Declaration
string PostalAddressPrefix { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressState
State/province (for American, Canadian and Australian addresses). (See also aucs.)
Declaration
string PostalAddressState { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressZip
Postcode. (See also aucs.)
Declaration
string PostalAddressZip { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressZipCity
Postcode and postal town (e.g. 0572 OSLO)
Declaration
string PostalAddressZipCity { get; }
Property Value
Type | Description |
---|---|
String |
PostCode
Postcode including country prefix (e.g. N-0163 for a postcode in Norway)
Declaration
string PostCode { get; }
Property Value
Type | Description |
---|---|
String |
StreetAddressCity
Street town
Declaration
string StreetAddressCity { get; }
Property Value
Type | Description |
---|---|
String |
StreetAddressCityFull
Streetaddress town, state/province and zipcode (for American, Canadian and Australian addresses, e.g. Bedford, MA 01730)
Declaration
string StreetAddressCityFull { get; }
Property Value
Type | Description |
---|---|
String |
StreetAddressLine1
Street Address, line 1
Declaration
string StreetAddressLine1 { get; }
Property Value
Type | Description |
---|---|
String |
StreetAddressLine2
Street Address, line 2
Declaration
string StreetAddressLine2 { get; }
Property Value
Type | Description |
---|---|
String |
StreetAddressLine3
Street Address, line 3
Declaration
string StreetAddressLine3 { get; }
Property Value
Type | Description |
---|---|
String |
StreetAddressState
State/province (for American, Canadian and Australian addresses). (See also aucs.)
Declaration
string StreetAddressState { get; }
Property Value
Type | Description |
---|---|
String |
StreetAddressZip
Postcode. (See also aucs.)
Declaration
string StreetAddressZip { get; }
Property Value
Type | Description |
---|---|
String |
StreetAddressZipGerman
Postcode for street address (for German addresses)
Declaration
string StreetAddressZipGerman { get; }
Property Value
Type | Description |
---|---|
String |
Web
Primary web address.
Declaration
string Web { get; }
Property Value
Type | Description |
---|---|
String |
WebId
Primary web address id
Declaration
int WebId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
GetInternationalAddress(Int32)
Get a line from the international address
Declaration
[Obsolete("FAD international addresses are handled through a separate system, see FadTags.cs", true)]
string GetInternationalAddress(int lineNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | lineNo |
Returns
Type | Description |
---|---|
String |
GetUserDefinedDecimal(Int32)
Get user-defined field 1-10 of the decimal (.NET double) number type.
Declaration
string GetUserDefinedDecimal(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-10). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedDecimal(String)
Get the decimal udef value based on the prog.id name of the udef field.
Declaration
double GetUserDefinedDecimal(string progId)
Parameters
Type | Name | Description |
---|---|---|
String | progId | Program name of udef field |
Returns
Type | Description |
---|---|
Double | double value of field, or NAN if field not found |
GetUserDefinedInt(Int32)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
string GetUserDefinedInt(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-60). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedInt(String)
Get the int udef value based on the prog.id name of the udef field.
Declaration
int GetUserDefinedInt(string progId)
Parameters
Type | Name | Description |
---|---|---|
String | progId | Program name of udef field |
Returns
Type | Description |
---|---|
Int32 | int value of field, or MINVALUE if field not found |
GetUserDefinedString(Int32)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
string GetUserDefinedString(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-49). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedString(String)
Get the string udef value based on the prog.id name of the udef field.
Declaration
string GetUserDefinedString(string progId)
Parameters
Type | Name | Description |
---|---|---|
String | progId | Program name of udef field |
Returns
Type | Description |
---|---|
String | string value of field, or NULL if field not found |