Skip to content

Commit 2d394d1

Browse files
1 parent 7879ded commit 2d394d1

10 files changed

Lines changed: 336 additions & 12 deletions

File tree

clients/google-api-services-merchantapi/products_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-merchantapi</artifactId>
25-
<version>products_v1-rev20260415-2.0.0</version>
25+
<version>products_v1-rev20260419-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-merchantapi:products_v1-rev20260415-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260419-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/ProductAttributes.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,15 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ
491491
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
492492
private java.lang.Long minHandlingTime;
493493

494+
/**
495+
* The [minimum value](https://support.google.com/merchants/answer/16989009) in the cart before a
496+
* customer can initiate checkout. Supports multiple minimum order values. Different minimum order
497+
* values can be specified per country, service and surface. Maximum entries: 100.
498+
* The value may be {@code null}.
499+
*/
500+
@com.google.api.client.util.Key
501+
private java.util.List<ProductMinimumOrderValue> minimumOrderValues;
502+
494503
/**
495504
* URL for the mobile-optimized version of your item's landing page.
496505
* The value may be {@code null}.
@@ -1852,6 +1861,27 @@ public ProductAttributes setMinHandlingTime(java.lang.Long minHandlingTime) {
18521861
return this;
18531862
}
18541863

1864+
/**
1865+
* The [minimum value](https://support.google.com/merchants/answer/16989009) in the cart before a
1866+
* customer can initiate checkout. Supports multiple minimum order values. Different minimum order
1867+
* values can be specified per country, service and surface. Maximum entries: 100.
1868+
* @return value or {@code null} for none
1869+
*/
1870+
public java.util.List<ProductMinimumOrderValue> getMinimumOrderValues() {
1871+
return minimumOrderValues;
1872+
}
1873+
1874+
/**
1875+
* The [minimum value](https://support.google.com/merchants/answer/16989009) in the cart before a
1876+
* customer can initiate checkout. Supports multiple minimum order values. Different minimum order
1877+
* values can be specified per country, service and surface. Maximum entries: 100.
1878+
* @param minimumOrderValues minimumOrderValues or {@code null} for none
1879+
*/
1880+
public ProductAttributes setMinimumOrderValues(java.util.List<ProductMinimumOrderValue> minimumOrderValues) {
1881+
this.minimumOrderValues = minimumOrderValues;
1882+
return this;
1883+
}
1884+
18551885
/**
18561886
* URL for the mobile-optimized version of your item's landing page.
18571887
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
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.merchantapi.products_v1.model;
18+
19+
/**
20+
* The minimum order value in the cart before the checkout is permitted.
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 Merchant 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 ProductMinimumOrderValue extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The [CLDR territory
34+
* code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which
35+
* an item will ship.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String country;
40+
41+
/**
42+
* Required. The minimum cart or basket value before the checkout is permitted.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private Price price;
47+
48+
/**
49+
* A free-form description of the service class or delivery speed. This should match the service
50+
* value set for the Shipping attribute. See service.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String service;
55+
56+
/**
57+
* The surface to which the minimum order value applies. Defaults to `ONLINE_LOCAL` if not
58+
* configured.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String surface;
63+
64+
/**
65+
* Required. The [CLDR territory
66+
* code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which
67+
* an item will ship.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getCountry() {
71+
return country;
72+
}
73+
74+
/**
75+
* Required. The [CLDR territory
76+
* code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which
77+
* an item will ship.
78+
* @param country country or {@code null} for none
79+
*/
80+
public ProductMinimumOrderValue setCountry(java.lang.String country) {
81+
this.country = country;
82+
return this;
83+
}
84+
85+
/**
86+
* Required. The minimum cart or basket value before the checkout is permitted.
87+
* @return value or {@code null} for none
88+
*/
89+
public Price getPrice() {
90+
return price;
91+
}
92+
93+
/**
94+
* Required. The minimum cart or basket value before the checkout is permitted.
95+
* @param price price or {@code null} for none
96+
*/
97+
public ProductMinimumOrderValue setPrice(Price price) {
98+
this.price = price;
99+
return this;
100+
}
101+
102+
/**
103+
* A free-form description of the service class or delivery speed. This should match the service
104+
* value set for the Shipping attribute. See service.
105+
* @return value or {@code null} for none
106+
*/
107+
public java.lang.String getService() {
108+
return service;
109+
}
110+
111+
/**
112+
* A free-form description of the service class or delivery speed. This should match the service
113+
* value set for the Shipping attribute. See service.
114+
* @param service service or {@code null} for none
115+
*/
116+
public ProductMinimumOrderValue setService(java.lang.String service) {
117+
this.service = service;
118+
return this;
119+
}
120+
121+
/**
122+
* The surface to which the minimum order value applies. Defaults to `ONLINE_LOCAL` if not
123+
* configured.
124+
* @return value or {@code null} for none
125+
*/
126+
public java.lang.String getSurface() {
127+
return surface;
128+
}
129+
130+
/**
131+
* The surface to which the minimum order value applies. Defaults to `ONLINE_LOCAL` if not
132+
* configured.
133+
* @param surface surface or {@code null} for none
134+
*/
135+
public ProductMinimumOrderValue setSurface(java.lang.String surface) {
136+
this.surface = surface;
137+
return this;
138+
}
139+
140+
@Override
141+
public ProductMinimumOrderValue set(String fieldName, Object value) {
142+
return (ProductMinimumOrderValue) super.set(fieldName, value);
143+
}
144+
145+
@Override
146+
public ProductMinimumOrderValue clone() {
147+
return (ProductMinimumOrderValue) super.clone();
148+
}
149+
150+
}

