Enum KnownReturncode

    • Enum Constant Detail

      • W3040

        public static final KnownReturncode W3040
        Es liegen weitere Informationen vor - mit Aufsetzpunkt.
      • W3072

        public static final KnownReturncode W3072
        Geaenderte Benutzerdaten.
      • W3920

        public static final KnownReturncode W3920
        Die Liste der zugelassenen Zweischritt-Verfahren.
      • E9340

        public static final KnownReturncode E9340
        Signatur falsch (generisch)
    • Field Detail

      • LIST_AUTH_FAIL

        public static final KnownReturncode[] LIST_AUTH_FAIL
        Die Liste der Return-Codes, die als "PIN falsch" interpretiert werden sollen.
    • Method Detail

      • values

        public static KnownReturncode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (KnownReturncode c : KnownReturncode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KnownReturncode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • contains

        public static boolean contains​(String code,
                                       KnownReturncode... codes)
        Prueft, ob der angegebene Code in der Liste enthalten ist.
        Parameters:
        code - der zu pruefende Code.
        codes - die Liste der Codes.
        Returns:
        true, wenn er in der Liste enthalten ist.
      • find

        public static KnownReturncode find​(String code,
                                           KnownReturncode... codes)
        Prueft, ob der angegebene Code in der Liste enthalten ist.
        Parameters:
        code - der zu pruefende Code.
        codes - die Liste der Codes.
        Returns:
        true, wenn er in der Liste enthalten ist.
      • is

        public boolean is​(String code)
        Prueft der angegebene Code identisch ist.
        Parameters:
        code - der zu pruefende Code.
        Returns:
        true, wenn der Code identisch ist.
      • searchReturnValue

        public HBCIRetVal searchReturnValue​(List<HBCIRetVal> rets)
        Sucht nach dem angegebenen Status-Code in den Rueckmeldungen und liefert den Code zurueck.
        Parameters:
        rets - die Rueckmeldungen.
        Returns:
        der gesuchte Rueckmeldecode oder NULL, wenn er nicht existiert.