Enum Class MessageType
- All Implemented Interfaces:
Serializable,Comparable<MessageType>,java.lang.constant.Constable
The type of message notification which is used in the card issued by D1.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthorization message.Card status update message.Click to Pay Enrollment message.Click to Pay OptOut message.Click to Pay OptOut consumer message.Click to Pay Update card message.Click to Pay Update consumer message. -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageTypefromString(String val) Converts from String to Message type.toString()Returns the value as String.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.
-
Enum Constant Details
-
CARD_STATUS_UPDATE
Card status update message. -
AUTHORIZATION
Authorization message. -
CLICKTOPAY_ENROLMENT
Click to Pay Enrollment message.- Since:
- 4.2.0
-
CLICKTOPAY_OPTOUT_CARD
Click to Pay OptOut message.- Since:
- 4.2.0
-
CLICKTOPAY_UPDATE_CARD
Click to Pay Update card message.- Since:
- 4.3.0
-
CLICKTOPAY_UPDATE_CONSUMER
Click to Pay Update consumer message.- Since:
- 4.3.0
-
CLICKTOPAY_OPTOUT_CONSUMER
Click to Pay OptOut consumer message.- Since:
- 4.3.0
-
-
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
-
fromString
Converts from String to Message type. -
toString
Returns the value as String.- Overrides:
toStringin classEnum<MessageType>
-