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
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
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 customer's location as identified by Stripe Tax.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 customer's location as identified by Stripe Tax.Methods inherited from class com.stripe.model.StripeObject
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 customer's location as identified by Stripe Tax. -
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 customer's location as identified by Stripe Tax. -
equals
-
canEqual
-
hashCode
public int hashCode()
-