Package com.stripe.model.tax
Class Calculation.TaxBreakdown
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.tax.Calculation.TaxBreakdown
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Calculation
The tax type, such as
vat
or sales_tax
.
One of amusement_tax
, communications_tax
, gst
, hst
,
igst
, jct
, lease_tax
, pst
, qst
, rst
,
sales_tax
, or vat
.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The amount of tax, in integer cents.Specifies whether the tax amount is included in the line item amount.The reasoning behind this tax, for example, if the product is tax exempt.The amount on which tax is calculated, in integer cents.int
hashCode()
void
The amount of tax, in integer cents.void
setInclusive
(Boolean inclusive) Specifies whether the tax amount is included in the line item amount.void
setTaxabilityReason
(String taxabilityReason) The reasoning behind this tax, for example, if the product is tax exempt.void
setTaxableAmount
(Long taxableAmount) The amount on which tax is calculated, in integer cents.void
setTaxRateDetails
(Calculation.TaxBreakdown.TaxRateDetails taxRateDetails) Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TaxBreakdown
public TaxBreakdown()
-
-
Method Details
-
getAmount
The amount of tax, in integer cents. -
getInclusive
Specifies whether the tax amount is included in the line item amount. -
getTaxRateDetails
-
getTaxabilityReason
The reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules.One of
customer_exempt
,not_collecting
,not_subject_to_tax
,not_supported
,portion_product_exempt
,portion_reduced_rated
,portion_standard_rated
,product_exempt
,product_exempt_holiday
,proportionally_rated
,reduced_rated
,reverse_charge
,standard_rated
,taxable_basis_reduced
, orzero_rated
. -
getTaxableAmount
The amount on which tax is calculated, in integer cents. -
setAmount
The amount of tax, in integer cents. -
setInclusive
Specifies whether the tax amount is included in the line item amount. -
setTaxRateDetails
-
setTaxabilityReason
The reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules.One of
customer_exempt
,not_collecting
,not_subject_to_tax
,not_supported
,portion_product_exempt
,portion_reduced_rated
,portion_standard_rated
,product_exempt
,product_exempt_holiday
,proportionally_rated
,reduced_rated
,reverse_charge
,standard_rated
,taxable_basis_reduced
, orzero_rated
. -
setTaxableAmount
The amount on which tax is calculated, in integer cents. -
equals
-
canEqual
-
hashCode
public int hashCode()
-