Package com.stripe.param.checkout
Class SessionCreateParams.AutomaticTax
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.AutomaticTax
- Enclosing class:
- SessionCreateParams
Add all map key/value pairs to `extraParams` map. A map is initialized for the first
`put/putAll` call, and subsequent calls add additional key/value pairs to the original
map. See
SessionCreateParams.AfterExpiration.Recovery.extraParams for the field
documentation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanControls how much address information Checkout collects when automatic_tax is enabled.Required. Set totrueto calculate tax automatically using the customer's location.Map of extra parameters for custom features not available in this client library.The account that's liable for tax.inthashCode()
-
Method Details
-
builder
-
getAddressCollectionPrecision
Controls how much address information Checkout collects when automatic_tax is enabled.Defaults to
full, which collects the address fields needed for the most accurate tax calculation. Set tominimalto collect only the fields required for tax in the buyer's country, accepting potentially less precise tax calculation in exchange for a streamlined form.Only honored when
automatic_tax.enabledistrue,billing_address_collectionisauto, the resolved tax address source is the session billing address, andui_modeisform. -
getEnabled
Required. Set totrueto calculate tax automatically using the customer's location.Enabling this parameter causes Checkout to collect any billing address information necessary for tax calculation.
-
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@SerializedNamevalue. 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. -
getLiability
The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. -
equals
-
canEqual
-
hashCode
public int hashCode()
-