Enum Class ResultState

java.lang.Object
java.lang.Enum<ResultState>
eu.ccvlab.mapi.core.requests.ResultState
All Implemented Interfaces:
Serializable, Comparable<ResultState>, Constable

public enum ResultState extends Enum<ResultState>
  • Enum Constant Details

    • SUCCESS

      public static final ResultState SUCCESS
    • FAILURE

      public static final ResultState FAILURE
    • PARTIAL_FAILURE

      public static final ResultState PARTIAL_FAILURE
    • DEVICE_UNAVAILABLE

      public static final ResultState DEVICE_UNAVAILABLE
    • DEVICE_CONFIGURATION_FAILURE

      public static final ResultState DEVICE_CONFIGURATION_FAILURE
    • TIMED_OUT

      public static final ResultState TIMED_OUT
    • ABORTED

      public static final ResultState ABORTED
    • FORMAT_ERROR

      public static final ResultState FORMAT_ERROR
    • PARSING_ERROR

      public static final ResultState PARSING_ERROR
    • VALIDATION_ERROR

      public static final ResultState VALIDATION_ERROR
    • MISSING_MANDATORY_DATA

      public static final ResultState MISSING_MANDATORY_DATA
    • BUSY

      public static final ResultState BUSY
    • UNKNOWN

      public static final ResultState UNKNOWN
    • PC_COMMUNICATION_FAILED

      public static final ResultState PC_COMMUNICATION_FAILED
    • NO_ACTIVE_PAYMENT

      public static final ResultState NO_ACTIVE_PAYMENT
    • PAYMENT_ONGOING

      public static final ResultState PAYMENT_ONGOING
    • RECEIPT_CALL_FAILED

      public static final ResultState RECEIPT_CALL_FAILED
    • COMMUNICATION_ERROR

      public static final ResultState COMMUNICATION_ERROR
    • TERMINAL_ALREADY_ACTIVATED

      public static final ResultState TERMINAL_ALREADY_ACTIVATED
  • Field Details

    • name

      private final String name
  • Constructor Details

    • ResultState

      private ResultState(String name)
  • Method Details

    • values

      public static ResultState[] 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 ResultState 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
    • from

      public static ResultState from(String value)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ResultState>