Package com.stripe.param.issuing
Class CardUpdateParams.SpendingControls.SpendingLimit.Builder
java.lang.Object
com.stripe.param.issuing.CardUpdateParams.SpendingControls.SpendingLimit.Builder
- Enclosing class:
- CardUpdateParams.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 CardUpdateParams.SpendingControls.SpendingLimit.Builder addCategory(CardUpdateParams.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. SeeCardUpdateParams.SpendingControls.SpendingLimit.categories
for the field documentation. -
addAllCategory
public CardUpdateParams.SpendingControls.SpendingLimit.Builder addAllCategory(List<CardUpdateParams.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. SeeCardUpdateParams.SpendingControls.SpendingLimit.categories
for the field documentation. -
putExtraParam
public CardUpdateParams.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. SeeCardUpdateParams.SpendingControls.SpendingLimit.extraParams
for the field documentation. -
putAllExtraParam
public CardUpdateParams.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. SeeCardUpdateParams.SpendingControls.SpendingLimit.extraParams
for the field documentation. -
setInterval
public CardUpdateParams.SpendingControls.SpendingLimit.Builder setInterval(CardUpdateParams.SpendingControls.SpendingLimit.Interval interval) Required. Interval (or event) to which the amount applies.
-