Class ConfirmationTokenCreateParams


public class ConfirmationTokenCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static ConfirmationTokenCreateParams.Builder builder()
    • 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.
    • getPaymentMethod

      public String getPaymentMethod()
      ID of an existing PaymentMethod.
    • getPaymentMethodData

      public ConfirmationTokenCreateParams.PaymentMethodData getPaymentMethodData()
      If provided, this hash will be used to create a PaymentMethod.
    • getReturnUrl

      public String getReturnUrl()
      Return URL used to confirm the Intent.
    • getSetupFutureUsage

      public ConfirmationTokenCreateParams.SetupFutureUsage getSetupFutureUsage()
      Indicates that you intend to make future payments with this ConfirmationToken's payment method.

      The presence of this property will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.

    • getShipping

      Shipping information for this ConfirmationToken.