Skip to content

Commit d757b96

Browse files
1 parent 62a74ce commit d757b96

File tree

6 files changed

+50
-29
lines changed

6 files changed

+50
-29
lines changed

clients/google-api-services-androidpublisher/v3/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-androidpublisher</artifactId>
25-
<version>v3-rev20250519-2.0.0</version>
25+
<version>v3-rev20250520-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20250519-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20250520-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-androidpublisher/v3/2.0.0/com/google/api/services/androidpublisher/AndroidPublisher.java

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17161,7 +17161,8 @@ public Defer set(String parameterName, Object value) {
1716117161
}
1716217162
}
1716317163
/**
17164-
* Checks whether a user's subscription purchase is valid and returns its expiry time.
17164+
* Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription
17165+
* purchase is valid and returns its expiry time.
1716517166
*
1716617167
* Create a request for the method "subscriptions.get".
1716717168
*
@@ -17185,7 +17186,8 @@ public class Get extends AndroidPublisherRequest<com.google.api.services.android
1718517186
private static final String REST_PATH = "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}";
1718617187

1718717188
/**
17188-
* Checks whether a user's subscription purchase is valid and returns its expiry time.
17189+
* Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription
17190+
* purchase is valid and returns its expiry time.
1718917191
*
1719017192
* Create a request for the method "subscriptions.get".
1719117193
*
@@ -17333,8 +17335,8 @@ public Get set(String parameterName, Object value) {
1733317335
}
1733417336
}
1733517337
/**
17336-
* Refunds a user's subscription purchase, but the subscription remains valid until its expiration
17337-
* time and it will continue to recur.
17338+
* Deprecated: Use orders.refund instead. Refunds a user's subscription purchase, but the
17339+
* subscription remains valid until its expiration time and it will continue to recur.
1733817340
*
1733917341
* Create a request for the method "subscriptions.refund".
1734017342
*
@@ -17358,8 +17360,8 @@ public class Refund extends AndroidPublisherRequest<Void> {
1735817360
private static final String REST_PATH = "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund";
1735917361

1736017362
/**
17361-
* Refunds a user's subscription purchase, but the subscription remains valid until its expiration
17362-
* time and it will continue to recur.
17363+
* Deprecated: Use orders.refund instead. Refunds a user's subscription purchase, but the
17364+
* subscription remains valid until its expiration time and it will continue to recur.
1736317365
*
1736417366
* Create a request for the method "subscriptions.refund".
1736517367
*
@@ -17500,8 +17502,9 @@ public Refund set(String parameterName, Object value) {
1750017502
}
1750117503
}
1750217504
/**
17503-
* Refunds and immediately revokes a user's subscription purchase. Access to the subscription will
17504-
* be terminated immediately and it will stop recurring.
17505+
* Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and immediately revokes a
17506+
* user's subscription purchase. Access to the subscription will be terminated immediately and it
17507+
* will stop recurring.
1750517508
*
1750617509
* Create a request for the method "subscriptions.revoke".
1750717510
*
@@ -17525,8 +17528,9 @@ public class Revoke extends AndroidPublisherRequest<Void> {
1752517528
private static final String REST_PATH = "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke";
1752617529

1752717530
/**
17528-
* Refunds and immediately revokes a user's subscription purchase. Access to the subscription will
17529-
* be terminated immediately and it will stop recurring.
17531+
* Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and immediately revokes a
17532+
* user's subscription purchase. Access to the subscription will be terminated immediately and it
17533+
* will stop recurring.
1753017534
*
1753117535
* Create a request for the method "subscriptions.revoke".
1753217536
*

clients/google-api-services-androidpublisher/v3/2.0.0/com/google/api/services/androidpublisher/model/Order.java

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,21 @@
1717
package com.google.api.services.androidpublisher.model;
1818

1919
/**
20-
* Details of an order.
20+
* The Order resource encapsulates comprehensive information about a transaction made on Google
21+
* Play. It includes a variety of attributes that provide details about the order itself, the
22+
* products purchased, and the history of events related to the order. The Orders APIs provide real-
23+
* time access to your order data within the Google Play ecosystem. You can retrieve detailed
24+
* information and metadata for both one-time and recurring orders, including transaction details
25+
* like charges, taxes, and refunds, as well as metadata such as pricing phases for subscriptions.
26+
* The Orders APIs let you automate tasks related to order management, reducing the need for manual
27+
* checks via the Play Developer Console. The following are some of the use cases for this API: +
28+
* Real-time order data retrieval - Get order details and metadata immediately after a purchase
29+
* using an order ID. + Order update synchronization - Periodically sync order updates to maintain
30+
* an up-to-date record of order information. Note: + The Orders API calls count towards your Play
31+
* Developer API quota, which defaults to 200K daily, and may be insufficient to sync extensive
32+
* order histories. + A maximum of 1000 orders can be retrieved per call. Using larger page sizes is
33+
* recommended to minimize quota usage. Check your quota in the Cloud Console and request more if
34+
* required.
2135
*
2236
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2337
* transmitted over HTTP when working with the Google Play Android Developer API. For a detailed

clients/google-api-services-androidpublisher/v3/2.0.0/com/google/api/services/androidpublisher/model/SubscriptionPurchaseV2.java

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ public final class SubscriptionPurchaseV2 extends com.google.api.client.json.Gen
6060
private java.lang.String kind;
6161

6262
/**
63-
* The order id of the latest order associated with the purchase of the subscription. For
64-
* autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or
65-
* the last recurring order id (success, pending, or declined order). For prepaid subscription,
66-
* this is the order id associated with the queried purchase token.
63+
* Deprecated: Use line_items.latest_successful_order_id instead. The order id of the latest order
64+
* associated with the purchase of the subscription. For autoRenewing subscription, this is the
65+
* order id of signup order if it is not renewed yet, or the last recurring order id (success,
66+
* pending, or declined order). For prepaid subscription, this is the order id associated with the
67+
* queried purchase token.
6768
* The value may be {@code null}.
6869
*/
6970
@com.google.api.client.util.Key
@@ -209,21 +210,23 @@ public SubscriptionPurchaseV2 setKind(java.lang.String kind) {
209210
}
210211

