Skip to content

Commit 324036a

Browse files
1 parent b5c0c37 commit 324036a

File tree

5 files changed

+148
-6
lines changed

5 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ public final class AutoRenewingPlan extends com.google.api.client.json.GenericJs
5252
@com.google.api.client.util.Key
5353
private SubscriptionItemPriceChangeDetails priceChangeDetails;
5454

55+
/**
56+
* The information of the latest price step-up consent.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private PriceStepUpConsentDetails priceStepUpConsentDetails;
61+
5562
/**
5663
* The current recurring price of the auto renewing plan. Note that the price does not take into
5764
* account discounts and does not include taxes for tax-exclusive pricing, please call orders.get
@@ -114,6 +121,23 @@ public AutoRenewingPlan setPriceChangeDetails(SubscriptionItemPriceChangeDetails
114121
return this;
115122
}
116123

124+
/**
125+
* The information of the latest price step-up consent.
126+
* @return value or {@code null} for none
127+
*/
128+
public PriceStepUpConsentDetails getPriceStepUpConsentDetails() {
129+
return priceStepUpConsentDetails;
130+
}
131+
132+
/**
133+
* The information of the latest price step-up consent.
134+
* @param priceStepUpConsentDetails priceStepUpConsentDetails or {@code null} for none
135+
*/
136+
public AutoRenewingPlan setPriceStepUpConsentDetails(PriceStepUpConsentDetails priceStepUpConsentDetails) {
137+
this.priceStepUpConsentDetails = priceStepUpConsentDetails;
138+
return this;
139+
}
140+
117141
/**
118142
* The current recurring price of the auto renewing plan. Note that the price does not take into
119143
* account discounts and does not include taxes for tax-exclusive pricing, please call orders.get
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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+
* Information related to a price step-up that requires user consent.
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 PriceStepUpConsentDetails extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The deadline by which the user must provide consent. If consent is not provided by this time,
35+
* the subscription will be canceled.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private String consentDeadlineTime;
40+
41+
/**
42+
* The new price which requires user consent.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private Money newPrice;
47+
48+
/**
49+
* Output only. The state of the price step-up consent.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String state;
54+
55+
/**
56+
* The deadline by which the user must provide consent. If consent is not provided by this time,
57+
* the subscription will be canceled.
58+
* @return value or {@code null} for none
59+
*/
60+
public String getConsentDeadlineTime() {
61+
return consentDeadlineTime;
62+
}
63+
64+
/**
65+
* The deadline by which the user must provide consent. If consent is not provided by this time,
66+
* the subscription will be canceled.
67+
* @param consentDeadlineTime consentDeadlineTime or {@code null} for none
68+
*/
69+
public PriceStepUpConsentDetails setConsentDeadlineTime(String consentDeadlineTime) {
70+
this.consentDeadlineTime = consentDeadlineTime;
71+
return this;
72+
}
73+
74+
/**
75+
* The new price which requires user consent.
76+
* @return value or {@code null} for none
77+
*/
78+
public Money getNewPrice() {
79+
return newPrice;
80+
}
81+
82+
/**
83+
* The new price which requires user consent.
84+
* @param newPrice newPrice or {@code null} for none
85+
*/
86+
public PriceStepUpConsentDetails setNewPrice(Money newPrice) {
87+
this.newPrice = newPrice;
88+
return this;
89+
}
90+
91+
/**
92+
* Output only. The state of the price step-up consent.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.String getState() {
96+
return state;
97+
}
98+
99+
/**
100+
* Output only. The state of the price step-up consent.
101+
* @param state state or {@code null} for none
102+
*/
103+
public PriceStepUpConsentDetails setState(java.lang.String state) {
104+
this.state = state;
105+
return this;
106+
}
107+
108+
@Override
109+
public PriceStepUpConsentDetails set(String fieldName, Object value) {
110+
return (PriceStepUpConsentDetails) super.set(fieldName, value);
111+
}
112+
113+
@Override
114+
public PriceStepUpConsentDetails clone() {
115+
return (PriceStepUpConsentDetails) super.clone();
116+
}
117+
118+
}

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

0 commit comments

Comments
 (0)