Package com.stripe.model.issuing
Class Card.SpendingControls
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Card.SpendingControls
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Card
A registration number used for customs in Europe. See https://www.gov.uk/eori for the UK and https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en
for the EU.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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.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).Currency of the amounts withinspending_limits
.int
hashCode()
void
setAllowedCategories
(List<String> allowedCategories) Array of strings containing categories of authorizations to allow.void
setAllowedMerchantCountries
(List<String> allowedMerchantCountries) Array of strings containing representing countries from which authorizations will be allowed.void
setBlockedCategories
(List<String> blockedCategories) Array of strings containing categories of authorizations to decline.void
setBlockedMerchantCountries
(List<String> blockedMerchantCountries) Array of strings containing representing countries from which authorizations will be declined.void
setSpendingLimits
(List<Card.SpendingControls.SpendingLimit> spendingLimits) 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).void
setSpendingLimitsCurrency
(String spendingLimitsCurrency) Currency of the amounts withinspending_limits
.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SpendingControls
public SpendingControls()
-
-
Method Details
-
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. -
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). -
getSpendingLimitsCurrency
Currency of the amounts withinspending_limits
. Always the same as the currency of the card. -
setAllowedCategories
Array of strings containing categories of authorizations to allow. All other categories will be blocked. Cannot be set withblocked_categories
. -
setAllowedMerchantCountries
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. -
setBlockedCategories
Array of strings containing categories of authorizations to decline. All other categories will be allowed. Cannot be set withallowed_categories
. -
setBlockedMerchantCountries
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. -
setSpendingLimits
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). -
setSpendingLimitsCurrency
Currency of the amounts withinspending_limits
. Always the same as the currency of the card. -
equals
-
canEqual
-
hashCode
public int hashCode()
-