Package com.adyen.model.balanceplatform
Class VerificationErrorRecursive
- java.lang.Object
-
- com.adyen.model.balanceplatform.VerificationErrorRecursive
-
public class VerificationErrorRecursive extends Object
VerificationErrorRecursive
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerificationErrorRecursive.CustomTypeAdapterFactorystatic classVerificationErrorRecursive.TypeEnumThe type of error.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_REMEDIATING_ACTIONSstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description VerificationErrorRecursive()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VerificationErrorRecursiveaddRemediatingActionsItem(RemediatingAction remediatingActionsItem)VerificationErrorRecursivecode(String code)booleanequals(Object o)static VerificationErrorRecursivefromJson(String jsonString)Create an instance of VerificationErrorRecursive given an JSON stringStringgetCode()The verification error code.StringgetMessage()A description of the error.List<RemediatingAction>getRemediatingActions()Contains the actions that you can take to resolve the verification error.VerificationErrorRecursive.TypeEnumgetType()The type of error.inthashCode()VerificationErrorRecursivemessage(String message)VerificationErrorRecursiveremediatingActions(List<RemediatingAction> remediatingActions)voidsetCode(String code)voidsetMessage(String message)voidsetRemediatingActions(List<RemediatingAction> remediatingActions)voidsetType(VerificationErrorRecursive.TypeEnum type)StringtoJson()Convert an instance of VerificationErrorRecursive to an JSON stringStringtoString()VerificationErrorRecursivetype(VerificationErrorRecursive.TypeEnum type)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CODE
public static final String SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REMEDIATING_ACTIONS
public static final String SERIALIZED_NAME_REMEDIATING_ACTIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public VerificationErrorRecursive code(String code)
-
getCode
public String getCode()
The verification error code.- Returns:
- code
-
setCode
public void setCode(String code)
-
message
public VerificationErrorRecursive message(String message)
-
getMessage
public String getMessage()
A description of the error.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
type
public VerificationErrorRecursive type(VerificationErrorRecursive.TypeEnum type)
-
getType
public VerificationErrorRecursive.TypeEnum getType()
The type of error. Possible values: **invalidInput**, **dataMissing**.- Returns:
- type
-
setType
public void setType(VerificationErrorRecursive.TypeEnum type)
-
remediatingActions
public VerificationErrorRecursive remediatingActions(List<RemediatingAction> remediatingActions)
-
addRemediatingActionsItem
public VerificationErrorRecursive addRemediatingActionsItem(RemediatingAction remediatingActionsItem)
-
getRemediatingActions
public List<RemediatingAction> getRemediatingActions()
Contains the actions that you can take to resolve the verification error.- Returns:
- remediatingActions
-
setRemediatingActions
public void setRemediatingActions(List<RemediatingAction> remediatingActions)
-
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 VerificationErrorRecursive
-
fromJson
public static VerificationErrorRecursive fromJson(String jsonString) throws IOException
Create an instance of VerificationErrorRecursive given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VerificationErrorRecursive
- Throws:
IOException- if the JSON string is invalid with respect to VerificationErrorRecursive
-
toJson
public String toJson()
Convert an instance of VerificationErrorRecursive to an JSON string- Returns:
- JSON string
-
-