Package com.stripe.model.checkout
Class Session.CustomField
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.CustomField
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
For more details about CustomField, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Dropdown, please refer to the API Reference.static classFor more details about Label, please refer to the API Reference.static classFor more details about Numeric, please refer to the API Reference.static classFor more details about Text, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetKey()String of your choice that your integration can use to reconcile this field.getLabel()Whether the customer is required to complete the field before completing the Checkout Session.getText()getType()The type of the field.inthashCode()voidsetDropdown(Session.CustomField.Dropdown dropdown) voidString of your choice that your integration can use to reconcile this field.voidvoidsetNumeric(Session.CustomField.Numeric numeric) voidsetOptional(Boolean optional) Whether the customer is required to complete the field before completing the Checkout Session.voidvoidThe type of the field.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CustomField
public CustomField()
-
-
Method Details
-
getDropdown
-
getKey
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
-
getNumeric
-
getOptional
Whether the customer is required to complete the field before completing the Checkout Session. Defaults tofalse. -
getText
-
getType
The type of the field.One of
dropdown,numeric, ortext. -
setDropdown
-
setKey
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. -
setLabel
-
setNumeric
-
setOptional
Whether the customer is required to complete the field before completing the Checkout Session. Defaults tofalse. -
setText
-
setType
The type of the field.One of
dropdown,numeric, ortext. -
equals
-
canEqual
-
hashCode
public int hashCode()
-