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
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The value that will pre-fill on the payment page.The options available for the customer to select.getValue()
The option selected by the customer.int
hashCode()
void
setDefaultValue
(String defaultValue) The value that will pre-fill on the payment page.void
The options available for the customer to select.void
The option selected by the customer.Methods inherited from class com.stripe.model.StripeObject
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 thevalue
for 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 thevalue
for the option. -
equals
-
canEqual
-
hashCode
public int hashCode()
-