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.CapabilitiesEnumGets or Sets capabilitiesstatic classVerificationErrorRecursive.TypeEnumThe type of error.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CAPABILITIESstatic 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 VerificationErrorRecursiveaddCapabilitiesItem(VerificationErrorRecursive.CapabilitiesEnum capabilitiesItem)VerificationErrorRecursiveaddRemediatingActionsItem(RemediatingAction remediatingActionsItem)VerificationErrorRecursivecapabilities(List<VerificationErrorRecursive.CapabilitiesEnum> capabilities)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 stringList<VerificationErrorRecursive.CapabilitiesEnum>getCapabilities()Contains the capabilities that the verification error applies to.StringgetCode()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)voidsetCapabilities(List<VerificationErrorRecursive.CapabilitiesEnum> capabilities)Contains the capabilities that the verification error applies to.voidsetCode(String code)The verification error code.voidsetMessage(String message)A description of the error.voidsetRemediatingActions(List<RemediatingAction> remediatingActions)Contains the actions that you can take to resolve the verification error.voidsetType(VerificationErrorRecursive.TypeEnum type)The type of error.StringtoJson()Convert an instance of VerificationErrorRecursive to an JSON stringStringtoString()VerificationErrorRecursivetype(VerificationErrorRecursive.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_CAPABILITIES
public static final String JSON_PROPERTY_CAPABILITIES
- See Also:
- Constant Field Values
-
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
-
capabilities
public VerificationErrorRecursive capabilities(List<VerificationErrorRecursive.CapabilitiesEnum> capabilities)
-
addCapabilitiesItem
public VerificationErrorRecursive addCapabilitiesItem(VerificationErrorRecursive.CapabilitiesEnum capabilitiesItem)
-
getCapabilities
public List<VerificationErrorRecursive.CapabilitiesEnum> getCapabilities()
Contains the capabilities that the verification error applies to.- Returns:
- capabilities
-
setCapabilities
public void setCapabilities(List<VerificationErrorRecursive.CapabilitiesEnum> capabilities)
Contains the capabilities that the verification error applies to.- Parameters:
capabilities-
-
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()
A description of the error.- Returns:
- message
-
setMessage
public void setMessage(String message)
A description of the error.- Parameters:
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)
The type of error. Possible values: **invalidInput**, **dataMissing**.- Parameters:
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)
Contains 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
-
-