Class VerificationErrorRecursive
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.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)Contains key-value pairs that specify the actions that the legal entity can do in your platform.VerificationErrorRecursivecode(String code)The general error 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 key-value pairs that specify the actions that the legal entity can do in your platform.StringgetCode()The general error code.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetMessage()The general error message.List<RemediatingAction>getRemediatingActions()An object containing possible solutions to fix a verification error.VerificationErrorRecursive.TypeEnumgetType()The type of error.inthashCode()VerificationErrorRecursiveincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.VerificationErrorRecursivemessage(String message)The general error message.VerificationErrorRecursiveremediatingActions(List<RemediatingAction> remediatingActions)An object containing possible solutions to fix a verification error.voidsetCapabilities(List<VerificationErrorRecursive.CapabilitiesEnum> capabilities)Contains key-value pairs that specify the actions that the legal entity can do in your platform.voidsetCode(String code)The general error code.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetMessage(String message)The general error message.voidsetRemediatingActions(List<RemediatingAction> remediatingActions)An object containing possible solutions to fix a verification error.voidsetType(VerificationErrorRecursive.TypeEnum type)The type of error.StringtoJson()Convert an instance of VerificationErrorRecursive to an JSON stringStringtoString()VerificationErrorRecursivetype(VerificationErrorRecursive.TypeEnum type)The type of error.
-
-
-
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)
Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.- Parameters:
capabilities- Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.- Returns:
- the current
VerificationErrorRecursiveinstance, allowing for method chaining
-
addCapabilitiesItem
public VerificationErrorRecursive addCapabilitiesItem(VerificationErrorRecursive.CapabilitiesEnum capabilitiesItem)
-
getCapabilities
public List<VerificationErrorRecursive.CapabilitiesEnum> getCapabilities()
Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.- Returns:
- capabilities Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
-
setCapabilities
public void setCapabilities(List<VerificationErrorRecursive.CapabilitiesEnum> capabilities)
Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.- Parameters:
capabilities- Contains key-value pairs that specify the actions that the legal entity can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing.The value is an object containing the settings for the capability.
-
code
public VerificationErrorRecursive code(String code)
The general error code.- Parameters:
code- The general error code.- Returns:
- the current
VerificationErrorRecursiveinstance, allowing for method chaining
-
getCode
public String getCode()
The general error code.- Returns:
- code The general error code.
-
setCode
public void setCode(String code)
The general error code.- Parameters:
code- The general error code.
-
message
public VerificationErrorRecursive message(String message)
The general error message.- Parameters:
message- The general error message.- Returns:
- the current
VerificationErrorRecursiveinstance, allowing for method chaining
-
getMessage
public String getMessage()
The general error message.- Returns:
- message The general error message.
-
setMessage
public void setMessage(String message)
The general error message.- Parameters:
message- The general error message.
-
type
public VerificationErrorRecursive type(VerificationErrorRecursive.TypeEnum type)
The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**- Parameters:
type- The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**- Returns:
- the current
VerificationErrorRecursiveinstance, allowing for method chaining
-
getType
public VerificationErrorRecursive.TypeEnum getType()
The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**- Returns:
- type The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
-
setType
public void setType(VerificationErrorRecursive.TypeEnum type)
The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**- Parameters:
type- The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
-
remediatingActions
public VerificationErrorRecursive remediatingActions(List<RemediatingAction> remediatingActions)
An object containing possible solutions to fix a verification error.- Parameters:
remediatingActions- An object containing possible solutions to fix a verification error.- Returns:
- the current
VerificationErrorRecursiveinstance, allowing for method chaining
-
addRemediatingActionsItem
public VerificationErrorRecursive addRemediatingActionsItem(RemediatingAction remediatingActionsItem)
-
getRemediatingActions
public List<RemediatingAction> getRemediatingActions()
An object containing possible solutions to fix a verification error.- Returns:
- remediatingActions An object containing possible solutions to fix a verification error.
-
setRemediatingActions
public void setRemediatingActions(List<RemediatingAction> remediatingActions)
An object containing possible solutions to fix a verification error.- Parameters:
remediatingActions- An object containing possible solutions to fix a verification error.
-
includeNullValues
public VerificationErrorRecursive includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this VerificationError-recursive object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-