Class NZLocalAccountIdentification


  • public class NZLocalAccountIdentification
    extends Object
    NZLocalAccountIdentification
    • Constructor Detail

      • NZLocalAccountIdentification

        public NZLocalAccountIdentification()
    • Method Detail

      • getAccountNumber

        public String getAccountNumber()
        The 7-digit bank account number, without separators or whitespace.
        Returns:
        accountNumber
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
      • getAccountSuffix

        public String getAccountSuffix()
        The 2- to 3-digit account suffix, without separators or whitespace.
        Returns:
        accountSuffix
      • setAccountSuffix

        public void setAccountSuffix​(String accountSuffix)
      • getBankCode

        public String getBankCode()
        The 6-digit bank code including the 2-digit bank code and 4-digit branch code, without separators or whitespace.
        Returns:
        bankCode
      • setBankCode

        public void setBankCode​(String bankCode)
      • equals

        public boolean equals​(Object o)
        Return true if this NZLocalAccountIdentification object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static NZLocalAccountIdentification fromJson​(String jsonString)
                                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of NZLocalAccountIdentification given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of NZLocalAccountIdentification
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to NZLocalAccountIdentification
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of NZLocalAccountIdentification to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException