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 Details

    • Disposition

      public Disposition(String action, String reason, String ruleLabel)
    • Disposition

      public Disposition()
  • Method Details

    • 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", "reject" and "test". 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" and "default". If you do not have custom rules set up, null will be returned.
    • getRuleLabel

      public String getRuleLabel()
      Returns:
      A String with 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, null will be returned.