Enum Class Status

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

public enum Status extends Enum<Status>
Enum representing the status of a Click to Pay operation. Used in the callback to notify the integrator of the current state.
Since:
4.3.0
  • Enum Constant Details

    • PENDING

      public static final Status PENDING
      Indicates that the operation is still in progress. The final status will be updated via a push notification.
    • SUCCESSFUL

      public static final Status SUCCESSFUL
      Indicates that the operation was successful.
  • Field Details

    • operationID

      public String operationID
  • Method Details

    • values

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

      @NonNull public static Status fromString(String val)
    • toString

      @NonNull public String toString()
      Returns the string representation of the enum value.
      Overrides:
      toString in class Enum<Status>
      Returns:
      The status as a string.