Package com.stripe.param.v2.tax
Class ManualRuleCreateParams.Builder
java.lang.Object
com.stripe.param.v2.tax.ManualRuleCreateParams.Builder
- Enclosing class:
- ManualRuleCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllProduct(List<ManualRuleCreateParams.Product> elements) Add all elements to `products` list.Add all elements to `scheduledTaxRates` list.addProduct(ManualRuleCreateParams.Product element) Add an element to `products` list.Add an element to `scheduledTaxRates` list.build()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setLocation(ManualRuleCreateParams.Location location) Location where the rule applies.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
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. SeeManualRuleCreateParams.extraParamsfor 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. SeeManualRuleCreateParams.extraParamsfor 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. SeeManualRuleCreateParams.productsfor 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. SeeManualRuleCreateParams.productsfor the field documentation. -
addScheduledTaxRate
public ManualRuleCreateParams.Builder addScheduledTaxRate(ManualRuleCreateParams.ScheduledTaxRate element) 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. SeeManualRuleCreateParams.scheduledTaxRatesfor the field documentation. -
addAllScheduledTaxRate
public ManualRuleCreateParams.Builder addAllScheduledTaxRate(List<ManualRuleCreateParams.ScheduledTaxRate> elements) 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. SeeManualRuleCreateParams.scheduledTaxRatesfor the field documentation.
-