Show / Hide Table of Contents

Class ConsentPerson

Carrier object for ConsentPerson. Services for the ConsentPerson Carrier is available from the Person Agent.

Inheritance
object
ConsentPerson
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
IPersonAgent

Properties

Comment

Comment regarding this specific consent

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

ConsentPersonId

ConsentPerson ID

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

ConsentPurpose

The consent purpose

Declaration
[DataMember]
public virtual ConsentPurpose ConsentPurpose { get; set; }
Property Value
Type Description
ConsentPurpose
See Also
IPersonAgent

ConsentSource

The consent source

Declaration
[DataMember]
public virtual ConsentSource ConsentSource { get; set; }
Property Value
Type Description
ConsentSource
See Also
IPersonAgent

LegalBase

The legal base

Declaration
[DataMember]
public virtual LegalBase LegalBase { get; set; }
Property Value
Type Description
LegalBase
See Also
IPersonAgent

PersonId

Person ID

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

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IPersonAgent

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
IPersonAgent

See Also

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