Package com.stripe.model
Class PaymentLink.AutomaticTax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentLink.AutomaticTax
- All Implemented Interfaces:
- StripeObjectInterface
- Enclosing class:
- PaymentLink
For more details about AutomaticTax, please refer to the API Reference.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about Liability, please refer to the API Reference.
- 
Field SummaryFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanIftrue, tax will be calculated automatically using the customer's location.The account that's liable for tax.inthashCode()voidsetEnabled(Boolean enabled) Iftrue, tax will be calculated automatically using the customer's location.voidsetLiability(PaymentLink.AutomaticTax.Liability liability) The account that's liable for tax.Methods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
- 
Constructor Details- 
AutomaticTaxpublic AutomaticTax()
 
- 
- 
Method Details- 
getEnabledIftrue, tax will be calculated automatically using the customer's location.
- 
getLiabilityThe account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
- 
setEnabledIftrue, tax will be calculated automatically using the customer's location.
- 
setLiabilityThe account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
 
-