[EN]PurchaseData
Last updated
Last updated
public class PurchaseData extends Object java.lang.Object ↳ com.gaa.sdk.iap.PurchaseData
Indicates the purchase data of in-app's purchases.
String getOrderId() Restores the order ID of purchases.
String getPackageName() Restores the package name of the application that started to purchase.
String getProductId() Restores the ID of purchased in-app products.
long getPurchaseTime() Restores the purchased time of in-app products to unit in seconds.
boolean isAcknowledged() Indicates whether the purchase is acknowledged.
String getDeveloperPayload() Delivers the payload of the developer that was specified when the purchase was acknowledged or consumed.
@DeprecatedString getPurchaseId() Restores the ID that distinguishes the purchased data uniquely (not used in API v6).
String getPurchaseToken() Restores the token that distinguishes the purchased data uniquely.
int getPurchaseState() Restores the one of PurchaseData.PurchaseState as indicating the value of the purchased state.
int getRecurringState() Restores the one of PurchaseData.RecurringState as indicating the value of the monthly auto-renewal state.
int getQuantity() Restores the quantity of the products.
String getSignature() Restores the string which includes the signature of the purchased data signed by the personal key of the developer.
String getOriginalJson() Restores the JSON formatted string which includes detailed information of the purchased data.
Nested classes
@interface
@interface
@interface
Public constructors
PurchaseData(String jsonPurchaseData)
PurchaseData(String jsonPurchaseData, String signature)
Returns:
String
Returns:
String
Returns:
String
Returns:
long
Returns:
boolean
Returns:
String
Returns:
String
See Also:
getPurchaseToken()
Returns:
String
Returns:
int
Returns:
int
Returns:
int
Returns:
String
Returns:
String