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
,StripeActiveObject
,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 guide: Accessing verification results.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Result from a document check.static class
Result from a email 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 phone check.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, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A string to reference this user.Time at which the object was created.Result from a document check.getEmail()
Result from a email 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.getPhone()
Result from a phone check.Result from a selfie check.getType()
Type of report.The configuration token of a Verification Flow from the dashboard.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
setClientReferenceId
(String clientReferenceId) A string to reference this user.void
setCreated
(Long created) Time at which the object was created.void
setDocument
(VerificationReport.Document document) Result from a document check.void
setEmail
(VerificationReport.Email email) Result from a email 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
setPhone
(VerificationReport.Phone phone) Result from a phone check.void
setResponseGetter
(StripeResponseGetter responseGetter) A human-readable message giving the reason for the failure.void
setSelfie
(VerificationReport.Selfie selfie) Result from a selfie check.void
Type of report.void
setVerificationFlow
(String verificationFlow) The configuration token of a Verification Flow from the dashboard.void
setVerificationSession
(String verificationSession) ID of the VerificationSession that created this report.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
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
-
setResponseGetter
A human-readable message giving the reason for the failure. These messages can be shown to your users.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getClientReferenceId
A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getDocument
Result from a document check. -
getEmail
Result from a email 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
-
getPhone
Result from a phone check. -
getSelfie
Result from a selfie check. -
getType
Type of report.One of
document
,id_number
, orverification_flow
. -
getVerificationFlow
The configuration token of a Verification Flow from the dashboard. -
getVerificationSession
ID of the VerificationSession that created this report. -
setClientReferenceId
A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setDocument
Result from a document check. -
setEmail
Result from a email 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
-
setPhone
Result from a phone check. -
setSelfie
Result from a selfie check. -
setType
Type of report.One of
document
,id_number
, orverification_flow
. -
setVerificationFlow
The configuration token of a Verification Flow from the dashboard. -
setVerificationSession
ID of the VerificationSession that created this report. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-