Skip to content

Commit 834b34b

Browse files
1 parent 2aeb368 commit 834b34b

File tree

5 files changed

+163
-6
lines changed

5 files changed

+163
-6
lines changed

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-rev20251007-2.0.0</version>
25+
<version>products_v1-rev20251104-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-rev20251007-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20251104-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: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,14 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ
651651
@com.google.api.client.util.Key
652652
private java.util.List<Shipping> shipping;
653653

654+
/**
655+
* The business days during which orders can be handled. If not provided, Monday to Friday
656+
* business days will be assumed.
657+
* The value may be {@code null}.
658+
*/
659+
@com.google.api.client.util.Key
660+
private java.util.List<ShippingBusinessDaysConfig> shippingHandlingBusinessDays;
661+
654662
/**
655663
* Height of the item for shipping.
656664
* The value may be {@code null}.
@@ -672,6 +680,14 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ
672680
@com.google.api.client.util.Key
673681
private ShippingDimension shippingLength;
674682

683+
/**
684+
* The business days during which orders are in transit. If not provided, Monday to Friday
685+
* business days will be assumed.
686+
* The value may be {@code null}.
687+
*/
688+
@com.google.api.client.util.Key
689+
private java.util.List<ShippingBusinessDaysConfig> shippingTransitBusinessDays;
690+
675691
/**
676692
* Weight of the item for shipping.
677693
* The value may be {@code null}.
@@ -2199,6 +2215,25 @@ public ProductAttributes setShipping(java.util.List<Shipping> shipping) {
21992215
return this;
22002216
}
22012217

2218+
/**
2219+
* The business days during which orders can be handled. If not provided, Monday to Friday
2220+
* business days will be assumed.
2221+
* @return value or {@code null} for none
2222+
*/
2223+
public java.util.List<ShippingBusinessDaysConfig> getShippingHandlingBusinessDays() {
2224+
return shippingHandlingBusinessDays;
2225+
}
2226+
2227+
/**
2228+
* The business days during which orders can be handled. If not provided, Monday to Friday
2229+
* business days will be assumed.
2230+
* @param shippingHandlingBusinessDays shippingHandlingBusinessDays or {@code null} for none
2231+
*/
2232+
public ProductAttributes setShippingHandlingBusinessDays(java.util.List<ShippingBusinessDaysConfig> shippingHandlingBusinessDays) {
2233+
this.shippingHandlingBusinessDays = shippingHandlingBusinessDays;
2234+
return this;
2235+
}
2236+
22022237
/**
22032238
* Height of the item for shipping.
22042239
* @return value or {@code null} for none
@@ -2250,6 +2285,25 @@ public ProductAttributes setShippingLength(ShippingDimension shippingLength) {
22502285
return this;
22512286
}
22522287

2288+
/**
2289+
* The business days during which orders are in transit. If not provided, Monday to Friday
2290+
* business days will be assumed.
2291+
* @return value or {@code null} for none
2292+
*/
2293+
public java.util.List<ShippingBusinessDaysConfig> getShippingTransitBusinessDays() {
2294+
return shippingTransitBusinessDays;
2295+
}
2296+
2297+
/**
2298+
* The business days during which orders are in transit. If not provided, Monday to Friday
2299+
* business days will be assumed.
2300+
* @param shippingTransitBusinessDays shippingTransitBusinessDays or {@code null} for none
2301+
*/
2302+
public ProductAttributes setShippingTransitBusinessDays(java.util.List<ShippingBusinessDaysConfig> shippingTransitBusinessDays) {
2303+
this.shippingTransitBusinessDays = shippingTransitBusinessDays;
2304+
return this;
2305+
}
2306+
22532307
/**
22542308
* Weight of the item for shipping.
22552309
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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 business days during which orders are on their path to fulfillment. If not provided, Monday
21+
* to Friday business days will be assumed.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Merchant API. For a detailed 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 ShippingBusinessDaysConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Effective days of the week considered for the delivery time calculation. May not be empty. The
35+
* more business days included the faster the delivery. Can be set through individual days (e.g.
36+
* `MTWRF`), or day ranges (e.g. `Mon-Fri`). For more information about accepted formats, see
37+
* [Shipping handling business days](https://support.google.com/merchants/answer/16072859).
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String businessDays;
42+
43+
/**
44+
* The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of
45+
* the country to which an item will ship.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String country;
50+
51+
/**
52+
* Effective days of the week considered for the delivery time calculation. May not be empty. The
53+
* more business days included the faster the delivery. Can be set through individual days (e.g.
54+
* `MTWRF`), or day ranges (e.g. `Mon-Fri`). For more information about accepted formats, see
55+
* [Shipping handling business days](https://support.google.com/merchants/answer/16072859).
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getBusinessDays() {
59+
return businessDays;
60+
}
61+
62+
/**
63+
* Effective days of the week considered for the delivery time calculation. May not be empty. The
64+
* more business days included the faster the delivery. Can be set through individual days (e.g.
65+
* `MTWRF`), or day ranges (e.g. `Mon-Fri`). For more information about accepted formats, see
66+
* [Shipping handling business days](https://support.google.com/merchants/answer/16072859).
67+
* @param businessDays businessDays or {@code null} for none
68+
*/
69+
public ShippingBusinessDaysConfig setBusinessDays(java.lang.String businessDays) {
70+
this.businessDays = businessDays;
71+
return this;
72+
}
73+
74+
/**
75+
* The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of
76+
* the country to which an item will ship.
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.String getCountry() {
80+
return country;
81+
}
82+
83+
/**
84+
* The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of
85+
* the country to which an item will ship.
86+
* @param country country or {@code null} for none
87+
*/
88+
public ShippingBusinessDaysConfig setCountry(java.lang.String country) {
89+
this.country = country;
90+
return this;
91+
}
92+
93+
@Override
94+
public ShippingBusinessDaysConfig set(String fieldName, Object value) {
95+
return (ShippingBusinessDaysConfig) super.set(fieldName, value);
96+
}
97+
98+
@Override
99+
public ShippingBusinessDaysConfig clone() {
100+
return (ShippingBusinessDaysConfig) super.clone();
101+
}
102+
103+
}

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-rev20251007-2.0.0</version>
12-
<name>Merchant API products_v1-rev20251007-2.0.0</name>
11+
<version>products_v1-rev20251104-2.0.0</version>
12+
<name>Merchant API products_v1-rev20251104-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-rev20251007-2.0.0</version>
25+
<version>products_v1-rev20251104-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-rev20251007-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20251104-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)