Class Cardholder.AuthorizationControls

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

public static class Cardholder.AuthorizationControls
extends StripeObject
  • Field Summary

    Fields inherited from class com.stripe.model.StripeObject

    PRETTY_PRINT_GSON
  • Constructor Summary

    Constructors 
    Constructor Description
    AuthorizationControls()  
  • Method Summary

    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 cardholder's cards.
    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 cardholder's cards.
    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 cardholder's cards.
    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 cardholder's cards.
    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 com.stripe.model.StripeObject

    equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString

    Methods inherited from class java.lang.Object

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

  • Method Details

    • 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 cardholder's cards.
    • 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 cardholder's cards.
    • 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 cardholder's cards.
    • 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 cardholder's cards.
    • 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