Package com.stripe.param.forwarding
Class RequestCreateParams.Request.Builder
java.lang.Object
com.stripe.param.forwarding.RequestCreateParams.Request.Builder
- Enclosing class:
- RequestCreateParams.Request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeader
(List<RequestCreateParams.Request.Header> elements) Add all elements to `headers` list.Add an element to `headers` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.The body payload to send to the destination endpoint.
-
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
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. SeeRequestCreateParams.Request.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. SeeRequestCreateParams.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. SeeRequestCreateParams.Request.headers
for the field documentation. -
addAllHeader
public RequestCreateParams.Request.Builder addAllHeader(List<RequestCreateParams.Request.Header> elements) 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. SeeRequestCreateParams.Request.headers
for the field documentation.
-