Overview

Classes

  • Google_Service_AndroidPublisher
  • Google_Service_AndroidPublisher_Apk
  • Google_Service_AndroidPublisher_ApkBinary
  • Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest
  • Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse
  • Google_Service_AndroidPublisher_ApksListResponse
  • Google_Service_AndroidPublisher_AppDetails
  • Google_Service_AndroidPublisher_AppEdit
  • Google_Service_AndroidPublisher_Bundle
  • Google_Service_AndroidPublisher_BundlesListResponse
  • Google_Service_AndroidPublisher_Comment
  • Google_Service_AndroidPublisher_Control
  • Google_Service_AndroidPublisher_CountryTargeting
  • Google_Service_AndroidPublisher_DeobfuscationFile
  • Google_Service_AndroidPublisher_DeobfuscationFilesUploadResponse
  • Google_Service_AndroidPublisher_DeveloperComment
  • Google_Service_AndroidPublisher_DeviceMetadata
  • Google_Service_AndroidPublisher_DeviceSpec
  • Google_Service_AndroidPublisher_Edits_Resource
  • Google_Service_AndroidPublisher_EditsApks_Resource
  • Google_Service_AndroidPublisher_EditsBundles_Resource
  • Google_Service_AndroidPublisher_EditsDeobfuscationfiles_Resource
  • Google_Service_AndroidPublisher_EditsDetails_Resource
  • Google_Service_AndroidPublisher_EditsExpansionfiles_Resource
  • Google_Service_AndroidPublisher_EditsImages_Resource
  • Google_Service_AndroidPublisher_EditsListings_Resource
  • Google_Service_AndroidPublisher_EditsTesters_Resource
  • Google_Service_AndroidPublisher_EditsTracks_Resource
  • Google_Service_AndroidPublisher_ExpansionFile
  • Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
  • Google_Service_AndroidPublisher_ExternallyHostedApk
  • Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission
  • Google_Service_AndroidPublisher_Image
  • Google_Service_AndroidPublisher_ImagesDeleteAllResponse
  • Google_Service_AndroidPublisher_ImagesListResponse
  • Google_Service_AndroidPublisher_ImagesUploadResponse
  • Google_Service_AndroidPublisher_InAppProduct
  • Google_Service_AndroidPublisher_InAppProductListing
  • Google_Service_AndroidPublisher_Inappproducts_Resource
  • Google_Service_AndroidPublisher_InappproductsListResponse
  • Google_Service_AndroidPublisher_InternalAppSharingArtifact
  • Google_Service_AndroidPublisher_Internalappsharingartifacts_Resource
  • Google_Service_AndroidPublisher_IntroductoryPriceInfo
  • Google_Service_AndroidPublisher_Listing
  • Google_Service_AndroidPublisher_ListingsListResponse
  • Google_Service_AndroidPublisher_LocalizedText
  • Google_Service_AndroidPublisher_ModRange
  • Google_Service_AndroidPublisher_Orders_Resource
  • Google_Service_AndroidPublisher_PageInfo
  • Google_Service_AndroidPublisher_Price
  • Google_Service_AndroidPublisher_ProductPurchase
  • Google_Service_AndroidPublisher_ProductPurchasesAcknowledgeRequest
  • Google_Service_AndroidPublisher_Purchases_Resource
  • Google_Service_AndroidPublisher_PurchasesProducts_Resource
  • Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource
  • Google_Service_AndroidPublisher_PurchasesVoidedpurchases_Resource
  • Google_Service_AndroidPublisher_Review
  • Google_Service_AndroidPublisher_ReviewReplyResult
  • Google_Service_AndroidPublisher_Reviews_Resource
  • Google_Service_AndroidPublisher_ReviewsListResponse
  • Google_Service_AndroidPublisher_ReviewsReplyRequest
  • Google_Service_AndroidPublisher_ReviewsReplyResponse
  • Google_Service_AndroidPublisher_Sampling
  • Google_Service_AndroidPublisher_StratifiedSampling
  • Google_Service_AndroidPublisher_Stratum
  • Google_Service_AndroidPublisher_SubscriptionCancelSurveyResult
  • Google_Service_AndroidPublisher_SubscriptionDeferralInfo
  • Google_Service_AndroidPublisher_SubscriptionPriceChange
  • Google_Service_AndroidPublisher_SubscriptionPurchase
  • Google_Service_AndroidPublisher_SubscriptionPurchasesAcknowledgeRequest
  • Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest
  • Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
  • Google_Service_AndroidPublisher_Systemapks_Resource
  • Google_Service_AndroidPublisher_SystemapksVariants_Resource
  • Google_Service_AndroidPublisher_SystemApkVariantsCreateRequest
  • Google_Service_AndroidPublisher_SystemApkVariantsListResponse
  • Google_Service_AndroidPublisher_Testers
  • Google_Service_AndroidPublisher_Timestamp
  • Google_Service_AndroidPublisher_TokenPagination
  • Google_Service_AndroidPublisher_Track
  • Google_Service_AndroidPublisher_TrackRelease
  • Google_Service_AndroidPublisher_TrackReleasePin
  • Google_Service_AndroidPublisher_TrackReleasePinPinTargeting
  • Google_Service_AndroidPublisher_TrackReleasePinPinTargetingDevicePin
  • Google_Service_AndroidPublisher_TracksListResponse
  • Google_Service_AndroidPublisher_UserComment
  • Google_Service_AndroidPublisher_Variant
  • Google_Service_AndroidPublisher_VoidedPurchase
  • Google_Service_AndroidPublisher_VoidedPurchasesListResponse
  • Overview
  • Class
  • Tree

