Skip to content

Commit 7b5f04f

Browse files
1 parent ec18c9e commit 7b5f04f

5 files changed

Lines changed: 123 additions & 6 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-rev20260501-2.0.0</version>
25+
<version>products_v1-rev20260510-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-rev20260501-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:products_v1-rev20260510-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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 pickup cost of the item.
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 PickupCost extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The flat rate pickup cost of the item.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private Price flatRate;
38+
39+
/**
40+
* Optional. The price threshold above which pickup is free of charge.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private Price freeThreshold;
45+
46+
/**
47+
* Required. The flat rate pickup cost of the item.
48+
* @return value or {@code null} for none
49+
*/
50+
public Price getFlatRate() {
51+
return flatRate;
52+
}
53+
54+
/**
55+
* Required. The flat rate pickup cost of the item.
56+
* @param flatRate flatRate or {@code null} for none
57+
*/
58+
public PickupCost setFlatRate(Price flatRate) {
59+
this.flatRate = flatRate;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. The price threshold above which pickup is free of charge.
65+
* @return value or {@code null} for none
66+
*/
67+
public Price getFreeThreshold() {
68+
return freeThreshold;
69+
}
70+
71+
/**
72+
* Optional. The price threshold above which pickup is free of charge.
73+
* @param freeThreshold freeThreshold or {@code null} for none
74+
*/
75+
public PickupCost setFreeThreshold(Price freeThreshold) {
76+
this.freeThreshold = freeThreshold;
77+
return this;
78+
}
79+
80+
@Override
81+
public PickupCost set(String fieldName, Object value) {
82+
return (PickupCost) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public PickupCost clone() {
87+
return (PickupCost) super.clone();
88+
}
89+
90+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,14 @@ public final class ProductAttributes extends com.google.api.client.json.GenericJ
636636
@com.google.api.client.util.Key
637637
private java.lang.String pause;
638638

639+
/**
640+
* Optional. The [pickup cost](https://support.google.com/merchants/answer/16988704) for an item
641+
* when a customer buys it online and picks it up at a store.
642+
* The value may be {@code null}.
643+
*/
644+
@com.google.api.client.util.Key
645+
private PickupCost pickupCost;
646+
639647
/**
640648
* The [pickup](https://support.google.com/merchants/answer/14634021) option for the item.
641649
* The value may be {@code null}.
@@ -2373,6 +2381,25 @@ public ProductAttributes setPause(java.lang.String pause) {
23732381
return this;
23742382
}
23752383

2384+
/**
2385+
* Optional. The [pickup cost](https://support.google.com/merchants/answer/16988704) for an item
2386+
* when a customer buys it online and picks it up at a store.
2387+
* @return value or {@code null} for none
2388+
*/
2389+
public PickupCost getPickupCost() {
2390+
return pickupCost;
2391+
}
2392+
2393+
/**
2394+
* Optional. The [pickup cost](https://support.google.com/merchants/answer/16988704) for an item
2395+
* when a customer buys it online and picks it up at a store.
2396+
* @param pickupCost pickupCost or {@code null} for none
2397+
*/
2398+
public ProductAttributes setPickupCost(PickupCost pickupCost) {
2399+
this.pickupCost = pickupCost;
2400+
return this;
2401+
}
2402+
23762403
/**
23772404
* The [pickup](https://support.google.com/merchants/answer/14634021) option for the item.
23782405
* @return value or {@code null} for none

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

0 commit comments

Comments
 (0)