Package com.stripe.param.v2.tax
Class ManualRuleUpdateParams.ScheduledTaxRate.Rate.Builder
java.lang.Object
com.stripe.param.v2.tax.ManualRuleUpdateParams.ScheduledTaxRate.Rate.Builder
- Enclosing class:
- ManualRuleUpdateParams.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(EmptyParam country) Country of the tax rate.setCountry(String country) Country of the tax rate.setDescription(EmptyParam description) Description of the tax rate.setDescription(String description) Description of the tax rate.setDisplayName(EmptyParam displayName) Required. Display name of the tax rate as it will be shown on the invoice.setDisplayName(String displayName) Required. Display name of the tax rate as it will be shown on the invoice.setJurisdiction(EmptyParam jurisdiction) Jurisdiction of the tax rate should apply 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(EmptyParam percentage) Required. Percentage of the tax rate.setPercentage(String percentage) Required. Percentage of the tax rate.setState(EmptyParam state) State 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. -
setCountry
Country of the tax rate. -
setDescription
Description 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. -
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. SeeManualRuleUpdateParams.ScheduledTaxRate.Rate.extraParamsfor the field documentation. -
putAllExtraParam
public ManualRuleUpdateParams.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. SeeManualRuleUpdateParams.ScheduledTaxRate.Rate.extraParamsfor the field documentation. -
setJurisdiction
Jurisdiction of the tax rate should apply as it will be shown on the invoice. -
setJurisdiction
public ManualRuleUpdateParams.ScheduledTaxRate.Rate.Builder setJurisdiction(EmptyParam jurisdiction) 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. -
setPercentage
Required. Percentage of the tax rate. Must be positive and maximum of 4 decimal points. -
setState
State of the tax rate. -
setState
State of the tax rate.
-