Google_Service_AndroidPublisher_Inapppurchases_Resource

The "inapppurchases" collection of methods.

Defined (1)

The class is defined in the following location(s).

/lib/Google/Service/AndroidPublisher.php  
  1. class Google_Service_AndroidPublisher_Inapppurchases_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Checks the purchase and consumption status of an inapp item. 
  5. * (inapppurchases.get) 
  6. * @param string $packageName 
  7. * The package name of the application the inapp product was sold in (for example,  
  8. * 'com.some.thing'). 
  9. * @param string $productId 
  10. * The inapp product SKU (for example, 'com.some.thing.inapp1'). 
  11. * @param string $token 
  12. * The token provided to the user's device when the inapp product was purchased. 
  13. * @param array $optParams Optional parameters. 
  14. * @return Google_Service_AndroidPublisher_InappPurchase 
  15. */ 
  16. public function get($packageName, $productId, $token, $optParams = array()) 
  17. $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token); 
  18. $params = array_merge($params, $optParams); 
  19. return $this->call('get', array($params), "Google_Service_AndroidPublisher_InappPurchase");