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 |
---|---|
int |
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 |
---|---|
int |
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 |
---|---|
int |
Fax
Fax
Declaration
string Fax { get; }
Property Value
Type | Description |
---|---|
string |
FaxId
Fax id
Declaration
int FaxId { get; }
Property Value
Type | Description |
---|---|
int |
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 |
---|---|
int |
PostCode
Postcode including country prefix (e.g. N-0163 for a postcode in Norway)
Declaration
string PostCode { get; }
Property Value
Type | Description |
---|---|
string |
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 |
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 |
---|---|
int |
Methods
GetInternationalAddress(int)
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 |
---|---|---|
int | lineNo |
Returns
Type | Description |
---|---|
string |
GetUserDefinedDecimal(int)
Get user-defined field 1-10 of the decimal (.NET double) number type.
Declaration
string GetUserDefinedDecimal(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
int | 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(int)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
string GetUserDefinedInt(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
int | 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 |
---|---|
int | int value of field, or MINVALUE if field not found |
GetUserDefinedString(int)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
string GetUserDefinedString(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
int | 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 |