Package com.stripe.model
Class QuotePreviewInvoice.AutomaticTax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuotePreviewInvoice.AutomaticTax
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuotePreviewInvoice
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Whether Stripe automatically computes tax on this invoice.The status of the most recent automated tax calculation for this invoice.int
hashCode()
void
setEnabled
(Boolean enabled) Whether Stripe automatically computes tax on this invoice.void
The status of the most recent automated tax calculation for this invoice.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AutomaticTax
public AutomaticTax()
-
-
Method Details
-
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. -
getStatus
The status of the most recent automated tax calculation for this invoice.One of
complete
,failed
, orrequires_location_inputs
. -
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. -
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()
-