Class Customer.Tax

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Customer.Tax
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Customer

public static class Customer.Tax extends StripeObject
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
  • Constructor Details

    • Tax

      public Tax()
  • Method Details

    • getAutomaticTax

      public String getAutomaticTax()
      Surfaces if automatic tax computation is possible given the current customer location information.

      One of failed, not_collecting, supported, or unrecognized_location.

    • getIpAddress

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

      public Customer.Tax.Location getLocation()
      The customer's location as identified by Stripe Tax.
    • setAutomaticTax

      public void setAutomaticTax(String automaticTax)
      Surfaces if automatic tax computation is possible given the current customer location information.

      One of failed, not_collecting, supported, or unrecognized_location.

    • setIpAddress

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

      public void setLocation(Customer.Tax.Location location)
      The customer's location as identified by Stripe Tax.
    • 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