Class TransactionScoring


  • public class TransactionScoring
    extends Object
    TransactionScoring
    • Constructor Detail

      • TransactionScoring

        public TransactionScoring()
    • Method Detail

      • type

        public TransactionScoring type​(String type)
        The type of score.
        Parameters:
        type - The type of score.
        Returns:
        the current TransactionScoring instance, allowing for method chaining
      • getType

        public String getType()
        The type of score.
        Returns:
        type The type of score.
      • setType

        public void setType​(String type)
        The type of score.
        Parameters:
        type - The type of score.
      • value

        public TransactionScoring value​(String value)
        The value of the score.
        Parameters:
        value - The value of the score.
        Returns:
        the current TransactionScoring instance, allowing for method chaining
      • getValue

        public String getValue()
        The value of the score.
        Returns:
        value The value of the score.
      • setValue

        public void setValue​(String value)
        The value of the score.
        Parameters:
        value - The value of the score.
      • equals

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

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

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

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