Package com.stripe.param.issuing
Class CardUpdateParams.SpendingControls.Builder
- java.lang.Object
-
- com.stripe.param.issuing.CardUpdateParams.SpendingControls.Builder
-
- Enclosing class:
- CardUpdateParams.SpendingControls
public static class CardUpdateParams.SpendingControls.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public CardUpdateParams.SpendingControls build()
Finalize and obtain parameter instance from this builder.
-
addAllowedCategory
public CardUpdateParams.SpendingControls.Builder addAllowedCategory(CardUpdateParams.SpendingControls.AllowedCategory element)
Add an element to `allowedCategories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardUpdateParams.SpendingControls.allowedCategories
for the field documentation.
-
addAllAllowedCategory
public CardUpdateParams.SpendingControls.Builder addAllAllowedCategory(java.util.List<CardUpdateParams.SpendingControls.AllowedCategory> elements)
Add all elements to `allowedCategories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardUpdateParams.SpendingControls.allowedCategories
for the field documentation.
-
addBlockedCategory
public CardUpdateParams.SpendingControls.Builder addBlockedCategory(CardUpdateParams.SpendingControls.BlockedCategory element)
Add an element to `blockedCategories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardUpdateParams.SpendingControls.blockedCategories
for the field documentation.
-
addAllBlockedCategory
public CardUpdateParams.SpendingControls.Builder addAllBlockedCategory(java.util.List<CardUpdateParams.SpendingControls.BlockedCategory> elements)
Add all elements to `blockedCategories` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardUpdateParams.SpendingControls.blockedCategories
for the field documentation.
-
putExtraParam
public CardUpdateParams.SpendingControls.Builder putExtraParam(java.lang.String key, java.lang.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.extraParams
for the field documentation.
-
putAllExtraParam
public CardUpdateParams.SpendingControls.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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.extraParams
for the field documentation.
-
addSpendingLimit
public CardUpdateParams.SpendingControls.Builder addSpendingLimit(CardUpdateParams.SpendingControls.SpendingLimit element)
Add an element to `spendingLimits` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardUpdateParams.SpendingControls.spendingLimits
for the field documentation.
-
addAllSpendingLimit
public CardUpdateParams.SpendingControls.Builder addAllSpendingLimit(java.util.List<CardUpdateParams.SpendingControls.SpendingLimit> elements)
Add all elements to `spendingLimits` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardUpdateParams.SpendingControls.spendingLimits
for the field documentation.
-
-