Class Source.Redirect

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Source.Redirect
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Source

public static class Source.Redirect extends StripeObject
  • Field Summary

    Fields inherited from class com.stripe.model.StripeObject

    PRETTY_PRINT_GSON
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    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).
    The URL you provide to redirect the customer to after they authenticated their payment.
    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).
    The URL provided to you to redirect a customer to as part of a redirect authentication flow.
    int
     
    void
    setFailureReason(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(String returnUrl)
    The URL you provide to redirect the customer to after they authenticated their payment.
    void
    setStatus(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
    The URL provided to you to redirect a customer to as part of a redirect authentication flow.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Redirect

      public Redirect()
  • Method Details

    • getFailureReason

      public 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 String getReturnUrl()
      The URL you provide to redirect the customer to after they authenticated their payment.
    • getStatus

      public 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 String getUrl()
      The URL provided to you to redirect a customer to as part of a redirect authentication flow.
    • setFailureReason

      public void setFailureReason(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(String returnUrl)
      The URL you provide to redirect the customer to after they authenticated their payment.
    • setStatus

      public void setStatus(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(String url)
      The URL provided to you to redirect a customer to as part of a redirect authentication flow.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object