You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-merchantapi/accounts_v1/2.0.0/com/google/api/services/merchantapi/accounts_v1/model/Region.java
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,11 @@
18
18
19
19
/**
20
20
* Represents a geographic region that you can use as a target with both the `RegionalInventory` and
21
-
* `ShippingSettings` services. You can define regions as collections of either postal codes or, in
22
-
* some countries, using predefined geotargets. For more information, see [Set up regions
23
-
* ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more
24
-
* information.
21
+
* `ShippingSettings` services. You can define regions as collections of either postal codes, radius
22
+
* areas or, in some countries, using predefined geotargets. A region must be defined by specifying
23
+
* exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see
24
+
* [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-
25
+
* region) for more information.
25
26
*
26
27
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
27
28
* transmitted over HTTP when working with the Merchant API. For a detailed explanation see:
Copy file name to clipboardExpand all lines: clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/Region.java
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,11 @@
18
18
19
19
/**
20
20
* Represents a geographic region that you can use as a target with both the `RegionalInventory` and
21
-
* `ShippingSettings` services. You can define regions as collections of either postal codes or, in
22
-
* some countries, using predefined geotargets. For more information, see [Set up regions
23
-
* ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more
24
-
* information.
21
+
* `ShippingSettings` services. You can define regions as collections of either postal codes, radius
22
+
* areas or, in some countries, using predefined geotargets. A region must be defined by specifying
23
+
* exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see
24
+
* [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-
25
+
* region) for more information.
25
26
*
26
27
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
27
28
* transmitted over HTTP when working with the Merchant API. For a detailed explanation see:
Copy file name to clipboardExpand all lines: clients/google-api-services-merchantapi/promotions_v1/2.0.0/com/google/api/services/merchantapi/promotions_v1/model/Attributes.java
+156Lines changed: 156 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,25 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
51
51
@com.google.api.client.util.Key
52
52
privatejava.lang.StringcouponValueType;
53
53
54
+
/**
55
+
* Optional. The custom redemption restriction for the promotion. If the `redemption_restriction`
56
+
* field is set to `CUSTOM`, this field must be set.
0 commit comments