Class CapabilityProblemEntityRecursive
- java.lang.Object
-
- com.adyen.model.managementwebhooks.CapabilityProblemEntityRecursive
-
public class CapabilityProblemEntityRecursive extends Object
CapabilityProblemEntityRecursive
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapabilityProblemEntityRecursive.TypeEnumThe type of entity.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DOCUMENTSstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description CapabilityProblemEntityRecursive()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CapabilityProblemEntityRecursiveaddDocumentsItem(String documentsItem)CapabilityProblemEntityRecursivedocuments(List<String> documents)booleanequals(Object o)Return true if this CapabilityProblemEntity-recursive object is equal to o.static CapabilityProblemEntityRecursivefromJson(String jsonString)Create an instance of CapabilityProblemEntityRecursive given an JSON stringList<String>getDocuments()List of document IDs to which the verification errors related to the capabilities correspond to.StringgetId()The ID of the entity.CapabilityProblemEntityRecursive.TypeEnumgetType()The type of entity.inthashCode()CapabilityProblemEntityRecursiveid(String id)voidsetDocuments(List<String> documents)List of document IDs to which the verification errors related to the capabilities correspond to.voidsetId(String id)The ID of the entity.voidsetType(CapabilityProblemEntityRecursive.TypeEnum type)The type of entity.StringtoJson()Convert an instance of CapabilityProblemEntityRecursive to an JSON stringStringtoString()CapabilityProblemEntityRecursivetype(CapabilityProblemEntityRecursive.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_DOCUMENTS
public static final String JSON_PROPERTY_DOCUMENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
documents
public CapabilityProblemEntityRecursive documents(List<String> documents)
-
addDocumentsItem
public CapabilityProblemEntityRecursive addDocumentsItem(String documentsItem)
-
getDocuments
public List<String> getDocuments()
List of document IDs to which the verification errors related to the capabilities correspond to.- Returns:
- documents
-
setDocuments
public void setDocuments(List<String> documents)
List of document IDs to which the verification errors related to the capabilities correspond to.- Parameters:
documents-
-
id
public CapabilityProblemEntityRecursive id(String id)
-
getId
public String getId()
The ID of the entity.- Returns:
- id
-
setId
public void setId(String id)
The ID of the entity.- Parameters:
id-
-
type
public CapabilityProblemEntityRecursive type(CapabilityProblemEntityRecursive.TypeEnum type)
-
getType
public CapabilityProblemEntityRecursive.TypeEnum getType()
The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**.- Returns:
- type
-
setType
public void setType(CapabilityProblemEntityRecursive.TypeEnum type)
The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**.- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this CapabilityProblemEntity-recursive object is equal to o.
-
fromJson
public static CapabilityProblemEntityRecursive fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CapabilityProblemEntityRecursive given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CapabilityProblemEntityRecursive
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CapabilityProblemEntityRecursive
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CapabilityProblemEntityRecursive to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-