Package com.stripe.model
Class Invoice.ShippingCost.Tax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.ShippingCost.Tax
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Invoice.ShippingCost
For more details about Tax, 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 booleanbooleanAmount of tax applied for this rate.getRate()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).inthashCode()voidAmount of tax applied for this rate.voidvoidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.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).Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Tax
public Tax()
-
-
Method Details
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getAmount
Amount of tax applied for this rate. -
getRate
Tax rates can be applied to invoices, subscriptions and Checkout Sessions to collect tax.Related guide: Tax rates
-
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
Amount of tax applied for this rate. -
setRate
Tax rates can be applied to invoices, subscriptions and Checkout Sessions to collect tax.Related guide: Tax rates
-
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()
-