Class QuoteCreateParams.AutomaticTax.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setEnabled

      public QuoteCreateParams.AutomaticTax.Builder setEnabled(Boolean enabled)
      Required. Controls whether Stripe will automatically compute tax on the resulting invoices or subscriptions as well as the quote itself.
    • putExtraParam

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

      public QuoteCreateParams.AutomaticTax.Builder putAllExtraParam(Map<String,Object> map)
      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 QuoteCreateParams.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.