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
  • Constructor Details

    • CCPAConsentStateNotification

      public CCPAConsentStateNotification()
  • Method Details

    • getPurpose

      public 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(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)