Package com.stripe.param.v2.tax
Class ManualRuleCreateParams.ScheduledTaxRate.Builder
java.lang.Object
com.stripe.param.v2.tax.ManualRuleCreateParams.ScheduledTaxRate.Builder
- Enclosing class:
- ManualRuleCreateParams.ScheduledTaxRate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `rates` list.Add an element to `rates` 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.setStartsAt(Instant startsAt) The start time for the tax rate.
-
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.ScheduledTaxRate.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.ScheduledTaxRate.extraParamsfor the field documentation. -
addRate
public ManualRuleCreateParams.ScheduledTaxRate.Builder addRate(ManualRuleCreateParams.ScheduledTaxRate.Rate element) Add an element to `rates` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeManualRuleCreateParams.ScheduledTaxRate.ratesfor the field documentation. -
addAllRate
public ManualRuleCreateParams.ScheduledTaxRate.Builder addAllRate(List<ManualRuleCreateParams.ScheduledTaxRate.Rate> elements) Add all elements to `rates` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeManualRuleCreateParams.ScheduledTaxRate.ratesfor the field documentation. -
setStartsAt
The start time for the tax rate.
-