Class Invoice.AutomaticTax

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

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

    • AutomaticTax

      public AutomaticTax()
  • Method Details

    • getDisabledReason

      public String getDisabledReason()
      If Stripe disabled automatic tax, this enum describes why.

      One of finalization_requires_location_inputs, or finalization_system_error.

    • getEnabled

      public Boolean getEnabled()
      Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified tax rates, negative amounts, or tax_behavior=unspecified) cannot be added to automatic tax invoices.
    • getLiability

      public Invoice.AutomaticTax.Liability getLiability()
      The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
    • getProvider

      public String getProvider()
      The tax provider powering automatic tax.
    • getStatus

      public String getStatus()
      The status of the most recent automated tax calculation for this invoice.

      One of complete, failed, or requires_location_inputs.

    • setDisabledReason

      public void setDisabledReason(String disabledReason)
      If Stripe disabled automatic tax, this enum describes why.

      One of finalization_requires_location_inputs, or finalization_system_error.

    • setEnabled

      public void setEnabled(Boolean enabled)
      Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified tax rates, negative amounts, or tax_behavior=unspecified) cannot be added to automatic tax invoices.
    • setLiability

      public void setLiability(Invoice.AutomaticTax.Liability liability)
      The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
    • setProvider

      public void setProvider(String provider)
      The tax provider powering automatic tax.
    • setStatus

      public void setStatus(String status)
      The status of the most recent automated tax calculation for this invoice.

      One of complete, failed, or requires_location_inputs.

    • 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