java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.Disposition
This class contains the disposition set by custom rules.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor forDisposition.Disposition(String action, String reason, String ruleLabel) Constructor forDisposition. -
Method Summary
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
Constructor Details
-
Disposition
Constructor forDisposition.- Parameters:
action- the disposition actionreason- reasonruleLabel- rule label
-
Disposition
public Disposition()Constructor forDisposition.
-
-
Method Details
-
getAction
- Returns:
- A
Stringwith the action to take on the transaction as defined by your custom rules. The current set of values are "accept", "manual_review", "reject" and "test". If you do not have custom rules set up,nullwill be returned.
-
getReason
- Returns:
- A
Stringwith the reason for the action. The current possible values are "custom_rule" and "default". If you do not have custom rules set up,nullwill be returned.
-
getRuleLabel
- Returns:
- A
Stringwith the label of the custom rule that was triggered. If you do not have custom rules set up, the triggered custom rule does not have a label, or no custom rule was triggered,nullwill be returned.
-