Class Calculation.TaxBreakdown

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.tax.Calculation.TaxBreakdown
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Calculation

public static class Calculation.TaxBreakdown extends StripeObject
The tax type, such as vat or sales_tax.

One of amusement_tax, communications_tax, gst, hst, igst, jct, lease_tax, pst, qst, rst, sales_tax, or vat.

  • Constructor Details

    • TaxBreakdown

      public TaxBreakdown()
  • Method Details

    • getAmount

      public Long getAmount()
      The amount of tax, in the smallest currency unit.
    • getInclusive

      public Boolean getInclusive()
      Specifies whether the tax amount is included in the line item amount.
    • getTaxRateDetails

      public Calculation.TaxBreakdown.TaxRateDetails getTaxRateDetails()
    • getTaxabilityReason

      public String getTaxabilityReason()
      The reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules.

      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 the smallest currency unit.
    • setAmount

      public void setAmount(Long amount)
      The amount of tax, in the smallest currency unit.
    • setInclusive

      public void setInclusive(Boolean inclusive)
      Specifies whether the tax amount is included in the line item amount.
    • setTaxRateDetails

      public void setTaxRateDetails(Calculation.TaxBreakdown.TaxRateDetails taxRateDetails)
    • setTaxabilityReason

      public void setTaxabilityReason(String taxabilityReason)
      The reasoning behind this tax, for example, if the product is tax exempt. We might extend the possible values for this field to support new tax rules.

      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 the smallest currency unit.
    • 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