Class Cardholder.AuthorizationControls

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.util.List<java.lang.String> getAllowedCategories()
      Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations permitted on this card.
      java.util.List<java.lang.String> getBlockedCategories()
      Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to always decline on this card.
      java.util.List<Cardholder.SpendingLimit> getSpendingLimits()
      Limit the spending with rules based on time intervals and categories.
      java.lang.String getSpendingLimitsCurrency()
      Currency for the amounts within spending_limits.
      int hashCode()  
      void setAllowedCategories​(java.util.List<java.lang.String> allowedCategories)
      Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations permitted on this card.
      void setBlockedCategories​(java.util.List<java.lang.String> blockedCategories)
      Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to always decline on this card.
      void setSpendingLimits​(java.util.List<Cardholder.SpendingLimit> spendingLimits)
      Limit the spending with rules based on time intervals and categories.
      void setSpendingLimitsCurrency​(java.lang.String spendingLimitsCurrency)
      Currency for the amounts within spending_limits.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuthorizationControls

        public AuthorizationControls()
    • Method Detail

      • getAllowedCategories

        public java.util.List<java.lang.String> getAllowedCategories()
        Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations permitted on this card.
      • getBlockedCategories

        public java.util.List<java.lang.String> getBlockedCategories()
        Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to always decline on this card.
      • getSpendingLimits

        public java.util.List<Cardholder.SpendingLimit> getSpendingLimits()
        Limit the spending with rules based on time intervals and categories.
      • getSpendingLimitsCurrency

        public java.lang.String getSpendingLimitsCurrency()
        Currency for the amounts within spending_limits.
      • setAllowedCategories

        public void setAllowedCategories​(java.util.List<java.lang.String> allowedCategories)
        Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations permitted on this card.
      • setBlockedCategories

        public void setBlockedCategories​(java.util.List<java.lang.String> blockedCategories)
        Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to always decline on this card.
      • setSpendingLimits

        public void setSpendingLimits​(java.util.List<Cardholder.SpendingLimit> spendingLimits)
        Limit the spending with rules based on time intervals and categories.
      • setSpendingLimitsCurrency

        public void setSpendingLimitsCurrency​(java.lang.String spendingLimitsCurrency)
        Currency for the amounts within spending_limits.
      • 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