Package com.stripe.model
Class Invoice.AutomaticTax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.AutomaticTax
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Invoice
For more details about AutomaticTax, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Liability, 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
If Stripe disabled automatic tax, this enum describes why.Whether Stripe automatically computes tax on this invoice.The account that's liable for tax.The tax provider powering automatic tax.The status of the most recent automated tax calculation for this invoice.int
hashCode()
void
setDisabledReason
(String disabledReason) If Stripe disabled automatic tax, this enum describes why.void
setEnabled
(Boolean enabled) Whether Stripe automatically computes tax on this invoice.void
setLiability
(Invoice.AutomaticTax.Liability liability) The account that's liable for tax.void
setProvider
(String provider) The tax provider powering automatic tax.void
The status of the most recent automated tax calculation for this invoice.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AutomaticTax
public AutomaticTax()
-
-
Method Details
-
getDisabledReason
If Stripe disabled automatic tax, this enum describes why.One of
finalization_requires_location_inputs
, orfinalization_system_error
. -
getEnabled
Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified tax rates, negative amounts, ortax_behavior=unspecified
) cannot be added to automatic tax invoices. -
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. -
getProvider
The tax provider powering automatic tax. -
getStatus
The status of the most recent automated tax calculation for this invoice.One of
complete
,failed
, orrequires_location_inputs
. -
setDisabledReason
If Stripe disabled automatic tax, this enum describes why.One of
finalization_requires_location_inputs
, orfinalization_system_error
. -
setEnabled
Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified tax rates, negative amounts, ortax_behavior=unspecified
) cannot be added to automatic tax invoices. -
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. -
setProvider
The tax provider powering automatic tax. -
setStatus
The status of the most recent automated tax calculation for this invoice.One of
complete
,failed
, orrequires_location_inputs
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-