For a list of methods for this resource, see the end of this page.
Resource representations
A ProductPurchase resource indicates the status of a user's inapp product purchase.
{ "kind": "androidpublisher#productPurchase", "purchaseTimeMillis": long, "purchaseState": integer, "consumptionState": integer, "developerPayload": string, "orderId": string, "purchaseType": integer }
Property name | Value | Description | Notes |
---|---|---|---|
consumptionState |
integer |
The consumption state of the inapp product. Possible values are:
|
|
developerPayload |
string |
A developer-specified string that contains supplemental information about an order. | |
kind |
string |
This kind represents an inappPurchase object in the androidpublisher service. | |
orderId |
string |
The order id associated with the purchase of the inapp product. | |
purchaseState |
integer |
The purchase state of the order. Possible values are:
|
|
purchaseTimeMillis |
long |
The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970). | |
purchaseType |
integer |
The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are:
|
Methods
- get
- Checks the purchase and consumption status of an inapp item.