Package com.stripe.param.checkout
Class SessionCreateParams.CustomField
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.CustomField
- Enclosing class:
- SessionCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
Required. The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer.static class
static class
The minimum character length requirement for the customer's input.static enum
The minimum character length requirement for the customer's input. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Configuration fortype=dropdown
fields.Map of extra parameters for custom features not available in this client library.getKey()
Required. String of your choice that your integration can use to reconcile this field.getLabel()
Required. The label for the field, displayed to the customer.Configuration fortype=numeric
fields.Whether the customer is required to complete the field before completing the Checkout Session.getText()
Configuration fortype=text
fields.getType()
Required. The type of the field.
-
Method Details
-
builder
-
getDropdown
Configuration fortype=dropdown
fields. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getKey
Required. String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. -
getLabel
Required. The label for the field, displayed to the customer. -
getNumeric
Configuration fortype=numeric
fields. -
getOptional
Whether the customer is required to complete the field before completing the Checkout Session. Defaults tofalse
. -
getText
Configuration fortype=text
fields. -
getType
Required. The type of the field.
-