Class CapabilityProblemEntity
- java.lang.Object
-
- com.adyen.model.managementwebhooks.CapabilityProblemEntity
-
public class CapabilityProblemEntity extends Object
CapabilityProblemEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapabilityProblemEntity.TypeEnumThe type of entity.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DOCUMENTSstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_OWNERstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description CapabilityProblemEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CapabilityProblemEntityaddDocumentsItem(String documentsItem)CapabilityProblemEntitydocuments(List<String> documents)booleanequals(Object o)Return true if this CapabilityProblemEntity object is equal to o.static CapabilityProblemEntityfromJson(String jsonString)Create an instance of CapabilityProblemEntity 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.CapabilityProblemEntityRecursivegetOwner()Get ownerCapabilityProblemEntity.TypeEnumgetType()The type of entity.inthashCode()CapabilityProblemEntityid(String id)CapabilityProblemEntityowner(CapabilityProblemEntityRecursive owner)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.voidsetOwner(CapabilityProblemEntityRecursive owner)ownervoidsetType(CapabilityProblemEntity.TypeEnum type)The type of entity.StringtoJson()Convert an instance of CapabilityProblemEntity to an JSON stringStringtoString()CapabilityProblemEntitytype(CapabilityProblemEntity.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_OWNER
public static final String JSON_PROPERTY_OWNER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
documents
public CapabilityProblemEntity documents(List<String> documents)
-
addDocumentsItem
public CapabilityProblemEntity 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 CapabilityProblemEntity 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-
-
owner
public CapabilityProblemEntity owner(CapabilityProblemEntityRecursive owner)
-
getOwner
public CapabilityProblemEntityRecursive getOwner()
Get owner- Returns:
- owner
-
setOwner
public void setOwner(CapabilityProblemEntityRecursive owner)
owner- Parameters:
owner-
-
type
public CapabilityProblemEntity type(CapabilityProblemEntity.TypeEnum type)
-
getType
public CapabilityProblemEntity.TypeEnum getType()
The type of entity. Possible values: **LegalEntity**, **BankAccount**, or **Document**.- Returns:
- type
-
setType
public void setType(CapabilityProblemEntity.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 object is equal to o.
-
fromJson
public static CapabilityProblemEntity fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CapabilityProblemEntity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CapabilityProblemEntity
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CapabilityProblemEntity
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CapabilityProblemEntity to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-