Class SessionCreateParams.AutomaticTax.Builder

java.lang.Object
com.stripe.param.checkout.SessionCreateParams.AutomaticTax.Builder
Enclosing class:
SessionCreateParams.AutomaticTax

public static class SessionCreateParams.AutomaticTax.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setEnabled

      Required. Set to true to calculate tax automatically using the customer's location.

      Enabling this parameter causes Checkout to collect any billing address information necessary for tax calculation.

    • putExtraParam

      public SessionCreateParams.AutomaticTax.Builder putExtraParam(String key, Object value)
      Add a key/value pair 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.AutomaticTax.extraParams for the field documentation.
    • putAllExtraParam

      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.AutomaticTax.extraParams for the field documentation.
    • setLiability

      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.