public static class CardholderCreateParams.AuthorizationControls.SpendingLimit
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CardholderCreateParams.AuthorizationControls.SpendingLimit.Builder |
static class |
CardholderCreateParams.AuthorizationControls.SpendingLimit.Category |
static class |
CardholderCreateParams.AuthorizationControls.SpendingLimit.Interval |
Modifier and Type | Method and Description |
---|---|
static CardholderCreateParams.AuthorizationControls.SpendingLimit.Builder |
builder() |
java.lang.Long |
getAmount()
Maximum amount allowed to spend per time interval.
|
java.util.List<CardholderCreateParams.AuthorizationControls.SpendingLimit.Category> |
getCategories()
Array of strings containing
[categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category)
on which to apply the spending limit.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
CardholderCreateParams.AuthorizationControls.SpendingLimit.Interval |
getInterval()
The time interval with which to apply this spending limit towards.
|
public static CardholderCreateParams.AuthorizationControls.SpendingLimit.Builder builder()
public java.lang.Long getAmount()
public java.util.List<CardholderCreateParams.AuthorizationControls.SpendingLimit.Category> getCategories()
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 CardholderCreateParams.AuthorizationControls.SpendingLimit.Interval getInterval()