Package com.adyen.model.balanceplatform
Enum TransactionRule.RequestTypeEnum
- java.lang.Object
-
- java.lang.Enum<TransactionRule.RequestTypeEnum>
-
- com.adyen.model.balanceplatform.TransactionRule.RequestTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionRule.RequestTypeEnum>
- Enclosing class:
- TransactionRule
public static enum TransactionRule.RequestTypeEnum extends Enum<TransactionRule.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 TransactionRule.RequestTypeEnumfromValue(String value)StringgetValue()StringtoString()static TransactionRule.RequestTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionRule.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 TransactionRule.RequestTypeEnum AUTHENTICATION
-
AUTHORIZATION
public static final TransactionRule.RequestTypeEnum AUTHORIZATION
-
BANKTRANSFER
public static final TransactionRule.RequestTypeEnum BANKTRANSFER
-
TOKENIZATION
public static final TransactionRule.RequestTypeEnum TOKENIZATION
-
-
Method Detail
-
values
public static TransactionRule.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 (TransactionRule.RequestTypeEnum c : TransactionRule.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 TransactionRule.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<TransactionRule.RequestTypeEnum>
-
fromValue
public static TransactionRule.RequestTypeEnum fromValue(String value)
-
-