public final class CCPAConsentStateNotification extends SystemNotification
SystemNotification.Type| Constructor and Description |
|---|
CCPAConsentStateNotification() |
| Modifier and Type | Method and 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.
|
getRequest, getType, setRequestpublic java.lang.String getPurpose()
public void setPurpose(java.lang.String purpose)
purpose - public CCPAConsent getOldConsentState()
public void setOldConsentState(CCPAConsent oldConsentState)
public CCPAConsent getNewConsentState()
public void setNewConsentState(CCPAConsent newConsentState)