Package com.adyen.model.transferwebhooks
Class TransferNotificationValidationFact
- java.lang.Object
-
- com.adyen.model.transferwebhooks.TransferNotificationValidationFact
-
public class TransferNotificationValidationFact extends Object
TransferNotificationValidationFact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransferNotificationValidationFact.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_RESULTstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description TransferNotificationValidationFact()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static TransferNotificationValidationFactfromJson(String jsonString)Create an instance of TransferNotificationValidationFact given an JSON stringStringgetResult()The evaluation result of the validation fact.StringgetType()The type of the validation fact.inthashCode()TransferNotificationValidationFactresult(String result)voidsetResult(String result)voidsetType(String type)StringtoJson()Convert an instance of TransferNotificationValidationFact to an JSON stringStringtoString()TransferNotificationValidationFacttype(String type)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_RESULT
public static final String SERIALIZED_NAME_RESULT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
result
public TransferNotificationValidationFact result(String result)
-
getResult
public String getResult()
The evaluation result of the validation fact.- Returns:
- result
-
setResult
public void setResult(String result)
-
type
public TransferNotificationValidationFact type(String type)
-
getType
public String getType()
The type of the validation fact.- Returns:
- type
-
setType
public void setType(String type)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to TransferNotificationValidationFact
-
fromJson
public static TransferNotificationValidationFact fromJson(String jsonString) throws IOException
Create an instance of TransferNotificationValidationFact given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferNotificationValidationFact
- Throws:
IOException- if the JSON string is invalid with respect to TransferNotificationValidationFact
-
toJson
public String toJson()
Convert an instance of TransferNotificationValidationFact to an JSON string- Returns:
- JSON string
-
-