getproductpurchasev2
public AndroidPublisher.Purchases.Productsv2.Getproductpurchasev2 getproductpurchasev2(String packageName,
String token)
throws IOException
Checks the purchase and consumption status of an inapp item.
Create a request for the method "productsv2.getproductpurchasev2".
This request holds the parameters needed by the androidpublisher server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
packageName
- The package name of the application the inapp product was sold in (for example, 'com.some.thing').
token
- The token provided to the user's device when the inapp product was purchased.
- Returns:
- the request
- Throws:
IOException