Skip to content

Commit 8f50782

Browse files
1 parent 05733aa commit 8f50782

File tree

6 files changed

+285
-6
lines changed

6 files changed

+285
-6
lines changed

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

clients/google-api-services-css/v1/2.0.0/com/google/api/services/css/v1/model/Attributes.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
187187
@com.google.api.client.util.Key
188188
private java.lang.String headlineOfferCondition;
189189

190+
/**
191+
* Number and amount of installments to pay for an item.
192+
* The value may be {@code null}.
193+
*/
194+
@com.google.api.client.util.Key
195+
private HeadlineOfferInstallment headlineOfferInstallment;
196+
190197
/**
191198
* Link to the headline offer.
192199
* The value may be {@code null}.
@@ -215,6 +222,14 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
215222
@com.google.api.client.util.Key
216223
private Price headlineOfferShippingPrice;
217224

225+
/**
226+
* Number of periods (months or years) and amount of payment per period for an item with an
227+
* associated subscription contract.
228+
* The value may be {@code null}.
229+
*/
230+
@com.google.api.client.util.Key
231+
private HeadlineOfferSubscriptionCost headlineOfferSubscriptionCost;
232+
218233
/**
219234
* High Price of the aggregate offer.
220235
* The value may be {@code null}.
@@ -768,6 +783,23 @@ public Attributes setHeadlineOfferCondition(java.lang.String headlineOfferCondit
768783
return this;
769784
}
770785

786+
/**
787+
* Number and amount of installments to pay for an item.
788+
* @return value or {@code null} for none
789+
*/
790+
public HeadlineOfferInstallment getHeadlineOfferInstallment() {
791+
return headlineOfferInstallment;
792+
}
793+
794+
/**
795+
* Number and amount of installments to pay for an item.
796+
* @param headlineOfferInstallment headlineOfferInstallment or {@code null} for none
797+
*/
798+
public Attributes setHeadlineOfferInstallment(HeadlineOfferInstallment headlineOfferInstallment) {
799+
this.headlineOfferInstallment = headlineOfferInstallment;
800+
return this;
801+
}
802+
771803
/**
772804
* Link to the headline offer.
773805
* @return value or {@code null} for none
@@ -836,6 +868,25 @@ public Attributes setHeadlineOfferShippingPrice(Price headlineOfferShippingPrice
836868
return this;
837869
}
838870

871+
/**
872+
* Number of periods (months or years) and amount of payment per period for an item with an
873+
* associated subscription contract.
874+
* @return value or {@code null} for none
875+
*/
876+
public HeadlineOfferSubscriptionCost getHeadlineOfferSubscriptionCost() {
877+
return headlineOfferSubscriptionCost;
878+
}
879+
880+
/**
881+
* Number of periods (months or years) and amount of payment per period for an item with an
882+
* associated subscription contract.
883+
* @param headlineOfferSubscriptionCost headlineOfferSubscriptionCost or {@code null} for none
884+
*/
885+
public Attributes setHeadlineOfferSubscriptionCost(HeadlineOfferSubscriptionCost headlineOfferSubscriptionCost) {
886+
this.headlineOfferSubscriptionCost = headlineOfferSubscriptionCost;
887+
return this;
888+
}
889+
839890
/**
840891
* High Price of the aggregate offer.
841892
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.css.v1.model;
18+
19+
/**
20+
* A message that represents installment.
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 CSS API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class HeadlineOfferInstallment extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The amount the buyer has to pay per month.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private Price amount;
38+
39+
/**
40+
* The up-front down payment amount the buyer has to pay.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private Price downpayment;
45+
46+
/**
47+
* The number of installments the buyer has to pay.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
51+
private java.lang.Long months;
52+
53+
/**
54+
* The amount the buyer has to pay per month.
55+
* @return value or {@code null} for none
56+
*/
57+
public Price getAmount() {
58+
return amount;
59+
}
60+
61+
/**
62+
* The amount the buyer has to pay per month.
63+
* @param amount amount or {@code null} for none
64+
*/
65+
public HeadlineOfferInstallment setAmount(Price amount) {
66+
this.amount = amount;
67+
return this;
68+
}
69+
70+
/**
71+
* The up-front down payment amount the buyer has to pay.
72+
* @return value or {@code null} for none
73+
*/
74+
public Price getDownpayment() {
75+
return downpayment;
76+
}
77+
78+
/**
79+
* The up-front down payment amount the buyer has to pay.
80+
* @param downpayment downpayment or {@code null} for none
81+
*/
82+
public HeadlineOfferInstallment setDownpayment(Price downpayment) {
83+
this.downpayment = downpayment;
84+
return this;
85+
}
86+
87+
/**
88+
* The number of installments the buyer has to pay.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Long getMonths() {
92+
return months;
93+
}
94+
95+
/**
96+
* The number of installments the buyer has to pay.
97+
* @param months months or {@code null} for none
98+
*/
99+
public HeadlineOfferInstallment setMonths(java.lang.Long months) {
100+
this.months = months;
101+
return this;
102+
}
103+
104+
@Override
105+
public HeadlineOfferInstallment set(String fieldName, Object value) {
106+
return (HeadlineOfferInstallment) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public HeadlineOfferInstallment clone() {
111+
return (HeadlineOfferInstallment) super.clone();
112+
}
113+
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.css.v1.model;
18+
19+
/**
20+
* The SubscriptionCost of the product.
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 CSS API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class HeadlineOfferSubscriptionCost extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The amount the buyer has to pay per subscription period.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private Price amount;
38+
39+
/**
40+
* The type of subscription period. Supported values are: * "`month`" * "`year`"
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String period;
45+
46+
/**
47+
* The number of subscription periods the buyer has to pay.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
51+
private java.lang.Long periodLength;
52+
53+
/**
54+
* The amount the buyer has to pay per subscription period.
55+
* @return value or {@code null} for none
56+
*/
57+
public Price getAmount() {
58+
return amount;
59+
}
60+
61+
/**
62+
* The amount the buyer has to pay per subscription period.
63+
* @param amount amount or {@code null} for none
64+
*/
65+
public HeadlineOfferSubscriptionCost setAmount(Price amount) {
66+
this.amount = amount;
67+
return this;
68+
}
69+
70+
/**
71+
* The type of subscription period. Supported values are: * "`month`" * "`year`"
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getPeriod() {
75+
return period;
76+
}
77+
78+
/**
79+
* The type of subscription period. Supported values are: * "`month`" * "`year`"
80+
* @param period period or {@code null} for none
81+
*/
82+
public HeadlineOfferSubscriptionCost setPeriod(java.lang.String period) {
83+
this.period = period;
84+
return this;
85+
}
86+
87+
/**
88+
* The number of subscription periods the buyer has to pay.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Long getPeriodLength() {
92+
return periodLength;
93+
}
94+
95+
/**
96+
* The number of subscription periods the buyer has to pay.
97+
* @param periodLength periodLength or {@code null} for none
98+
*/
99+
public HeadlineOfferSubscriptionCost setPeriodLength(java.lang.Long periodLength) {
100+
this.periodLength = periodLength;
101+
return this;
102+
}
103+
104+
@Override
105+
public HeadlineOfferSubscriptionCost set(String fieldName, Object value) {
106+
return (HeadlineOfferSubscriptionCost) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public HeadlineOfferSubscriptionCost clone() {
111+
return (HeadlineOfferSubscriptionCost) super.clone();
112+
}
113+
114+
}

clients/google-api-services-css/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-css</artifactId>
11-
<version>v1-rev20240719-2.0.0</version>
12-
<name>CSS API v1-rev20240719-2.0.0</name>
11+
<version>v1-rev20240909-2.0.0</version>
12+
<name>CSS API v1-rev20240909-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)