Class CCPAConsentStateNotification
- java.lang.Object
-
- com.mparticle.sdk.model.eventprocessing.notification.SystemNotification
-
- com.mparticle.sdk.model.eventprocessing.notification.CCPAConsentStateNotification
-
public final class CCPAConsentStateNotification extends SystemNotification
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.mparticle.sdk.model.eventprocessing.notification.SystemNotification
SystemNotification.Type
-
-
Constructor Summary
Constructors Constructor Description CCPAConsentStateNotification()
-
Method Summary
Modifier and Type Method Description CCPAConsent
getNewConsentState()
CCPAConsent
getOldConsentState()
java.lang.String
getPurpose()
Retrieve the consent purpose.void
setNewConsentState(CCPAConsent newConsentState)
void
setOldConsentState(CCPAConsent oldConsentState)
void
setPurpose(java.lang.String purpose)
Optionally override the default consent purpose for CCPA.-
Methods inherited from class com.mparticle.sdk.model.eventprocessing.notification.SystemNotification
getRequest, getType, setRequest
-
-
-
-
Method Detail
-
getPurpose
public java.lang.String getPurpose()
Retrieve the consent purpose. It will be set to the default for CCPA, unless it's explicitly overridden via the setter.- Returns:
-
setPurpose
public void setPurpose(java.lang.String purpose)
Optionally override the default consent purpose for CCPA.- Parameters:
purpose
-
-
getOldConsentState
public CCPAConsent getOldConsentState()
-
setOldConsentState
public void setOldConsentState(CCPAConsent oldConsentState)
-
getNewConsentState
public CCPAConsent getNewConsentState()
-
setNewConsentState
public void setNewConsentState(CCPAConsent newConsentState)
-
-