Class SessionCreateParams.SetupIntentData.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setDescription

      public SessionCreateParams.SetupIntentData.Builder setDescription(String description)
      An arbitrary string attached to the object. Often useful for displaying to users.
    • putExtraParam

      public SessionCreateParams.SetupIntentData.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.SetupIntentData.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.SetupIntentData.extraParams for the field documentation.
    • putMetadata

      public SessionCreateParams.SetupIntentData.Builder putMetadata(String key, String value)
      Add a key/value pair to `metadata` 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.SetupIntentData.metadata for the field documentation.
    • putAllMetadata

      Add all map key/value pairs to `metadata` 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.SetupIntentData.metadata for the field documentation.
    • setOnBehalfOf

      public SessionCreateParams.SetupIntentData.Builder setOnBehalfOf(String onBehalfOf)