Skip to content

Commit cefe4cb

Browse files
1 parent 871cecd commit cefe4cb

File tree

7 files changed

+232
-7
lines changed

7 files changed

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

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+
* A single use promotion code.
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 OneTimeCode extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public OneTimeCode set(String fieldName, Object value) {
35+
return (OneTimeCode) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public OneTimeCode clone() {
40+
return (OneTimeCode) super.clone();
41+
}
42+
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* The promotion applied on this item when purchased.
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 SignupPromotion extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* A one-time code was applied.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private OneTimeCode oneTimeCode;
39+
40+
/**
41+
* A vanity code was applied.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private VanityCode vanityCode;
46+
47+
/**
48+
* A one-time code was applied.
49+
* @return value or {@code null} for none
50+
*/
51+
public OneTimeCode getOneTimeCode() {
52+
return oneTimeCode;
53+
}
54+
55+
/**
56+
* A one-time code was applied.
57+
* @param oneTimeCode oneTimeCode or {@code null} for none
58+
*/
59+
public SignupPromotion setOneTimeCode(OneTimeCode oneTimeCode) {
60+
this.oneTimeCode = oneTimeCode;
61+
return this;
62+
}
63+
64+
/**
65+
* A vanity code was applied.
66+
* @return value or {@code null} for none
67+
*/
68+
public VanityCode getVanityCode() {
69+
return vanityCode;
70+
}
71+
72+
/**
73+
* A vanity code was applied.
74+
* @param vanityCode vanityCode or {@code null} for none
75+
*/
76+
public SignupPromotion setVanityCode(VanityCode vanityCode) {
77+
this.vanityCode = vanityCode;
78+
return this;
79+
}
80+
81+
@Override
82+
public SignupPromotion set(String fieldName, Object value) {
83+
return (SignupPromotion) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public SignupPromotion clone() {
88+
return (SignupPromotion) super.clone();
89+
}
90+
91+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ public final class SubscriptionPurchaseLineItem extends com.google.api.client.js
7373
@com.google.api.client.util.Key
7474
private java.lang.String productId;
7575

76+
/**
77+
* Promotion details about this item. Only set if a promotion was applied during signup.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private SignupPromotion signupPromotion;
82+
7683
/**
7784
* The item is auto renewing.
7885
* @return value or {@code null} for none
@@ -177,6 +184,23 @@ public SubscriptionPurchaseLineItem setProductId(java.lang.String productId) {
177184
return this;
178185
}
179186

187+
/**
188+
* Promotion details about this item. Only set if a promotion was applied during signup.
189+
* @return value or {@code null} for none
190+
*/
191+
public SignupPromotion getSignupPromotion() {
192+
return signupPromotion;
193+
}
194+
195+
/**
196+
* Promotion details about this item. Only set if a promotion was applied during signup.
197+
* @param signupPromotion signupPromotion or {@code null} for none
198+
*/
199+
public SubscriptionPurchaseLineItem setSignupPromotion(SignupPromotion signupPromotion) {
200+
this.signupPromotion = signupPromotion;
201+
return this;
202+
}
203+
180204
@Override
181205
public SubscriptionPurchaseLineItem set(String fieldName, Object value) {
182206
return (SubscriptionPurchaseLineItem) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* A multiple use, predefined promotion code.
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 VanityCode extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The promotion code.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String promotionCode;
39+
40+
/**
41+
* The promotion code.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getPromotionCode() {
45+
return promotionCode;
46+
}
47+
48+
/**
49+
* The promotion code.
50+
* @param promotionCode promotionCode or {@code null} for none
51+
*/
52+
public VanityCode setPromotionCode(java.lang.String promotionCode) {
53+
this.promotionCode = promotionCode;
54+
return this;
55+
}
56+
57+
@Override
58+
public VanityCode set(String fieldName, Object value) {
59+
return (VanityCode) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public VanityCode clone() {
64+
return (VanityCode) super.clone();
65+
}
66+
67+
}

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

Lines changed: 3 additions & 3 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-rev20241016-2.0.0</version>
12-
<name>Google Play Android Developer API v3-rev20241016-2.0.0</name>
11+
<version>v3-rev20241125-2.0.0</version>
12+
<name>Google Play Android Developer API v3-rev20241125-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -90,7 +90,7 @@
9090
<windowtitle>Google Play Android Developer API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.45.0/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.45.2/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.36.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.0/</link>
9696
</links>

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

0 commit comments

Comments
 (0)