MonetizationSubscriptionsBasePlansOffers
class MonetizationSubscriptionsBasePlansOffers extends Resource (View source)
The "offers" collection of methods.
Typical usage is:
$androidpublisherService = new Google\Service\AndroidPublisher(...);
$offers = $androidpublisherService->monetization_subscriptions_basePlans_offers;
Methods
Activates a subscription offer. Once activated, subscription offers will be available to new subscribers. (offers.activate)
Reads one or more subscription offers. (offers.batchGet)
Updates a batch of subscription offers. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (offers.batchUpdate)
Updates a batch of subscription offer states. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (offers.batchUpdateStates)
Creates a new subscription offer. Only auto-renewing base plans can have subscription offers. The offer state will be DRAFT until it is activated.
Deactivates a subscription offer. Once deactivated, existing subscribers will maintain their subscription, but the offer will become unavailable to new subscribers. (offers.deactivate)
Deletes a subscription offer. Can only be done for draft offers. This action is irreversible. (offers.delete)
Reads a single offer (offers.get)
Lists all offers under a given subscription.
Updates an existing subscription offer. (offers.patch)
Details
SubscriptionOffer
activate(string $packageName, string $productId, string $basePlanId, string $offerId, ActivateSubscriptionOfferRequest $postBody, array $optParams = [])
Activates a subscription offer. Once activated, subscription offers will be available to new subscribers. (offers.activate)
BatchGetSubscriptionOffersResponse
batchGet(string $packageName, string $productId, string $basePlanId, BatchGetSubscriptionOffersRequest $postBody, array $optParams = [])
Reads one or more subscription offers. (offers.batchGet)
BatchUpdateSubscriptionOffersResponse
batchUpdate(string $packageName, string $productId, string $basePlanId, BatchUpdateSubscriptionOffersRequest $postBody, array $optParams = [])
Updates a batch of subscription offers. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (offers.batchUpdate)
BatchUpdateSubscriptionOfferStatesResponse
batchUpdateStates(string $packageName, string $productId, string $basePlanId, BatchUpdateSubscriptionOfferStatesRequest $postBody, array $optParams = [])
Updates a batch of subscription offer states. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. (offers.batchUpdateStates)
SubscriptionOffer
create(string $packageName, string $productId, string $basePlanId, SubscriptionOffer $postBody, array $optParams = [])
Creates a new subscription offer. Only auto-renewing base plans can have subscription offers. The offer state will be DRAFT until it is activated.
(offers.create)
SubscriptionOffer
deactivate(string $packageName, string $productId, string $basePlanId, string $offerId, DeactivateSubscriptionOfferRequest $postBody, array $optParams = [])
Deactivates a subscription offer. Once deactivated, existing subscribers will maintain their subscription, but the offer will become unavailable to new subscribers. (offers.deactivate)
delete(string $packageName, string $productId, string $basePlanId, string $offerId, array $optParams = [])
Deletes a subscription offer. Can only be done for draft offers. This action is irreversible. (offers.delete)
SubscriptionOffer
get(string $packageName, string $productId, string $basePlanId, string $offerId, array $optParams = [])
Reads a single offer (offers.get)
ListSubscriptionOffersResponse
listMonetizationSubscriptionsBasePlansOffers(string $packageName, string $productId, string $basePlanId, array $optParams = [])
Lists all offers under a given subscription.
(offers.listMonetizationSubscriptionsBasePlansOffers)
SubscriptionOffer
patch(string $packageName, string $productId, string $basePlanId, string $offerId, SubscriptionOffer $postBody, array $optParams = [])
Updates an existing subscription offer. (offers.patch)