Class ManualRuleUpdateParams.Builder

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

public static class ManualRuleUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public ManualRuleUpdateParams build()
      Finalize and obtain parameter instance from this builder.
    • putExtraParam

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

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

      Location where the rule applies.
    • addProduct

      Add an element to `products` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ManualRuleUpdateParams.products for the field documentation.
    • addAllProduct

      Add all elements to `products` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ManualRuleUpdateParams.products for the field documentation.
    • addScheduledTaxRate

      Add an element to `scheduledTaxRates` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ManualRuleUpdateParams.scheduledTaxRates for the field documentation.
    • addAllScheduledTaxRate

      Add all elements to `scheduledTaxRates` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ManualRuleUpdateParams.scheduledTaxRates for the field documentation.