Class ConsentMappingCallback

    • Constructor Detail

      • ConsentMappingCallback

        public ConsentMappingCallback​(org.json.JSONObject jsonObject,
                                      int index)
      • ConsentMappingCallback

        public ConsentMappingCallback()
    • Method Detail

      • setAttribute

        protected void setAttribute​(java.lang.String name,
                                    java.lang.Object value)
        Specified by:
        setAttribute in class AbstractCallback
      • setAccept

        public void setAccept​(boolean accept)
        Sets whether the Consent has been accepted.
        Parameters:
        accept - boolean representing the acceptance of the consent.
      • getType

        public java.lang.String getType()
        Description copied from interface: Callback
        Return the type of the Callback, the type name should align with the Callback type returned from AM
      • getName

        public java.lang.String getName()
      • getDisplayName

        public java.lang.String getDisplayName()
      • getIcon

        public java.lang.String getIcon()
      • getAccessLevel

        public java.lang.String getAccessLevel()
      • isRequired

        public boolean isRequired()
      • getFields

        public java.lang.String[] getFields()
      • getMessage

        public java.lang.String getMessage()