Class SetupIntentConfirmParams


public class SetupIntentConfirmParams extends ApiRequestParams
  • Method Details

    • builder

      public static SetupIntentConfirmParams.Builder builder()
    • getConfirmationToken

      public String getConfirmationToken()
      ID of the ConfirmationToken used to confirm this SetupIntent.

      If the provided ConfirmationToken contains properties that are also being provided in this request, such as payment_method, then the values in this request will take precedence.

    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getMandateData

      public Object getMandateData()
    • getPaymentMethod

      public String getPaymentMethod()
      ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
    • getPaymentMethodData

      public SetupIntentConfirmParams.PaymentMethodData getPaymentMethodData()
      When included, this hash creates a PaymentMethod that is set as the payment_method value in the SetupIntent.
    • getPaymentMethodOptions

      public SetupIntentConfirmParams.PaymentMethodOptions getPaymentMethodOptions()
      Payment method-specific configuration for this SetupIntent.
    • getReturnUrl

      public String getReturnUrl()
      The URL to redirect your customer back to after they authenticate on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter is only used for cards and other redirect-based payment methods.
    • getUseStripeSdk

      public Boolean getUseStripeSdk()
      Set to true when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.