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 - The bank account number, without separators or whitespace.
        Returns:
        the current USLocalAccountIdentification instance, allowing for method chaining
      • getAccountNumber

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

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

        public USLocalAccountIdentification accountType​(USLocalAccountIdentification.AccountTypeEnum accountType)
        The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Parameters:
        accountType - The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Returns:
        the current USLocalAccountIdentification instance, allowing for method chaining
      • getAccountType

        public USLocalAccountIdentification.AccountTypeEnum getAccountType()
        The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Returns:
        accountType The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
      • setAccountType

        public void setAccountType​(USLocalAccountIdentification.AccountTypeEnum accountType)
        The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Parameters:
        accountType - The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
      • 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 - The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        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 The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
      • 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 - The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
      • includeNullValues

        public USLocalAccountIdentification includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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