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
Nested ClassesModifier and TypeClassDescriptionstatic classResult from a document check.static classResult from a email check.static classResult from an id_number check.static classFor more details about Options, please refer to the API Reference.static classResult from a phone check.static classResult 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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanA 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 valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()static VerificationReportCollectionlist(VerificationReportListParams params) List all verification reports.static VerificationReportCollectionlist(VerificationReportListParams params, RequestOptions options) List all verification reports.static VerificationReportCollectionList all verification reports.static VerificationReportCollectionlist(Map<String, Object> params, RequestOptions options) List all verification reports.static VerificationReportRetrieves an existing VerificationReport.static VerificationReportretrieve(String report, RequestOptions options) Retrieves an existing VerificationReport.static VerificationReportretrieve(String report, VerificationReportRetrieveParams params, RequestOptions options) Retrieves an existing VerificationReport.static VerificationReportRetrieves an existing VerificationReport.voidsetClientReferenceId(String clientReferenceId) A string to reference this user.voidsetCreated(Long created) Time at which the object was created.voidsetDocument(VerificationReport.Document document) Result from a document check.voidsetEmail(VerificationReport.Email email) Result from a email check.voidUnique identifier for the object.voidsetIdNumber(VerificationReport.IdNumber idNumber) Result from an id_number check.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetOptions(VerificationReport.Options options) voidsetPhone(VerificationReport.Phone phone) Result from a phone check.voidsetResponseGetter(StripeResponseGetter responseGetter) A human-readable message giving the reason for the failure.voidsetSelfie(VerificationReport.Selfie selfie) Result from a selfie check.voidType of report.voidsetVerificationFlow(String verificationFlow) The configuration token of a verification flow from the dashboard.voidsetVerificationSession(String verificationSession) ID of the VerificationSession that created this report.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance 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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-