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
public class VerificationReport extends ApiResource implements HasId
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VerificationReport.Document
static class
VerificationReport.IdNumber
The four-digit year.static class
VerificationReport.Options
A human-readable message giving the reason for the failure.static class
VerificationReport.Selfie
-
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 Constructor Description VerificationReport()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getCreated()
Time at which the object was created.VerificationReport.Document
getDocument()
Result from a document check.java.lang.String
getId()
Unique identifier for the object.VerificationReport.IdNumber
getIdNumber()
Result from an id_number check.java.lang.Boolean
getLivemode()
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.java.lang.String
getObject()
String representing the object's type.VerificationReport.Options
getOptions()
VerificationReport.Selfie
getSelfie()
Result from a selfie check.java.lang.String
getType()
Type of report.java.lang.String
getVerificationSession()
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(java.util.Map<java.lang.String,java.lang.Object> params)
List all verification reports.static VerificationReportCollection
list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)
List all verification reports.static VerificationReport
retrieve(java.lang.String report)
Retrieves an existing VerificationReport.static VerificationReport
retrieve(java.lang.String report, RequestOptions options)
Retrieves an existing VerificationReport.static VerificationReport
retrieve(java.lang.String report, VerificationReportRetrieveParams params, RequestOptions options)
Retrieves an existing VerificationReport.static VerificationReport
retrieve(java.lang.String report, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)
Retrieves an existing VerificationReport.void
setCreated(java.lang.Long created)
Time at which the object was created.void
setDocument(VerificationReport.Document document)
Result from a document check.void
setId(java.lang.String id)
Unique identifier for the object.void
setIdNumber(VerificationReport.IdNumber idNumber)
Result from an id_number check.void
setLivemode(java.lang.Boolean livemode)
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
setObject(java.lang.String object)
String representing the object's type.void
setOptions(VerificationReport.Options options)
void
setSelfie(VerificationReport.Selfie selfie)
Result from a selfie check.void
setType(java.lang.String type)
Type of report.void
setVerificationSession(java.lang.String verificationSession)
ID of the VerificationSession that created this report.-
Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, 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
-
-
-
-
Method Detail
-
retrieve
public static VerificationReport retrieve(java.lang.String report) throws StripeException
Retrieves an existing VerificationReport.- Throws:
StripeException
-
retrieve
public static VerificationReport retrieve(java.lang.String report, RequestOptions options) throws StripeException
Retrieves an existing VerificationReport.- Throws:
StripeException
-
retrieve
public static VerificationReport retrieve(java.lang.String report, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Retrieves an existing VerificationReport.- Throws:
StripeException
-
retrieve
public static VerificationReport retrieve(java.lang.String report, VerificationReportRetrieveParams params, RequestOptions options) throws StripeException
Retrieves an existing VerificationReport.- Throws:
StripeException
-
list
public static VerificationReportCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
List all verification reports.- Throws:
StripeException
-
list
public static VerificationReportCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
List 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
-
getCreated
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getDocument
public VerificationReport.Document getDocument()
Result from a document check.
-
getIdNumber
public VerificationReport.IdNumber getIdNumber()
Result from an id_number check.
-
getLivemode
public java.lang.Boolean getLivemode()
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
identity.verification_report
.
-
getOptions
public VerificationReport.Options getOptions()
-
getSelfie
public VerificationReport.Selfie getSelfie()
Result from a selfie check.
-
getType
public java.lang.String getType()
Type of report.One of
document
, orid_number
.
-
getVerificationSession
public java.lang.String getVerificationSession()
ID of the VerificationSession that created this report.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setDocument
public void setDocument(VerificationReport.Document document)
Result from a document check.
-
setId
public void setId(java.lang.String id)
Unique identifier for the object.
-
setIdNumber
public void setIdNumber(VerificationReport.IdNumber idNumber)
Result from an id_number check.
-
setLivemode
public void setLivemode(java.lang.Boolean livemode)
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.
-
setObject
public void setObject(java.lang.String object)
String representing the object's type. Objects of the same type share the same value.Equal to
identity.verification_report
.
-
setOptions
public void setOptions(VerificationReport.Options options)
-
setSelfie
public void setSelfie(VerificationReport.Selfie selfie)
Result from a selfie check.
-
setType
public void setType(java.lang.String type)
Type of report.One of
document
, orid_number
.
-
setVerificationSession
public void setVerificationSession(java.lang.String verificationSession)
ID of the VerificationSession that created this report.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-