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