Enum Class MessageType

java.lang.Object
java.lang.Enum<MessageType>
com.thalesgroup.gemalto.d1.messaging.MessageType
All Implemented Interfaces:
Serializable, Comparable<MessageType>, java.lang.constant.Constable

public enum MessageType extends Enum<MessageType>
The type of message notification which is used in the card issued by D1.
Since:
4.0.0
  • Enum Constant Details

    • CARD_STATUS_UPDATE

      public static final MessageType CARD_STATUS_UPDATE
      Card status update message.
    • AUTHORIZATION

      public static final MessageType AUTHORIZATION
      Authorization message.
    • CLICKTOPAY_ENROLMENT

      public static final MessageType CLICKTOPAY_ENROLMENT
      Click to Pay Enrollment message.
      Since:
      4.2.0
    • CLICKTOPAY_OPTOUT_CARD

      public static final MessageType CLICKTOPAY_OPTOUT_CARD
      Click to Pay OptOut message.
      Since:
      4.2.0
    • CLICKTOPAY_UPDATE_CARD

      public static final MessageType CLICKTOPAY_UPDATE_CARD
      Click to Pay Update card message.
      Since:
      4.3.0
    • CLICKTOPAY_UPDATE_CONSUMER

      public static final MessageType CLICKTOPAY_UPDATE_CONSUMER
      Click to Pay Update consumer message.
      Since:
      4.3.0
    • CLICKTOPAY_OPTOUT_CONSUMER

      public static final MessageType CLICKTOPAY_OPTOUT_CONSUMER
      Click to Pay OptOut consumer message.
      Since:
      4.3.0
  • Method Details

    • values

      public static MessageType[] 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

      public static MessageType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromString

      @Nullable public static MessageType fromString(String val)
      Converts from String to Message type.
    • toString

      @NonNull public String toString()
      Returns the value as String.
      Overrides:
      toString in class Enum<MessageType>