Package com.stripe.model
Class Source.RedirectFlow
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Source.RedirectFlow
-
- 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, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_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, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (succesful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused).java.lang.String
getUrl()
The URL provided to you to redirect a customer to as part of a `redirect` authentication flow.int
hashCode()
void
setFailureReason(java.lang.String failureReason)
The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_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, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (succesful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused).void
setUrl(java.lang.String url)
The URL provided to you to redirect a customer to as part of a `redirect` authentication flow.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getFailureReason
public java.lang.String getFailureReason()
The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`.
-
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, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (succesful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused).
-
getUrl
public java.lang.String getUrl()
The URL provided to you to redirect a customer to as part of a `redirect` authentication flow.
-
setFailureReason
public void setFailureReason(java.lang.String failureReason)
The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`.
-
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, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (succesful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (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 a `redirect` 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
-
-