Skip to content

Commit 0ab4199

Browse files
1 parent c6fc560 commit 0ab4199

File tree

5 files changed

+76
-6
lines changed

5 files changed

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

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
@SuppressWarnings("javadoc")
3131
public final class RevocationContext extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. Used when users should be refunded the full amount of the latest order of the
35+
* subscription.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private RevocationContextFullRefund fullRefund;
40+
3341
/**
3442
* Optional. Used when users should be refunded a prorated amount they paid for their subscription
3543
* based on the amount of time remaining in a subscription.
@@ -38,6 +46,25 @@ public final class RevocationContext extends com.google.api.client.json.GenericJ
3846
@com.google.api.client.util.Key
3947
private RevocationContextProratedRefund proratedRefund;
4048

49+
/**
50+
* Optional. Used when users should be refunded the full amount of the latest order of the
51+
* subscription.
52+
* @return value or {@code null} for none
53+
*/
54+
public RevocationContextFullRefund getFullRefund() {
55+
return fullRefund;
56+
}
57+
58+
/**
59+
* Optional. Used when users should be refunded the full amount of the latest order of the
60+
* subscription.
61+
* @param fullRefund fullRefund or {@code null} for none
62+
*/
63+
public RevocationContext setFullRefund(RevocationContextFullRefund fullRefund) {
64+
this.fullRefund = fullRefund;
65+
return this;
66+
}
67+
4168
/**
4269
* Optional. Used when users should be refunded a prorated amount they paid for their subscription
4370
* based on the amount of time remaining in a subscription.
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+
* Used to determine if the refund type in the RevocationContext is a full refund.
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 RevocationContextFullRefund extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public RevocationContextFullRefund set(String fieldName, Object value) {
35+
return (RevocationContextFullRefund) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public RevocationContextFullRefund clone() {
40+
return (RevocationContextFullRefund) 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-rev20240806-2.0.0</version>
12-
<name>Google Play Android Developer API v3-rev20240806-2.0.0</name>
11+
<version>v3-rev20240814-2.0.0</version>
12+
<name>Google Play Android Developer API v3-rev20240814-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-rev20240806-2.0.0</version>
25+
<version>v3-rev20240814-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-rev20240806-2.0.0'
38+
implementation 'com.google.apis:google-api-services-androidpublisher:v3-rev20240814-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)