Package com.stripe.model
Class PaymentLink.CustomField
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentLink.CustomField
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentLink
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classThe value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanConfiguration fortype=dropdownfields.getKey()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.getType()The type of the field.inthashCode()voidsetDropdown(PaymentLink.CustomField.Dropdown dropdown) Configuration fortype=dropdownfields.voidString of your choice that your integration can use to reconcile this field.voidvoidsetOptional(Boolean optional) Whether the customer is required to complete the field before completing the Checkout Session.voidThe type of the field.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CustomField
public CustomField()
-
-
Method Details
-
getDropdown
Configuration fortype=dropdownfields. -
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
-
getOptional
Whether the customer is required to complete the field before completing the Checkout Session. Defaults tofalse. -
getType
The type of the field.One of
dropdown,numeric, ortext. -
setDropdown
Configuration fortype=dropdownfields. -
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
-
setOptional
Whether the customer is required to complete the field before completing the Checkout Session. Defaults tofalse. -
setType
The type of the field.One of
dropdown,numeric, ortext. -
equals
-
canEqual
-
hashCode
public int hashCode()
-