Skip to content

Commit bbbdf33

Browse files
1 parent 76d760a commit bbbdf33

File tree

5 files changed

+108
-6
lines changed

5 files changed

+108
-6
lines changed

clients/google-api-services-content/v2.1/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-content</artifactId>
25-
<version>v2.1-rev20250603-2.0.0</version>
25+
<version>v2.1-rev20250621-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-content:v2.1-rev20250603-2.0.0'
38+
implementation 'com.google.apis:google-api-services-content:v2.1-rev20250621-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-content/v2.1/2.0.0/com/google/api/services/content/model/Product.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,13 @@ public final class Product extends com.google.api.client.json.GenericJson {
490490
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
491491
private java.lang.Long maxHandlingTime;
492492

493+
/**
494+
* Maximum retail price (MRP) of the item. Applicable to India only.
495+
* The value may be {@code null}.
496+
*/
497+
@com.google.api.client.util.Key
498+
private Price maximumRetailPrice;
499+
493500
/**
494501
* The energy efficiency class as defined in EU directive 2010/30/EU.
495502
* The value may be {@code null}.
@@ -1863,6 +1870,23 @@ public Product setMaxHandlingTime(java.lang.Long maxHandlingTime) {
18631870
return this;
18641871
}
18651872

1873+
/**
1874+
* Maximum retail price (MRP) of the item. Applicable to India only.
1875+
* @return value or {@code null} for none
1876+
*/
1877+
public Price getMaximumRetailPrice() {
1878+
return maximumRetailPrice;
1879+
}
1880+
1881+
/**
1882+
* Maximum retail price (MRP) of the item. Applicable to India only.
1883+
* @param maximumRetailPrice maximumRetailPrice or {@code null} for none
1884+
*/
1885+
public Product setMaximumRetailPrice(Price maximumRetailPrice) {
1886+
this.maximumRetailPrice = maximumRetailPrice;
1887+
return this;
1888+
}
1889+
18661890
/**
18671891
* The energy efficiency class as defined in EU directive 2010/30/EU.
18681892
* @return value or {@code null} for none

clients/google-api-services-content/v2.1/2.0.0/com/google/api/services/content/model/Promotion.java

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ public final class Promotion extends com.google.api.client.json.GenericJson {
6666
@com.google.api.client.util.Key
6767
private java.lang.String couponValueType;
6868

69+
/**
70+
* The custom redemption restriction for the promotion. If the `redemption_restriction` field is
71+
* set to `CUSTOM`, this field must be set.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private java.lang.String customRedemptionRestriction;
76+
6977
/**
7078
* Free gift description for the promotion.
7179
* The value may be {@code null}.
@@ -160,6 +168,14 @@ public final class Promotion extends com.google.api.client.json.GenericJson {
160168
@com.google.api.client.util.Key
161169
private java.lang.String longTitle;
162170

171+
/**
172+
* The maximum monetary discount a customer can receive for the promotion. This field is only
173+
* supported with the `Percent off` coupon value type.
174+
* The value may be {@code null}.
175+
*/
176+
@com.google.api.client.util.Key
177+
private PriceAmount maxDiscountAmount;
178+
163179
/**
164180
* Minimum purchase amount for the promotion.
165181
* The value may be {@code null}.
@@ -297,6 +313,13 @@ public final class Promotion extends com.google.api.client.json.GenericJson {
297313
@com.google.api.client.util.Key
298314
private java.util.List<java.lang.String> redemptionChannel;
299315

316+
/**
317+
* The redemption restriction for the promotion.
318+
* The value may be {@code null}.
319+
*/
320+
@com.google.api.client.util.Key
321+
private java.lang.String redemptionRestriction;
322+
300323
/**
301324
* Shipping service names for the promotion.
302325
* The value may be {@code null}.
@@ -414,6 +437,25 @@ public Promotion setCouponValueType(java.lang.String couponValueType) {
414437
return this;
415438
}
416439

440+
/**
441+
* The custom redemption restriction for the promotion. If the `redemption_restriction` field is
442+
* set to `CUSTOM`, this field must be set.
443+
* @return value or {@code null} for none
444+
*/
445+
public java.lang.String getCustomRedemptionRestriction() {
446+
return customRedemptionRestriction;
447+
}
448+
449+
/**
450+
* The custom redemption restriction for the promotion. If the `redemption_restriction` field is
451+
* set to `CUSTOM`, this field must be set.
452+
* @param customRedemptionRestriction customRedemptionRestriction or {@code null} for none
453+
*/
454+
public Promotion setCustomRedemptionRestriction(java.lang.String customRedemptionRestriction) {
455+
this.customRedemptionRestriction = customRedemptionRestriction;
456+
return this;
457+
}
458+
417459
/**
418460
* Free gift description for the promotion.
419461
* @return value or {@code null} for none
@@ -641,6 +683,25 @@ public Promotion setLongTitle(java.lang.String longTitle) {
641683
return this;
642684
}
643685

686+
/**
687+
* The maximum monetary discount a customer can receive for the promotion. This field is only
688+
* supported with the `Percent off` coupon value type.
689+
* @return value or {@code null} for none
690+
*/
691+
public PriceAmount getMaxDiscountAmount() {
692+
return maxDiscountAmount;
693+
}
694+
695+
/**
696+
* The maximum monetary discount a customer can receive for the promotion. This field is only
697+
* supported with the `Percent off` coupon value type.
698+
* @param maxDiscountAmount maxDiscountAmount or {@code null} for none
699+
*/
700+
public Promotion setMaxDiscountAmount(PriceAmount maxDiscountAmount) {
701+
this.maxDiscountAmount = maxDiscountAmount;
702+
return this;
703+
}
704+
644705
/**
645706
* Minimum purchase amount for the promotion.
646707
* @return value or {@code null} for none
@@ -972,6 +1033,23 @@ public Promotion setRedemptionChannel(java.util.List<java.lang.String> redemptio
9721033
return this;
9731034
}
9741035

1036+
/**
1037+
* The redemption restriction for the promotion.
1038+
* @return value or {@code null} for none
1039+
*/
1040+
public java.lang.String getRedemptionRestriction() {
1041+
return redemptionRestriction;
1042+
}
1043+
1044+
/**
1045+
* The redemption restriction for the promotion.
1046+
* @param redemptionRestriction redemptionRestriction or {@code null} for none
1047+
*/
1048+
public Promotion setRedemptionRestriction(java.lang.String redemptionRestriction) {
1049+
this.redemptionRestriction = redemptionRestriction;
1050+
return this;
1051+
}
1052+
9751053
/**
9761054
* Shipping service names for the promotion.
9771055
* @return value or {@code null} for none

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

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-content/v2.1/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-content</artifactId>
25-
<version>v2.1-rev20250603-2.0.0</version>
25+
<version>v2.1-rev20250621-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-content:v2.1-rev20250603-2.0.0'
38+
implementation 'com.google.apis:google-api-services-content:v2.1-rev20250621-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)