Package com.stripe.model.checkout
Class Session.CustomField.Dropdown
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.CustomField.Dropdown
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session.CustomField
For more details about Dropdown, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Option, 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 booleanbooleanThe value that will pre-fill on the payment page.The options available for the customer to select.getValue()The option selected by the customer.inthashCode()voidsetDefaultValue(String defaultValue) The value that will pre-fill on the payment page.voidThe options available for the customer to select.voidThe option selected by the customer.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Dropdown
public Dropdown()
-
-
Method Details
-
getDefaultValue
The value that will pre-fill on the payment page. -
getOptions
The options available for the customer to select. Up to 200 options allowed. -
getValue
The option selected by the customer. This will be thevaluefor the option. -
setDefaultValue
The value that will pre-fill on the payment page. -
setOptions
The options available for the customer to select. Up to 200 options allowed. -
setValue
The option selected by the customer. This will be thevaluefor the option. -
equals
-
canEqual
-
hashCode
public int hashCode()
-