Package com.onfido.models
Class Consent
- java.lang.Object
-
- com.onfido.models.Consent
-
public final class Consent extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConsent.Request
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)booleangetGranted()Flag to identify if the consent was granted.StringgetName()The name of the consentinthashCode()static Consent.Requestrequest()StringtoString()
-
-
-
Method Detail
-
request
public static Consent.Request request()
-
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.
-
-