Class VerificationErrors
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.VerificationErrors
-
public class VerificationErrors extends Object
VerificationErrors
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PROBLEMS
-
Constructor Summary
Constructors Constructor Description VerificationErrors()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VerificationErrorsaddProblemsItem(CapabilityProblem problemsItem)booleanequals(Object o)Return true if this VerificationErrors object is equal to o.static VerificationErrorsfromJson(String jsonString)Create an instance of VerificationErrors given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.List<CapabilityProblem>getProblems()List of the verification errors.inthashCode()VerificationErrorsincludeNullValues(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.VerificationErrorsproblems(List<CapabilityProblem> problems)List of the verification errors.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetProblems(List<CapabilityProblem> problems)List of the verification errors.StringtoJson()Convert an instance of VerificationErrors to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_PROBLEMS
public static final String JSON_PROPERTY_PROBLEMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
problems
public VerificationErrors problems(List<CapabilityProblem> problems)
List of the verification errors.- Parameters:
problems- List of the verification errors.- Returns:
- the current
VerificationErrorsinstance, allowing for method chaining
-
addProblemsItem
public VerificationErrors addProblemsItem(CapabilityProblem problemsItem)
-
getProblems
public List<CapabilityProblem> getProblems()
List of the verification errors.- Returns:
- problems List of the verification errors.
-
setProblems
public void setProblems(List<CapabilityProblem> problems)
List of the verification errors.- Parameters:
problems- List of the verification errors.
-
includeNullValues
public VerificationErrors 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 VerificationErrors 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 VerificationErrors fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of VerificationErrors given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VerificationErrors
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to VerificationErrors
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of VerificationErrors to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-