public static class Card.AuthorizationControls extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
AuthorizationControls() |
Modifier and Type | Method and 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.lang.String |
getCurrency()
The currency of the card.
|
java.lang.Long |
getMaxAmount()
Maximum amount allowed per authorization on this card, in the currency of the card.
|
java.lang.Long |
getMaxApprovals()
Maximum count of approved authorizations on this card.
|
java.util.List<Card.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 |
setCurrency(java.lang.String currency)
The currency of the card.
|
void |
setMaxAmount(java.lang.Long maxAmount)
Maximum amount allowed per authorization on this card, in the currency of the card.
|
void |
setMaxApprovals(java.lang.Long maxApprovals)
Maximum count of approved authorizations on this card.
|
void |
setSpendingLimits(java.util.List<Card.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.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.util.List<java.lang.String> getAllowedCategories()
public java.util.List<java.lang.String> getBlockedCategories()
public java.lang.String getCurrency()
public java.lang.Long getMaxAmount()
public java.lang.Long getMaxApprovals()
public java.util.List<Card.SpendingLimit> getSpendingLimits()
public java.lang.String getSpendingLimitsCurrency()
public void setAllowedCategories(java.util.List<java.lang.String> allowedCategories)
public void setBlockedCategories(java.util.List<java.lang.String> blockedCategories)
public void setCurrency(java.lang.String currency)
public void setMaxAmount(java.lang.Long maxAmount)
public void setMaxApprovals(java.lang.Long maxApprovals)
public void setSpendingLimits(java.util.List<Card.SpendingLimit> spendingLimits)
public void setSpendingLimitsCurrency(java.lang.String spendingLimitsCurrency)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object