Skip to content

Commit 522e81b

Browse files
feat(androidpublisher): update the api
#### androidpublisher:v3 The following keys were added: - resources.purchases.resources.subscriptions.methods.get.deprecated (Total Keys: 1) - resources.purchases.resources.subscriptions.methods.refund.deprecated (Total Keys: 1) - resources.purchases.resources.subscriptions.methods.revoke.deprecated (Total Keys: 1) - schemas.SubscriptionPurchaseV2.properties.latestOrderId.deprecated (Total Keys: 1)
1 parent aa84853 commit 522e81b

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

docs/dyn/androidpublisher_v3.orders.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ <h3>Method Details</h3>
104104

105105
{ # Response for the orders.batchGet API.
106106
&quot;orders&quot;: [ # Details for the requested order IDs.
107-
{ # Details of an order.
107+
{ # The Order resource encapsulates comprehensive information about a transaction made on Google Play. It includes a variety of attributes that provide details about the order itself, the products purchased, and the history of events related to the order. The Orders APIs provide real-time access to your order data within the Google Play ecosystem. You can retrieve detailed information and metadata for both one-time and recurring orders, including transaction details like charges, taxes, and refunds, as well as metadata such as pricing phases for subscriptions. The Orders APIs let you automate tasks related to order management, reducing the need for manual checks via the Play Developer Console. The following are some of the use cases for this API: + Real-time order data retrieval - Get order details and metadata immediately after a purchase using an order ID. + Order update synchronization - Periodically sync order updates to maintain an up-to-date record of order information. Note: + The Orders API calls count towards your Play Developer API quota, which defaults to 200K daily, and may be insufficient to sync extensive order histories. + A maximum of 1000 orders can be retrieved per call. Using larger page sizes is recommended to minimize quota usage. Check your quota in the Cloud Console and request more if required.
108108
&quot;buyerAddress&quot;: { # Address information for the customer, for use in tax computation. # Address information for the customer, for use in tax computation. When Google is the Merchant of Record for the order, only country is shown.
109109
&quot;buyerCountry&quot;: &quot;A String&quot;, # Two letter country code based on ISO-3166-1 Alpha-2 (UN country codes).
110110
&quot;buyerPostcode&quot;: &quot;A String&quot;, # Postal code of an address. When Google is the Merchant of Record for the order, this information is not included.
@@ -245,7 +245,7 @@ <h3>Method Details</h3>
245245
Returns:
246246
An object of the form:
247247

248-
{ # Details of an order.
248+
{ # The Order resource encapsulates comprehensive information about a transaction made on Google Play. It includes a variety of attributes that provide details about the order itself, the products purchased, and the history of events related to the order. The Orders APIs provide real-time access to your order data within the Google Play ecosystem. You can retrieve detailed information and metadata for both one-time and recurring orders, including transaction details like charges, taxes, and refunds, as well as metadata such as pricing phases for subscriptions. The Orders APIs let you automate tasks related to order management, reducing the need for manual checks via the Play Developer Console. The following are some of the use cases for this API: + Real-time order data retrieval - Get order details and metadata immediately after a purchase using an order ID. + Order update synchronization - Periodically sync order updates to maintain an up-to-date record of order information. Note: + The Orders API calls count towards your Play Developer API quota, which defaults to 200K daily, and may be insufficient to sync extensive order histories. + A maximum of 1000 orders can be retrieved per call. Using larger page sizes is recommended to minimize quota usage. Check your quota in the Cloud Console and request more if required.
249249
&quot;buyerAddress&quot;: { # Address information for the customer, for use in tax computation. # Address information for the customer, for use in tax computation. When Google is the Merchant of Record for the order, only country is shown.
250250
&quot;buyerCountry&quot;: &quot;A String&quot;, # Two letter country code based on ISO-3166-1 Alpha-2 (UN country codes).
251251
&quot;buyerPostcode&quot;: &quot;A String&quot;, # Postal code of an address. When Google is the Merchant of Record for the order, this information is not included.

docs/dyn/androidpublisher_v3.purchases.subscriptions.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ <h2>Instance Methods</h2>
8888
<p class="firstline">Defers a user's subscription purchase until a specified future expiration time.</p>
8989
<p class="toc_element">
9090
<code><a href="#get">get(packageName, subscriptionId, token, x__xgafv=None)</a></code></p>
91-
<p class="firstline">Checks whether a user's subscription purchase is valid and returns its expiry time.</p>
91+
<p class="firstline">Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription purchase is valid and returns its expiry time.</p>
9292
<p class="toc_element">
9393
<code><a href="#refund">refund(packageName, subscriptionId, token, x__xgafv=None)</a></code></p>
94-
<p class="firstline">Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.</p>
94+
<p class="firstline">Deprecated: Use orders.refund instead. Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.</p>
9595
<p class="toc_element">
9696
<code><a href="#revoke">revoke(packageName, subscriptionId, token, x__xgafv=None)</a></code></p>
97-
<p class="firstline">Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.</p>
97+
<p class="firstline">Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.</p>
9898
<h3>Method Details</h3>
9999
<div class="method">
100100
<code class="details" id="acknowledge">acknowledge(packageName, subscriptionId, token, body=None, x__xgafv=None)</code>
@@ -171,7 +171,7 @@ <h3>Method Details</h3>
171171

172172
<div class="method">
173173
<code class="details" id="get">get(packageName, subscriptionId, token, x__xgafv=None)</code>
174-
<pre>Checks whether a user&#x27;s subscription purchase is valid and returns its expiry time.
174+
<pre>Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user&#x27;s subscription purchase is valid and returns its expiry time.
175175

176176
Args:
177177
packageName: string, The package name of the application for which this subscription was purchased (for example, &#x27;com.some.thing&#x27;). (required)
@@ -234,7 +234,7 @@ <h3>Method Details</h3>
234234

235235
<div class="method">
236236
<code class="details" id="refund">refund(packageName, subscriptionId, token, x__xgafv=None)</code>
237-
<pre>Refunds a user&#x27;s subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.
237+
<pre>Deprecated: Use orders.refund instead. Refunds a user&#x27;s subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.
238238

239239
Args:
240240
packageName: string, The package name of the application for which this subscription was purchased (for example, &#x27;com.some.thing&#x27;). (required)
@@ -249,7 +249,7 @@ <h3>Method Details</h3>
249249

250250
<div class="method">
251251
<code class="details" id="revoke">revoke(packageName, subscriptionId, token, x__xgafv=None)</code>
252-
<pre>Refunds and immediately revokes a user&#x27;s subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.
252+
<pre>Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and immediately revokes a user&#x27;s subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.
253253

254254
Args:
255255
packageName: string, The package name of the application for which this subscription was purchased (for example, &#x27;com.some.thing&#x27;). (required)

docs/dyn/androidpublisher_v3.purchases.subscriptionsv2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h3>Method Details</h3>
127127
&quot;obfuscatedExternalProfileId&quot;: &quot;A String&quot;, # An obfuscated version of the id that is uniquely associated with the user&#x27;s profile in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid when the purchase was made.
128128
},
129129
&quot;kind&quot;: &quot;A String&quot;, # This kind represents a SubscriptionPurchaseV2 object in the androidpublisher service.
130-
&quot;latestOrderId&quot;: &quot;A String&quot;, # The order id of the latest order associated with the purchase of the subscription. For autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or the last recurring order id (success, pending, or declined order). For prepaid subscription, this is the order id associated with the queried purchase token.
130+
&quot;latestOrderId&quot;: &quot;A String&quot;, # Deprecated: Use line_items.latest_successful_order_id instead. The order id of the latest order associated with the purchase of the subscription. For autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or the last recurring order id (success, pending, or declined order). For prepaid subscription, this is the order id associated with the queried purchase token.
131131
&quot;lineItems&quot;: [ # Item-level info for a subscription purchase. The items in the same purchase should be either all with AutoRenewingPlan or all with PrepaidPlan.
132132
{ # Item-level info for a subscription purchase.
133133
&quot;autoRenewingPlan&quot;: { # Information related to an auto renewing plan. # The item is auto renewing.

googleapiclient/discovery_cache/documents/androidpublisher.v3.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4146,7 +4146,8 @@
41464146
]
41474147
},
41484148
"get": {
4149-
"description": "Checks whether a user's subscription purchase is valid and returns its expiry time.",
4149+
"deprecated": true,
4150+
"description": "Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription purchase is valid and returns its expiry time.",
41504151
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
41514152
"httpMethod": "GET",
41524153
"id": "androidpublisher.purchases.subscriptions.get",
@@ -4184,7 +4185,8 @@
41844185
]
41854186
},
41864187
"refund": {
4187-
"description": "Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.",
4188+
"deprecated": true,
4189+
"description": "Deprecated: Use orders.refund instead. Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.",
41884190
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
41894191
"httpMethod": "POST",
41904192
"id": "androidpublisher.purchases.subscriptions.refund",
@@ -4219,7 +4221,8 @@
42194221
]
42204222
},
42214223
"revoke": {
4222-
"description": "Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.",
4224+
"deprecated": true,
4225+
"description": "Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.",
42234226
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
42244227
"httpMethod": "POST",
42254228
"id": "androidpublisher.purchases.subscriptions.revoke",
@@ -4793,7 +4796,7 @@
47934796
}
47944797
}
47954798
},
4796-
"revision": "20250519",
4799+
"revision": "20250520",
47974800
"rootUrl": "https://androidpublisher.googleapis.com/",
47984801
"schemas": {
47994802
"Abi": {
@@ -7775,7 +7778,7 @@ false
77757778
"type": "object"
77767779
},
77777780
"Order": {
7778-
"description": "Details of an order.",
7781+
"description": "The Order resource encapsulates comprehensive information about a transaction made on Google Play. It includes a variety of attributes that provide details about the order itself, the products purchased, and the history of events related to the order. The Orders APIs provide real-time access to your order data within the Google Play ecosystem. You can retrieve detailed information and metadata for both one-time and recurring orders, including transaction details like charges, taxes, and refunds, as well as metadata such as pricing phases for subscriptions. The Orders APIs let you automate tasks related to order management, reducing the need for manual checks via the Play Developer Console. The following are some of the use cases for this API: + Real-time order data retrieval - Get order details and metadata immediately after a purchase using an order ID. + Order update synchronization - Periodically sync order updates to maintain an up-to-date record of order information. Note: + The Orders API calls count towards your Play Developer API quota, which defaults to 200K daily, and may be insufficient to sync extensive order histories. + A maximum of 1000 orders can be retrieved per call. Using larger page sizes is recommended to minimize quota usage. Check your quota in the Cloud Console and request more if required.",
77797782
"id": "Order",
77807783
"properties": {
77817784
"buyerAddress": {
@@ -9450,7 +9453,8 @@ false
94509453
"type": "string"
94519454
},
94529455
"latestOrderId": {
9453-
"description": "The order id of the latest order associated with the purchase of the subscription. For autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or the last recurring order id (success, pending, or declined order). For prepaid subscription, this is the order id associated with the queried purchase token.",
9456+
"deprecated": true,
9457+
"description": "Deprecated: Use line_items.latest_successful_order_id instead. The order id of the latest order associated with the purchase of the subscription. For autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or the last recurring order id (success, pending, or declined order). For prepaid subscription, this is the order id associated with the queried purchase token.",
94549458
"type": "string"
94559459
},
94569460
"lineItems": {

0 commit comments

Comments
 (0)