Package com.stripe.model
Class Source.RedirectFlow
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Source.RedirectFlow
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Source
public static class Source.RedirectFlow extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description RedirectFlow()
-
Method Summary
All 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.String
getFailureReason()
The failure reason for the redirect, eitheruser_abort
(the customer aborted or dropped out of the redirect flow),declined
(the authentication failed or the transaction was declined), orprocessing_error
(the redirect failed due to a technical error).java.lang.String
getReturnUrl()
The URL you provide to redirect the customer to after they authenticated their payment.java.lang.String
getStatus()
The status of the redirect, eitherpending
(ready to be used by your customer to authenticate the transaction),succeeded
(succesful authentication, cannot be reused) ornot_required
(redirect should not be used) orfailed
(failed authentication, cannot be reused).java.lang.String
getUrl()
The URL provided to you to redirect a customer to as part of aredirect
authentication flow.int
hashCode()
void
setFailureReason(java.lang.String failureReason)
The failure reason for the redirect, eitheruser_abort
(the customer aborted or dropped out of the redirect flow),declined
(the authentication failed or the transaction was declined), orprocessing_error
(the redirect failed due to a technical error).void
setReturnUrl(java.lang.String returnUrl)
The URL you provide to redirect the customer to after they authenticated their payment.void
setStatus(java.lang.String status)
The status of the redirect, eitherpending
(ready to be used by your customer to authenticate the transaction),succeeded
(succesful authentication, cannot be reused) ornot_required
(redirect should not be used) orfailed
(failed authentication, cannot be reused).void
setUrl(java.lang.String url)
The URL provided to you to redirect a customer to as part of aredirect
authentication flow.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getFailureReason
public java.lang.String getFailureReason()
The failure reason for the redirect, eitheruser_abort
(the customer aborted or dropped out of the redirect flow),declined
(the authentication failed or the transaction was declined), orprocessing_error
(the redirect failed due to a technical error). Present only if the redirect status isfailed
.
-
getReturnUrl
public java.lang.String getReturnUrl()
The URL you provide to redirect the customer to after they authenticated their payment.
-
getStatus
public java.lang.String getStatus()
The status of the redirect, eitherpending
(ready to be used by your customer to authenticate the transaction),succeeded
(succesful authentication, cannot be reused) ornot_required
(redirect should not be used) orfailed
(failed authentication, cannot be reused).
-
getUrl
public java.lang.String getUrl()
The URL provided to you to redirect a customer to as part of aredirect
authentication flow.
-
setFailureReason
public void setFailureReason(java.lang.String failureReason)
The failure reason for the redirect, eitheruser_abort
(the customer aborted or dropped out of the redirect flow),declined
(the authentication failed or the transaction was declined), orprocessing_error
(the redirect failed due to a technical error). Present only if the redirect status isfailed
.
-
setReturnUrl
public void setReturnUrl(java.lang.String returnUrl)
The URL you provide to redirect the customer to after they authenticated their payment.
-
setStatus
public void setStatus(java.lang.String status)
The status of the redirect, eitherpending
(ready to be used by your customer to authenticate the transaction),succeeded
(succesful authentication, cannot be reused) ornot_required
(redirect should not be used) orfailed
(failed authentication, cannot be reused).
-
setUrl
public void setUrl(java.lang.String url)
The URL provided to you to redirect a customer to as part of aredirect
authentication flow.
-
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
-
-