Class BRLocalAccountIdentification

    • Constructor Detail

      • BRLocalAccountIdentification

        public BRLocalAccountIdentification()
    • Method Detail

      • accountNumber

        public BRLocalAccountIdentification accountNumber​(String accountNumber)
        The bank account number, without separators or whitespace.
        Parameters:
        accountNumber - The bank account number, without separators or whitespace.
        Returns:
        the current BRLocalAccountIdentification 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.
      • bankCode

        public BRLocalAccountIdentification bankCode​(String bankCode)
        The 3-digit bank code, with leading zeros.
        Parameters:
        bankCode - The 3-digit bank code, with leading zeros.
        Returns:
        the current BRLocalAccountIdentification instance, allowing for method chaining
      • getBankCode

        public String getBankCode()
        The 3-digit bank code, with leading zeros.
        Returns:
        bankCode The 3-digit bank code, with leading zeros.
      • setBankCode

        public void setBankCode​(String bankCode)
        The 3-digit bank code, with leading zeros.
        Parameters:
        bankCode - The 3-digit bank code, with leading zeros.
      • branchNumber

        public BRLocalAccountIdentification branchNumber​(String branchNumber)
        The bank account branch number, without separators or whitespace.
        Parameters:
        branchNumber - The bank account branch number, without separators or whitespace.
        Returns:
        the current BRLocalAccountIdentification instance, allowing for method chaining
      • getBranchNumber

        public String getBranchNumber()
        The bank account branch number, without separators or whitespace.
        Returns:
        branchNumber The bank account branch number, without separators or whitespace.
      • setBranchNumber

        public void setBranchNumber​(String branchNumber)
        The bank account branch number, without separators or whitespace.
        Parameters:
        branchNumber - The bank account branch number, without separators or whitespace.
      • ispb

        public BRLocalAccountIdentification ispb​(String ispb)
        The 8-digit ISPB, with leading zeros.
        Parameters:
        ispb - The 8-digit ISPB, with leading zeros.
        Returns:
        the current BRLocalAccountIdentification instance, allowing for method chaining
      • getIspb

        public String getIspb()
        The 8-digit ISPB, with leading zeros.
        Returns:
        ispb The 8-digit ISPB, with leading zeros.
      • setIspb

        public void setIspb​(String ispb)
        The 8-digit ISPB, with leading zeros.
        Parameters:
        ispb - The 8-digit ISPB, with leading zeros.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
        Overrides:
        setIncludeNullValues in class BankAccountIdentification
      • fromJson

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

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of BRLocalAccountIdentification to an JSON string
        Overrides:
        toJson in class BankAccountIdentification
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException