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 stringList<CapabilityProblem>getProblems()List of the verification errors.inthashCode()VerificationErrorsproblems(List<CapabilityProblem> problems)List of the verification errors.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-- 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
-
setProblems
public void setProblems(List<CapabilityProblem> problems)
List of the verification errors.- Parameters:
problems-
-
equals
public boolean equals(Object o)
Return true if this VerificationErrors object is equal to o.
-
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
-
-