Class FraudCheckResult


  • public class FraudCheckResult
    extends Object
    FraudCheckResult
    • Constructor Detail

      • FraudCheckResult

        public FraudCheckResult()
    • Method Detail

      • getAccountScore

        public Integer getAccountScore()
        The fraud score generated by the risk check.
        Returns:
        accountScore
      • setAccountScore

        public void setAccountScore​(Integer accountScore)
        The fraud score generated by the risk check.
        Parameters:
        accountScore -
      • getCheckId

        public Integer getCheckId()
        The ID of the risk check.
        Returns:
        checkId
      • setCheckId

        public void setCheckId​(Integer checkId)
        The ID of the risk check.
        Parameters:
        checkId -
      • getName

        public String getName()
        The name of the risk check.
        Returns:
        name
      • setName

        public void setName​(String name)
        The name of the risk check.
        Parameters:
        name -
      • equals

        public boolean equals​(Object o)
        Return true if this FraudCheckResult object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static FraudCheckResult fromJson​(String jsonString)
                                         throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of FraudCheckResult given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FraudCheckResult
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to FraudCheckResult
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of FraudCheckResult to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException