MonetizationSubscriptionsBasePlans
class MonetizationSubscriptionsBasePlans extends Resource (View source)
The "basePlans" collection of methods.
Typical usage is:
$androidpublisherService = new Google\Service\AndroidPublisher(...);
$basePlans = $androidpublisherService->monetization_subscriptions_basePlans;
Methods
Activates a base plan. Once activated, base plans will be available to new subscribers. (basePlans.activate)
Batch variant of the MigrateBasePlanPrices endpoint. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (basePlans.batchMigratePrices)
Activates or deactivates base plans across one or multiple subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (basePlans.batchUpdateStates)
Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription (basePlans.deactivate)
Deletes a base plan. Can only be done for draft base plans. This action is irreversible. (basePlans.delete)
Migrates subscribers from one or more legacy price cohorts to the current price. Requests result in Google Play notifying affected subscribers. Only up to 250 simultaneous legacy price cohorts are supported.
Details
Subscription
activate(string $packageName, string $productId, string $basePlanId, ActivateBasePlanRequest $postBody, array $optParams = [])
Activates a base plan. Once activated, base plans will be available to new subscribers. (basePlans.activate)
BatchMigrateBasePlanPricesResponse
batchMigratePrices(string $packageName, string $productId, BatchMigrateBasePlanPricesRequest $postBody, array $optParams = [])
Batch variant of the MigrateBasePlanPrices endpoint. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (basePlans.batchMigratePrices)
BatchUpdateBasePlanStatesResponse
batchUpdateStates(string $packageName, string $productId, BatchUpdateBasePlanStatesRequest $postBody, array $optParams = [])
Activates or deactivates base plans across one or multiple subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (basePlans.batchUpdateStates)
Subscription
deactivate(string $packageName, string $productId, string $basePlanId, DeactivateBasePlanRequest $postBody, array $optParams = [])
Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription (basePlans.deactivate)
delete(string $packageName, string $productId, string $basePlanId, array $optParams = [])
Deletes a base plan. Can only be done for draft base plans. This action is irreversible. (basePlans.delete)
MigrateBasePlanPricesResponse
migratePrices(string $packageName, string $productId, string $basePlanId, MigrateBasePlanPricesRequest $postBody, array $optParams = [])
Migrates subscribers from one or more legacy price cohorts to the current price. Requests result in Google Play notifying affected subscribers. Only up to 250 simultaneous legacy price cohorts are supported.
(basePlans.migratePrices)