Class Account.Configuration.Customer.AutomaticIndirectTax

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.Account.Configuration.Customer.AutomaticIndirectTax
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Account.Configuration.Customer

public static class Account.Configuration.Customer.AutomaticIndirectTax extends StripeObject
Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information.
  • Constructor Details

    • AutomaticIndirectTax

      public AutomaticIndirectTax()
  • Method Details

    • getExempt

      public String getExempt()
      Describes the customer's tax exemption status, which is none, exempt, or reverse. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.

      One of exempt, none, or reverse.

    • getIpAddress

      public String getIpAddress()
      A recent IP address of the customer used for tax reporting and tax location inference.
    • getLocation

      The customer’s identified tax location - uses location_source. Will only be rendered if the automatic_indirect_tax feature is requested and active.
    • getLocationSource

      public String getLocationSource()
      The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.

      One of identity_address, ip_address, or shipping_address.

    • setExempt

      public void setExempt(String exempt)
      Describes the customer's tax exemption status, which is none, exempt, or reverse. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.

      One of exempt, none, or reverse.

    • setIpAddress

      public void setIpAddress(String ipAddress)
      A recent IP address of the customer used for tax reporting and tax location inference.
    • setLocation

      The customer’s identified tax location - uses location_source. Will only be rendered if the automatic_indirect_tax feature is requested and active.
    • setLocationSource

      public void setLocationSource(String locationSource)
      The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.

      One of identity_address, ip_address, or shipping_address.

    • 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