Skip to content

Commit 8128e68

Browse files
Merge pull request #770 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 6bffe16 + fb76f56 commit 8128e68

File tree

4 files changed

+39
-38
lines changed

4 files changed

+39
-38
lines changed

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java

+12-12
Original file line numberDiff line numberDiff line change
@@ -69,26 +69,26 @@ public interface StandalonePriceImport extends ImportResource {
6969
public TypedMoney getValue();
7070

7171
/**
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>
7474
* @return country
7575
*/
7676

7777
@JsonProperty("country")
7878
public String getCountry();
7979

8080
/**
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>
8383
* @return customerGroup
8484
*/
8585
@Valid
8686
@JsonProperty("customerGroup")
8787
public CustomerGroupKeyReference getCustomerGroup();
8888

8989
/**
90-
* <p>Sets the product distribution Channel for which this Price is valid.</p>
91-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
90+
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
91+
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
9292
* @return channel
9393
*/
9494
@Valid
@@ -157,24 +157,24 @@ public interface StandalonePriceImport extends ImportResource {
157157
public void setValue(final TypedMoney value);
158158

159159
/**
160-
* <p>Sets the country for which this Price is valid.</p>
161-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
160+
* <p>Sets the country for this Price, if the Price does not yet have a country.</p>
161+
* <p>The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.</p>
162162
* @param country value to be set
163163
*/
164164

165165
public void setCountry(final String country);
166166

167167
/**
168-
* <p>Sets the CustomerGroup for which this Price is valid.</p>
169-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
168+
* <p>Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.</p>
169+
* <p>The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.</p>
170170
* @param customerGroup value to be set
171171
*/
172172

173173
public void setCustomerGroup(final CustomerGroupKeyReference customerGroup);
174174

175175
/**
176-
* <p>Sets the product distribution Channel for which this Price is valid.</p>
177-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
176+
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
177+
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
178178
* @param channel value to be set
179179
*/
180180

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java

+20-20
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ public StandalonePriceImportBuilder value(
102102
}
103103

104104
/**
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>
107107
* @param country value to be set
108108
* @return Builder
109109
*/
@@ -114,8 +114,8 @@ public StandalonePriceImportBuilder country(@Nullable final String country) {
114114
}
115115

116116
/**
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>
119119
* @param builder function to build the customerGroup value
120120
* @return Builder
121121
*/
@@ -129,8 +129,8 @@ public StandalonePriceImportBuilder customerGroup(
129129
}
130130

131131
/**
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>
134134
* @param builder function to build the customerGroup value
135135
* @return Builder
136136
*/
@@ -143,8 +143,8 @@ public StandalonePriceImportBuilder withCustomerGroup(
143143
}
144144

145145
/**
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>
148148
* @param customerGroup value to be set
149149
* @return Builder
150150
*/
@@ -156,8 +156,8 @@ public StandalonePriceImportBuilder customerGroup(
156156
}
157157

158158
/**
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>
161161
* @param builder function to build the channel value
162162
* @return Builder
163163
*/
@@ -169,8 +169,8 @@ public StandalonePriceImportBuilder channel(
169169
}
170170

171171
/**
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>
174174
* @param builder function to build the channel value
175175
* @return Builder
176176
*/
@@ -182,8 +182,8 @@ public StandalonePriceImportBuilder withChannel(
182182
}
183183

184184
/**
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>
187187
* @param channel value to be set
188188
* @return Builder
189189
*/
@@ -405,8 +405,8 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() {
405405
}
406406

407407
/**
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>
410410
* @return country
411411
*/
412412

@@ -416,8 +416,8 @@ public String getCountry() {
416416
}
417417

418418
/**
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>
421421
* @return customerGroup
422422
*/
423423

@@ -427,8 +427,8 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu
427427
}
428428

429429
/**
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>
432432
* @return channel
433433
*/
434434

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -102,26 +102,26 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() {
102102
}
103103

104104
/**
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>
107107
*/
108108

109109
public String getCountry() {
110110
return this.country;
111111
}
112112

113113
/**
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>
116116
*/
117117

118118
public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() {
119119
return this.customerGroup;
120120
}
121121

122122
/**
123-
* <p>Sets the product distribution Channel for which this Price is valid.</p>
124-
* <p>The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.</p>
123+
* <p>Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.</p>
124+
* <p>The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.</p>
125125
*/
126126

127127
public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() {

references.txt

+1
Original file line numberDiff line numberDiff line change
@@ -337,3 +337,4 @@ b747e1fa4f246b748a89bccbfd8a43f5b6f51175
337337
505b3af56b4452b22dfb595f93e010b3e2fccc53
338338
7375cdc26481ba55e756479a87270432635bfcf7
339339
df53588d26d7953dfdf44166866ca03045f0a70b
340+
6b69c5425fe16564147deb9b1d6a9a1078dc5330

0 commit comments

Comments
 (0)