Enum HBCIVersion

java.lang.Object
java.lang.Enum<HBCIVersion>
org.kapott.hbci.manager.HBCIVersion
All Implemented Interfaces:
Serializable, Comparable<HBCIVersion>, java.lang.constant.Constable

public enum HBCIVersion extends Enum<HBCIVersion>
Kapselt die bekannten HBCI-Versionen.
  • Enum Constant Details

    • HBCI_201

      public static final HBCIVersion HBCI_201
      HBCI 2.01
    • HBCI_210

      public static final HBCIVersion HBCI_210
      HBCI 2.1
    • HBCI_220

      public static final HBCIVersion HBCI_220
      HBCI 2.2
    • HBCI_PLUS

      public static final HBCIVersion HBCI_PLUS
      HBCI+ (HBCI 2.2 mit PIN/TAN-Support)
    • HBCI_300

      public static final HBCIVersion HBCI_300
      FinTS 3.0
    • HBCI_400

      public static final HBCIVersion HBCI_400
      FinTS 4.0
  • Method Details

    • values

      public static HBCIVersion[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HBCIVersion 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
    • getId

      public String getId()
      Liefert die ID der HBCI-Version.
      Returns:
      die ID der HBCI-Version.
    • getName

      public String getName()
      Liefert den Namen der HBCI-Version.
      Returns:
      der Name der HBCI-Version.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<HBCIVersion>
      See Also:
    • byId

      public static HBCIVersion byId(String id)
      Sucht die HBCI-Version anhand der angegebenen ID.
      Parameters:
      id - die ID der HBCI-Version.
      Returns:
      die gefundene HBCI-Version oder NULL, wenn sie nicht gefunden wurde.