Class ACHAccountIdentifier


  • public class ACHAccountIdentifier
    extends Object
    ACHAccountIdentifier
    • Constructor Detail

      • ACHAccountIdentifier

        public ACHAccountIdentifier()
    • Method Detail

      • accountNumber

        public ACHAccountIdentifier accountNumber​(String accountNumber)
        The account number of the bank account.
        Parameters:
        accountNumber - The account number of the bank account.
        Returns:
        the current ACHAccountIdentifier 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.
      • routingNumber

        public ACHAccountIdentifier routingNumber​(String routingNumber)
        The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        Parameters:
        routingNumber - The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        Returns:
        the current ACHAccountIdentifier instance, allowing for method chaining
      • getRoutingNumber

        public String getRoutingNumber()
        The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        Returns:
        routingNumber The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
      • setRoutingNumber

        public void setRoutingNumber​(String routingNumber)
        The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        Parameters:
        routingNumber - The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
      • equals

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

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

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

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