Class AutomaticRuleCreateParams.Builder

java.lang.Object
com.stripe.param.v2.tax.AutomaticRuleCreateParams.Builder
Enclosing class:
AutomaticRuleCreateParams

public static class AutomaticRuleCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public AutomaticRuleCreateParams build()
      Finalize and obtain parameter instance from this builder.
    • setBillableItem

      public AutomaticRuleCreateParams.Builder setBillableItem(String billableItem)
      Required. The BillableItem ID to set automatic Tax configuration for.
    • putExtraParam

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

      public AutomaticRuleCreateParams.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 AutomaticRuleCreateParams.extraParams for the field documentation.
    • setTaxCode

      public AutomaticRuleCreateParams.Builder setTaxCode(String taxCode)
      Required. The TaxCode object to be used for automatic tax calculations.