Package com.stripe.param.issuing
Class CardholderCreateParams.SpendingControls.Builder
- java.lang.Object
-
- com.stripe.param.issuing.CardholderCreateParams.SpendingControls.Builder
-
- Enclosing class:
- CardholderCreateParams.SpendingControls
public static class CardholderCreateParams.SpendingControls.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public CardholderCreateParams.SpendingControls build()
Finalize and obtain parameter instance from this builder.
-
addAllowedCategory
public CardholderCreateParams.SpendingControls.Builder addAllowedCategory(CardholderCreateParams.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. SeeCardholderCreateParams.SpendingControls.allowedCategories
for the field documentation.
-
addAllAllowedCategory
public CardholderCreateParams.SpendingControls.Builder addAllAllowedCategory(java.util.List<CardholderCreateParams.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. SeeCardholderCreateParams.SpendingControls.allowedCategories
for the field documentation.
-
addBlockedCategory
public CardholderCreateParams.SpendingControls.Builder addBlockedCategory(CardholderCreateParams.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. SeeCardholderCreateParams.SpendingControls.blockedCategories
for the field documentation.
-
addAllBlockedCategory
public CardholderCreateParams.SpendingControls.Builder addAllBlockedCategory(java.util.List<CardholderCreateParams.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. SeeCardholderCreateParams.SpendingControls.blockedCategories
for the field documentation.
-
putExtraParam
public CardholderCreateParams.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. SeeCardholderCreateParams.SpendingControls.extraParams
for the field documentation.
-
putAllExtraParam
public CardholderCreateParams.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. SeeCardholderCreateParams.SpendingControls.extraParams
for the field documentation.
-
addSpendingLimit
public CardholderCreateParams.SpendingControls.Builder addSpendingLimit(CardholderCreateParams.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. SeeCardholderCreateParams.SpendingControls.spendingLimits
for the field documentation.
-
addAllSpendingLimit
public CardholderCreateParams.SpendingControls.Builder addAllSpendingLimit(java.util.List<CardholderCreateParams.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. SeeCardholderCreateParams.SpendingControls.spendingLimits
for the field documentation.
-
setSpendingLimitsCurrency
public CardholderCreateParams.SpendingControls.Builder setSpendingLimitsCurrency(java.lang.String spendingLimitsCurrency)
Currency of amounts withinspending_limits
. Defaults to your merchant country's currency.
-
-