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

public static class Session.CustomField.Dropdown extends StripeObject
  • Constructor Details

    • Dropdown

      public Dropdown()
  • Method Details

    • getDefaultValue

      public String 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

      public String getValue()
      The option selected by the customer. This will be the value for the option.
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      The value that will pre-fill on the payment page.
    • setOptions

      public void setOptions(List<Session.CustomField.Dropdown.Option> options)
      The options available for the customer to select. Up to 200 options allowed.
    • setValue

      public void setValue(String value)
      The option selected by the customer. This will be the value for the option.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object