com.amazon.InAppSDK.purchasing
Enum ItemDataResponse.ItemDataRequestStatus

java.lang.Object
  extended by java.lang.Enum<ItemDataResponse.ItemDataRequestStatus>
      extended by com.amazon.InAppSDK.purchasing.ItemDataResponse.ItemDataRequestStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ItemDataResponse.ItemDataRequestStatus>
Enclosing class:
ItemDataResponse

public static enum ItemDataResponse.ItemDataRequestStatus
extends java.lang.Enum<ItemDataResponse.ItemDataRequestStatus>

Indicates the result of an item data request initiated via PurchasingManager.initiateItemDataRequest(java.util.Set).


Enum Constant Summary
Failed
          Indicates that the item data could not be retrieved and you may retry the request.
Successful
          Indicates the request was successful.
SuccessfulWithUnavailableSkus
          Indicates that item data for one or more of the provided SKUs was not available.
 
Method Summary
static ItemDataResponse.ItemDataRequestStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ItemDataResponse.ItemDataRequestStatus[] 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

Successful

public static final ItemDataResponse.ItemDataRequestStatus Successful
Indicates the request was successful.


Failed

public static final ItemDataResponse.ItemDataRequestStatus Failed
Indicates that the item data could not be retrieved and you may retry the request.


SuccessfulWithUnavailableSkus

public static final ItemDataResponse.ItemDataRequestStatus SuccessfulWithUnavailableSkus
Indicates that item data for one or more of the provided SKUs was not available.

Method Detail

values

public static ItemDataResponse.ItemDataRequestStatus[] 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 (ItemDataResponse.ItemDataRequestStatus c : ItemDataResponse.ItemDataRequestStatus.values())
    System.out.println(c);

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

valueOf

public static ItemDataResponse.ItemDataRequestStatus 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