Package com.stripe.param.tax
Class SettingsUpdateParams.Defaults.Builder
java.lang.Object
com.stripe.param.tax.SettingsUpdateParams.Defaults.Builder
- Enclosing class:
- SettingsUpdateParams.Defaults
-
Constructor Summary
-
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.setTaxBehavior
(SettingsUpdateParams.Defaults.TaxBehavior taxBehavior) Specifies the default tax behavior to be used when the item's price has unspecified tax behavior.setTaxCode
(EmptyParam taxCode) A tax code ID.setTaxCode
(String taxCode) A tax code ID.
-
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. SeeSettingsUpdateParams.Defaults.extraParams
for 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. SeeSettingsUpdateParams.Defaults.extraParams
for the field documentation. -
setTaxBehavior
public SettingsUpdateParams.Defaults.Builder setTaxBehavior(SettingsUpdateParams.Defaults.TaxBehavior taxBehavior) Specifies the default tax behavior to be used when the item's price has unspecified tax behavior. One of inclusive, exclusive, or inferred_by_currency. Once specified, it cannot be changed back to null. -
setTaxCode
A tax code ID. -
setTaxCode
A tax code ID.
-