Enum Class Status

java.lang.Object
java.lang.Enum<Status>
esendex.sdk.java.model.types.Status
All Implemented Interfaces:
Serializable, Comparable<Status>, java.lang.constant.Constable

public enum Status extends Enum<Status>
The status code refers to the current state of the Message. The possible values are:
Submitted - Message is being processed by Esendex
Sent - Message has been passed on to the Mobile Networks
Delivered - Message has been delivered to the Recipient
Expired - Message could not be delivered within the validity period
Failed - Message could not be delivered
FailedAuthorisation - Premium message could not be authorised to this Recipient
Acknowledged - Voice Message has been acknowledged by the Recipient
Connecting - Voice message is currently being delivered to the customer
Author:
Mike Whittaker
  • Enum Constant Details

    • ACKNOWLEDGED

      public static final Status ACKNOWLEDGED
    • AUTHORISED

      public static final Status AUTHORISED
    • CONNECTING

      public static final Status CONNECTING
    • DELIVERED

      public static final Status DELIVERED
    • DISPATCHED

      public static final Status DISPATCHED
    • EXPIRED

      public static final Status EXPIRED
    • FAILED

      public static final Status FAILED
    • FAILEDAUTHORISATION

      public static final Status FAILEDAUTHORISATION
    • PARTIALLYDELIVERED

      public static final Status PARTIALLYDELIVERED
    • PROCESSING

      public static final Status PROCESSING
    • QUEUED

      public static final Status QUEUED
    • REJECTED

      public static final Status REJECTED
    • SCHEDULED

      public static final Status SCHEDULED
    • SENT

      public static final Status SENT
    • SUBMITTED

      public static final Status SUBMITTED
  • 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
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Enum<Status>
      Returns:
      the string