Package com.adyen.model.balanceplatform
Class MandateBankAccount
- java.lang.Object
-
- com.adyen.model.balanceplatform.MandateBankAccount
-
public class MandateBankAccount extends Object
MandateBankAccount
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDERstatic StringJSON_PROPERTY_ACCOUNT_IDENTIFICATION
-
Constructor Summary
Constructors Constructor Description MandateBankAccount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MandateBankAccountaccountHolder(MandatePartyIdentification accountHolder)accountHolderMandateBankAccountaccountIdentification(MandateAccountIdentification accountIdentification)accountIdentificationbooleanequals(Object o)Return true if this MandateBankAccount object is equal to o.static MandateBankAccountfromJson(String jsonString)Create an instance of MandateBankAccount given an JSON stringMandatePartyIdentificationgetAccountHolder()Get accountHolderMandateAccountIdentificationgetAccountIdentification()Get accountIdentificationMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()MandateBankAccountincludeNullValues(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.voidsetAccountHolder(MandatePartyIdentification accountHolder)accountHoldervoidsetAccountIdentification(MandateAccountIdentification accountIdentification)accountIdentificationvoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of MandateBankAccount to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER
public static final String JSON_PROPERTY_ACCOUNT_HOLDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_IDENTIFICATION
public static final String JSON_PROPERTY_ACCOUNT_IDENTIFICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolder
public MandateBankAccount accountHolder(MandatePartyIdentification accountHolder)
accountHolder- Parameters:
accountHolder-- Returns:
- the current
MandateBankAccountinstance, allowing for method chaining
-
getAccountHolder
public MandatePartyIdentification getAccountHolder()
Get accountHolder- Returns:
- accountHolder
-
setAccountHolder
public void setAccountHolder(MandatePartyIdentification accountHolder)
accountHolder- Parameters:
accountHolder-
-
accountIdentification
public MandateBankAccount accountIdentification(MandateAccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-- Returns:
- the current
MandateBankAccountinstance, allowing for method chaining
-
getAccountIdentification
public MandateAccountIdentification getAccountIdentification()
Get accountIdentification- Returns:
- accountIdentification
-
setAccountIdentification
public void setAccountIdentification(MandateAccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-
-
includeNullValues
public MandateBankAccount 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 MandateBankAccount 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 MandateBankAccount fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of MandateBankAccount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MandateBankAccount
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to MandateBankAccount
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of MandateBankAccount to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-