Package com.stripe.model
Class PaymentLink.NameCollection.Business
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentLink.NameCollection.Business
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentLink.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 payment link.Whether the customer is required to complete the field before checking out.inthashCode()voidsetEnabled(Boolean enabled) Indicates whether business name collection is enabled for the payment link.voidsetOptional(Boolean optional) Whether the customer is required to complete the field before checking out.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 payment link. -
getOptional
Whether the customer is required to complete the field before checking out. Defaults tofalse. -
setEnabled
Indicates whether business name collection is enabled for the payment link. -
setOptional
Whether the customer is required to complete the field before checking out. Defaults tofalse. -
equals
-
canEqual
-
hashCode
public int hashCode()
-