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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetFailureReason()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.StringgetReturnUrl()The URL you provide to redirect the customer to after they authenticated their payment.java.lang.StringgetStatus()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.StringgetUrl()The URL provided to you to redirect a customer to as part of aredirectauthentication flow.inthashCode()voidsetFailureReason(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).voidsetReturnUrl(java.lang.String returnUrl)The URL you provide to redirect the customer to after they authenticated their payment.voidsetStatus(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).voidsetUrl(java.lang.String url)The URL provided to you to redirect a customer to as part of aredirectauthentication 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 aredirectauthentication 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 aredirectauthentication flow.
-
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
-
-