PurchasesProducts
class PurchasesProducts extends Resource (View source)
The "products" collection of methods.
Typical usage is:
$androidpublisherService = new Google\Service\AndroidPublisher(...);
$products = $androidpublisherService->purchases_products;
Methods
acknowledge(string $packageName, string $productId, string $token, ProductPurchasesAcknowledgeRequest $postBody, array $optParams = [])
Acknowledges a purchase of an inapp item. (products.acknowledge)
consume(string $packageName, string $productId, string $token, array $optParams = [])
Consumes a purchase for an inapp item. (products.consume)
get(string $packageName, string $productId, string $token, array $optParams = [])
Checks the purchase and consumption status of an inapp item. (products.get)
Details
acknowledge(string $packageName, string $productId, string $token, ProductPurchasesAcknowledgeRequest $postBody, array $optParams = [])
Acknowledges a purchase of an inapp item. (products.acknowledge)
consume(string $packageName, string $productId, string $token, array $optParams = [])
Consumes a purchase for an inapp item. (products.consume)
ProductPurchase
get(string $packageName, string $productId, string $token, array $optParams = [])
Checks the purchase and consumption status of an inapp item. (products.get)