Class PaymentLink.AutomaticTax

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

public static class PaymentLink.AutomaticTax extends StripeObject
The URL the customer will be redirected to after the purchase is complete.
  • Constructor Details

    • AutomaticTax

      public AutomaticTax()
  • Method Details

    • getEnabled

      public Boolean getEnabled()
      If true, tax will be calculated automatically using the customer's location.
    • getLiability

      public PaymentLink.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.
    • setEnabled

      public void setEnabled(Boolean enabled)
      If true, tax will be calculated automatically using the customer's location.
    • setLiability

      public void setLiability(PaymentLink.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