Skip to main content
Carrier object for ConsentPurpose.

Constructors

NSConsentPurpose()

Initializes a new instance of the NSConsentPurpose class.

Methods

GetActive()

Returns: CRMScript.Global.Integer - Is the consent purpose active or not. Example:

GetConsentPurposeId()

Returns: CRMScript.Global.Integer - Primary key. Example:

GetConsentText()

Returns: CRMScript.Global.String - Form text used for the actual checkbox. Example:

GetDeleted()

Returns: CRMScript.Global.Bool - true if the NSConsentPurpose is deleted. Example:

GetFormText()

Returns: CRMScript.Global.String - Text for the consent form, the long text to be shown when asking the end-user for this kind of consent. Example:

GetKey()

Returns: CRMScript.Global.String - The key used to refer to this purpose, like Process, Emarketing etc. Example:

GetName()

Returns: CRMScript.Global.String - Name of consent purpose. Example:

GetPrivacyStatementDesc()

Returns: CRMScript.Global.String - Name or description for the privacy statement. Example:

GetPrivacyStatementUrl()

Returns: CRMScript.Global.String - URL referencing the actual privacy statement. Example:

GetRank()

Returns: CRMScript.Global.Integer - Rank of this consent source. Example:

GetTooltip()

Returns: CRMScript.Global.String - List item tooltip. Example:

GetUpdatedBy()

Returns: CRMScript.NetServer.NSAssociate - The associate that last updated the consent purpose. Example:

GetUpdatedDate()

Returns: CRMScript.Global.DateTime - The date the consent purpose was last updated. Example:

SetActive(Integer)

Returns: CRMScript.Global.Void Example:

SetConsentPurposeId(Integer)

Returns: CRMScript.Global.Void Example:

SetConsentText(String)

Returns: CRMScript.Global.Void Example:

SetDeleted(Bool)

Returns: CRMScript.Global.Void Example:

SetFormText(String)

Returns: CRMScript.Global.Void Example:

SetKey(String)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetPrivacyStatementDesc(String)

Returns: CRMScript.Global.Void Example:

SetPrivacyStatementUrl(String)

Returns: CRMScript.Global.Void Example:

SetRank(Integer)

Returns: CRMScript.Global.Void Example:

SetTooltip(String)

Returns: CRMScript.Global.Void Example:

SetUpdatedBy(NSAssociate)

Returns: CRMScript.Global.Void Example:

SetUpdatedDate(DateTime)

Returns: CRMScript.Global.Void Example: