Class RequestCreateParams.Request.Builder

java.lang.Object
com.stripe.param.forwarding.RequestCreateParams.Request.Builder
Enclosing class:
RequestCreateParams.Request

public static class RequestCreateParams.Request.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setBody

      The body payload to send to the destination endpoint.
    • putExtraParam

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

      public RequestCreateParams.Request.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 RequestCreateParams.Request.extraParams for the field documentation.
    • addHeader

      Add an element to `headers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See RequestCreateParams.Request.headers for the field documentation.
    • addAllHeader

      Add all elements to `headers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See RequestCreateParams.Request.headers for the field documentation.