Package com.adyen.model.balanceplatform
Class BankAccount
- java.lang.Object
-
- com.adyen.model.balanceplatform.BankAccount
-
public class BankAccount extends Object
BankAccount
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_IDENTIFICATION
-
Constructor Summary
Constructors Constructor Description BankAccount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BankAccountaccountIdentification(BankAccountAccountIdentification accountIdentification)accountIdentificationbooleanequals(Object o)Return true if this BankAccount object is equal to o.static BankAccountfromJson(String jsonString)Create an instance of BankAccount given an JSON stringBankAccountAccountIdentificationgetAccountIdentification()accountIdentificationinthashCode()voidsetAccountIdentification(BankAccountAccountIdentification accountIdentification)accountIdentificationStringtoJson()Convert an instance of BankAccount to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_IDENTIFICATION
public static final String JSON_PROPERTY_ACCOUNT_IDENTIFICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountIdentification
public BankAccount accountIdentification(BankAccountAccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-- Returns:
- the current
BankAccountinstance, allowing for method chaining
-
getAccountIdentification
public BankAccountAccountIdentification getAccountIdentification()
accountIdentification- Returns:
- accountIdentification
-
setAccountIdentification
public void setAccountIdentification(BankAccountAccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-
-
equals
public boolean equals(Object o)
Return true if this BankAccount object is equal to o.
-
fromJson
public static BankAccount fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BankAccount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccount
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BankAccount
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankAccount to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-