Package com.adyen.model.capital
Class AdditionalBankIdentification
- java.lang.Object
-
- com.adyen.model.capital.AdditionalBankIdentification
-
public class AdditionalBankIdentification extends Object
AdditionalBankIdentification
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CODEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description AdditionalBankIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalBankIdentificationcode(String code)The value of the additional bank identification.booleanequals(Object o)Return true if this AdditionalBankIdentification object is equal to o.static AdditionalBankIdentificationfromJson(String jsonString)Create an instance of AdditionalBankIdentification given an JSON stringStringgetCode()The value of the additional bank identification.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.AdditionalBankIdentificationTypesgetType()Get typeinthashCode()AdditionalBankIdentificationincludeNullValues(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.voidsetCode(String code)The value of the additional bank identification.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetType(AdditionalBankIdentificationTypes type)typeStringtoJson()Convert an instance of AdditionalBankIdentification to an JSON stringStringtoString()AdditionalBankIdentificationtype(AdditionalBankIdentificationTypes type)type
-
-
-
Field Detail
-
JSON_PROPERTY_CODE
public static final String JSON_PROPERTY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public AdditionalBankIdentification code(String code)
The value of the additional bank identification.- Parameters:
code- The value of the additional bank identification.- Returns:
- the current
AdditionalBankIdentificationinstance, allowing for method chaining
-
getCode
public String getCode()
The value of the additional bank identification.- Returns:
- code The value of the additional bank identification.
-
setCode
public void setCode(String code)
The value of the additional bank identification.- Parameters:
code- The value of the additional bank identification.
-
type
public AdditionalBankIdentification type(AdditionalBankIdentificationTypes type)
type- Parameters:
type-- Returns:
- the current
AdditionalBankIdentificationinstance, allowing for method chaining
-
getType
public AdditionalBankIdentificationTypes getType()
Get type- Returns:
- type
-
setType
public void setType(AdditionalBankIdentificationTypes type)
type- Parameters:
type-
-
includeNullValues
public AdditionalBankIdentification 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 AdditionalBankIdentification 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 AdditionalBankIdentification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AdditionalBankIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalBankIdentification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AdditionalBankIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AdditionalBankIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-