Package com.stripe.model.checkout
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
For more details about Business, please refer to the API Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanIndicates whether business name collection is enabled for the session.Whether the customer is required to complete the field before completing the Checkout Session.inthashCode()voidsetEnabled(Boolean enabled) Indicates whether business name collection is enabled for the session.voidsetOptional(Boolean optional) Whether the customer is required to complete the field before completing the Checkout Session.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Business
public Business()
-
-
Method Details
-
getEnabled
Indicates whether business name collection is enabled for the session. -
getOptional
Whether the customer is required to complete the field before completing the Checkout Session. Defaults tofalse. -
setEnabled
Indicates whether business name collection is enabled for the session. -
setOptional
Whether the customer is required to complete the field before completing the Checkout Session. Defaults tofalse. -
equals
-
canEqual
-
hashCode
public int hashCode()
-