Class IBANAccountIdentifier


  • public class IBANAccountIdentifier
    extends Object
    IBANAccountIdentifier
    • Constructor Detail

      • IBANAccountIdentifier

        public IBANAccountIdentifier()
    • Method Detail

      • bban

        public IBANAccountIdentifier bban​(String bban)
        The Basic Bank Account Number (BBAN) component of the IBAN.
        Parameters:
        bban - The Basic Bank Account Number (BBAN) component of the IBAN.
        Returns:
        the current IBANAccountIdentifier instance, allowing for method chaining
      • getBban

        public String getBban()
        The Basic Bank Account Number (BBAN) component of the IBAN.
        Returns:
        bban The Basic Bank Account Number (BBAN) component of the IBAN.
      • setBban

        public void setBban​(String bban)
        The Basic Bank Account Number (BBAN) component of the IBAN.
        Parameters:
        bban - The Basic Bank Account Number (BBAN) component of the IBAN.
      • bic

        public IBANAccountIdentifier bic​(String bic)
        BIC of a bank account.
        Parameters:
        bic - BIC of a bank account.
        Returns:
        the current IBANAccountIdentifier instance, allowing for method chaining
      • getBic

        public String getBic()
        BIC of a bank account.
        Returns:
        bic BIC of a bank account.
      • setBic

        public void setBic​(String bic)
        BIC of a bank account.
        Parameters:
        bic - BIC of a bank account.
      • iban

        public IBANAccountIdentifier iban​(String iban)
        The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.
        Parameters:
        iban - The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.
        Returns:
        the current IBANAccountIdentifier instance, allowing for method chaining
      • getIban

        public String getIban()
        The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.
        Returns:
        iban The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.
      • setIban

        public void setIban​(String iban)
        The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.
        Parameters:
        iban - The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. This is the national identifier for the bank account, following the country-specific format, and is part of the full IBAN.
      • equals

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

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

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

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