Package com.onfido.models
Class IdNumber.Request
- java.lang.Object
-
- com.onfido.models.IdNumber.Request
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStateCode()Two letter code of issuing state (state-issued driving licenses only)StringgetType()Type of ID number.StringgetValue()Value of ID numberIdNumber.RequeststateCode(String stateCode)Two letter code of issuing state (state-issued driving licenses only)StringtoJson()StringtoString()IdNumber.Requesttype(String type)Type of ID number.IdNumber.Requestvalue(String value)Value of ID number
-
-
-
Method Detail
-
toJson
public String toJson()
-
type
public IdNumber.Request type(String type)
Type of ID number. Valid values are `ssn`, `social_insurance`, `tax_id`, `identity_card`, `passport`, `driving_license`, `voter_id`, `other` and `share_code`- Parameters:
type- Type of ID number. Valid values are `ssn`, `social_insurance`, `tax_id`, `identity_card`, `passport`, `driving_license`, `voter_id`, `other` and `share_code`- Returns:
- The IdNumber request object.
-
value
public IdNumber.Request value(String value)
Value of ID number- Parameters:
value- Value of ID number- Returns:
- The IdNumber request object.
-
stateCode
public IdNumber.Request stateCode(String stateCode)
Two letter code of issuing state (state-issued driving licenses only)- Parameters:
stateCode- Two letter code of issuing state (state-issued driving licenses only)- Returns:
- The IdNumber request object.
-
getType
public String getType()
Type of ID number. Valid values are `ssn`, `social_insurance`, `tax_id`, `identity_card`, `passport`, `driving_license`, `voter_id`, `other` and `share_code`- Returns:
- Type of ID number. Valid values are `ssn`, `social_insurance`, `tax_id`, `identity_card`, `passport`, `driving_license`, `voter_id`, `other` and `share_code`
-
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)
-
-