|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazon.InApp.transaction.Receipt
public final class Receipt
Represents the purchase of a consumable or non-consumable item, the purchase of a subscription, or the renewal of a subscription.
Method Summary | |
---|---|
java.lang.String |
getSku()
Returns the SKU the purchase was for. |
SubscriptionPeriod |
getSubscriptionPeriod()
In the case of a subscription purchase or renewal, the SubscriptionPeriod will indicate the start and end
date for subscription validity. |
java.lang.String |
getToken()
Returns a token that can be used from an external server to validate ownership or subscription validity. |
boolean |
isContentAvailable()
Returns true if Amazon-hosted content is available for download. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getSku()
SubscriptionPeriod
provided by
getSubscriptionPeriod()
to determine the start and end dates for the subscription.
public java.lang.String getToken()
public boolean isContentAvailable()
public SubscriptionPeriod getSubscriptionPeriod()
SubscriptionPeriod
will indicate the start and end
date for subscription validity. In the case of consumable or non-consumable items this field will return null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |