Class TransactionRulesResult


  • public class TransactionRulesResult
    extends Object
    TransactionRulesResult
    • Constructor Detail

      • TransactionRulesResult

        public TransactionRulesResult()
    • Method Detail

      • advice

        public TransactionRulesResult advice​(String advice)
        The advice given by the Risk analysis.
        Parameters:
        advice -
        Returns:
        the current TransactionRulesResult instance, allowing for method chaining
      • getAdvice

        public String getAdvice()
        The advice given by the Risk analysis.
        Returns:
        advice
      • setAdvice

        public void setAdvice​(String advice)
        The advice given by the Risk analysis.
        Parameters:
        advice -
      • allHardBlockRulesPassed

        public TransactionRulesResult allHardBlockRulesPassed​(Boolean allHardBlockRulesPassed)
        Indicates whether the transaction passed the evaluation for all hardblock rules
        Parameters:
        allHardBlockRulesPassed -
        Returns:
        the current TransactionRulesResult instance, allowing for method chaining
      • getAllHardBlockRulesPassed

        public Boolean getAllHardBlockRulesPassed()
        Indicates whether the transaction passed the evaluation for all hardblock rules
        Returns:
        allHardBlockRulesPassed
      • setAllHardBlockRulesPassed

        public void setAllHardBlockRulesPassed​(Boolean allHardBlockRulesPassed)
        Indicates whether the transaction passed the evaluation for all hardblock rules
        Parameters:
        allHardBlockRulesPassed -
      • score

        public TransactionRulesResult score​(Integer score)
        The score of the Risk analysis.
        Parameters:
        score -
        Returns:
        the current TransactionRulesResult instance, allowing for method chaining
      • getScore

        public Integer getScore()
        The score of the Risk analysis.
        Returns:
        score
      • setScore

        public void setScore​(Integer score)
        The score of the Risk analysis.
        Parameters:
        score -
      • triggeredTransactionRules

        public TransactionRulesResult triggeredTransactionRules​(List<TransactionEventViolation> triggeredTransactionRules)
        Array containing all the transaction rules that the transaction triggered.
        Parameters:
        triggeredTransactionRules -
        Returns:
        the current TransactionRulesResult instance, allowing for method chaining
      • getTriggeredTransactionRules

        public List<TransactionEventViolation> getTriggeredTransactionRules()
        Array containing all the transaction rules that the transaction triggered.
        Returns:
        triggeredTransactionRules
      • setTriggeredTransactionRules

        public void setTriggeredTransactionRules​(List<TransactionEventViolation> triggeredTransactionRules)
        Array containing all the transaction rules that the transaction triggered.
        Parameters:
        triggeredTransactionRules -
      • equals

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

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

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

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