Package com.stripe.model
Class CreditNoteLineItem.Tax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.CreditNoteLineItem.Tax
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- CreditNoteLineItem
For more details about Tax, 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 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.inthashCode()voidThe amount of the tax, in cents (or local equivalent).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 cents (or local equivalent).voidsetTaxBehavior(String taxBehavior) Whether this tax is inclusive or exclusive.voidsetTaxRateDetails(CreditNoteLineItem.Tax.TaxRateDetails taxRateDetails) Additional details about the tax rate.voidThe type of tax information.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Tax
public Tax()
-
-
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 whentypeistax_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 whentypeistax_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()
-