Enum MessageReasonCodes

java.lang.Object
java.lang.Enum<MessageReasonCodes>
company.tap.commondependencies.Mada.StandardCodes.MessageReasonCodes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MessageReasonCodes>, java.lang.constant.Constable

public enum MessageReasonCodes
extends java.lang.Enum<MessageReasonCodes>
  • Enum Constant Details

    • PreAuthorizationCapture

      public static final MessageReasonCodes PreAuthorizationCapture
    • MadaPreAuthorizationVoidOrPartialVoid

      public static final MessageReasonCodes MadaPreAuthorizationVoidOrPartialVoid
    • MadaPreAuthorizationExpiryExtension

      public static final MessageReasonCodes MadaPreAuthorizationExpiryExtension
    • FormatErrorNoActionTaken

      public static final MessageReasonCodes FormatErrorNoActionTaken
    • DeliveryFailureToMerchant

      public static final MessageReasonCodes DeliveryFailureToMerchant
    • TimeoutWaitingForResponse

      public static final MessageReasonCodes TimeoutWaitingForResponse
    • MAC_Failure_reversal

      public static final MessageReasonCodes MAC_Failure_reversal
    • MAC_Failure

      public static final MessageReasonCodes MAC_Failure
  • Method Details

    • values

      public static MessageReasonCodes[] 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 MessageReasonCodes valueOf​(java.lang.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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • getDescription

      public java.lang.String getDescription()
    • get

      public static MessageReasonCodes get​(int code)