Class ConsentPerson
Carrier object for ConsentPerson. Services for the ConsentPerson Carrier is available from the Person Agent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class ConsentPerson : Carrier
Examples
Get ConsentPerson 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new PersonAgent();
var consentPerson = agent.GetConsentPerson( 123 );
}
Constructors
ConsentPerson()
Default constructor
Declaration
public ConsentPerson()
See Also
Properties
Comment
Comment regarding this specific consent
Declaration
[DataMember]
public virtual string Comment { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
ConsentPersonId
ConsentPerson ID
Declaration
[DataMember]
public virtual int ConsentPersonId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
ConsentPurpose
The consent purpose
Declaration
[DataMember]
public virtual ConsentPurpose ConsentPurpose { get; set; }
Property Value
Type | Description |
---|---|
ConsentPurpose |
See Also
ConsentSource
The consent source
Declaration
[DataMember]
public virtual ConsentSource ConsentSource { get; set; }
Property Value
Type | Description |
---|---|
ConsentSource |
See Also
LegalBase
The legal base
Declaration
[DataMember]
public virtual LegalBase LegalBase { get; set; }
Property Value
Type | Description |
---|---|
LegalBase |
See Also
PersonId
Person ID
Declaration
[DataMember]
public virtual int PersonId { get; set; }
Property Value
Type | Description |
---|---|
int |
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. |