Show / Hide Table of Contents

Class NSConsentInfo

Consent information for a give person. Consents are for a particular Purpose, and may be withdrawn (see LegalBase).

Syntax

Constructors

NSConsentInfo()

Initializes a new instance of the NSConsentInfo class.

Introduced or updated in version: 8.2

Declaration
NSConsentInfo

Methods

GetComment()

Introduced or updated in version: 8.2

Declaration
String GetComment()
Returns
Type Description
String

Comment regarding this specific consent.

Examples
NSConsentInfo thing;
String comment = thing.GetComment();

GetConsentPersonId()

Introduced or updated in version: 8.2

Declaration
Integer GetConsentPersonId()
Returns
Type Description
Integer

Primary key.

Examples
NSConsentInfo thing;
Integer consentPersonId = thing.GetConsentPersonId();

GetConsentPurposeId()

Introduced or updated in version: 8.2

Declaration
Integer GetConsentPurposeId()
Returns
Type Description
Integer

Primary key for the NSConsentPurpose associated with this consent.

Examples
NSConsentInfo thing;
Integer consentPurposeId = thing.GetConsentPurposeId();

GetConsentPurposeKey()

Introduced or updated in version: 8.2

Declaration
String GetConsentPurposeKey()
Returns
Type Description
String

Key of the NSConsentPurpose associated with this consent.

Examples
NSConsentInfo thing;
String consentPurposeKey = thing.GetConsentPurposeKey();

GetConsentPurposeName()

Introduced or updated in version: 8.2

Declaration
String GetConsentPurposeName()
Returns
Type Description
String

Name of the NSConsentPurpose associated with this consent.

Examples
NSConsentInfo thing;
String consentPurposeName = thing.GetConsentPurposeName();

GetConsentSourceId()

Introduced or updated in version: 8.2

Declaration
Integer GetConsentSourceId()
Returns
Type Description
Integer

Primary key for the NSConsentSource associated with this consent.

Examples
NSConsentInfo thing;
Integer consentSourceId = thing.GetConsentSourceId();

GetConsentSourceKey()

Introduced or updated in version: 8.2

Declaration
String GetConsentSourceKey()
Returns
Type Description
String

Key of the NSConsentSource associated with this consent.

Examples
NSConsentInfo thing;
String consentSourceKey = thing.GetConsentSourceKey();

GetConsentSourceName()

Introduced or updated in version: 8.2

Declaration
String GetConsentSourceName()
Returns
Type Description
String

Name of the NSConsentSource associated with this consent.

Examples
NSConsentInfo thing;
String consentSourceName = thing.GetConsentSourceName();

GetLegalBaseId()

Introduced or updated in version: 8.2

Declaration
Integer GetLegalBaseId()
Returns
Type Description
Integer

Primary key for the NSLegalBase associated with this consent.

Examples
NSConsentInfo thing;
Integer legalBaseId = thing.GetLegalBaseId();

GetLegalBaseKey()

Introduced or updated in version: 8.2

Declaration
String GetLegalBaseKey()
Returns
Type Description
String

Key for the NSLegalBase associated with this consent.

Examples
NSConsentInfo thing;
String legalBaseKey = thing.GetLegalBaseKey();

GetLegalBaseName()

Introduced or updated in version: 8.2

Declaration
String GetLegalBaseName()
Returns
Type Description
String

Name of the NSLegalBase associated with this consent.

Examples
NSConsentInfo thing;
String legalBaseName = thing.GetLegalBaseName();

GetRegistered()

Introduced or updated in version: 8.2

Declaration
DateTime GetRegistered()
Returns
Type Description
DateTime

When this consent record was created.

Examples
NSConsentInfo thing;
DateTime registered = thing.GetRegistered();

GetRegisteredAssociateId()

Introduced or updated in version: 8.2

Declaration
Integer GetRegisteredAssociateId()
Returns
Type Description
Integer

The ID of the associate who created this record.

Examples
NSConsentInfo thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();

GetUpdated()

Introduced or updated in version: 8.2

Declaration
DateTime GetUpdated()
Returns
Type Description
DateTime

When this consent record was last updated.

Examples
NSConsentInfo thing;
DateTime updated = thing.GetUpdated();

GetUpdatedAssociateId()

Introduced or updated in version: 8.2

Declaration
Integer GetUpdatedAssociateId()
Returns
Type Description
Integer

The ID of the associate who last updated this record.

Examples
NSConsentInfo thing;
Integer updatedAssociateId = thing.GetUpdatedAssociateId();

SetComment(String)

Introduced or updated in version: 8.2

Declaration
Void SetComment(String comment)
Parameters
Type Name Description
String comment

