Class SessionCreateParams.PaymentMethodData.Builder

java.lang.Object
com.stripe.param.checkout.SessionCreateParams.PaymentMethodData.Builder
Enclosing class:
SessionCreateParams.PaymentMethodData

public static class SessionCreateParams.PaymentMethodData.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAllowRedisplay

      Allow redisplay will be set on the payment method on confirmation and indicates whether this payment method can be shown again to the customer in a checkout flow. Only set this field if you wish to override the allow_redisplay value determined by Checkout.
    • putExtraParam

      public SessionCreateParams.PaymentMethodData.Builder putExtraParam(String key, Object value)
      Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See SessionCreateParams.PaymentMethodData.extraParams for the field documentation.
    • putAllExtraParam

      Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See SessionCreateParams.PaymentMethodData.extraParams for the field documentation.