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

The "products" collection of methods. More...

Inheritance diagram for Google_Service_AndroidPublisher_PurchasesProducts_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($packageName, $productId, $token, $optParams=array())
 Checks the purchase and consumption status of an inapp item.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "products" collection of methods.

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

Member Function Documentation

◆ 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

◆ get()

Google_Service_AndroidPublisher_PurchasesProducts_Resource::get ( $packageName,
$productId,
$token,
$optParams = array() )

Checks the purchase and consumption status of an inapp item.

(products.get)

Parameters
string$packageNameThe package name of the application the inapp product was sold in (for example, 'com.some.thing').
string$productIdThe inapp product SKU (for example, 'com.some.thing.inapp1').
string$tokenThe token provided to the user's device when the inapp product was purchased.
array$optParamsOptional parameters.
Return values
Google_Service_AndroidPublisher_ProductPurchase

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