com.amazon.inapp.purchasing
Class Item

java.lang.Object
  extended by com.amazon.inapp.purchasing.Item

public final class Item
extends java.lang.Object

Represents an in-app item, such as consumable content, entitled content or subscription content. You can retrieve item data by using PurchasingManager.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.
 java.lang.String getTitle()
          Returns the item's title.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, 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. Note that in the case of a subscription parent this value will be null.

Returns:
the item's displayable price

getTitle

public java.lang.String getTitle()
Returns the item's title.

Returns:
the item's title

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object