MonetizationSubscriptions
class MonetizationSubscriptions extends Resource (View source)
The "subscriptions" collection of methods.
Typical usage is:
$androidpublisherService = new Google\Service\AndroidPublisher(...);
$subscriptions = $androidpublisherService->monetization_subscriptions;
Methods
Deprecated: subscription archiving is not supported. (subscriptions.archive)
Reads one or more subscriptions. (subscriptions.batchGet)
Updates a batch of subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (subscriptions.batchUpdate)
Creates a new subscription. Newly added base plans will remain in draft state until activated. (subscriptions.create)
Deletes a subscription. A subscription can only be deleted if it has never had a base plan published. (subscriptions.delete)
Reads a single subscription. (subscriptions.get)
Lists all subscriptions under a given app.
Updates an existing subscription. (subscriptions.patch)
Details
Subscription
archive(string $packageName, string $productId, ArchiveSubscriptionRequest $postBody, array $optParams = [])
Deprecated: subscription archiving is not supported. (subscriptions.archive)
BatchGetSubscriptionsResponse
batchGet(string $packageName, array $optParams = [])
Reads one or more subscriptions. (subscriptions.batchGet)
BatchUpdateSubscriptionsResponse
batchUpdate(string $packageName, BatchUpdateSubscriptionsRequest $postBody, array $optParams = [])
Updates a batch of subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (subscriptions.batchUpdate)
Subscription
create(string $packageName, Subscription $postBody, array $optParams = [])
Creates a new subscription. Newly added base plans will remain in draft state until activated. (subscriptions.create)
delete(string $packageName, string $productId, array $optParams = [])
Deletes a subscription. A subscription can only be deleted if it has never had a base plan published. (subscriptions.delete)
Subscription
get(string $packageName, string $productId, array $optParams = [])
Reads a single subscription. (subscriptions.get)
ListSubscriptionsResponse
listMonetizationSubscriptions(string $packageName, array $optParams = [])
Lists all subscriptions under a given app.
(subscriptions.listMonetizationSubscriptions)
Subscription
patch(string $packageName, string $productId, Subscription $postBody, array $optParams = [])
Updates an existing subscription. (subscriptions.patch)