[EN]PurchaseData

public class PurchaseData extends Object java.lang.Object ↳ com.gaa.sdk.iap.PurchaseData

Indicates the purchase data of in-app's purchases.

Summary


Public methods


getOrderId

String getOrderId() Restores the order ID of purchases.

getPackageName

String getPackageName() Restores the package name of the application that started to purchase.

getProductId

String getProductId() Restores the ID of purchased in-app products.

getPurchaseTime

long getPurchaseTime() Restores the purchased time of in-app products to unit in seconds.

isAcknowledged

boolean isAcknowledged() Indicates whether the purchase is acknowledged.

getDeveloperPayload

String getDeveloperPayload() Delivers the payload of the developer that was specified when the purchase was acknowledged or consumed.

getPurchaseId

@DeprecatedString getPurchaseId() Restores the ID that distinguishes the purchased data uniquely (not used in API v6).

getPurchaseToken

String getPurchaseToken() Restores the token that distinguishes the purchased data uniquely.

getPurchaseState

int getPurchaseState() Restores the one of PurchaseData.PurchaseState as indicating the value of the purchased state.

getRecurringState

int getRecurringState() Restores the one of PurchaseData.RecurringState as indicating the value of the monthly auto-renewal state.

getQuantity

int getQuantity() Restores the quantity of the products.

getSignature

String getSignature() Restores the string which includes the signature of the purchased data signed by the personal key of the developer.

getOriginalJson

String getOriginalJson() Restores the JSON formatted string which includes detailed information of the purchased data.

Last updated