Class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource

The "subscriptions" collection of methods. Typical usage is:

 $androidpublisherService = new Google_Service_AndroidPublisher(...);
 $subscriptions = $androidpublisherService->subscriptions;
Google_Service_Resource
Extended by Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource
Located at AndroidPublisher.php
Methods summary
public
# acknowledge( string $packageName, string $subscriptionId, string $token, Google_Service_AndroidPublisher_SubscriptionPurchasesAcknowledgeRequest $postBody, array $optParams = array() )

Acknowledges a subscription purchase. (subscriptions.acknowledge)

Acknowledges a subscription purchase. (subscriptions.acknowledge)

Parameters

$packageName
The package name of the application for which this subscription was purchased (for example, 'com.some.thing').
$subscriptionId
The purchased subscription ID (for example, 'monthly001').
$token
The token provided to the user's device when the subscription was purchased.
$postBody
$optParams
Optional parameters.
public
# cancel( string $packageName, string $subscriptionId, string $token, array $optParams = array() )

Cancels a user's subscription purchase. The subscription remains valid until its expiration time. (subscriptions.cancel)

Cancels a user's subscription purchase. The subscription remains valid until its expiration time. (subscriptions.cancel)

Parameters

$packageName
The package name of the application for which this subscription was purchased (for example, 'com.some.thing').
$subscriptionId
The purchased subscription ID (for example, 'monthly001').
$token
The token provided to the user's device when the subscription was purchased.
$optParams
Optional parameters.
public Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
# defer( string $packageName, string $subscriptionId, string $token, Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, array $optParams = array() )

Defers a user's subscription purchase until a specified future expiration time. (subscriptions.defer)

Defers a user's subscription purchase until a specified future expiration time. (subscriptions.defer)

Parameters

$packageName
The package name of the application for which this subscription was purchased (for example, 'com.some.thing').
$subscriptionId
The purchased subscription ID (for example, 'monthly001').
$token
The token provided to the user's device when the subscription was purchased.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
public Google_Service_AndroidPublisher_SubscriptionPurchase
# get( string $packageName, string $subscriptionId, string $token, array $optParams = array() )

Checks whether a user's subscription purchase is valid and returns its expiry time. (subscriptions.get)

Checks whether a user's subscription purchase is valid and returns its expiry time. (subscriptions.get)

Parameters

$packageName
The package name of the application for which this subscription was purchased (for example, 'com.some.thing').
$subscriptionId
The purchased subscription ID (for example, 'monthly001').
$token
The token provided to the user's device when the subscription was purchased.
$optParams
Optional parameters.

Returns

Google_Service_AndroidPublisher_SubscriptionPurchase
Google_Service_AndroidPublisher_SubscriptionPurchase
public
# refund( string $packageName, string $subscriptionId, string $token, array $optParams = array() )

Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur. (subscriptions.refund)

Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur. (subscriptions.refund)

Parameters

$packageName
The package name of the application for which this subscription was purchased (for example, 'com.some.thing').
$subscriptionId
The purchased subscription ID (for example, 'monthly001').
$token
The token provided to the user's device when the subscription was purchased.
$optParams
Optional parameters.
public
# revoke( string $packageName, string $subscriptionId, string $token, array $optParams = array() )

Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring. (subscriptions.revoke)

Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring. (subscriptions.revoke)

Parameters

$packageName
The package name of the application for which this subscription was purchased (for example, 'com.some.thing').
$subscriptionId
The purchased subscription ID (for example, 'monthly001').
$token
The token provided to the user's device when the subscription was purchased.
$optParams
Optional parameters.
© 2020 Google Inc.
Google Play Developer API documentation generated by ApiGen 2.8.0