Package com.stripe.param.issuing
Class CardUpdateParams.SpendingControls
- java.lang.Object
-
- com.stripe.param.issuing.CardUpdateParams.SpendingControls
-
- Enclosing class:
- CardUpdateParams
public static class CardUpdateParams.SpendingControls extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardUpdateParams.SpendingControls.AllowedCategorystatic classCardUpdateParams.SpendingControls.BlockedCategorystatic classCardUpdateParams.SpendingControls.Builderstatic classCardUpdateParams.SpendingControls.SpendingLimit
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardUpdateParams.SpendingControls.Builderbuilder()java.util.List<CardUpdateParams.SpendingControls.AllowedCategory>getAllowedCategories()Array of strings containing categories of authorizations to allow.java.util.List<CardUpdateParams.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<CardUpdateParams.SpendingControls.SpendingLimit>getSpendingLimits()Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_forcard and that card'sreplacement_forcard, up the chain).
-
-
-
Method Detail
-
builder
public static CardUpdateParams.SpendingControls.Builder builder()
-
getAllowedCategories
public java.util.List<CardUpdateParams.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<CardUpdateParams.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@SerializedNamevalue. 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<CardUpdateParams.SpendingControls.SpendingLimit> getSpendingLimits()
Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_forcard and that card'sreplacement_forcard, up the chain).
-
-