Class AgeVerifyResult
java.lang.Object
net.avalara.avatax.rest.client.models.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
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
-
Constructor Details
-
AgeVerifyResult
public AgeVerifyResult()
-
-
Method Details
-
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
Getter for failureCodes A list of failure codes describing why a *false* age determination was made. -
setFailureCodes
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 classjava.lang.Object
-