Package com.stripe.model.identity
Class VerificationReport
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.identity.VerificationReport
- All Implemented Interfaces:
HasId
,StripeObjectInterface
A VerificationReport is the result of an attempt to collect and verify data from a user. The
collection of verification checks performed is determined from the
type
and
options
parameters used. You can find the result of each verification check performed in the
appropriate sub-resource: document
, id_number
, selfie
.
Each VerificationReport contains a copy of any data collected by the user as well as reference IDs which can be used to access collected images through the FileUpload API. To configure and create VerificationReports, use the VerificationSession API.
Related guides: Accessing verification results.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Result from a document check.static class
Result from an id_number check.static class
A human-readable message giving the reason for the failure.static class
Result from a selfie check.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Time at which the object was created.Result from a document check.getId()
Unique identifier for the object.Result from an id_number check.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.Result from a selfie check.getType()
Type of report.ID of the VerificationSession that created this report.int
hashCode()
static VerificationReportCollection
list
(VerificationReportListParams params) List all verification reports.static VerificationReportCollection
list
(VerificationReportListParams params, RequestOptions options) List all verification reports.static VerificationReportCollection
List all verification reports.static VerificationReportCollection
list
(Map<String, Object> params, RequestOptions options) List all verification reports.static VerificationReport
Retrieves an existing VerificationReport.static VerificationReport
retrieve
(String report, RequestOptions options) Retrieves an existing VerificationReport.static VerificationReport
retrieve
(String report, VerificationReportRetrieveParams params, RequestOptions options) Retrieves an existing VerificationReport.static VerificationReport
Retrieves an existing VerificationReport.void
setCreated
(Long created) Time at which the object was created.void
setDocument
(VerificationReport.Document document) Result from a document check.void
Unique identifier for the object.void
setIdNumber
(VerificationReport.IdNumber idNumber) Result from an id_number check.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
setOptions
(VerificationReport.Options options) void
setSelfie
(VerificationReport.Selfie selfie) Result from a selfie check.void
Type of report.void
setVerificationSession
(String verificationSession) ID of the VerificationSession that created this report.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, fullUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
VerificationReport
public VerificationReport()
-
-
Method Details
-
list
List all verification reports.- Throws:
StripeException
-
list
public static VerificationReportCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionList all verification reports.- Throws:
StripeException
-
list
public static VerificationReportCollection list(VerificationReportListParams params) throws StripeException List all verification reports.- Throws:
StripeException
-
list
public static VerificationReportCollection list(VerificationReportListParams params, RequestOptions options) throws StripeException List all verification reports.- Throws:
StripeException
-
retrieve
Retrieves an existing VerificationReport.- Throws:
StripeException
-
retrieve
public static VerificationReport retrieve(String report, RequestOptions options) throws StripeException Retrieves an existing VerificationReport.- Throws:
StripeException
-
retrieve
public static VerificationReport retrieve(String report, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves an existing VerificationReport.- Throws:
StripeException
-
retrieve
public static VerificationReport retrieve(String report, VerificationReportRetrieveParams params, RequestOptions options) throws StripeException Retrieves an existing VerificationReport.- Throws:
StripeException
-
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getDocument
Result from a document check. -
getIdNumber
Result from an id_number check. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
identity.verification_report
. -
getOptions
-
getSelfie
Result from a selfie check. -
getType
Type of report.One of
document
, orid_number
. -
getVerificationSession
ID of the VerificationSession that created this report. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setDocument
Result from a document check. -
setId
Unique identifier for the object. -
setIdNumber
Result from an id_number check. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
identity.verification_report
. -
setOptions
-
setSelfie
Result from a selfie check. -
setType
Type of report.One of
document
, orid_number
. -
setVerificationSession
ID of the VerificationSession that created this report. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-