Package com.stripe.param.checkout
Class SessionCreateParams.CustomField.Label.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.CustomField.Label.Builder
- Enclosing class:
- SessionCreateParams.CustomField.Label
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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.Required. Custom text for the label, displayed to the customer.Required. The type of the label.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustom
Required. Custom text for the label, displayed to the customer. Up to 50 characters. -
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. SeeSessionCreateParams.CustomField.Label.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. SeeSessionCreateParams.CustomField.Label.extraParams
for the field documentation. -
setType
public SessionCreateParams.CustomField.Label.Builder setType(SessionCreateParams.CustomField.Label.Type type) Required. The type of the label.
-