Package com.stripe.param.issuing
Class CardholderUpdateParams.SpendingControls.SpendingLimit.Builder
java.lang.Object
com.stripe.param.issuing.CardholderUpdateParams.SpendingControls.SpendingLimit.Builder
- Enclosing class:
- CardholderUpdateParams.SpendingControls.SpendingLimit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `categories` list.Add an element to `categories` 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.Required. Maximum amount allowed to spend per interval.Required. Interval (or event) to which the amount applies.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. Maximum amount allowed to spend per interval. -
addCategory
public CardholderUpdateParams.SpendingControls.SpendingLimit.Builder addCategory(CardholderUpdateParams.SpendingControls.SpendingLimit.Category element) Add an element to `categories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardholderUpdateParams.SpendingControls.SpendingLimit.categories
for the field documentation. -
addAllCategory
public CardholderUpdateParams.SpendingControls.SpendingLimit.Builder addAllCategory(List<CardholderUpdateParams.SpendingControls.SpendingLimit.Category> elements) Add all elements to `categories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardholderUpdateParams.SpendingControls.SpendingLimit.categories
for the field documentation. -
putExtraParam
public CardholderUpdateParams.SpendingControls.SpendingLimit.Builder putExtraParam(String key, Object value) 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. SeeCardholderUpdateParams.SpendingControls.SpendingLimit.extraParams
for the field documentation. -
putAllExtraParam
public CardholderUpdateParams.SpendingControls.SpendingLimit.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. SeeCardholderUpdateParams.SpendingControls.SpendingLimit.extraParams
for the field documentation. -
setInterval
public CardholderUpdateParams.SpendingControls.SpendingLimit.Builder setInterval(CardholderUpdateParams.SpendingControls.SpendingLimit.Interval interval) Required. Interval (or event) to which the amount applies.
-