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
-
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 categories of authorizations to decline.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
setBlockedCategories
(List<String> blockedCategories) Array of strings containing categories of authorizations to decline.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
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_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
. -
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_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()
-