Class HKLocalAccountIdentification


  • public class HKLocalAccountIdentification
    extends Object
    HKLocalAccountIdentification
    • Constructor Detail

      • HKLocalAccountIdentification

        public HKLocalAccountIdentification()
    • Method Detail

      • accountNumber

        public HKLocalAccountIdentification accountNumber​(String accountNumber)
        The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.
        Parameters:
        accountNumber -
        Returns:
        the current HKLocalAccountIdentification instance, allowing for method chaining
      • getAccountNumber

        public String getAccountNumber()
        The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.
        Returns:
        accountNumber
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
        The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.
        Parameters:
        accountNumber -
      • clearingCode

        public HKLocalAccountIdentification clearingCode​(String clearingCode)
        The 3-digit clearing code, without separators or whitespace.
        Parameters:
        clearingCode -
        Returns:
        the current HKLocalAccountIdentification instance, allowing for method chaining
      • getClearingCode

        public String getClearingCode()
        The 3-digit clearing code, without separators or whitespace.
        Returns:
        clearingCode
      • setClearingCode

        public void setClearingCode​(String clearingCode)
        The 3-digit clearing code, without separators or whitespace.
        Parameters:
        clearingCode -
      • equals

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

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

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

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