Package com.stripe.model
Class CreditNote.TotalTax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.CreditNote.TotalTax
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- CreditNote
For more details about TotalTax, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For 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 boolean
boolean
The amount of the tax, in cents (or local equivalent).The reasoning behind this tax, for example, if the product is tax exempt.The amount on which tax is calculated, in cents (or local equivalent).Whether this tax is inclusive or exclusive.Additional details about the tax rate.getType()
The type of tax information.int
hashCode()
void
The amount of the tax, in cents (or local equivalent).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 cents (or local equivalent).void
setTaxBehavior
(String taxBehavior) Whether this tax is inclusive or exclusive.void
setTaxRateDetails
(CreditNote.TotalTax.TaxRateDetails taxRateDetails) Additional details about the tax rate.void
The type of tax information.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TotalTax
public TotalTax()
-
-
Method Details
-
getAmount
The amount of the tax, in cents (or local equivalent). -
getTaxBehavior
Whether this tax is inclusive or exclusive.One of
exclusive
, orinclusive
. -
getTaxRateDetails
Additional details about the tax rate. Only present whentype
istax_rate_details
. -
getTaxabilityReason
The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.One of
customer_exempt
,not_available
,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 cents (or local equivalent). -
getType
The type of tax information.Equal to
tax_rate_details
. -
setAmount
The amount of the tax, in cents (or local equivalent). -
setTaxBehavior
Whether this tax is inclusive or exclusive.One of
exclusive
, orinclusive
. -
setTaxRateDetails
Additional details about the tax rate. Only present whentype
istax_rate_details
. -
setTaxabilityReason
The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.One of
customer_exempt
,not_available
,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 cents (or local equivalent). -
setType
The type of tax information.Equal to
tax_rate_details
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-