Class Card.SpendingControls

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Card.SpendingControls
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Card

public static class Card.SpendingControls extends StripeObject
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.
  • Constructor Details

    • SpendingControls

      public SpendingControls()
  • Method Details

    • getAllowedCategories

      public List<String> getAllowedCategories()
      Array of strings containing categories of authorizations to allow. All other categories will be blocked. Cannot be set with blocked_categories.
    • getBlockedCategories

      public List<String> getBlockedCategories()
      Array of strings containing categories of authorizations to decline. All other categories will be allowed. Cannot be set with allowed_categories.
    • getSpendingLimits

      public List<Card.SpendingControls.SpendingLimit> getSpendingLimits()
      Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its replacement_for card and that card's replacement_for card, up the chain).
    • getSpendingLimitsCurrency

      public String getSpendingLimitsCurrency()
      Currency of the amounts within spending_limits. Always the same as the currency of the card.
    • setAllowedCategories

      public void setAllowedCategories(List<String> allowedCategories)
      Array of strings containing categories of authorizations to allow. All other categories will be blocked. Cannot be set with blocked_categories.
    • setBlockedCategories

      public void setBlockedCategories(List<String> blockedCategories)
      Array of strings containing categories of authorizations to decline. All other categories will be allowed. Cannot be set with allowed_categories.
    • setSpendingLimits

      public void setSpendingLimits(List<Card.SpendingControls.SpendingLimit> spendingLimits)
      Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its replacement_for card and that card's replacement_for card, up the chain).
    • setSpendingLimitsCurrency

      public void setSpendingLimitsCurrency(String spendingLimitsCurrency)
      Currency of the amounts within spending_limits. Always the same as the currency of the card.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object