Package com.adyen.model.balanceplatform
Class CapabilityProblemEntityRecursive
- java.lang.Object
-
- com.adyen.model.balanceplatform.CapabilityProblemEntityRecursive
-
public class CapabilityProblemEntityRecursive extends Object
CapabilityProblemEntityRecursive
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapabilityProblemEntityRecursive.TypeEnumType 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)List of document IDs to which the verification errors related to the capabilities correspond to.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.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetId()The ID of the entity.CapabilityProblemEntityRecursive.TypeEnumgetType()Type of entity.inthashCode()CapabilityProblemEntityRecursiveid(String id)The ID of the entity.CapabilityProblemEntityRecursiveincludeNullValues(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.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.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetType(CapabilityProblemEntityRecursive.TypeEnum type)Type of entity.StringtoJson()Convert an instance of CapabilityProblemEntityRecursive to an JSON stringStringtoString()CapabilityProblemEntityRecursivetype(CapabilityProblemEntityRecursive.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_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
documents
public CapabilityProblemEntityRecursive documents(List<String> documents)
List of document IDs to which the verification errors related to the capabilities correspond to.- Parameters:
documents- List of document IDs to which the verification errors related to the capabilities correspond to.- Returns:
- the current
CapabilityProblemEntityRecursiveinstance, allowing for method chaining
-
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 List of document IDs to which the verification errors related to the capabilities correspond to.
-
setDocuments
public void setDocuments(List<String> documents)
List of document IDs to which the verification errors related to the capabilities correspond to.- Parameters:
documents- List of document IDs to which the verification errors related to the capabilities correspond to.
-
id
public CapabilityProblemEntityRecursive id(String id)
The ID of the entity.- Parameters:
id- The ID of the entity.- Returns:
- the current
CapabilityProblemEntityRecursiveinstance, allowing for method chaining
-
getId
public String getId()
The ID of the entity.- Returns:
- id The ID of the entity.
-
setId
public void setId(String id)
The ID of the entity.- Parameters:
id- The ID of the entity.
-
type
public CapabilityProblemEntityRecursive type(CapabilityProblemEntityRecursive.TypeEnum type)
Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.- Parameters:
type- Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.- Returns:
- the current
CapabilityProblemEntityRecursiveinstance, allowing for method chaining
-
getType
public CapabilityProblemEntityRecursive.TypeEnum getType()
Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.- Returns:
- type Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
-
setType
public void setType(CapabilityProblemEntityRecursive.TypeEnum type)
Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.- Parameters:
type- Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
-
includeNullValues
public CapabilityProblemEntityRecursive 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 CapabilityProblemEntity-recursive 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 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
-
-