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
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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).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
(succesful 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 aredirect
authentication flow.int
hashCode()
void
setFailureReason
(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
(String returnUrl) The URL you provide to redirect the customer to after they authenticated their payment.void
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
The URL provided to you to redirect a customer to as part of aredirect
authentication flow.Methods inherited from class com.stripe.model.StripeObject
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
(succesful 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 aredirect
authentication 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
(succesful 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 aredirect
authentication flow. -
equals
-
canEqual
-
hashCode
public int hashCode()
-