PurchaseData
It shows the purchase data of in-app purchases (IAP).
Summary
Nested classes | |
---|---|
@interface | |
@interface | |
@interface |
Public constructors |
---|
Public methods
getOrderId
It returns the order ID for purchase.
Returns: | |
String |
|
getPackageName
It returns the packageName of application, which initiates purchase.
Returns: | |
String |
|
getProductId
It returns the ID of purchased in-app products.
Returns: | |
String |
|
getPurchaseTime
It returns the in-app purchase time in the unit of milliseconds.
Returns: | |
long |
|
isAcknowledged
It shows whether purchase is acknowledged or not.
Returns: | |
boolean |
|
getDeveloperPayload
It forwards the developer’s payload specified when acknowledging or consuming purchase.
Returns: | |
String |
|
getPurchaseId
It returns the ID uniquely identifying purchased data.
It is not used for API v6.
Returns: | |
String |
|
See Also: | |
getPurchaseToken
It returns the token uniquely identifying purchased data.
Returns: | |
String |
|
getPurchaseState
It returns one of the PurchaseData.PurchaseState as a value indicating purchase status.
Returns: | |
int |
|
getRecurringState
It returns one of the PurchaseData.RecurringState as a value indicating Monthly auto-renewal product status.
Returns: | |
int |
|
getSignature
It returns a string containing the signature of the purchase data signed with the developer’s private key.
Returns: | |
String |
|
getOriginalJson
It returns a string in json format containing purchase data details.
Returns: | |
String |
|
Last updated