Package com.stripe.param.checkout
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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionCreateParams.SetupIntentData
build()
Finalize and obtain parameter instance from this builder.SessionCreateParams.SetupIntentData.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.SessionCreateParams.SetupIntentData.Builder
putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map.SessionCreateParams.SetupIntentData.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.SessionCreateParams.SetupIntentData.Builder
putMetadata(java.lang.String key, java.lang.String value)
Add a key/value pair to `metadata` map.SessionCreateParams.SetupIntentData.Builder
setDescription(java.lang.String description)
An arbitrary string attached to the object.SessionCreateParams.SetupIntentData.Builder
setOnBehalfOf(java.lang.String onBehalfOf)
-
-
-
Method Detail
-
build
public SessionCreateParams.SetupIntentData build()
Finalize and obtain parameter instance from this builder.
-
setDescription
public SessionCreateParams.SetupIntentData.Builder setDescription(java.lang.String description)
An arbitrary string attached to the object. Often useful for displaying to users.
-
putExtraParam
public SessionCreateParams.SetupIntentData.Builder putExtraParam(java.lang.String key, java.lang.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. SeeSessionCreateParams.SetupIntentData.extraParams
for the field documentation.
-
putAllExtraParam
public SessionCreateParams.SetupIntentData.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeSessionCreateParams.SetupIntentData.extraParams
for the field documentation.
-
putMetadata
public SessionCreateParams.SetupIntentData.Builder putMetadata(java.lang.String key, java.lang.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. SeeSessionCreateParams.SetupIntentData.metadata
for the field documentation.
-
putAllMetadata
public SessionCreateParams.SetupIntentData.Builder putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
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. SeeSessionCreateParams.SetupIntentData.metadata
for the field documentation.
-
setOnBehalfOf
public SessionCreateParams.SetupIntentData.Builder setOnBehalfOf(java.lang.String onBehalfOf)
-
-