Package com.pain001.sdk
Enum Class MessageType
- All Implemented Interfaces:
Serializable,Comparable<MessageType>,Constable
The ISO 20022 message types the server's
MessageType enum lists at this SDK's version.
The client methods take the message type as a string, so a newer server's types work before
this enum knows them: pass MessageType.PAIN_001_001_09.value() or the literal string.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionpain.001.001.03.pain.001.001.04.pain.001.001.05.pain.001.001.06.pain.001.001.07.pain.001.001.08.pain.001.001.09.pain.001.001.10.pain.001.001.11.pain.001.001.12.pain.001.001.13.pain.008.001.02.pain.008.001.08. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<MessageType> The constant whose wire value isvalue, if this SDK knows it.toString()value()The wire value.static MessageTypeReturns the enum constant of this class with the specified name.static MessageType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
PAIN_001_001_03
pain.001.001.03. -
PAIN_001_001_04
pain.001.001.04. -
PAIN_001_001_05
pain.001.001.05. -
PAIN_001_001_06
pain.001.001.06. -
PAIN_001_001_07
pain.001.001.07. -
PAIN_001_001_08
pain.001.001.08. -
PAIN_001_001_09
pain.001.001.09. -
PAIN_001_001_10
pain.001.001.10. -
PAIN_001_001_11
pain.001.001.11. -
PAIN_001_001_12
pain.001.001.12. -
PAIN_001_001_13
pain.001.001.13. -
PAIN_008_001_02
pain.008.001.02. -
PAIN_008_001_08
pain.008.001.08.
-
-
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
-
value
The wire value.- Returns:
- for example
pain.001.001.09
-
fromValue
The constant whose wire value isvalue, if this SDK knows it.- Parameters:
value- a wire value such aspain.001.001.09- Returns:
- the constant, or empty for a type this SDK does not list
-
toString
- Overrides:
toStringin classEnum<MessageType>
-