Package com.stripe.param.issuing
Class CardholderCreateParams.SpendingControls
- java.lang.Object
-
- com.stripe.param.issuing.CardholderCreateParams.SpendingControls
-
- Enclosing class:
- CardholderCreateParams
public static class CardholderCreateParams.SpendingControls extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CardholderCreateParams.SpendingControls.AllowedCategory
static class
CardholderCreateParams.SpendingControls.BlockedCategory
static class
CardholderCreateParams.SpendingControls.Builder
static class
CardholderCreateParams.SpendingControls.SpendingLimit
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardholderCreateParams.SpendingControls.Builder
builder()
java.util.List<CardholderCreateParams.SpendingControls.AllowedCategory>
getAllowedCategories()
Array of strings containing categories of authorizations to allow.java.util.List<CardholderCreateParams.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<CardholderCreateParams.SpendingControls.SpendingLimit>
getSpendingLimits()
Limit spending with amount-based rules that apply across this cardholder's cards.java.lang.String
getSpendingLimitsCurrency()
Currency of amounts withinspending_limits
.
-
-
-
Method Detail
-
builder
public static CardholderCreateParams.SpendingControls.Builder builder()
-
getAllowedCategories
public java.util.List<CardholderCreateParams.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<CardholderCreateParams.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<CardholderCreateParams.SpendingControls.SpendingLimit> getSpendingLimits()
Limit spending with amount-based rules that apply across this cardholder's cards.
-
getSpendingLimitsCurrency
public java.lang.String getSpendingLimitsCurrency()
Currency of amounts withinspending_limits
. Defaults to your merchant country's currency.
-
-