Package com.adyen.model.balanceplatform
Class RiskScores
- java.lang.Object
-
- com.adyen.model.balanceplatform.RiskScores
-
public class RiskScores extends Object
RiskScores
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MASTERCARDstatic StringJSON_PROPERTY_VISA
-
Constructor Summary
Constructors Constructor Description RiskScores()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this RiskScores object is equal to o.static RiskScoresfromJson(String jsonString)Create an instance of RiskScores given an JSON stringIntegergetMastercard()Transaction risk score provided by Mastercard.IntegergetVisa()Transaction risk score provided by Visa.inthashCode()RiskScoresmastercard(Integer mastercard)voidsetMastercard(Integer mastercard)Transaction risk score provided by Mastercard.voidsetVisa(Integer visa)Transaction risk score provided by Visa.StringtoJson()Convert an instance of RiskScores to an JSON stringStringtoString()RiskScoresvisa(Integer visa)
-
-
-
Field Detail
-
JSON_PROPERTY_MASTERCARD
public static final String JSON_PROPERTY_MASTERCARD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VISA
public static final String JSON_PROPERTY_VISA
- See Also:
- Constant Field Values
-
-
Method Detail
-
mastercard
public RiskScores mastercard(Integer mastercard)
-
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)
-
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.
-
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
-
-