Package com.stripe.param.issuing
Class CardCreateParams.SpendingControls.SpendingLimit.Builder
- java.lang.Object
-
- com.stripe.param.issuing.CardCreateParams.SpendingControls.SpendingLimit.Builder
-
- Enclosing class:
- CardCreateParams.SpendingControls.SpendingLimit
public static class CardCreateParams.SpendingControls.SpendingLimit.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public CardCreateParams.SpendingControls.SpendingLimit build()
Finalize and obtain parameter instance from this builder.
-
setAmount
public CardCreateParams.SpendingControls.SpendingLimit.Builder setAmount(java.lang.Long amount)
Maximum amount allowed to spend per interval.
-
addCategory
public CardCreateParams.SpendingControls.SpendingLimit.Builder addCategory(CardCreateParams.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. SeeCardCreateParams.SpendingControls.SpendingLimit.categories
for the field documentation.
-
addAllCategory
public CardCreateParams.SpendingControls.SpendingLimit.Builder addAllCategory(java.util.List<CardCreateParams.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. SeeCardCreateParams.SpendingControls.SpendingLimit.categories
for the field documentation.
-
putExtraParam
public CardCreateParams.SpendingControls.SpendingLimit.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. SeeCardCreateParams.SpendingControls.SpendingLimit.extraParams
for the field documentation.
-
putAllExtraParam
public CardCreateParams.SpendingControls.SpendingLimit.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. SeeCardCreateParams.SpendingControls.SpendingLimit.extraParams
for the field documentation.
-
setInterval
public CardCreateParams.SpendingControls.SpendingLimit.Builder setInterval(CardCreateParams.SpendingControls.SpendingLimit.Interval interval)
Interval (or event) to which the amount applies.
-
-