com.amazon.InApp.transaction
Class Item

java.lang.Object
  extended by com.amazon.InApp.transaction.Item

public final class Item
extends java.lang.Object

Represents an in-app item, such as a consumable, non-consumable or subscription. You can retrieve item data by using TransactionManager.initiateItemDataRequest(java.util.Set).


Nested Class Summary
static class Item.ItemType
          Represents the type of an item.
 
Method Summary
 java.lang.String getDescription()
          Returns the item's description.
 Item.ItemType getItemType()
          Returns the item's type.
 java.lang.String getPrice()
          Returns the item's displayable price.
 java.lang.String getSku()
          Returns the item's SKU.
 java.lang.String getSmallIconUrl()
          Returns the item's small icon URL.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSku

public java.lang.String getSku()
Returns the item's SKU.

Returns:
the item's SKU

getItemType

public Item.ItemType getItemType()
Returns the item's type.

Returns:
the item's type

getPrice

public java.lang.String getPrice()
Returns the item's displayable price.

Returns:
the item's displayable price

getDescription

public java.lang.String getDescription()
Returns the item's description.

Returns:
The item's description

getSmallIconUrl

public java.lang.String getSmallIconUrl()
Returns the item's small icon URL.

Returns:
the item's small icon URL