Package com.stripe.model
Class Customer.Tax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Customer.Tax
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Customer
For more details about Tax, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Location, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Surfaces if automatic tax computation is possible given the current customer location information.A recent IP address of the customer used for tax reporting and tax location inference.The identified tax location of the customer.int
hashCode()
void
setAutomaticTax
(String automaticTax) Surfaces if automatic tax computation is possible given the current customer location information.void
setIpAddress
(String ipAddress) A recent IP address of the customer used for tax reporting and tax location inference.void
setLocation
(Customer.Tax.Location location) The identified tax location of the customer.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Tax
public Tax()
-
-
Method Details
-
getAutomaticTax
Surfaces if automatic tax computation is possible given the current customer location information.One of
failed
,not_collecting
,supported
, orunrecognized_location
. -
getIpAddress
A recent IP address of the customer used for tax reporting and tax location inference. -
getLocation
The identified tax location of the customer. -
setAutomaticTax
Surfaces if automatic tax computation is possible given the current customer location information.One of
failed
,not_collecting
,supported
, orunrecognized_location
. -
setIpAddress
A recent IP address of the customer used for tax reporting and tax location inference. -
setLocation
The identified tax location of the customer. -
equals
-
canEqual
-
hashCode
public int hashCode()
-