Package com.stripe.model.issuing
Class Cardholder.AuthorizationControls
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.issuing.Cardholder.AuthorizationControls
-
- 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
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 com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-