Class SubscriptionSchedule.Phase.AutomaticTax

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

public static class SubscriptionSchedule.Phase.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.

      Equal to requires_location_inputs.

    • getEnabled

      public Boolean getEnabled()
      Whether Stripe automatically computes tax on invoices created during this phase.
    • 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.
    • setDisabledReason

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

      Equal to requires_location_inputs.

    • setEnabled

      public void setEnabled(Boolean enabled)
      Whether Stripe automatically computes tax on invoices created during this phase.
    • setLiability

      public void setLiability(SubscriptionSchedule.Phase.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.
    • 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