Class BankAccount


  • public class BankAccount
    extends Object
    BankAccount
    • Field Detail

      • JSON_PROPERTY_ACCOUNT_IDENTIFICATION

        public static final String JSON_PROPERTY_ACCOUNT_IDENTIFICATION
        See Also:
        Constant Field Values
    • Constructor Detail

      • BankAccount

        public BankAccount()
    • Method Detail

      • accountIdentification

        public BankAccount accountIdentification​(BankAccountAccountIdentification accountIdentification)
        accountIdentification
        Parameters:
        accountIdentification -
        Returns:
        the current BankAccount instance, allowing for method chaining
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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