Class IbanAccountIdentification


  • public class IbanAccountIdentification
    extends Object
    IbanAccountIdentification
    • Constructor Detail

      • IbanAccountIdentification

        public IbanAccountIdentification()
    • Method Detail

      • getIban

        public String getIban()
        The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
        Returns:
        iban
      • setIban

        public void setIban​(String iban)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Throws:
        IOException
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj,
                                              boolean strictValidation)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        strictValidation - reject (new) fields missing from the specifications
        Throws:
        IOException - if the JSON Object is invalid with respect to IbanAccountIdentification
      • fromJson

        public static IbanAccountIdentification fromJson​(String jsonString)
                                                  throws IOException
        Create an instance of IbanAccountIdentification given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of IbanAccountIdentification
        Throws:
        IOException - if the JSON string is invalid with respect to IbanAccountIdentification
      • toJson

        public String toJson()
        Convert an instance of IbanAccountIdentification to an JSON string
        Returns:
        JSON string