Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_AndroidPublisher_Inappproducts_Resource Class Reference

The "inappproducts" collection of methods. More...

Inheritance diagram for Google_Service_AndroidPublisher_Inappproducts_Resource:
Google_Service_Resource

Public Member Functions

 batch (Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams=array())
 (inappproducts.batch)
 
 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($packageName, $sku, $optParams=array())
 Delete an in-app product for an app.
 
 get ($packageName, $sku, $optParams=array())
 Returns information about the in-app product specified.
 
 insert ($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams=array())
 Creates a new in-app product for an app.
 
 listInappproducts ($packageName, $optParams=array())
 List all the in-app products for an Android app, both subscriptions and managed in-app products.
 
 patch ($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams=array())
 Updates the details of an in-app product.
 
 update ($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams=array())
 Updates the details of an in-app product.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "inappproducts" collection of methods.

Typical usage is: $androidpublisherService = new Google_Service_AndroidPublisher(...); $inappproducts = $androidpublisherService->inappproducts;

Member Function Documentation

◆ batch()

Google_Service_AndroidPublisher_Inappproducts_Resource::batch ( Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody,
$optParams = array() )

(inappproducts.batch)

Parameters
Google_InappproductsBatchRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AndroidPublisher_InappproductsBatchResponse

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_AndroidPublisher_Inappproducts_Resource::delete ( $packageName,
$sku,
$optParams = array() )

Delete an in-app product for an app.

(inappproducts.delete)

Parameters
string$packageNameUnique identifier for the Android app with the in- app product; for example, "com.spiffygame".
string$skuUnique identifier for the in-app product.
array$optParamsOptional parameters.

◆ get()

Google_Service_AndroidPublisher_Inappproducts_Resource::get ( $packageName,
$sku,
$optParams = array() )

Returns information about the in-app product specified.

(inappproducts.get)

Parameters
string$packageName
string$skuUnique identifier for the in-app product.
array$optParamsOptional parameters.
Return values
Google_Service_AndroidPublisher_InAppProduct

◆ insert()

Google_Service_AndroidPublisher_Inappproducts_Resource::insert ( $packageName,
Google_Service_AndroidPublisher_InAppProduct $postBody,
$optParams = array() )

Creates a new in-app product for an app.

(inappproducts.insert)

Parameters
string$packageNameUnique identifier for the Android app; for example, "com.spiffygame".
Google_InAppProduct$postBody
array$optParamsOptional parameters.

@opt_param bool autoConvertMissingPrices If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.

Return values
Google_Service_AndroidPublisher_InAppProduct

◆ listInappproducts()

Google_Service_AndroidPublisher_Inappproducts_Resource::listInappproducts ( $packageName,
$optParams = array() )

List all the in-app products for an Android app, both subscriptions and managed in-app products.

. (inappproducts.listInappproducts)

Parameters
string$packageNameUnique identifier for the Android app with in-app products; for example, "com.spiffygame".
array$optParamsOptional parameters.

@opt_param string token @opt_param string startIndex @opt_param string maxResults

Return values
Google_Service_AndroidPublisher_InappproductsListResponse

◆ patch()

Google_Service_AndroidPublisher_Inappproducts_Resource::patch ( $packageName,
$sku,
Google_Service_AndroidPublisher_InAppProduct $postBody,
$optParams = array() )

Updates the details of an in-app product.

This method supports patch semantics. (inappproducts.patch)

Parameters
string$packageNameUnique identifier for the Android app with the in- app product; for example, "com.spiffygame".
string$skuUnique identifier for the in-app product.
Google_InAppProduct$postBody
array$optParamsOptional parameters.

@opt_param bool autoConvertMissingPrices If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.

Return values
Google_Service_AndroidPublisher_InAppProduct

◆ update()

Google_Service_AndroidPublisher_Inappproducts_Resource::update ( $packageName,
$sku,
Google_Service_AndroidPublisher_InAppProduct $postBody,
$optParams = array() )

Updates the details of an in-app product.

(inappproducts.update)

Parameters
string$packageNameUnique identifier for the Android app with the in- app product; for example, "com.spiffygame".
string$skuUnique identifier for the in-app product.
Google_InAppProduct$postBody
array$optParamsOptional parameters.

@opt_param bool autoConvertMissingPrices If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.

Return values
Google_Service_AndroidPublisher_InAppProduct

The documentation for this class was generated from the following file: