Package com.stripe.param
Class PromotionCodeUpdateParams.Restrictions.Builder
java.lang.Object
com.stripe.param.PromotionCodeUpdateParams.Restrictions.Builder
- Enclosing class:
- PromotionCodeUpdateParams.Restrictions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.Add all map key/value pairs to `currencyOptions` map.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.Add a key/value pair to `currencyOptions` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putCurrencyOption
public PromotionCodeUpdateParams.Restrictions.Builder putCurrencyOption(String key, PromotionCodeUpdateParams.Restrictions.CurrencyOption value) Add a key/value pair to `currencyOptions` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePromotionCodeUpdateParams.Restrictions.currencyOptions
for the field documentation. -
putAllCurrencyOption
public PromotionCodeUpdateParams.Restrictions.Builder putAllCurrencyOption(Map<String, PromotionCodeUpdateParams.Restrictions.CurrencyOption> map) Add all map key/value pairs to `currencyOptions` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePromotionCodeUpdateParams.Restrictions.currencyOptions
for the field documentation. -
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. SeePromotionCodeUpdateParams.Restrictions.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. SeePromotionCodeUpdateParams.Restrictions.extraParams
for the field documentation.
-