PurchasesSubscriptionsv2
class PurchasesSubscriptionsv2 extends Resource (View source)
The "subscriptionsv2" collection of methods.
Typical usage is:
$androidpublisherService = new Google\Service\AndroidPublisher(...);
$subscriptionsv2 = $androidpublisherService->purchases_subscriptionsv2;
Methods
get(string $packageName, string $token, array $optParams = [])
Get metadata about a subscription (subscriptionsv2.get)
revoke(string $packageName, string $token, RevokeSubscriptionPurchaseRequest $postBody, array $optParams = [])
Revoke a subscription purchase for the user. (subscriptionsv2.revoke)
Details
SubscriptionPurchaseV2
get(string $packageName, string $token, array $optParams = [])
Get metadata about a subscription (subscriptionsv2.get)
RevokeSubscriptionPurchaseResponse
revoke(string $packageName, string $token, RevokeSubscriptionPurchaseRequest $postBody, array $optParams = [])
Revoke a subscription purchase for the user. (subscriptionsv2.revoke)