clients/google-api-services-merchantapi/products_v1/2.0.0/com/google/api/services/merchantapi/products_v1/model/Shipping.java

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,28 @@ public final class Shipping extends com.google.api.client.json.GenericJson {
7272
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
7373
private java.lang.Long locationId;
7474

75+
/**
76+
* Optional. The label of the [loyalty
77+
* program](https://support.google.com/merchants/answer/6324484). Must match one of the program
78+
* labels set in loyalty_programs. When set (in combination with
79+
* [loyalty_tier_label](https://support.google.com/merchants/answer/6324484)), this shipping
80+
* option is only applicable to loyalty program members of the specified tier.
81+
* The value may be {@code null}.
82+
*/
83+
@com.google.api.client.util.Key
84+
private java.lang.String loyaltyProgramLabel;
85+
86+
/**
87+
* Optional. The label of the [loyalty tier](https://support.google.com/merchants/answer/6324484)
88+
* within the loyalty program. Must match one of the tiers set in the loyalty_programs. When set
89+
* (in combination with
90+
* [loyalty_program_label](https://support.google.com/merchants/answer/6324484)), this shipping
91+
* option is only applicable to loyalty program members of the specified tier.
92+
* The value may be {@code null}.
93+
*/
94+
@com.google.api.client.util.Key
95+
private java.lang.String loyaltyTierLabel;
96+
7597
/**
7698
* Maximum handling time (inclusive) between when the order is received and shipped in business
7799
* days. 0 means that the order is shipped on the same day as it is received if it happens before
@@ -244,6 +266,56 @@ public Shipping setLocationId(java.lang.Long locationId) {
244266
return this;
245267
}
246268

269+
/**
270+
* Optional. The label of the [loyalty
271+
* program](https://support.google.com/merchants/answer/6324484). Must match one of the program
272+
* labels set in loyalty_programs. When set (in combination with
273+
* [loyalty_tier_label](https://support.google.com/merchants/answer/6324484)), this shipping
274+
* option is only applicable to loyalty program members of the specified tier.
275+
* @return value or {@code null} for none
276+
*/
277+
public java.lang.String getLoyaltyProgramLabel() {
278+
return loyaltyProgramLabel;
279+
}
280+
281+
/**
282+
* Optional. The label of the [loyalty
283+
* program](https://support.google.com/merchants/answer/6324484). Must match one of the program
284+
* labels set in loyalty_programs. When set (in combination with
285+
* [loyalty_tier_label](https://support.google.com/merchants/answer/6324484)), this shipping
286+
* option is only applicable to loyalty program members of the specified tier.
287+
* @param loyaltyProgramLabel loyaltyProgramLabel or {@code null} for none
288+
*/
289+
public Shipping setLoyaltyProgramLabel(java.lang.String loyaltyProgramLabel) {
290+
this.loyaltyProgramLabel = loyaltyProgramLabel;
291+
return this;
292+
}
293+
294+
/**
295+
* Optional. The label of the [loyalty tier](https://support.google.com/merchants/answer/6324484)
296+
* within the loyalty program. Must match one of the tiers set in the loyalty_programs. When set
297+
* (in combination with
298+
* [loyalty_program_label](https://support.google.com/merchants/answer/6324484)), this shipping
299+
* option is only applicable to loyalty program members of the specified tier.
300+
* @return value or {@code null} for none
301+
*/
302+
public java.lang.String getLoyaltyTierLabel() {
303+
return loyaltyTierLabel;
304+
}
305+
306+
/**
307+
* Optional. The label of the [loyalty tier](https://support.google.com/merchants/answer/6324484)
308+
* within the loyalty program. Must match one of the tiers set in the loyalty_programs. When set
309+
* (in combination with
310+
* [loyalty_program_label](https://support.google.com/merchants/answer/6324484)), this shipping
311+
* option is only applicable to loyalty program members of the specified tier.
312+
* @param loyaltyTierLabel loyaltyTierLabel or {@code null} for none
313+
*/
314+
public Shipping setLoyaltyTierLabel(java.lang.String loyaltyTierLabel) {
315+
this.loyaltyTierLabel = loyaltyTierLabel;
316+
return this;
317+
}
318+
247319
/**
248320
* Maximum handling time (inclusive) between when the order is received and shipped in business
249321
* days. 0 means that the order is shipped on the same day as it is received if it happens before

clients/google-api-services-merchantapi/products_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-merchantapi</artifactId>
11-
<version>products_v1-rev20260415-2.0.0</version>
12-
<name>Merchant API products_v1-rev20260415-2.0.0</name>
11+
<version>products_v1-rev20260419-2.0.0</version>
12+
<name>Merchant API products_v1-rev20260419-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-merchantapi/products_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-merchantapi</artifactId>
25-
<version>products_v1-rev20260415-2.0.0</version>
25+
<version>products_v1-rev20260419-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-merchantapi:products_v1-rev20260415-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260419-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-merchantapi/products_v1beta/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-merchantapi</artifactId>
25-
<version>products_v1beta-rev20260415-2.0.0</version>
25+
<version>products_v1beta-rev20260419-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-merchantapi:products_v1beta-rev20260415-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:products_v1beta-rev20260419-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)