public class AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers extends Object
| Constructor and Description | 
|---|
| Offers() | 
public AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.Activate activate(String packageName, String productId, String basePlanId, String offerId, ActivateSubscriptionOfferRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the offer to activate.productId - Required. The parent subscription (ID) of the offer to activate.basePlanId - Required. The parent base plan (ID) of the offer to activate.offerId - Required. The unique offer ID of the offer to activate.content - the ActivateSubscriptionOfferRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.BatchGet batchGet(String packageName, String productId, String basePlanId, BatchGetSubscriptionOffersRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) for which the subscriptions should be created or updated.
        Must be equal to the package_name field on all the requests.productId - Required. The product ID of the parent subscription, if all updated offers belong to the same
        subscription. If this request spans multiple subscriptions, set this field to "-". Must be
        set.basePlanId - Required. The parent base plan (ID) for which the offers should be read. May be specified as '-' to
        read offers from multiple base plans.content - the BatchGetSubscriptionOffersRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.BatchUpdate batchUpdate(String packageName, String productId, String basePlanId, BatchUpdateSubscriptionOffersRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.packageName - Required. The parent app (package name) of the updated subscription offers. Must be equal to the
        package_name field on all the updated SubscriptionOffer resources.productId - Required. The product ID of the parent subscription, if all updated offers belong to the same
        subscription. If this request spans multiple subscriptions, set this field to "-". Must be
        set.basePlanId - Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-'
        to update offers from multiple base plans.content - the BatchUpdateSubscriptionOffersRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.BatchUpdateStates batchUpdateStates(String packageName, String productId, String basePlanId, BatchUpdateSubscriptionOfferStatesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.packageName - Required. The parent app (package name) of the updated subscription offers. Must be equal to the
        package_name field on all the updated SubscriptionOffer resources.productId - Required. The product ID of the parent subscription, if all updated offers belong to the same
        subscription. If this request spans multiple subscriptions, set this field to "-". Must be
        set.basePlanId - Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-'
        to update offers from multiple base plans.content - the BatchUpdateSubscriptionOfferStatesRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.Create create(String packageName, String productId, String basePlanId, SubscriptionOffer content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) for which the offer should be created. Must be equal to the
        package_name field on the Subscription resource.productId - Required. The parent subscription (ID) for which the offer should be created. Must be equal to the
        product_id field on the SubscriptionOffer resource.basePlanId - Required. The parent base plan (ID) for which the offer should be created. Must be equal to the
        base_plan_id field on the SubscriptionOffer resource.content - the SubscriptionOfferIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.Deactivate deactivate(String packageName, String productId, String basePlanId, String offerId, DeactivateSubscriptionOfferRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the offer to deactivate.productId - Required. The parent subscription (ID) of the offer to deactivate.basePlanId - Required. The parent base plan (ID) of the offer to deactivate.offerId - Required. The unique offer ID of the offer to deactivate.content - the DeactivateSubscriptionOfferRequestIOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.Delete delete(String packageName, String productId, String basePlanId, String offerId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the offer to delete.productId - Required. The parent subscription (ID) of the offer to delete.basePlanId - Required. The parent base plan (ID) of the offer to delete.offerId - Required. The unique offer ID of the offer to delete.IOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.Get get(String packageName, String productId, String basePlanId, String offerId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) of the offer to get.productId - Required. The parent subscription (ID) of the offer to get.basePlanId - Required. The parent base plan (ID) of the offer to get.offerId - Required. The unique offer ID of the offer to get.IOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.List list(String packageName, String productId, String basePlanId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. The parent app (package name) for which the subscriptions should be read.productId - Required. The parent subscription (ID) for which the offers should be read. May be specified as '-'
        to read all offers under an app.basePlanId - Required. The parent base plan (ID) for which the offers should be read. May be specified as '-' to
        read all offers under a subscription or an app. Must be specified as '-' if product_id is
        specified as '-'.IOExceptionpublic AndroidPublisher.Monetization.Subscriptions.BasePlans.Offers.Patch patch(String packageName, String productId, String basePlanId, String offerId, SubscriptionOffer content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.packageName - Required. Immutable. The package name of the app the parent subscription belongs to.productId - Required. Immutable. The ID of the parent subscription this offer belongs to.basePlanId - Required. Immutable. The ID of the base plan to which this offer is an extension.offerId - Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan.content - the SubscriptionOfferIOExceptionCopyright © 2011–2024 Google. All rights reserved.