Class IntentCommitParams.Builder

java.lang.Object
com.stripe.param.v2.billing.IntentCommitParams.Builder
Enclosing class:
IntentCommitParams

public static class IntentCommitParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public IntentCommitParams build()
      Finalize and obtain parameter instance from this builder.
    • putExtraParam

      public IntentCommitParams.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 IntentCommitParams.extraParams for the field documentation.
    • putAllExtraParam

      public IntentCommitParams.Builder putAllExtraParam(Map<String,Object> map)
      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 IntentCommitParams.extraParams for the field documentation.
    • setPaymentIntent

      public IntentCommitParams.Builder setPaymentIntent(String paymentIntent)
      ID of the PaymentIntent associated with this commit.