Class ConsentState


  • public final class ConsentState
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_CCPA_CONSENT_PURPOSE
      The default consent purpose for CCPA.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsentState()  
    • Method Summary

      Modifier and Type Method Description
      java.util.Map<java.lang.String,​CCPAConsent> getCCPA()  
      java.util.Map<java.lang.String,​GDPRConsent> getGDPR()  
      void setCCPA​(CCPAConsent CCPA)
      Set-up the map with the default CCPA consent purpose.
      void setCCPA​(java.util.Map<java.lang.String,​CCPAConsent> CCPA)  
      void setGDPR​(java.util.Map<java.lang.String,​GDPRConsent> GDPR)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_CCPA_CONSENT_PURPOSE

        public static final java.lang.String DEFAULT_CCPA_CONSENT_PURPOSE
        The default consent purpose for CCPA. For more, reference: https://docs.mparticle.com/guides/consent-management#consent-properties
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConsentState

        public ConsentState()
    • Method Detail

      • getGDPR

        public java.util.Map<java.lang.String,​GDPRConsent> getGDPR()
      • setGDPR

        public void setGDPR​(java.util.Map<java.lang.String,​GDPRConsent> GDPR)
      • getCCPA

        public java.util.Map<java.lang.String,​CCPAConsent> getCCPA()
      • setCCPA

        public void setCCPA​(CCPAConsent CCPA)
        Set-up the map with the default CCPA consent purpose.
        Parameters:
        CCPA -
      • setCCPA

        public void setCCPA​(java.util.Map<java.lang.String,​CCPAConsent> CCPA)