Package com.stripe.model
Class Source.CodeVerificationFlow
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Source.CodeVerificationFlow
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Source
public static class Source.CodeVerificationFlow extends StripeObject
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CodeVerificationFlow()
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getAttemptsRemaining()
The number of attempts remaining to authenticate the source object with a verification code.java.lang.String
getStatus()
The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).int
hashCode()
void
setAttemptsRemaining(java.lang.Long attemptsRemaining)
The number of attempts remaining to authenticate the source object with a verification code.void
setStatus(java.lang.String status)
The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CodeVerificationFlow
public CodeVerificationFlow()
-
-
Method Details
-
getAttemptsRemaining
public java.lang.Long getAttemptsRemaining()The number of attempts remaining to authenticate the source object with a verification code. -
getStatus
public java.lang.String getStatus()The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0). -
setAttemptsRemaining
public void setAttemptsRemaining(java.lang.Long attemptsRemaining)The number of attempts remaining to authenticate the source object with a verification code. -
setStatus
public void setStatus(java.lang.String status)The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0). -
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
-