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
The URL the customer will be redirected to after the purchase is complete.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Iftrue
, tax will be calculated automatically using the customer's location.The account that's liable for tax.int
hashCode()
void
setEnabled
(Boolean enabled) Iftrue
, tax will be calculated automatically using the customer's location.void
setLiability
(PaymentLink.AutomaticTax.Liability liability) The account that's liable for tax.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AutomaticTax
public AutomaticTax()
-
-
Method Details
-
getEnabled
Iftrue
, tax will be calculated automatically using the customer's location. -
getLiability
The 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. -
setEnabled
Iftrue
, tax will be calculated automatically using the customer's location. -
setLiability
The 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
-
hashCode
public int hashCode()
-