Class NetworkTokenTransactionRulesResult


  • public class NetworkTokenTransactionRulesResult
    extends Object
    NetworkTokenTransactionRulesResult
    • Constructor Detail

      • NetworkTokenTransactionRulesResult

        public NetworkTokenTransactionRulesResult()
    • Method Detail

      • advice

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

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

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

        public NetworkTokenTransactionRulesResult allHardBlockRulesPassed​(Boolean allHardBlockRulesPassed)
        Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**.
        Parameters:
        allHardBlockRulesPassed - Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**.
        Returns:
        the current NetworkTokenTransactionRulesResult instance, allowing for method chaining
      • getAllHardBlockRulesPassed

        public Boolean getAllHardBlockRulesPassed()
        Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**.
        Returns:
        allHardBlockRulesPassed Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**.
      • setAllHardBlockRulesPassed

        public void setAllHardBlockRulesPassed​(Boolean allHardBlockRulesPassed)
        Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**.
        Parameters:
        allHardBlockRulesPassed - Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**.
      • score

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

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

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

        public NetworkTokenTransactionRulesResult triggeredTransactionRules​(List<NetworkTokenTriggeredRiskRule> triggeredTransactionRules)
        Contains a list of all triggered transaction rules and the corresponding data.
        Parameters:
        triggeredTransactionRules - Contains a list of all triggered transaction rules and the corresponding data.
        Returns:
        the current NetworkTokenTransactionRulesResult instance, allowing for method chaining
      • getTriggeredTransactionRules

        public List<NetworkTokenTriggeredRiskRule> getTriggeredTransactionRules()
        Contains a list of all triggered transaction rules and the corresponding data.
        Returns:
        triggeredTransactionRules Contains a list of all triggered transaction rules and the corresponding data.
      • setTriggeredTransactionRules

        public void setTriggeredTransactionRules​(List<NetworkTokenTriggeredRiskRule> triggeredTransactionRules)
        Contains a list of all triggered transaction rules and the corresponding data.
        Parameters:
        triggeredTransactionRules - Contains a list of all triggered transaction rules and the corresponding data.
      • equals

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

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

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

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