Package com.stripe.param.issuing
Class CardUpdateParams.SpendingControls
java.lang.Object
com.stripe.param.issuing.CardUpdateParams.SpendingControls
- Enclosing class:
- CardUpdateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Array of strings containing categories of authorizations to allow.Array of strings containing representing countries from which authorizations will be allowed.Array of strings containing categories of authorizations to decline.Array of strings containing representing countries from which authorizations will be declined.Map of extra parameters for custom features not available in this client library.Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_for
card and that card'sreplacement_for
card, up the chain).
-
Method Details
-
builder
-
getAllowedCategories
Array of strings containing categories of authorizations to allow. All other categories will be blocked. Cannot be set withblocked_categories
. -
getAllowedMerchantCountries
Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g.US
). Cannot be set withblocked_merchant_countries
. Provide an empty value to unset this control. -
getBlockedCategories
Array of strings containing categories of authorizations to decline. All other categories will be allowed. Cannot be set withallowed_categories
. -
getBlockedMerchantCountries
Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g.US
). Cannot be set withallowed_merchant_countries
. Provide an empty value to unset this control. -
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
Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_for
card and that card'sreplacement_for
card, up the chain).
-