Class USLocalAccountIdentification


  • public class USLocalAccountIdentification
    extends Object
    USLocalAccountIdentification
    • Constructor Detail

      • USLocalAccountIdentification

        public USLocalAccountIdentification()
    • Method Detail

      • accountNumber

        public USLocalAccountIdentification accountNumber​(String accountNumber)
        The bank account number, without separators or whitespace.
        Parameters:
        accountNumber -
        Returns:
        the current USLocalAccountIdentification instance, allowing for method chaining
      • getAccountNumber

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

        public void setAccountNumber​(String accountNumber)
        The bank account number, without separators or whitespace.
        Parameters:
        accountNumber -
      • setAccountType

        public void setAccountType​(USLocalAccountIdentification.AccountTypeEnum accountType)
        The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Parameters:
        accountType -
      • routingNumber

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

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

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

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

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

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

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