Class AgeVerifyResult


  • public class AgeVerifyResult
    extends java.lang.Object
    The Result of a call to the /ageVerification/verify endpoint.
    • Constructor Summary

      Constructors 
      Constructor Description
      AgeVerifyResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.ArrayList<AgeVerifyFailureCode> getFailureCodes()
      Getter for failureCodes A list of failure codes describing why a *false* age determination was made.
      java.lang.Boolean getIsOfAge()
      Getter for isOfAge Describes whether the individual meets or exceeds the minimum legal drinking age.
      void setFailureCodes​(java.util.ArrayList<AgeVerifyFailureCode> value)
      Setter for failureCodes A list of failure codes describing why a *false* age determination was made.
      void setIsOfAge​(java.lang.Boolean value)
      Setter for isOfAge Describes whether the individual meets or exceeds the minimum legal drinking age.
      java.lang.String toString()
      Returns a JSON string representation of AgeVerifyResult
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AgeVerifyResult

        public AgeVerifyResult()
    • Method Detail

      • getIsOfAge

        public java.lang.Boolean getIsOfAge()
        Getter for isOfAge Describes whether the individual meets or exceeds the minimum legal drinking age.
      • setIsOfAge

        public void setIsOfAge​(java.lang.Boolean value)
        Setter for isOfAge Describes whether the individual meets or exceeds the minimum legal drinking age.
      • getFailureCodes

        public java.util.ArrayList<AgeVerifyFailureCode> getFailureCodes()
        Getter for failureCodes A list of failure codes describing why a *false* age determination was made.
      • setFailureCodes

        public void setFailureCodes​(java.util.ArrayList<AgeVerifyFailureCode> value)
        Setter for failureCodes A list of failure codes describing why a *false* age determination was made.
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of AgeVerifyResult
        Overrides:
        toString in class java.lang.Object