Class Session.CustomField

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.CustomField
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Session

public static class Session.CustomField extends StripeObject
  • Constructor Details

    • CustomField

      public CustomField()
  • Method Details

    • getDropdown

      public Session.CustomField.Dropdown getDropdown()
    • getKey

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

      public Session.CustomField.Label getLabel()
    • getNumeric

      public Session.CustomField.Numeric getNumeric()
    • getOptional

      public Boolean getOptional()
      Whether the customer is required to complete the field before completing the Checkout Session. Defaults to false.
    • getText

      public Session.CustomField.Text getText()
    • getType

      public String getType()
      The type of the field.

      One of dropdown, numeric, or text.

    • setDropdown

      public void setDropdown(Session.CustomField.Dropdown dropdown)
    • setKey

      public void setKey(String key)
      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

      public void setLabel(Session.CustomField.Label label)
    • setNumeric

      public void setNumeric(Session.CustomField.Numeric numeric)
    • setOptional

      public void setOptional(Boolean optional)
      Whether the customer is required to complete the field before completing the Checkout Session. Defaults to false.
    • setText

      public void setText(Session.CustomField.Text text)
    • setType

      public void setType(String type)
      The type of the field.

      One of dropdown, numeric, or text.

    • 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