211212
/**
212-
* The order id of the latest order associated with the purchase of the subscription. For
213-
* autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or
214-
* the last recurring order id (success, pending, or declined order). For prepaid subscription,
215-
* this is the order id associated with the queried purchase token.
213+
* Deprecated: Use line_items.latest_successful_order_id instead. The order id of the latest order
214+
* associated with the purchase of the subscription. For autoRenewing subscription, this is the
215+
* order id of signup order if it is not renewed yet, or the last recurring order id (success,
216+
* pending, or declined order). For prepaid subscription, this is the order id associated with the
217+
* queried purchase token.
216218
* @return value or {@code null} for none
217219
*/
218220
public java.lang.String getLatestOrderId() {
219221
return latestOrderId;
220222
}
221223

222224
/**
223-
* The order id of the latest order associated with the purchase of the subscription. For
224-
* autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or
225-
* the last recurring order id (success, pending, or declined order). For prepaid subscription,
226-
* this is the order id associated with the queried purchase token.
225+
* Deprecated: Use line_items.latest_successful_order_id instead. The order id of the latest order
226+
* associated with the purchase of the subscription. For autoRenewing subscription, this is the
227+
* order id of signup order if it is not renewed yet, or the last recurring order id (success,
228+
* pending, or declined order). For prepaid subscription, this is the order id associated with the
229+
* queried purchase token.
227230
* @param latestOrderId latestOrderId or {@code null} for none
228231
*/
229232
public SubscriptionPurchaseV2 setLatestOrderId(java.lang.String latestOrderId) {

clients/google-api-services-androidpublisher/v3/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-androidpublisher</artifactId>
11-
<version>v3-rev20250519-2.0.0</version>
12-
<name>Google Play Android Developer API v3-rev20250519-2.0.0</name>
11+
<version>v3-rev20250520-2.0.0</version>
12+
<name>Google Play Android Developer API v3-rev20250520-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-androidpublisher/v3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-androidpublisher</artifactId>
25-
<version>v3-rev20250519-2.0.0</version>
25+
<version>v3-rev20250520-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20250519-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20250520-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)