public static class CardUpdateParams.SpendingControls
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CardUpdateParams.SpendingControls.AllowedCategory |
static class |
CardUpdateParams.SpendingControls.BlockedCategory |
static class |
CardUpdateParams.SpendingControls.Builder |
static class |
CardUpdateParams.SpendingControls.SpendingLimit |
Modifier and Type | Method and Description |
---|---|
static CardUpdateParams.SpendingControls.Builder |
builder() |
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.
|
public static CardUpdateParams.SpendingControls.Builder builder()
public java.util.List<CardUpdateParams.SpendingControls.AllowedCategory> getAllowedCategories()
blocked_categories
.public java.util.List<CardUpdateParams.SpendingControls.BlockedCategory> getBlockedCategories()
allowed_categories
.public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@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.public java.util.List<CardUpdateParams.SpendingControls.SpendingLimit> getSpendingLimits()