Google_AndroidpublisherService

Service definition for Google_Androidpublisher (v1).

Defined (1)

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

/google-api/src/contrib/Google_AndroidpublisherService.php  
  1. class Google_AndroidpublisherService extends Google_Service { 
  2. public $purchases; 
  3. /** 
  4. * Constructs the internal representation of the Androidpublisher service. 
  5. * @param Google_Client $client 
  6. */ 
  7. public function __construct(Google_Client $client) { 
  8. $this->servicePath = 'androidpublisher/v1/applications/'; 
  9. $this->version = 'v1'; 
  10. $this->serviceName = 'androidpublisher'; 
  11.  
  12. $client->addService($this->serviceName, $this->version); 
  13. $this->purchases = new Google_PurchasesServiceResource($this, $this->serviceName, 'purchases', json_decode('{"methods": {"cancel": {"parameters": {"packageName": {"required": true, "type": "string", "location": "path"}, "subscriptionId": {"required": true, "type": "string", "location": "path"}, "token": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "POST", "path": "{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel", "id": "androidpublisher.purchases.cancel"}, "get": {"parameters": {"packageName": {"required": true, "type": "string", "location": "path"}, "subscriptionId": {"required": true, "type": "string", "location": "path"}, "token": {"required": true, "type": "string", "location": "path"}}, "response": {"$ref": "SubscriptionPurchase"}, "httpMethod": "GET", "path": "{packageName}/subscriptions/{subscriptionId}/purchases/{token}", "id": "androidpublisher.purchases.get"}}}', true)); 
  14.