Class NetworkTokenRiskRuleData


  • public class NetworkTokenRiskRuleData
    extends Object
    NetworkTokenRiskRuleData
    • Constructor Detail

      • NetworkTokenRiskRuleData

        public NetworkTokenRiskRuleData()
    • Method Detail

      • description

        public NetworkTokenRiskRuleData description​(String description)
        The description of the transaction rule.
        Parameters:
        description - The description of the transaction rule.
        Returns:
        the current NetworkTokenRiskRuleData instance, allowing for method chaining
      • getDescription

        public String getDescription()
        The description of the transaction rule.
        Returns:
        description The description of the transaction rule.
      • setDescription

        public void setDescription​(String description)
        The description of the transaction rule.
        Parameters:
        description - The description of the transaction rule.
      • id

        public NetworkTokenRiskRuleData id​(String id)
        The unique identifier of the transaction rule.
        Parameters:
        id - The unique identifier of the transaction rule.
        Returns:
        the current NetworkTokenRiskRuleData instance, allowing for method chaining
      • getId

        public String getId()
        The unique identifier of the transaction rule.
        Returns:
        id The unique identifier of the transaction rule.
      • setId

        public void setId​(String id)
        The unique identifier of the transaction rule.
        Parameters:
        id - The unique identifier of the transaction rule.
      • outcomeType

        public NetworkTokenRiskRuleData outcomeType​(String outcomeType)
        The outcome type of the transaction rule.
        Parameters:
        outcomeType - The outcome type of the transaction rule.
        Returns:
        the current NetworkTokenRiskRuleData instance, allowing for method chaining
      • getOutcomeType

        public String getOutcomeType()
        The outcome type of the transaction rule.
        Returns:
        outcomeType The outcome type of the transaction rule.
      • setOutcomeType

        public void setOutcomeType​(String outcomeType)
        The outcome type of the transaction rule.
        Parameters:
        outcomeType - The outcome type of the transaction rule.
      • reference

        public NetworkTokenRiskRuleData reference​(String reference)
        The reference for the transaction rule.
        Parameters:
        reference - The reference for the transaction rule.
        Returns:
        the current NetworkTokenRiskRuleData instance, allowing for method chaining
      • getReference

        public String getReference()
        The reference for the transaction rule.
        Returns:
        reference The reference for the transaction rule.
      • setReference

        public void setReference​(String reference)
        The reference for the transaction rule.
        Parameters:
        reference - The reference for the transaction rule.
      • score

        public NetworkTokenRiskRuleData score​(Integer score)
        The transaction score determined by the rule.
        Parameters:
        score - The transaction score determined by the rule.
        Returns:
        the current NetworkTokenRiskRuleData instance, allowing for method chaining
      • getScore

        public Integer getScore()
        The transaction score determined by the rule.
        Returns:
        score The transaction score determined by the rule.
      • setScore

        public void setScore​(Integer score)
        The transaction score determined by the rule.
        Parameters:
        score - The transaction score determined by the rule.
      • equals

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

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

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

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