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 and
https://ec.europa.eu/taxation_customs/business/customs-procedures-import-and-export/customs-procedures/economic-operators-registration-and-identification-number-eori_en.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanArray of strings containing categories of authorizations to allow.Array of strings containing categories of authorizations to decline.Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_forcard and that card'sreplacement_forcard, up the chain).Currency of the amounts withinspending_limits.inthashCode()voidsetAllowedCategories(List<String> allowedCategories) Array of strings containing categories of authorizations to allow.voidsetBlockedCategories(List<String> blockedCategories) Array of strings containing categories of authorizations to decline.voidsetSpendingLimits(List<Card.SpendingControls.SpendingLimit> spendingLimits) Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_forcard and that card'sreplacement_forcard, up the chain).voidsetSpendingLimitsCurrency(String spendingLimitsCurrency) Currency of the amounts withinspending_limits.Methods inherited from class com.stripe.model.StripeObject
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. -
getBlockedCategories
Array of strings containing categories of authorizations to decline. All other categories will be allowed. Cannot be set withallowed_categories. -
getSpendingLimits
Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_forcard and that card'sreplacement_forcard, 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. -
setBlockedCategories
Array of strings containing categories of authorizations to decline. All other categories will be allowed. Cannot be set withallowed_categories. -
setSpendingLimits
Limit spending with amount-based rules that apply across any cards this card replaced (i.e., itsreplacement_forcard and that card'sreplacement_forcard, 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()
-