Package com.stripe.param.v2.tax
Class ManualRuleCreateParams.ScheduledTaxRate.Rate.Builder
java.lang.Object
com.stripe.param.v2.tax.ManualRuleCreateParams.ScheduledTaxRate.Rate.Builder
- Enclosing class:
- ManualRuleCreateParams.ScheduledTaxRate.Rate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()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.setCountry(String country) Country of the tax rate.setDescription(String description) Description of the tax rate.setDisplayName(String displayName) Required. Display name of the tax rate as it will be shown on the invoice.setJurisdiction(String jurisdiction) Jurisdiction of the tax rate should apply as it will be shown on the invoice.setPercentage(String percentage) Required. Percentage of the tax rate.State of the tax rate.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCountry
Country of the tax rate. -
setDescription
Description of the tax rate. -
setDisplayName
Required. Display name of the tax rate as it will be shown on the invoice. -
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.Rate.extraParamsfor the field documentation. -
putAllExtraParam
public ManualRuleCreateParams.ScheduledTaxRate.Rate.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. SeeManualRuleCreateParams.ScheduledTaxRate.Rate.extraParamsfor the field documentation. -
setJurisdiction
Jurisdiction of the tax rate should apply as it will be shown on the invoice. -
setPercentage
Required. Percentage of the tax rate. Must be positive and maximum of 4 decimal points. -
setState
State of the tax rate.
-