Package com.stripe.model
Class Source.Redirect
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Source.Redirect
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Source
For more details about Redirect, please refer to the API
Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe 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).The URL you provide to redirect the customer to after they authenticated their payment.The status of the redirect, eitherpending(ready to be used by your customer to authenticate the transaction),succeeded(successful authentication, cannot be reused) ornot_required(redirect should not be used) orfailed(failed authentication, cannot be reused).getUrl()The URL provided to you to redirect a customer to as part of aredirectauthentication flow.inthashCode()voidsetFailureReason(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(String returnUrl) The URL you provide to redirect the customer to after they authenticated their payment.voidThe status of the redirect, eitherpending(ready to be used by your customer to authenticate the transaction),succeeded(successful authentication, cannot be reused) ornot_required(redirect should not be used) orfailed(failed authentication, cannot be reused).voidThe URL provided to you to redirect a customer to as part of aredirectauthentication flow.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Redirect
public Redirect()
-
-
Method Details
-
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
The URL you provide to redirect the customer to after they authenticated their payment. -
getStatus
The status of the redirect, eitherpending(ready to be used by your customer to authenticate the transaction),succeeded(successful authentication, cannot be reused) ornot_required(redirect should not be used) orfailed(failed authentication, cannot be reused). -
getUrl
The URL provided to you to redirect a customer to as part of aredirectauthentication flow. -
setFailureReason
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
The URL you provide to redirect the customer to after they authenticated their payment. -
setStatus
The status of the redirect, eitherpending(ready to be used by your customer to authenticate the transaction),succeeded(successful authentication, cannot be reused) ornot_required(redirect should not be used) orfailed(failed authentication, cannot be reused). -
setUrl
The URL provided to you to redirect a customer to as part of aredirectauthentication flow. -
equals
-
canEqual
-
hashCode
public int hashCode()
-