Package com.onfido.models
Class Document.Request
- java.lang.Object
-
- com.onfido.models.Document.Request
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Document.RequestapplicantId(String applicantId)The ID of the associated applicantStringgetApplicantId()The ID of the associated applicantStringgetIssuingCountry()The issuing country of the document, a 3-letter ISO code.StringgetSide()The side of the document, if applicable.StringgetType()The type of documentDocument.RequestissuingCountry(String issuingCountry)The issuing country of the document, a 3-letter ISO code.Document.Requestside(String side)The side of the document, if applicable.StringtoJson()StringtoString()Document.Requesttype(String type)The type of document
-
-
-
Method Detail
-
toJson
public String toJson()
-
applicantId
public Document.Request applicantId(String applicantId)
The ID of the associated applicant- Parameters:
applicantId- The ID of the associated applicant- Returns:
- The Document request object.
-
type
public Document.Request type(String type)
The type of document- Parameters:
type- The type of document- Returns:
- The Document request object.
-
side
public Document.Request side(String side)
The side of the document, if applicable. The possible values are front and back- Parameters:
side- The side of the document, if applicable. The possible values are front and back- Returns:
- The Document request object.
-
issuingCountry
public Document.Request issuingCountry(String issuingCountry)
The issuing country of the document, a 3-letter ISO code.- Parameters:
issuingCountry- The issuing country of the document, a 3-letter ISO code.- Returns:
- The Document request object.
-
getApplicantId
public String getApplicantId()
The ID of the associated applicant- Returns:
- The ID of the associated applicant
-
getType
public String getType()
The type of document- Returns:
- The type of document
-
getSide
public String getSide()
The side of the document, if applicable. The possible values are front and back- Returns:
- The side of the document, if applicable. The possible values are front and back
-
getIssuingCountry
public String getIssuingCountry()
The issuing country of the document, a 3-letter ISO code.- Returns:
- The issuing country of the document, a 3-letter ISO code.
-
-