Skip to content

Commit 9cc2442

Browse files
1 parent c02632a commit 9cc2442

File tree

5 files changed

+106
-6
lines changed

5 files changed

+106
-6
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-rev20250701-2.0.0</version>
25+
<version>v3-rev20250710-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-rev20250701-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20250710-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,30 @@ public final class OneTimePurchaseDetails extends com.google.api.client.json.Gen
3737
@com.google.api.client.util.Key
3838
private java.lang.String offerId;
3939

40+
/**
41+
* ID of the purchase option. This field is set for both purchase options and variant offers. For
42+
* purchase options, this ID identifies the purchase option itself. For variant offers, this ID
43+
* refers to the associated purchase option, and in conjunction with offer_id it identifies the
44+
* variant offer.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String purchaseOptionId;
49+
4050
/**
4151
* The number of items purchased (for multi-quantity item purchases).
4252
* The value may be {@code null}.
4353
*/
4454
@com.google.api.client.util.Key
4555
private java.lang.Integer quantity;
4656

57+
/**
58+
* The details of a rent purchase. Only set if it is a rent purchase.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private RentalDetails rentalDetails;
63+
4764
/**
4865
* The offer ID of the one-time purchase offer.
4966
* @return value or {@code null} for none
@@ -61,6 +78,29 @@ public OneTimePurchaseDetails setOfferId(java.lang.String offerId) {
6178
return this;
6279
}
6380

81+
/**
82+
* ID of the purchase option. This field is set for both purchase options and variant offers. For
83+
* purchase options, this ID identifies the purchase option itself. For variant offers, this ID
84+
* refers to the associated purchase option, and in conjunction with offer_id it identifies the
85+
* variant offer.
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.String getPurchaseOptionId() {
89+
return purchaseOptionId;
90+
}
91+
92+
/**
93+
* ID of the purchase option. This field is set for both purchase options and variant offers. For
94+
* purchase options, this ID identifies the purchase option itself. For variant offers, this ID
95+
* refers to the associated purchase option, and in conjunction with offer_id it identifies the
96+
* variant offer.
97+
* @param purchaseOptionId purchaseOptionId or {@code null} for none
98+
*/
99+
public OneTimePurchaseDetails setPurchaseOptionId(java.lang.String purchaseOptionId) {
100+
this.purchaseOptionId = purchaseOptionId;
101+
return this;
102+
}
103+
64104
/**
65105
* The number of items purchased (for multi-quantity item purchases).
66106
* @return value or {@code null} for none
@@ -78,6 +118,23 @@ public OneTimePurchaseDetails setQuantity(java.lang.Integer quantity) {
78118
return this;
79119
}
80120

121+
/**
122+
* The details of a rent purchase. Only set if it is a rent purchase.
123+
* @return value or {@code null} for none
124+
*/
125+
public RentalDetails getRentalDetails() {
126+
return rentalDetails;
127+
}
128+
129+
/**
130+
* The details of a rent purchase. Only set if it is a rent purchase.
131+
* @param rentalDetails rentalDetails or {@code null} for none
132+
*/
133+
public OneTimePurchaseDetails setRentalDetails(RentalDetails rentalDetails) {
134+
this.rentalDetails = rentalDetails;
135+
return this;
136+
}
137+
81138
@Override
82139
public OneTimePurchaseDetails set(String fieldName, Object value) {
83140
return (OneTimePurchaseDetails) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.androidpublisher.model;
18+
19+
/**
20+
* Details of a rental purchase.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Play Android Developer API. For a detailed
24+
* explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class RentalDetails extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public RentalDetails set(String fieldName, Object value) {
35+
return (RentalDetails) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public RentalDetails clone() {
40+
return (RentalDetails) super.clone();
41+
}
42+
43+
}

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-rev20250701-2.0.0</version>
12-
<name>Google Play Android Developer API v3-rev20250701-2.0.0</name>
11+
<version>v3-rev20250710-2.0.0</version>
12+
<name>Google Play Android Developer API v3-rev20250710-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-rev20250701-2.0.0</version>
25+
<version>v3-rev20250710-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-rev20250701-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20250710-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)