Package com.stripe.model.checkout
Class Session.AutomaticTax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.AutomaticTax
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
URL that creates a new Checkout Session when clicked that is a copy of this expired
Checkout Session.
-
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
Indicates whether automatic tax is enabled for the session.The account that's liable for tax.The status of the most recent automated tax calculation for this session.int
hashCode()
void
setEnabled
(Boolean enabled) Indicates whether automatic tax is enabled for the session.void
setLiability
(Session.AutomaticTax.Liability liability) The account that's liable for tax.void
The status of the most recent automated tax calculation for this session.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
Indicates whether automatic tax is enabled for the session. -
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. -
getStatus
The status of the most recent automated tax calculation for this session.One of
complete
,failed
, orrequires_location_inputs
. -
setEnabled
Indicates whether automatic tax is enabled for the session. -
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. -
setStatus
The status of the most recent automated tax calculation for this session.One of
complete
,failed
, orrequires_location_inputs
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-