Comment regarding this specific consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
String comment;
thing.SetComment(comment);

SetConsentPersonId(Integer)

Introduced or updated in version: 8.2

Declaration
Void SetConsentPersonId(Integer consentPersonId)
Parameters
Type Name Description
Integer consentPersonId

Primary key.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
Integer consentPersonId;
thing.SetConsentPersonId(consentPersonId);

SetConsentPurposeId(Integer)

Introduced or updated in version: 8.2

Declaration
Void SetConsentPurposeId(Integer consentPurposeId)
Parameters
Type Name Description
Integer consentPurposeId

Primary key for the NSConsentPurpose associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
Integer consentPurposeId;
thing.SetConsentPurposeId(consentPurposeId);

SetConsentPurposeKey(String)

Introduced or updated in version: 8.2

Declaration
Void SetConsentPurposeKey(String consentPurposeKey)
Parameters
Type Name Description
String consentPurposeKey

Key of the NSConsentPurpose associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
String consentPurposeKey;
thing.SetConsentPurposeKey(consentPurposeKey);

SetConsentPurposeName(String)

Introduced or updated in version: 8.2

Declaration
Void SetConsentPurposeName(String consentPurposeName)
Parameters
Type Name Description
String consentPurposeName

Name of the NSConsentPurpose associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
String consentPurposeName;
thing.SetConsentPurposeName(consentPurposeName);

SetConsentSourceId(Integer)

Introduced or updated in version: 8.2

Declaration
Void SetConsentSourceId(Integer consentSourceId)
Parameters
Type Name Description
Integer consentSourceId

Primary key for the NSConsentSource associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
Integer consentSourceId;
thing.SetConsentSourceId(consentSourceId);

SetConsentSourceKey(String)

Introduced or updated in version: 8.2

Declaration
Void SetConsentSourceKey(String consentSourceKey)
Parameters
Type Name Description
String consentSourceKey

Key of the NSConsentSource associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
String consentSourceKey;
thing.SetConsentSourceKey(consentSourceKey);

SetConsentSourceName(String)

Introduced or updated in version: 8.2

Declaration
Void SetConsentSourceName(String consentSourceName)
Parameters
Type Name Description
String consentSourceName

Name of the NSConsentSource associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
String consentSourceName;
thing.SetConsentSourceName(consentSourceName);

SetLegalBaseId(Integer)

Introduced or updated in version: 8.2

Declaration
Void SetLegalBaseId(Integer legalBaseId)
Parameters
Type Name Description
Integer legalBaseId

Primary key for the NSLegalBase associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
Integer legalBaseId;
thing.SetLegalBaseId(legalBaseId);

SetLegalBaseKey(String)

Introduced or updated in version: 8.2

Declaration
Void SetLegalBaseKey(String legalBaseKey)
Parameters
Type Name Description
String legalBaseKey

Key for the NSLegalBase associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
String legalBaseKey;
thing.SetLegalBaseKey(legalBaseKey);

SetLegalBaseName(String)

Introduced or updated in version: 8.2

Declaration
Void SetLegalBaseName(String legalBaseName)
Parameters
Type Name Description
String legalBaseName

Name of the NSLegalBase associated with this consent.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
String legalBaseName;
thing.SetLegalBaseName(legalBaseName);

SetRegistered(DateTime)

Introduced or updated in version: 8.2

Declaration
Void SetRegistered(DateTime registered)
Parameters
Type Name Description
DateTime registered

When this consent record was created.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
DateTime registered;
thing.SetRegistered(registered);

SetRegisteredAssociateId(Integer)

Introduced or updated in version: 8.2

Declaration
Void SetRegisteredAssociateId(Integer registeredAssociateId)
Parameters
Type Name Description
Integer registeredAssociateId

The ID of the associate who created this record.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
Integer registeredAssociateId;
thing.SetRegisteredAssociateId(registeredAssociateId);

SetUpdated(DateTime)

Introduced or updated in version: 8.2

Declaration
Void SetUpdated(DateTime updated)
Parameters
Type Name Description
DateTime updated

When this consent record was last updated.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
DateTime updated;
thing.SetUpdated(updated);

SetUpdatedAssociateId(Integer)

Introduced or updated in version: 8.2

Declaration
Void SetUpdatedAssociateId(Integer updatedAssociateId)
Parameters
Type Name Description
Integer updatedAssociateId

The ID of the associate who last updated this record.

Returns
Type Description
Void
Examples
NSConsentInfo thing;
Integer updatedAssociateId;
thing.SetUpdatedAssociateId(updatedAssociateId);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top