Class Consent.Request

  • Enclosing class:
    Consent

    public static final class Consent.Request
    extends Object
    • Method Detail

      • toJson

        public String toJson()
      • name

        public Consent.Request name​(String name)
        The name of the consent
        Parameters:
        name - The name of the consent
        Returns:
        The Consent request object.
      • granted

        public Consent.Request granted​(Boolean granted)
        Flag to identify if the consent was granted. If false the check creation will fail with a validation error.
        Parameters:
        granted - Flag to identify if the consent was granted. If false the check creation will fail with a validation error.
        Returns:
        The Consent request object.
      • getName

        public String getName()
        The name of the consent
        Returns:
        The name of the consent
      • getGranted

        public Boolean getGranted()
        Flag to identify if the consent was granted. If false the check creation will fail with a validation error.
        Returns:
        Flag to identify if the consent was granted. If false the check creation will fail with a validation error.