Class ConsentInfo
Consent information for a give person. Consents are for a particular Purpose, and may be withdrawn (see LegalBase).
Carrier object for ConsentInfo. Services for the ConsentInfo Carrier is available from the IPersonAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class ConsentInfo : Carrier
Constructors
ConsentInfo()
Default constructor
Declaration
public ConsentInfo()
See Also
Properties
Comment
Comment regarding this specific consent
Declaration
public virtual string Comment { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ConsentPersonId
Primary key
Declaration
public virtual int ConsentPersonId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ConsentPurposeId
Primary key for the ConsentPurpose associated with this consent
Declaration
public virtual int ConsentPurposeId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ConsentPurposeKey
Key of the ConsentPurpose associated with this consent
Declaration
public virtual string ConsentPurposeKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ConsentPurposeName
Name of the ConsentPurpose associated with this consent
Declaration
public virtual string ConsentPurposeName { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ConsentSourceId
Primary key for the ConsentSource associated with this consent
Declaration
public virtual int ConsentSourceId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ConsentSourceKey
Key of the ConsentSource associated with this consent
Declaration
public virtual string ConsentSourceKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
ConsentSourceName
Name of the ConsentSource associated with this consent
Declaration
public virtual string ConsentSourceName { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
LegalBaseId
Primary key for the LegalBase associated with this consent
Declaration
public virtual int LegalBaseId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
LegalBaseKey
Key for the LegalBase associated with this consent
Declaration
public virtual string LegalBaseKey { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
LegalBaseName
Name of the LegalBase associated with this consent
Declaration
public virtual string LegalBaseName { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Registered
When this consent record was created in UTC.
Declaration
public virtual DateTime Registered { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
RegisteredAssociateId
The ID of the associate who created this record
Declaration
public virtual int RegisteredAssociateId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Updated
When this consent record was last updated in UTC.
Declaration
public virtual DateTime Updated { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
UpdatedAssociateId
The ID of the associate who last updated this record
Declaration
public virtual int UpdatedAssociateId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
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. |