Class RiskScores


  • public class RiskScores
    extends Object
    RiskScores
    • Constructor Detail

      • RiskScores

        public RiskScores()
    • Method Detail

      • mastercard

        public RiskScores mastercard​(Integer mastercard)
        Transaction risk score provided by Mastercard. Values provided by Mastercard range between 0 (lowest risk) to 998 (highest risk).
        Parameters:
        mastercard -
        Returns:
        the current RiskScores instance, allowing for method chaining
      • getMastercard

        public Integer getMastercard()
        Transaction risk score provided by Mastercard. Values provided by Mastercard range between 0 (lowest risk) to 998 (highest risk).
        Returns:
        mastercard
      • setMastercard

        public void setMastercard​(Integer mastercard)
        Transaction risk score provided by Mastercard. Values provided by Mastercard range between 0 (lowest risk) to 998 (highest risk).
        Parameters:
        mastercard -
      • visa

        public RiskScores visa​(Integer visa)
        Transaction risk score provided by Visa. Values provided by Visa range between 01 (lowest risk) to 99 (highest risk).
        Parameters:
        visa -
        Returns:
        the current RiskScores instance, allowing for method chaining
      • getVisa

        public Integer getVisa()
        Transaction risk score provided by Visa. Values provided by Visa range between 01 (lowest risk) to 99 (highest risk).
        Returns:
        visa
      • setVisa

        public void setVisa​(Integer visa)
        Transaction risk score provided by Visa. Values provided by Visa range between 01 (lowest risk) to 99 (highest risk).
        Parameters:
        visa -
      • equals

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

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

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

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