Class Session.NameCollection.Business

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

public static class Session.NameCollection.Business extends StripeObject
For more details about Business, please refer to the API Reference.
  • Constructor Details

    • Business

      public Business()
  • Method Details

    • getEnabled

      public Boolean getEnabled()
      Indicates whether business name collection is enabled for the session.
    • getOptional

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

      public void setEnabled(Boolean enabled)
      Indicates whether business name collection is enabled for the session.
    • setOptional

      public void setOptional(Boolean optional)
      Whether the customer is required to complete the field before completing the Checkout Session. Defaults to false.
    • 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