Package com.adyen.model.balanceplatform
Enum TransactionRuleInfo.RequestTypeEnum
- java.lang.Object
-
- java.lang.Enum<TransactionRuleInfo.RequestTypeEnum>
-
- com.adyen.model.balanceplatform.TransactionRuleInfo.RequestTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionRuleInfo.RequestTypeEnum>
- Enclosing class:
- TransactionRuleInfo
public static enum TransactionRuleInfo.RequestTypeEnum extends Enum<TransactionRuleInfo.RequestTypeEnum>
Indicates the type of request to which the rule applies. If not provided, by default, this is set to **authorization**. Possible values: **authorization**, **authentication**, **tokenization**, **bankTransfer**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATIONAUTHORIZATIONBANKTRANSFERTOKENIZATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionRuleInfo.RequestTypeEnumfromValue(String value)StringgetValue()StringtoString()static TransactionRuleInfo.RequestTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionRuleInfo.RequestTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHENTICATION
public static final TransactionRuleInfo.RequestTypeEnum AUTHENTICATION
-
AUTHORIZATION
public static final TransactionRuleInfo.RequestTypeEnum AUTHORIZATION
-
BANKTRANSFER
public static final TransactionRuleInfo.RequestTypeEnum BANKTRANSFER
-
TOKENIZATION
public static final TransactionRuleInfo.RequestTypeEnum TOKENIZATION
-
-
Method Detail
-
values
public static TransactionRuleInfo.RequestTypeEnum[] 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.RequestTypeEnum c : TransactionRuleInfo.RequestTypeEnum.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.RequestTypeEnum 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.RequestTypeEnum>
-
fromValue
public static TransactionRuleInfo.RequestTypeEnum fromValue(String value)
-
-