Class VerificationErrorRecursive
- java.lang.Object
-
- com.adyen.model.managementwebhooks.VerificationErrorRecursive
-
public class VerificationErrorRecursive extends Object
VerificationErrorRecursive
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerificationErrorRecursive.TypeEnumThe type of verification error.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CODEstatic StringJSON_PROPERTY_MESSAGEstatic StringJSON_PROPERTY_REMEDIATING_ACTIONSstatic StringJSON_PROPERTY_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)Return true if this VerificationError-recursive object is equal to o.static VerificationErrorRecursivefromJson(String jsonString)Create an instance of VerificationErrorRecursive given an JSON stringStringgetCode()The verification error code.StringgetMessage()The verification error message.List<RemediatingAction>getRemediatingActions()The actions that you can take to resolve the verification error.VerificationErrorRecursive.TypeEnumgetType()The type of verification error.inthashCode()VerificationErrorRecursivemessage(String message)VerificationErrorRecursiveremediatingActions(List<RemediatingAction> remediatingActions)voidsetCode(String code)The verification error code.voidsetMessage(String message)The verification error message.voidsetRemediatingActions(List<RemediatingAction> remediatingActions)The actions that you can take to resolve the verification error.voidsetType(VerificationErrorRecursive.TypeEnum type)The type of verification error.StringtoJson()Convert an instance of VerificationErrorRecursive to an JSON stringStringtoString()VerificationErrorRecursivetype(VerificationErrorRecursive.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_CODE
public static final String JSON_PROPERTY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REMEDIATING_ACTIONS
public static final String JSON_PROPERTY_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)
The verification error code.- Parameters:
code-
-
message
public VerificationErrorRecursive message(String message)
-
getMessage
public String getMessage()
The verification error message.- Returns:
- message
-
setMessage
public void setMessage(String message)
The verification error message.- Parameters:
message-
-
type
public VerificationErrorRecursive type(VerificationErrorRecursive.TypeEnum type)
-
getType
public VerificationErrorRecursive.TypeEnum getType()
The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**.- Returns:
- type
-
setType
public void setType(VerificationErrorRecursive.TypeEnum type)
The type of verification error. Possible values: **invalidInput**, **dataMissing**, and **pendingStatus**.- Parameters:
type-
-
remediatingActions
public VerificationErrorRecursive remediatingActions(List<RemediatingAction> remediatingActions)
-
addRemediatingActionsItem
public VerificationErrorRecursive addRemediatingActionsItem(RemediatingAction remediatingActionsItem)
-
getRemediatingActions
public List<RemediatingAction> getRemediatingActions()
The actions that you can take to resolve the verification error.- Returns:
- remediatingActions
-
setRemediatingActions
public void setRemediatingActions(List<RemediatingAction> remediatingActions)
The actions that you can take to resolve the verification error.- Parameters:
remediatingActions-
-
equals
public boolean equals(Object o)
Return true if this VerificationError-recursive object is equal to o.
-
fromJson
public static VerificationErrorRecursive fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of VerificationErrorRecursive given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VerificationErrorRecursive
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to VerificationErrorRecursive
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of VerificationErrorRecursive to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-