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.

Declaration
NSConsentInfo

Methods

GetComment()

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

Declaration
String GetComment()
Returns
Type Description
String

Comment regarding this specific consent.

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

GetConsentPersonId()

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

Declaration
Integer GetConsentPersonId()
Returns
Type Description
Integer

Primary key.

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

GetConsentPurposeId()

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

Declaration
Integer GetConsentPurposeId()
Returns
Type Description
Integer

Primary key for the NSConsentPurpose associated with this consent.

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

GetConsentPurposeKey()

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

Declaration
String GetConsentPurposeKey()
Returns
Type Description
String

Key of the NSConsentPurpose associated with this consent.

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

GetConsentPurposeName()

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

Declaration
String GetConsentPurposeName()
Returns
Type Description
String

Name of the NSConsentPurpose associated with this consent.

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

GetConsentSourceId()

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

Declaration
Integer GetConsentSourceId()
Returns
Type Description
Integer

Primary key for the NSConsentSource associated with this consent.

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

GetConsentSourceKey()

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

Declaration
String GetConsentSourceKey()
Returns
Type Description
String

Key of the NSConsentSource associated with this consent.

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

GetConsentSourceName()

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

Declaration
String GetConsentSourceName()
Returns
Type Description
String

Name of the NSConsentSource associated with this consent.

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

GetLegalBaseId()

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

Declaration
Integer GetLegalBaseId()
Returns
Type Description
Integer

Primary key for the NSLegalBase associated with this consent.

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

GetLegalBaseKey()

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

Declaration
String GetLegalBaseKey()
Returns
Type Description
String

Key for the NSLegalBase associated with this consent.

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

GetLegalBaseName()

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

Declaration
String GetLegalBaseName()
Returns
Type Description
String

Name of the NSLegalBase associated with this consent.

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

GetRegistered()

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

Declaration
DateTime GetRegistered()
Returns
Type Description
DateTime

When this consent record was created.

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

GetRegisteredAssociateId()

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

Declaration
Integer GetRegisteredAssociateId()
Returns
Type Description
Integer

The ID of the associate who created this record.

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

GetUpdated()

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

Declaration
DateTime GetUpdated()
Returns
Type Description
DateTime

When this consent record was last updated.

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

GetUpdatedAssociateId()

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

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

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);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top