Class TransactionScoring
- java.lang.Object
-
- com.adyen.model.relayedauthorizationwebhooks.TransactionScoring
-
public class TransactionScoring extends Object
TransactionScoring
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description TransactionScoring()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this TransactionScoring object is equal to o.static TransactionScoringfromJson(String jsonString)Create an instance of TransactionScoring given an JSON stringStringgetType()The type of score.StringgetValue()The value of the score.inthashCode()voidsetType(String type)The type of score.voidsetValue(String value)The value of the score.StringtoJson()Convert an instance of TransactionScoring to an JSON stringStringtoString()TransactionScoringtype(String type)The type of score.TransactionScoringvalue(String value)The value of the score.
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public TransactionScoring type(String type)
The type of score.- Parameters:
type- The type of score.- Returns:
- the current
TransactionScoringinstance, 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
TransactionScoringinstance, 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.
-
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
-
-