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 classVerificationReport.Documentstatic classVerificationReport.IdNumberThe four-digit year.static classVerificationReport.OptionsA human-readable message giving the reason for the failure.static classVerificationReport.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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetCreated()Time at which the object was created.VerificationReport.DocumentgetDocument()Result from a document check.java.lang.StringgetId()Unique identifier for the object.VerificationReport.IdNumbergetIdNumber()Result from an id_number check.java.lang.BooleangetLivemode()Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.java.lang.StringgetObject()String representing the object's type.VerificationReport.OptionsgetOptions()VerificationReport.SelfiegetSelfie()Result from a selfie check.java.lang.StringgetType()Type of report.java.lang.StringgetVerificationSession()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(java.util.Map<java.lang.String,java.lang.Object> params)List all verification reports.static VerificationReportCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)List all verification reports.static VerificationReportretrieve(java.lang.String report)Retrieves an existing VerificationReport.static VerificationReportretrieve(java.lang.String report, RequestOptions options)Retrieves an existing VerificationReport.static VerificationReportretrieve(java.lang.String report, VerificationReportRetrieveParams params, RequestOptions options)Retrieves an existing VerificationReport.static VerificationReportretrieve(java.lang.String report, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Retrieves an existing VerificationReport.voidsetCreated(java.lang.Long created)Time at which the object was created.voidsetDocument(VerificationReport.Document document)Result from a document check.voidsetId(java.lang.String id)Unique identifier for the object.voidsetIdNumber(VerificationReport.IdNumber idNumber)Result from an id_number check.voidsetLivemode(java.lang.Boolean livemode)Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetObject(java.lang.String object)String representing the object's type.voidsetOptions(VerificationReport.Options options)voidsetSelfie(VerificationReport.Selfie selfie)Result from a selfie check.voidsetType(java.lang.String type)Type of report.voidsetVerificationSession(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, 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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-