Package com.adyen.model.balanceplatform
Class CapabilityProblemEntity
- java.lang.Object
-
- com.adyen.model.balanceplatform.CapabilityProblemEntity
-
public class CapabilityProblemEntity extends Object
CapabilityProblemEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapabilityProblemEntity.TypeEnumType 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)List of document IDs to which the verification errors related to the capabilities correspond to.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()ownerCapabilityProblemEntity.TypeEnumgetType()Type of entity.inthashCode()CapabilityProblemEntityid(String id)The ID of the entity.CapabilityProblemEntityowner(CapabilityProblemEntityRecursive owner)ownervoidsetDocuments(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)Type of entity.StringtoJson()Convert an instance of CapabilityProblemEntity to an JSON stringStringtoString()CapabilityProblemEntitytype(CapabilityProblemEntity.TypeEnum type)Type of entity.
-
-
-
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)
List of document IDs to which the verification errors related to the capabilities correspond to.- Parameters:
documents-- Returns:
- the current
CapabilityProblemEntityinstance, allowing for method chaining
-
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)
The ID of the entity.- Parameters:
id-- Returns:
- the current
CapabilityProblemEntityinstance, allowing for method chaining
-
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)
owner- Parameters:
owner-- Returns:
- the current
CapabilityProblemEntityinstance, allowing for method chaining
-
getOwner
public CapabilityProblemEntityRecursive getOwner()
owner- Returns:
- owner
-
setOwner
public void setOwner(CapabilityProblemEntityRecursive owner)
owner- Parameters:
owner-
-
type
public CapabilityProblemEntity type(CapabilityProblemEntity.TypeEnum type)
Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.- Parameters:
type-- Returns:
- the current
CapabilityProblemEntityinstance, allowing for method chaining
-
getType
public CapabilityProblemEntity.TypeEnum getType()
Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.- Returns:
- type
-
setType
public void setType(CapabilityProblemEntity.TypeEnum type)
Type of entity. Possible values: **LegalEntity**, **BankAccount**, **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
-
-