Package com.onfido.models
Class IdNumber
- java.lang.Object
-
- com.onfido.models.IdNumber
-
public final class IdNumber extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdNumber.Request
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetStateCode()Two letter code of issuing state (state-issued driving licenses only)StringgetType()Type of ID number.StringgetValue()Value of ID numberinthashCode()static IdNumber.Requestrequest()StringtoString()
-
-
-
Method Detail
-
request
public static IdNumber.Request request()
-
getType
public String getType()
Type of ID number. Valid values are `ssn`, `social_insurance`, `tax_id`, `identity_card`, `passport` and `driving_license`- Returns:
- Type of ID number. Valid values are `ssn`, `social_insurance`, `tax_id`, `identity_card`, `passport` and `driving_license`
-
getValue
public String getValue()
Value of ID number- Returns:
- Value of ID number
-
getStateCode
public String getStateCode()
Two letter code of issuing state (state-issued driving licenses only)- Returns:
- Two letter code of issuing state (state-issued driving licenses only)
-
-