Package com.maxmind.minfraud.response
Class Disposition
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.response.Disposition
-
public final class Disposition extends AbstractModel
This class contains the disposition set by custom rules.
-
-
Constructor Summary
Constructors Constructor Description Disposition()
Disposition(String action, String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
String
getReason()
-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
getAction
public String getAction()
- Returns:
- A
String
with the action to take on the transaction as defined by your custom rules. The current set of values are "accept", "manual_review", and "reject". If you do not have custom rules set up,null
will be returned.
-
getReason
public String getReason()
- Returns:
- A
String
with the reason for the action. The current possible values are "custom_rule", "block_list", and "default". If you do not have custom rules set up,null
will be returned.
-
-