Package com.stripe.param.checkout
Class SessionCreateParams.CustomField.Text.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.CustomField.Text.Builder
- Enclosing class:
- SessionCreateParams.CustomField.Text
-
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.setDefaultValue
(String defaultValue) The value that will pre-fill the field on the payment page.setMaximumLength
(Long maximumLength) The maximum character length constraint for the customer's input.setMinimumLength
(Long minimumLength)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDefaultValue
The value that will pre-fill the field on the payment page. -
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.Text.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.Text.extraParams
for the field documentation. -
setMaximumLength
The maximum character length constraint for the customer's input. -
setMinimumLength
-