Click here to see your recently viewed pages and most viewed pages.
Hide

Purchases.products

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
}
Property name Value Description Notes
consumptionState integer The consumption state of the inapp product. Possible values are:
  1. Yet to be consumed
  2. Consumed
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.
purchaseState integer The purchase state of the order. Possible values are:
  1. Purchased
  2. Cancelled
purchaseTimeMillis long The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).

Methods

get
Checks the purchase and consumption status of an inapp item.