Skip to content

Commit dbdb773

Browse files
yoshi-automationsduskis
authored andcommitted
Regenerate content client (googleapis#742)
1 parent 66f203e commit dbdb773

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+243
-2508
lines changed

clients/1.26.0/google-api-services-content/v2.1/com/google/api/services/content/ShoppingContent.java

Lines changed: 4 additions & 491 deletions
Large diffs are not rendered by default.

clients/1.26.0/google-api-services-content/v2.1/com/google/api/services/content/model/OrderPromotion.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ public final class OrderPromotion extends com.google.api.client.json.GenericJson
6060
private java.lang.String merchantPromotionId;
6161

6262
/**
63-
* Estimated discount applied to pre-tax amount.
63+
* Estimated discount applied to price. Amount is pre-tax or post-tax depending on location of
64+
* order.
6465
* The value may be {@code null}.
6566
*/
6667
@com.google.api.client.util.Key
67-
private Price pretaxValue;
68+
private Price priceValue;
6869

6970
/**
7071
* A short title of the promotion to be shown on the checkout page.
@@ -172,19 +173,21 @@ public OrderPromotion setMerchantPromotionId(java.lang.String merchantPromotionI
172173
}
173174

174175
/**
175-
* Estimated discount applied to pre-tax amount.
176+
* Estimated discount applied to price. Amount is pre-tax or post-tax depending on location of
177+
* order.
176178
* @return value or {@code null} for none
177179
*/
178-
public Price getPretaxValue() {
179-
return pretaxValue;
180+
public Price getPriceValue() {
181+
return priceValue;
180182
}
181183

182184
/**
183-
* Estimated discount applied to pre-tax amount.
184-
* @param pretaxValue pretaxValue or {@code null} for none
185+
* Estimated discount applied to price. Amount is pre-tax or post-tax depending on location of
186+
* order.
187+
* @param priceValue priceValue or {@code null} for none
185188
*/
186-
public OrderPromotion setPretaxValue(Price pretaxValue) {
187-
this.pretaxValue = pretaxValue;
189+
public OrderPromotion setPriceValue(Price priceValue) {
190+
this.priceValue = priceValue;
188191
return this;
189192
}
190193

clients/1.26.0/google-api-services-content/v2.1/com/google/api/services/content/model/TestOrderLineItem.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@ public final class TestOrderLineItem extends com.google.api.client.json.GenericJ
5858
@com.google.api.client.util.Key
5959
private OrderLineItemShippingDetails shippingDetails;
6060

61-
/**
62-
* Unit tax for the line item.
63-
* The value may be {@code null}.
64-
*/
65-
@com.google.api.client.util.Key
66-
private Price unitTax;
67-
6861
/**
6962
* Product data from the time of the order placement.
7063
* @return value or {@code null} for none
@@ -133,23 +126,6 @@ public TestOrderLineItem setShippingDetails(OrderLineItemShippingDetails shippin
133126
return this;
134127
}
135128

136-
/**
137-
* Unit tax for the line item.
138-
* @return value or {@code null} for none
139-
*/
140-
public Price getUnitTax() {
141-
return unitTax;
142-
}
143-
144-
/**
145-
* Unit tax for the line item.
146-
* @param unitTax unitTax or {@code null} for none
147-
*/
148-
public TestOrderLineItem setUnitTax(Price unitTax) {
149-
this.unitTax = unitTax;
150-
return this;
151-
}
152-
153129
@Override
154130
public TestOrderLineItem set(String fieldName, Object value) {
155131
return (TestOrderLineItem) super.set(fieldName, value);

clients/1.26.0/google-api-services-content/v2.1/com/google/api/services/content/model/TestOrderLineItemProduct.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ public final class TestOrderLineItemProduct extends com.google.api.client.json.G
9494
private java.lang.String offerId;
9595

9696
/**
97-
* The price for the product.
97+
* The price for the product. Tax is automatically calculated for MFL orders. For non-MFL orders,
98+
* tax settings from Merchant Center are applied.
9899
* The value may be {@code null}.
99100
*/
100101
@com.google.api.client.util.Key
@@ -281,15 +282,17 @@ public TestOrderLineItemProduct setOfferId(java.lang.String offerId) {
281282
}
282283

283284
/**
284-
* The price for the product.
285+
* The price for the product. Tax is automatically calculated for MFL orders. For non-MFL orders,
286+
* tax settings from Merchant Center are applied.
285287
* @return value or {@code null} for none
286288
*/
287289
public Price getPrice() {
288290
return price;
289291
}
290292

291293
/**
292-
* The price for the product.
294+
* The price for the product. Tax is automatically calculated for MFL orders. For non-MFL orders,
295+
* tax settings from Merchant Center are applied.
293296
* @param price price or {@code null} for none
294297
*/
295298
public TestOrderLineItemProduct setPrice(Price price) {

clients/1.26.0/google-api-services-content/v2.1/com/google/api/services/content/model/UnitInvoice.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ public final class UnitInvoice extends com.google.api.client.json.GenericJson {
5151
}
5252

5353
/**
54-
* [required] Price of the unit, before applying taxes.
54+
* [required] Pre-tax or post-tax price of the unit depending on the locality of the order.
5555
* The value may be {@code null}.
5656
*/
5757
@com.google.api.client.util.Key
58-
private Price unitPricePretax;
58+
private Price unitPrice;
5959

6060
/**
6161
* Tax amounts to apply to the unit price.
@@ -99,19 +99,19 @@ public UnitInvoice setPromotions(java.util.List<Promotion> promotions) {
9999
}
100100

101101
/**
102-
* [required] Price of the unit, before applying taxes.
102+
* [required] Pre-tax or post-tax price of the unit depending on the locality of the order.
103103
* @return value or {@code null} for none
104104
*/
105-
public Price getUnitPricePretax() {
106-
return unitPricePretax;
105+
public Price getUnitPrice() {
106+
return unitPrice;
107107
}
108108

109109
/**
110-
* [required] Price of the unit, before applying taxes.
111-
* @param unitPricePretax unitPricePretax or {@code null} for none
110+
* [required] Pre-tax or post-tax price of the unit depending on the locality of the order.
111+
* @param unitPrice unitPrice or {@code null} for none
112112
*/
113-
public UnitInvoice setUnitPricePretax(Price unitPricePretax) {
114-
this.unitPricePretax = unitPricePretax;
113+
public UnitInvoice setUnitPrice(Price unitPrice) {
114+
this.unitPrice = unitPrice;
115115
return this;
116116
}
117117

clients/1.26.0/google-api-services-content/v2.1/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-content</artifactId>
11-
<version>v2.1-rev20190107-1.26.0</version>
12-
<name>Content API for Shopping v2.1-rev20190107-1.26.0</name>
11+
<version>v2.1-rev20190122-1.26.0</version>
12+
<name>Content API for Shopping v2.1-rev20190122-1.26.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)