Class RIXAccountIdentifier


  • public class RIXAccountIdentifier
    extends Object
    RIXAccountIdentifier
    • Constructor Detail

      • RIXAccountIdentifier

        public RIXAccountIdentifier()
    • Method Detail

      • accountNumber

        public RIXAccountIdentifier accountNumber​(String accountNumber)
        The account number of the bank account.
        Parameters:
        accountNumber - The account number of the bank account.
        Returns:
        the current RIXAccountIdentifier instance, allowing for method chaining
      • getAccountNumber

        public String getAccountNumber()
        The account number of the bank account.
        Returns:
        accountNumber The account number of the bank account.
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
        The account number of the bank account.
        Parameters:
        accountNumber - The account number of the bank account.
      • clearingNumber

        public RIXAccountIdentifier clearingNumber​(String clearingNumber)
        The 4- to 5-digit clearing number, without separators or whitespace.
        Parameters:
        clearingNumber - The 4- to 5-digit clearing number, without separators or whitespace.
        Returns:
        the current RIXAccountIdentifier instance, allowing for method chaining
      • getClearingNumber

        public String getClearingNumber()
        The 4- to 5-digit clearing number, without separators or whitespace.
        Returns:
        clearingNumber The 4- to 5-digit clearing number, without separators or whitespace.
      • setClearingNumber

        public void setClearingNumber​(String clearingNumber)
        The 4- to 5-digit clearing number, without separators or whitespace.
        Parameters:
        clearingNumber - The 4- to 5-digit clearing number, without separators or whitespace.
      • equals

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

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

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

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