ConsentGranted

class ConsentGranted(expiry: String, documentId: String, documentVersion: String) : AbstractSelfDescribing

A consent granted event.

Parameters

expiry

Consent expiration.

documentId

Identifier of the first document.

documentVersion

Version of the first document.

Constructors

Link copied to clipboard
fun ConsentGranted(expiry: String, documentId: String, documentVersion: String)

Functions

Link copied to clipboard
open override fun beginProcessing(tracker: Tracker)

Hook method called just before the event processing in order to execute special operations.

Link copied to clipboard

Adds a list of contexts.

Link copied to clipboard
fun documentDescription(documentDescription: String?): ConsentGranted

Description of the first document.

Link copied to clipboard
fun documentName(documentName: String?): ConsentGranted

Name of the first document.

Link copied to clipboard

Other attached documents.

Link copied to clipboard
open override fun endProcessing(tracker: Tracker)

Hook method called just after the event processing in order to execute special operations.

Link copied to clipboard

Adds a list of contexts.

Link copied to clipboard
fun trueTimestamp(trueTimestamp: Long?): AbstractEvent

Set the custom timestamp of the event.

Properties

Link copied to clipboard

Other attached documents.

Link copied to clipboard
open override val contexts: List<SelfDescribingJson>
Link copied to clipboard

List of custom contexts associated with the event.

Link copied to clipboard
open override val dataPayload: Map<String, Any?>
Link copied to clipboard

Description of the first document.

Link copied to clipboard

Identifier of the first document.

Link copied to clipboard
var documentName: String? = null

Name of the first document.

Link copied to clipboard

Returns a list of consent documents associated with the event.

Link copied to clipboard

Version of the first document.

Link copied to clipboard
open override val entities: List<SelfDescribingJson>
Link copied to clipboard

Expiration of the consent.

Link copied to clipboard
open override val schema: String
Link copied to clipboard
open override var trueTimestamp: Long? = null