Package com.stripe.model
Class InvoiceLineItem.TaxAmount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.InvoiceLineItem.TaxAmount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- InvoiceLineItem
Credited invoice line items.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The amount, in cents (or local equivalent), of the tax.Whether this tax amount is inclusive or exclusive.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).Get ID of expandabletaxRate
object.Get expandedtaxRate
.int
hashCode()
void
The amount, in cents (or local equivalent), of the tax.void
setInclusive
(Boolean inclusive) Whether this tax amount is inclusive or exclusive.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
setTaxRate
(String id) void
setTaxRateObject
(TaxRate expandableObject) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TaxAmount
public TaxAmount()
-
-
Method Details
-
getTaxRate
Get ID of expandabletaxRate
object. -
setTaxRate
-
getTaxRateObject
Get expandedtaxRate
. -
setTaxRateObject
-
getAmount
The amount, in cents (or local equivalent), of the tax. -
getInclusive
Whether this tax amount is inclusive or exclusive. -
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_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). -
setAmount
The amount, in cents (or local equivalent), of the tax. -
setInclusive
Whether this tax amount is inclusive or exclusive. -
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_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). -
equals
-
canEqual
-
hashCode
public int hashCode()
-