GoogleGAL_Service_AndroidPublisher_EditsListings_Resource

The "listings" collection of methods.

Defined (1)

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

/core/Google/Service/AndroidPublisher.php  
  1. class GoogleGAL_Service_AndroidPublisher_EditsListings_Resource extends GoogleGAL_Service_Resource 
  2.  
  3. /** 
  4. * Deletes the specified localized store listing from an edit. (listings.delete) 
  5. * @param string $packageName Unique identifier for the Android app that is 
  6. * being updated; for example, "com.spiffygame". 
  7. * @param string $editId Unique identifier for this edit. 
  8. * @param string $language The language code (a BCP-47 language tag) of the 
  9. * localized listing to read or modify. For example, to select Austrian German,  
  10. * pass "de-AT". 
  11. * @param array $optParams Optional parameters. 
  12. */ 
  13. public function delete($packageName, $editId, $language, $optParams = array()) 
  14. $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language); 
  15. $params = array_merge($params, $optParams); 
  16. return $this->call('delete', array($params)); 
  17.  
  18. /** 
  19. * Deletes all localized listings from an edit. (listings.deleteall) 
  20. * @param string $packageName Unique identifier for the Android app that is 
  21. * being updated; for example, "com.spiffygame". 
  22. * @param string $editId Unique identifier for this edit. 
  23. * @param array $optParams Optional parameters. 
  24. */ 
  25. public function deleteall($packageName, $editId, $optParams = array()) 
  26. $params = array('packageName' => $packageName, 'editId' => $editId); 
  27. $params = array_merge($params, $optParams); 
  28. return $this->call('deleteall', array($params)); 
  29.  
  30. /** 
  31. * Fetches information about a localized store listing. (listings.get) 
  32. * @param string $packageName Unique identifier for the Android app that is 
  33. * being updated; for example, "com.spiffygame". 
  34. * @param string $editId Unique identifier for this edit. 
  35. * @param string $language The language code (a BCP-47 language tag) of the 
  36. * localized listing to read or modify. For example, to select Austrian German,  
  37. * pass "de-AT". 
  38. * @param array $optParams Optional parameters. 
  39. * @return GoogleGAL_Service_AndroidPublisher_Listing 
  40. */ 
  41. public function get($packageName, $editId, $language, $optParams = array()) 
  42. $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language); 
  43. $params = array_merge($params, $optParams); 
  44. return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_Listing"); 
  45.  
  46. /** 
  47. * Returns all of the localized store listings attached to this edit. 
  48. * (listings.listEditsListings) 
  49. * @param string $packageName Unique identifier for the Android app that is 
  50. * being updated; for example, "com.spiffygame". 
  51. * @param string $editId Unique identifier for this edit. 
  52. * @param array $optParams Optional parameters. 
  53. * @return GoogleGAL_Service_AndroidPublisher_ListingsListResponse 
  54. */ 
  55. public function listEditsListings($packageName, $editId, $optParams = array()) 
  56. $params = array('packageName' => $packageName, 'editId' => $editId); 
  57. $params = array_merge($params, $optParams); 
  58. return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_ListingsListResponse"); 
  59.  
  60. /** 
  61. * Creates or updates a localized store listing. This method supports patch 
  62. * semantics. (listings.patch) 
  63. * @param string $packageName Unique identifier for the Android app that is 
  64. * being updated; for example, "com.spiffygame". 
  65. * @param string $editId Unique identifier for this edit. 
  66. * @param string $language The language code (a BCP-47 language tag) of the 
  67. * localized listing to read or modify. For example, to select Austrian German,  
  68. * pass "de-AT". 
  69. * @param GoogleGAL_Listing $postBody 
  70. * @param array $optParams Optional parameters. 
  71. * @return GoogleGAL_Service_AndroidPublisher_Listing 
  72. */ 
  73. public function patch($packageName, $editId, $language, GoogleGAL_Service_AndroidPublisher_Listing $postBody, $optParams = array()) 
  74. $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody); 
  75. $params = array_merge($params, $optParams); 
  76. return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_Listing"); 
  77.  
  78. /** 
  79. * Creates or updates a localized store listing. (listings.update) 
  80. * @param string $packageName Unique identifier for the Android app that is 
  81. * being updated; for example, "com.spiffygame". 
  82. * @param string $editId Unique identifier for this edit. 
  83. * @param string $language The language code (a BCP-47 language tag) of the 
  84. * localized listing to read or modify. For example, to select Austrian German,  
  85. * pass "de-AT". 
  86. * @param GoogleGAL_Listing $postBody 
  87. * @param array $optParams Optional parameters. 
  88. * @return GoogleGAL_Service_AndroidPublisher_Listing 
  89. */ 
  90. public function update($packageName, $editId, $language, GoogleGAL_Service_AndroidPublisher_Listing $postBody, $optParams = array()) 
  91. $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody); 
  92. $params = array_merge($params, $optParams); 
  93. return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_Listing");