com.ecebs.rtd.enabler.types.response
Enum ResponseMessage.DownloadFailureReason

java.lang.Object
  extended by java.lang.Enum<ResponseMessage.DownloadFailureReason>
      extended by com.ecebs.rtd.enabler.types.response.ResponseMessage.DownloadFailureReason
All Implemented Interfaces:
Serializable, Comparable<ResponseMessage.DownloadFailureReason>
Enclosing class:
ResponseMessage

public static enum ResponseMessage.DownloadFailureReason
extends Enum<ResponseMessage.DownloadFailureReason>

Defines the reasons that a download could have failed


Enum Constant Summary
CARD_BLOCKED
          The card is blocked and the operation cannot be completed
CARD_CORRUPT
          The card is corrupt and the operation cannot be completed
CARD_EXPIRED
          The card is expired and the operation cannot be completed
CARD_FULL
          The card is full and the operation cannot be completed
CARD_NOT_SUPPORTED
          The card is not of a supported type
ID_PRODUCT_NOT_FOUND
          The product ID specified is not setup on the server
PRODUCT_BLOCKED
          The specified product is blocked and the operation cannot be completed
PRODUCT_CORRUPT
          The specified product is corrupt and the operation cannot be completed
PRODUCT_EXPIRED
          The specified product is expired and the operation cannot be completed
PRODUCT_INSUFFICIENT_FUNDS
          The specified STR product has insufficient funds to complete the operation
PRODUCT_MAX_VALUE_REACHED
          The specified STR product has reached its max value and the operation cannot be completed
PRODUCT_NOT_FOUND
          The specified product could not be found
PRODUCT_NOT_SUPPORTED
          The specified product is not supported
PRODUCT_STILL_WITHIN_PASSBACK
          The specified product is still within its passback time
UNKNOWN
           
UNSPECIFIED
          An unspecified error occurred
 
Method Summary
static ResponseMessage.DownloadFailureReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResponseMessage.DownloadFailureReason[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CARD_BLOCKED

public static final ResponseMessage.DownloadFailureReason CARD_BLOCKED
The card is blocked and the operation cannot be completed


CARD_CORRUPT

public static final ResponseMessage.DownloadFailureReason CARD_CORRUPT
The card is corrupt and the operation cannot be completed


CARD_EXPIRED

public static final ResponseMessage.DownloadFailureReason CARD_EXPIRED
The card is expired and the operation cannot be completed


CARD_FULL

public static final ResponseMessage.DownloadFailureReason CARD_FULL
The card is full and the operation cannot be completed


CARD_NOT_SUPPORTED

public static final ResponseMessage.DownloadFailureReason CARD_NOT_SUPPORTED
The card is not of a supported type


ID_PRODUCT_NOT_FOUND

public static final ResponseMessage.DownloadFailureReason ID_PRODUCT_NOT_FOUND
The product ID specified is not setup on the server


PRODUCT_BLOCKED

public static final ResponseMessage.DownloadFailureReason PRODUCT_BLOCKED
The specified product is blocked and the operation cannot be completed


PRODUCT_CORRUPT

public static final ResponseMessage.DownloadFailureReason PRODUCT_CORRUPT
The specified product is corrupt and the operation cannot be completed


PRODUCT_EXPIRED

public static final ResponseMessage.DownloadFailureReason PRODUCT_EXPIRED
The specified product is expired and the operation cannot be completed


PRODUCT_INSUFFICIENT_FUNDS

public static final ResponseMessage.DownloadFailureReason PRODUCT_INSUFFICIENT_FUNDS
The specified STR product has insufficient funds to complete the operation


PRODUCT_MAX_VALUE_REACHED

public static final ResponseMessage.DownloadFailureReason PRODUCT_MAX_VALUE_REACHED
The specified STR product has reached its max value and the operation cannot be completed


PRODUCT_NOT_FOUND

public static final ResponseMessage.DownloadFailureReason PRODUCT_NOT_FOUND
The specified product could not be found


PRODUCT_NOT_SUPPORTED

public static final ResponseMessage.DownloadFailureReason PRODUCT_NOT_SUPPORTED
The specified product is not supported


PRODUCT_STILL_WITHIN_PASSBACK

public static final ResponseMessage.DownloadFailureReason PRODUCT_STILL_WITHIN_PASSBACK
The specified product is still within its passback time


UNSPECIFIED

public static final ResponseMessage.DownloadFailureReason UNSPECIFIED
An unspecified error occurred


UNKNOWN

public static final ResponseMessage.DownloadFailureReason UNKNOWN
Method Detail

values

public static ResponseMessage.DownloadFailureReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ResponseMessage.DownloadFailureReason c : ResponseMessage.DownloadFailureReason.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ResponseMessage.DownloadFailureReason valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013 Ecebs Ltd. All Rights Reserved.