Class Session.CustomField.Label

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

public static class Session.CustomField.Label extends StripeObject
The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
  • Constructor Details

    • Label

      public Label()
  • Method Details

    • getCustom

      public String getCustom()
      Custom text for the label, displayed to the customer. Up to 50 characters.
    • getType

      public String getType()
      The type of the label.

      Equal to custom.

    • setCustom

      public void setCustom(String custom)
      Custom text for the label, displayed to the customer. Up to 50 characters.
    • setType

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

      Equal to custom.

    • 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