Package com.stripe.model.v2.core
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
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The customer’s identified tax location - useslocation_source
. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Describes the customer's tax exemption status, which isnone
,exempt
, orreverse
.A recent IP address of the customer used for tax reporting and tax location inference.The customer’s identified tax location - useslocation_source
.The data source used to identify the customer's tax location - defaults to 'identity_address'.int
hashCode()
void
Describes the customer's tax exemption status, which isnone
,exempt
, orreverse
.void
setIpAddress
(String ipAddress) A recent IP address of the customer used for tax reporting and tax location inference.void
The customer’s identified tax location - useslocation_source
.void
setLocationSource
(String locationSource) The data source used to identify the customer's tax location - defaults to 'identity_address'.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AutomaticIndirectTax
public AutomaticIndirectTax()
-
-
Method Details
-
getExempt
Describes the customer's tax exemption status, which isnone
,exempt
, orreverse
. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.One of
exempt
,none
, orreverse
. -
getIpAddress
A recent IP address of the customer used for tax reporting and tax location inference. -
getLocation
The customer’s identified tax location - useslocation_source
. Will only be rendered if theautomatic_indirect_tax
feature is requested andactive
. -
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
, orshipping_address
. -
setExempt
Describes the customer's tax exemption status, which isnone
,exempt
, orreverse
. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.One of
exempt
,none
, orreverse
. -
setIpAddress
A recent IP address of the customer used for tax reporting and tax location inference. -
setLocation
The customer’s identified tax location - useslocation_source
. Will only be rendered if theautomatic_indirect_tax
feature is requested andactive
. -
setLocationSource
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
, orshipping_address
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-