Package com.adyen.model.capital
Class FundsCollection
- java.lang.Object
-
- com.adyen.model.capital.FundsCollection
-
public class FundsCollection extends Object
FundsCollection
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_IDENTIFICATIONstatic StringJSON_PROPERTY_FUNDS_COLLECTION_TYPE
-
Constructor Summary
Constructors Constructor Description FundsCollection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FundsCollectionaccountIdentification(BankAccountIdentification accountIdentification)accountIdentificationbooleanequals(Object o)Return true if this FundsCollection object is equal to o.static FundsCollectionfromJson(String jsonString)Create an instance of FundsCollection given an JSON stringFundsCollectionfundsCollectionType(FundsCollectionType fundsCollectionType)fundsCollectionTypeBankAccountIdentificationgetAccountIdentification()Get accountIdentificationMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.FundsCollectionTypegetFundsCollectionType()Get fundsCollectionTypeinthashCode()FundsCollectionincludeNullValues(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.voidsetAccountIdentification(BankAccountIdentification accountIdentification)accountIdentificationvoidsetFundsCollectionType(FundsCollectionType fundsCollectionType)fundsCollectionTypevoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of FundsCollection to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_IDENTIFICATION
public static final String JSON_PROPERTY_ACCOUNT_IDENTIFICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FUNDS_COLLECTION_TYPE
public static final String JSON_PROPERTY_FUNDS_COLLECTION_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountIdentification
public FundsCollection accountIdentification(BankAccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-- Returns:
- the current
FundsCollectioninstance, allowing for method chaining
-
getAccountIdentification
public BankAccountIdentification getAccountIdentification()
Get accountIdentification- Returns:
- accountIdentification
-
setAccountIdentification
public void setAccountIdentification(BankAccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-
-
fundsCollectionType
public FundsCollection fundsCollectionType(FundsCollectionType fundsCollectionType)
fundsCollectionType- Parameters:
fundsCollectionType-- Returns:
- the current
FundsCollectioninstance, allowing for method chaining
-
getFundsCollectionType
public FundsCollectionType getFundsCollectionType()
Get fundsCollectionType- Returns:
- fundsCollectionType
-
setFundsCollectionType
public void setFundsCollectionType(FundsCollectionType fundsCollectionType)
fundsCollectionType- Parameters:
fundsCollectionType-
-
includeNullValues
public FundsCollection 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 FundsCollection 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 FundsCollection fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of FundsCollection given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FundsCollection
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to FundsCollection
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of FundsCollection to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-