Package com.stripe.param.issuing
Class CardCreateParams.SpendingControls
- java.lang.Object
-
- com.stripe.param.issuing.CardCreateParams.SpendingControls
-
- Enclosing class:
- CardCreateParams
public static class CardCreateParams.SpendingControls extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CardCreateParams.SpendingControls.AllowedCategory
static class
CardCreateParams.SpendingControls.BlockedCategory
static class
CardCreateParams.SpendingControls.Builder
static class
CardCreateParams.SpendingControls.SpendingLimit
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardCreateParams.SpendingControls.Builder
builder()
java.util.List<CardCreateParams.SpendingControls.AllowedCategory>
getAllowedCategories()
Array of strings containing categories of authorizations to allow.java.util.List<CardCreateParams.SpendingControls.BlockedCategory>
getBlockedCategories()
Array of strings containing categories of authorizations to decline.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.util.List<CardCreateParams.SpendingControls.SpendingLimit>
getSpendingLimits()
Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_for
card and that card'sreplacement_for
card, up the chain).
-
-
-
Method Detail
-
builder
public static CardCreateParams.SpendingControls.Builder builder()
-
getAllowedCategories
public java.util.List<CardCreateParams.SpendingControls.AllowedCategory> getAllowedCategories()
Array of strings containing categories of authorizations to allow. All other categories will be blocked. Cannot be set withblocked_categories
.
-
getBlockedCategories
public java.util.List<CardCreateParams.SpendingControls.BlockedCategory> getBlockedCategories()
Array of strings containing categories of authorizations to decline. All other categories will be allowed. Cannot be set withallowed_categories
.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getSpendingLimits
public java.util.List<CardCreateParams.SpendingControls.SpendingLimit> getSpendingLimits()
Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_for
card and that card'sreplacement_for
card, up the chain).
-
-