Skip to content

Commit e9aee4c

Browse files
chore: regenerate paymentsresellersubscription client (googleapis#29933)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 2a1adff commit e9aee4c

File tree

5 files changed

+103
-6
lines changed

5 files changed

+103
-6
lines changed

clients/google-api-services-paymentsresellersubscription/v1/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-paymentsresellersubscription</artifactId>
25-
<version>v1-rev20251019-2.0.0</version>
25+
<version>v1-rev20251026-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-paymentsresellersubscription:v1-rev20251019-2.0.0'
38+
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20251026-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/IntentPayload.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public final class IntentPayload extends com.google.api.client.json.GenericJson
4444
@com.google.api.client.util.Key
4545
private EntitleSubscriptionIntent entitleIntent;
4646

47+
/**
48+
* Optional. The additional features for the intent.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private IntentPayloadIntentOptions intentOptions;
53+
4754
/**
4855
* The request to create a subscription.
4956
* @return value or {@code null} for none
@@ -78,6 +85,23 @@ public IntentPayload setEntitleIntent(EntitleSubscriptionIntent entitleIntent) {
7885
return this;
7986
}
8087

88+
/**
89+
* Optional. The additional features for the intent.
90+
* @return value or {@code null} for none
91+
*/
92+
public IntentPayloadIntentOptions getIntentOptions() {
93+
return intentOptions;
94+
}
95+
96+
/**
97+
* Optional. The additional features for the intent.
98+
* @param intentOptions intentOptions or {@code null} for none
99+
*/
100+
public IntentPayload setIntentOptions(IntentPayloadIntentOptions intentOptions) {
101+
this.intentOptions = intentOptions;
102+
return this;
103+
}
104+
81105
@Override
82106
public IntentPayload set(String fieldName, Object value) {
83107
return (IntentPayload) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.paymentsresellersubscription.v1.model;
18+
19+
/**
20+
* The options for the intent.
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 Payments Reseller Subscription 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 IntentPayloadIntentOptions extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. If true, Google may use a different product and promotion id from the ones in the
35+
* `create_intent` based on the user's eligibility. Only applicable for certain YouTube free trial
36+
* offers.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.Boolean enableOfferOverride;
41+
42+
/**
43+
* Optional. If true, Google may use a different product and promotion id from the ones in the
44+
* `create_intent` based on the user's eligibility. Only applicable for certain YouTube free trial
45+
* offers.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.lang.Boolean getEnableOfferOverride() {
49+
return enableOfferOverride;
50+
}
51+
52+
/**
53+
* Optional. If true, Google may use a different product and promotion id from the ones in the
54+
* `create_intent` based on the user's eligibility. Only applicable for certain YouTube free trial
55+
* offers.
56+
* @param enableOfferOverride enableOfferOverride or {@code null} for none
57+
*/
58+
public IntentPayloadIntentOptions setEnableOfferOverride(java.lang.Boolean enableOfferOverride) {
59+
this.enableOfferOverride = enableOfferOverride;
60+
return this;
61+
}
62+
63+
@Override
64+
public IntentPayloadIntentOptions set(String fieldName, Object value) {
65+
return (IntentPayloadIntentOptions) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public IntentPayloadIntentOptions clone() {
70+
return (IntentPayloadIntentOptions) super.clone();
71+
}
72+
73+
}

clients/google-api-services-paymentsresellersubscription/v1/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-paymentsresellersubscription</artifactId>
11-
<version>v1-rev20251019-2.0.0</version>
12-
<name>Payments Reseller Subscription API v1-rev20251019-2.0.0</name>
11+
<version>v1-rev20251026-2.0.0</version>
12+
<name>Payments Reseller Subscription API v1-rev20251026-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-paymentsresellersubscription/v1/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-paymentsresellersubscription</artifactId>
25-
<version>v1-rev20251019-2.0.0</version>
25+
<version>v1-rev20251026-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-paymentsresellersubscription:v1-rev20251019-2.0.0'
38+
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20251026-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)