Package com.adyen.model.payment
Enum ResponseAdditionalDataCommon.FraudRiskLevelEnum
- java.lang.Object
-
- java.lang.Enum<ResponseAdditionalDataCommon.FraudRiskLevelEnum>
-
- com.adyen.model.payment.ResponseAdditionalDataCommon.FraudRiskLevelEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ResponseAdditionalDataCommon.FraudRiskLevelEnum>
- Enclosing class:
- ResponseAdditionalDataCommon
public static enum ResponseAdditionalDataCommon.FraudRiskLevelEnum extends Enum<ResponseAdditionalDataCommon.FraudRiskLevelEnum>
The risk level of the transaction as classified by the [machine learning](https://docs.adyen.com/risk-management/configure-your-risk-profile/machine-learning-rules/) fraud risk rule. The risk level indicates the likelihood that a transaction will result in a fraudulent dispute. The possible return values are: * veryLow * low * medium * high * veryHigh
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseAdditionalDataCommon.FraudRiskLevelEnumfromValue(String value)StringgetValue()StringtoString()static ResponseAdditionalDataCommon.FraudRiskLevelEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ResponseAdditionalDataCommon.FraudRiskLevelEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERYLOW
public static final ResponseAdditionalDataCommon.FraudRiskLevelEnum VERYLOW
-
LOW
public static final ResponseAdditionalDataCommon.FraudRiskLevelEnum LOW
-
MEDIUM
public static final ResponseAdditionalDataCommon.FraudRiskLevelEnum MEDIUM
-
HIGH
public static final ResponseAdditionalDataCommon.FraudRiskLevelEnum HIGH
-
VERYHIGH
public static final ResponseAdditionalDataCommon.FraudRiskLevelEnum VERYHIGH
-
-
Method Detail
-
values
public static ResponseAdditionalDataCommon.FraudRiskLevelEnum[] 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 (ResponseAdditionalDataCommon.FraudRiskLevelEnum c : ResponseAdditionalDataCommon.FraudRiskLevelEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResponseAdditionalDataCommon.FraudRiskLevelEnum 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<ResponseAdditionalDataCommon.FraudRiskLevelEnum>
-
fromValue
public static ResponseAdditionalDataCommon.FraudRiskLevelEnum fromValue(String value)
-
-