Class Invoice.TotalTax

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.TotalTax
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Invoice

public static class Invoice.TotalTax extends StripeObject
For more details about TotalTax, please refer to the API Reference.
  • Constructor Details

    • TotalTax

      public TotalTax()
  • Method Details

    • getAmount

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

      public String getTaxBehavior()
      Whether this tax is inclusive or exclusive.

      One of exclusive, or inclusive.

    • getTaxRateDetails

      public Invoice.TotalTax.TaxRateDetails getTaxRateDetails()
      Additional details about the tax rate. Only present when type is tax_rate_details.
    • 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_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, or zero_rated.

    • getTaxableAmount

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

      public String getType()
      The type of tax information.

      Equal to tax_rate_details.

    • setAmount

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

      public void setTaxBehavior(String taxBehavior)
      Whether this tax is inclusive or exclusive.

      One of exclusive, or inclusive.

    • setTaxRateDetails

      public void setTaxRateDetails(Invoice.TotalTax.TaxRateDetails taxRateDetails)
      Additional details about the tax rate. Only present when type is tax_rate_details.
    • 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_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, or zero_rated.

    • setTaxableAmount

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

      public void setType(String type)
      The type of tax information.

      Equal to tax_rate_details.

    • 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