Class Session.AutomaticTax

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

public static class Session.AutomaticTax extends StripeObject
URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session.
  • Constructor Details

    • AutomaticTax

      public AutomaticTax()
  • Method Details

    • getEnabled

      public Boolean getEnabled()
      Indicates whether automatic tax is enabled for the session.
    • getLiability

      public Session.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.
    • getStatus

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

      One of complete, failed, or requires_location_inputs.

    • setEnabled

      public void setEnabled(Boolean enabled)
      Indicates whether automatic tax is enabled for the session.
    • setLiability

      public void setLiability(Session.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.
    • setStatus

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

      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