Class Card.SpendingControls

    • Constructor Detail

      • SpendingControls

        public SpendingControls()
    • Method Detail

      • getAllowedCategories

        public java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.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 java.lang.String getSpendingLimitsCurrency()
        Currency of the amounts within spending_limits. Always the same as the currency of the card.
      • setAllowedCategories

        public void setAllowedCategories​(java.util.List<java.lang.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​(java.util.List<java.lang.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​(java.util.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​(java.lang.String spendingLimitsCurrency)
        Currency of the amounts within spending_limits. Always the same as the currency of the card.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object