public static class CardCreateParams.AuthorizationControls
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CardCreateParams.AuthorizationControls.AllowedCategory |
static class |
CardCreateParams.AuthorizationControls.BlockedCategory |
static class |
CardCreateParams.AuthorizationControls.Builder |
static class |
CardCreateParams.AuthorizationControls.SpendingLimit |
Modifier and Type | Method and Description |
---|---|
static CardCreateParams.AuthorizationControls.Builder |
builder() |
java.util.List<CardCreateParams.AuthorizationControls.AllowedCategory> |
getAllowedCategories()
Array of strings containing
[categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category)
of authorizations permitted on this card.
|
java.util.List<CardCreateParams.AuthorizationControls.BlockedCategory> |
getBlockedCategories()
Array of strings containing
[categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category)
of authorizations to always decline on this card.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.lang.Long |
getMaxApprovals()
Maximum count of approved authorizations on this card.
|
java.util.List<CardCreateParams.AuthorizationControls.SpendingLimit> |
getSpendingLimits()
Limit the spending with rules based on time intervals and categories.
|
public static CardCreateParams.AuthorizationControls.Builder builder()
public java.util.List<CardCreateParams.AuthorizationControls.AllowedCategory> getAllowedCategories()
public java.util.List<CardCreateParams.AuthorizationControls.BlockedCategory> getBlockedCategories()
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.lang.Long getMaxApprovals()
public java.util.List<CardCreateParams.AuthorizationControls.SpendingLimit> getSpendingLimits()