Class CreditNote.TaxAmount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.CreditNote.TaxAmount
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
CreditNote

public static class CreditNote.TaxAmount extends StripeObject
The amount on which tax is calculated, in cents (or local equivalent).
  • Constructor Details

    • TaxAmount

      public TaxAmount()
  • Method Details

    • getTaxRate

      public String getTaxRate()
      Get ID of expandable taxRate object.
    • setTaxRate

      public void setTaxRate(String id)
    • getTaxRateObject

      public TaxRate getTaxRateObject()
      Get expanded taxRate.
    • setTaxRateObject

      public void setTaxRateObject(TaxRate expandableObject)
    • getAmount

      public Long getAmount()
      The amount, in cents (or local equivalent), of the tax.
    • getInclusive

      public Boolean getInclusive()
      Whether this tax amount is inclusive or exclusive.
    • getTaxabilityReason

      public String 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, or zero_rated.

    • getTaxableAmount

      public Long getTaxableAmount()
      The amount on which tax is calculated, in cents (or local equivalent).
    • setAmount

      public void setAmount(Long amount)
      The amount, in cents (or local equivalent), of the tax.
    • setInclusive

      public void setInclusive(Boolean inclusive)
      Whether this tax amount is inclusive or exclusive.
    • setTaxabilityReason

      public void setTaxabilityReason(String taxabilityReason)
      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, or zero_rated.

    • setTaxableAmount

      public void setTaxableAmount(Long taxableAmount)
      The amount on which tax is calculated, in cents (or local equivalent).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object