Package com.stripe.param.tax
Class CalculationCreateParams.CustomerDetails
java.lang.Object
com.stripe.param.tax.CalculationCreateParams.CustomerDetails
- Enclosing class:
- CalculationCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
static enum
static class
State, county, province, or region. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The customer's postal address (for example, home or business location).The type of customer address provided.Map of extra parameters for custom features not available in this client library.The customer's IP address (IPv4 or IPv6).Overrides the tax calculation result to allow you to not collect tax from your customer.The customer's tax IDs.
-
Method Details
-
builder
-
getAddress
The customer's postal address (for example, home or business location). -
getAddressSource
The type of customer address provided. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getIpAddress
The customer's IP address (IPv4 or IPv6). -
getTaxIds
The customer's tax IDs. Stripe Tax might consider a transaction with applicable tax IDs to be B2B, which might affect the tax calculation result. Stripe Tax doesn't validate tax IDs for correctness. -
getTaxabilityOverride
Overrides the tax calculation result to allow you to not collect tax from your customer. Use this if you've manually checked your customer's tax exemptions. Prefer providing the customer'stax_ids
where possible, which automatically determines whetherreverse_charge
applies.
-