Package com.adyen.model.balanceplatform
Enum TransactionRuleInfo.StatusEnum
- java.lang.Object
-
- java.lang.Enum<TransactionRuleInfo.StatusEnum>
-
- com.adyen.model.balanceplatform.TransactionRuleInfo.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionRuleInfo.StatusEnum>
- Enclosing class:
- TransactionRuleInfo
public static enum TransactionRuleInfo.StatusEnum extends Enum<TransactionRuleInfo.StatusEnum>
The status of the transaction rule. If you provide a `startDate` in the request, the rule is automatically created with an **active** status. Possible values: **active**, **inactive**.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionRuleInfo.StatusEnumfromValue(String value)StringgetValue()StringtoString()static TransactionRuleInfo.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionRuleInfo.StatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final TransactionRuleInfo.StatusEnum ACTIVE
-
INACTIVE
public static final TransactionRuleInfo.StatusEnum INACTIVE
-
-
Method Detail
-
values
public static TransactionRuleInfo.StatusEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TransactionRuleInfo.StatusEnum c : TransactionRuleInfo.StatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionRuleInfo.StatusEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<TransactionRuleInfo.StatusEnum>
-
fromValue
public static TransactionRuleInfo.StatusEnum fromValue(String value)
-
-