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
For more details about TaxBreakdown, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about TaxRateDetails, 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 booleanbooleanThe amount of tax, in the smallest currency unit.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 the smallest currency unit.inthashCode()voidThe amount of tax, in the smallest currency unit.voidsetInclusive(Boolean inclusive) Specifies whether the tax amount is included in the line item amount.voidsetTaxabilityReason(String taxabilityReason) The reasoning behind this tax, for example, if the product is tax exempt.voidsetTaxableAmount(Long taxableAmount) The amount on which tax is calculated, in the smallest currency unit.voidsetTaxRateDetails(Calculation.TaxBreakdown.TaxRateDetails taxRateDetails) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TaxBreakdown
public TaxBreakdown()
-
-
Method Details
-
getAmount
The amount of tax, in the smallest currency unit. -
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 the smallest currency unit. -
setAmount
The amount of tax, in the smallest currency unit. -
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 the smallest currency unit. -
equals
-
canEqual
-
hashCode
public int hashCode()
-