Package com.stripe.model.checkout
Class Session.TaxIdCollection
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.TaxIdCollection
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
For more details about TaxIdCollection, 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 boolean
boolean
Indicates whether tax ID collection is enabled for the session.Indicates whether a tax ID is required on the payment pageint
hashCode()
void
setEnabled
(Boolean enabled) Indicates whether tax ID collection is enabled for the session.void
setRequired
(String required) Indicates whether a tax ID is required on the payment pageMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TaxIdCollection
public TaxIdCollection()
-
-
Method Details
-
getEnabled
Indicates whether tax ID collection is enabled for the session. -
getRequired
Indicates whether a tax ID is required on the payment pageOne of
if_supported
, ornever
. -
setEnabled
Indicates whether tax ID collection is enabled for the session. -
setRequired
Indicates whether a tax ID is required on the payment pageOne of
if_supported
, ornever
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-