Class ThreeDSecure

All Implemented Interfaces:
HasId, StripeObjectInterface

public class ThreeDSecure extends ApiResource implements HasId
  • Constructor Details

    • ThreeDSecure

      public ThreeDSecure()
  • Method Details

    • retrieve

      public static ThreeDSecure retrieve(String threeDSecure) throws StripeException
      Retrieves a 3D Secure object.
      Throws:
      StripeException
    • retrieve

      public static ThreeDSecure retrieve(String threeDSecure, RequestOptions options) throws StripeException
      Retrieves a 3D Secure object.
      Throws:
      StripeException
    • retrieve

      public static ThreeDSecure retrieve(String threeDSecure, Map<String,Object> params, RequestOptions options) throws StripeException
      Retrieves a 3D Secure object.
      Throws:
      StripeException
    • retrieve

      public static ThreeDSecure retrieve(String threeDSecure, ThreeDSecureRetrieveParams params, RequestOptions options) throws StripeException
      Retrieves a 3D Secure object.
      Throws:
      StripeException
    • create

      public static ThreeDSecure create(Map<String,Object> params) throws StripeException
      Initiate 3D Secure authentication.
      Throws:
      StripeException
    • create

      public static ThreeDSecure create(Map<String,Object> params, RequestOptions options) throws StripeException
      Initiate 3D Secure authentication.
      Throws:
      StripeException
    • create

      public static ThreeDSecure create(ThreeDSecureCreateParams params) throws StripeException
      Initiate 3D Secure authentication.
      Throws:
      StripeException
    • create

      public static ThreeDSecure create(ThreeDSecureCreateParams params, RequestOptions options) throws StripeException
      Initiate 3D Secure authentication.
      Throws:
      StripeException
    • getAmount

      public Long getAmount()
      Amount of the charge that you will create when authentication completes.
    • getAuthenticated

      public Boolean getAuthenticated()
      True if the cardholder went through the authentication flow and their bank indicated that authentication succeeded.
    • getCard

      public Card getCard()
      You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later.

      Related guide: Card Payments with Sources.

    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getCurrency

      public String getCurrency()
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to three_d_secure.

    • getRedirectUrl

      public String getRedirectUrl()
      If present, this is the URL that you should send the cardholder to for authentication. If you are going to use Stripe.js to display the authentication page in an iframe, you should use the value "_callback".
    • getStatus

      public String getStatus()
      Possible values are redirect_pending, succeeded, or failed. When the cardholder can be authenticated, the object starts with status redirect_pending. When liability will be shifted to the cardholder's bank (either because the cardholder was successfully authenticated, or because the bank has not implemented 3D Secure, the object wlil be in status succeeded. failed indicates that authentication was attempted unsuccessfully.
    • setAmount

      public void setAmount(Long amount)
      Amount of the charge that you will create when authentication completes.
    • setAuthenticated

      public void setAuthenticated(Boolean authenticated)
      True if the cardholder went through the authentication flow and their bank indicated that authentication succeeded.
    • setCard

      public void setCard(Card card)
      You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later.

      Related guide: Card Payments with Sources.

    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setCurrency

      public void setCurrency(String currency)
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to three_d_secure.

    • setRedirectUrl

      public void setRedirectUrl(String redirectUrl)
      If present, this is the URL that you should send the cardholder to for authentication. If you are going to use Stripe.js to display the authentication page in an iframe, you should use the value "_callback".
    • setStatus

      public void setStatus(String status)
      Possible values are redirect_pending, succeeded, or failed. When the cardholder can be authenticated, the object starts with status redirect_pending. When liability will be shifted to the cardholder's bank (either because the cardholder was successfully authenticated, or because the bank has not implemented 3D Secure, the object wlil be in status succeeded. failed indicates that authentication was attempted unsuccessfully.
    • 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
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId