Package de.willuhn.jameica.hbci.server
Enum Class InstantPaymentStatus
- All Implemented Interfaces:
Serializable
,Comparable<InstantPaymentStatus>
,Constable
Enum mit den Status-Codes von Instant-Payments.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic InstantPaymentStatus
Versucht, den Status anhand des uebergebenen Codes zu ermitteln.Liefert einen sprechenden Beschreibungstext.int
Liefert den Statuscode.boolean
Liefert true, wenn es sich um einen Erfolgsstatus handelt.static InstantPaymentStatus
Returns the enum constant of this class with the specified name.static InstantPaymentStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATUS1
-
STATUS2
-
STATUS3
-
STATUS4
-
STATUS5
-
STATUS6
-
STATUS7
-
STATUS8
-
STATUS9
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getStatus
public int getStatus()Liefert den Statuscode.- Returns:
- status der Status-Code.
-
getDescription
Liefert einen sprechenden Beschreibungstext.- Returns:
- description
-
isSuccess
public boolean isSuccess()Liefert true, wenn es sich um einen Erfolgsstatus handelt.- Returns:
- success true, wenn es sich um einen Erfolgsstatus handelt.
-
determine
Versucht, den Status anhand des uebergebenen Codes zu ermitteln.- Parameters:
status
- der Status.- Returns:
- der Status oder NULL, wenn er nicht ermittelbar war.
-