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: commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java
+12-12
Original file line number
Diff line number
Diff line change
@@ -69,26 +69,26 @@ public interface StandalonePriceImport extends ImportResource {
69
69
publicTypedMoneygetValue();
70
70
71
71
/**
72
-
* <p>Sets the country for which this Price is valid.</p>
73
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
72
+
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
73
+
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
74
74
* @return country
75
75
*/
76
76
77
77
@JsonProperty("country")
78
78
publicStringgetCountry();
79
79
80
80
/**
81
-
* <p>Sets the CustomerGroup for which this Price is valid.</p>
82
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
81
+
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
82
+
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java
+20-20
Original file line number
Diff line number
Diff line change
@@ -102,8 +102,8 @@ public StandalonePriceImportBuilder value(
102
102
}
103
103
104
104
/**
105
-
* <p>Sets the country for which this Price is valid.</p>
106
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
105
+
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
106
+
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
107
107
* @param country value to be set
108
108
* @return Builder
109
109
*/
@@ -114,8 +114,8 @@ public StandalonePriceImportBuilder country(@Nullable final String country) {
114
114
}
115
115
116
116
/**
117
-
* <p>Sets the CustomerGroup for which this Price is valid.</p>
118
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
117
+
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
118
+
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
119
119
* @param builder function to build the customerGroup value
120
120
* @return Builder
121
121
*/
@@ -129,8 +129,8 @@ public StandalonePriceImportBuilder customerGroup(
129
129
}
130
130
131
131
/**
132
-
* <p>Sets the CustomerGroup for which this Price is valid.</p>
133
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
132
+
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
133
+
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
134
134
* @param builder function to build the customerGroup value
135
135
* @return Builder
136
136
*/
@@ -143,8 +143,8 @@ public StandalonePriceImportBuilder withCustomerGroup(
143
143
}
144
144
145
145
/**
146
-
* <p>Sets the CustomerGroup for which this Price is valid.</p>
147
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
146
+
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
147
+
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
148
148
* @param customerGroup value to be set
149
149
* @return Builder
150
150
*/
@@ -156,8 +156,8 @@ public StandalonePriceImportBuilder customerGroup(
156
156
}
157
157
158
158
/**
159
-
* <p>Sets the product distribution Channel for which this Price is valid.</p>
160
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
159
+
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
160
+
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
161
161
* @param builder function to build the channel value
162
162
* @return Builder
163
163
*/
@@ -169,8 +169,8 @@ public StandalonePriceImportBuilder channel(
169
169
}
170
170
171
171
/**
172
-
* <p>Sets the product distribution Channel for which this Price is valid.</p>
173
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
172
+
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
173
+
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
174
174
* @param builder function to build the channel value
175
175
* @return Builder
176
176
*/
@@ -182,8 +182,8 @@ public StandalonePriceImportBuilder withChannel(
182
182
}
183
183
184
184
/**
185
-
* <p>Sets the product distribution Channel for which this Price is valid.</p>
186
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
185
+
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
186
+
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
187
187
* @param channel value to be set
188
188
* @return Builder
189
189
*/
@@ -405,8 +405,8 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() {
405
405
}
406
406
407
407
/**
408
-
* <p>Sets the country for which this Price is valid.</p>
409
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
408
+
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
409
+
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
410
410
* @return country
411
411
*/
412
412
@@ -416,8 +416,8 @@ public String getCountry() {
416
416
}
417
417
418
418
/**
419
-
* <p>Sets the CustomerGroup for which this Price is valid.</p>
420
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
419
+
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
420
+
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
421
421
* @return customerGroup
422
422
*/
423
423
@@ -427,8 +427,8 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu
427
427
}
428
428
429
429
/**
430
-
* <p>Sets the product distribution Channel for which this Price is valid.</p>
431
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
430
+
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
431
+
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java
+6-6
Original file line number
Diff line number
Diff line change
@@ -102,26 +102,26 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() {
102
102
}
103
103
104
104
/**
105
-
* <p>Sets the country for which this Price is valid.</p>
106
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
105
+
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
106
+
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
107
107
*/
108
108
109
109
publicStringgetCountry() {
110
110
returnthis.country;
111
111
}
112
112
113
113
/**
114
-
* <p>Sets the CustomerGroup for which this Price is valid.</p>
115
-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
114
+
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
115
+
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
0 commit comments