Skip to content

Commit 02ad396

Browse files
committed
build(codegen): updating SDK
1 parent 399b29d commit 02ad396

File tree

9 files changed

+21
-12
lines changed

9 files changed

+21
-12
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishAction.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515
/**
1616
* <p>Removes the current projection of the Product. The staged projection is unaffected. To retrieve unpublished Products, the <code>staged</code> parameter must be set to <code>false</code> when querying/searching Product Projections. Produces the ProductUnpublished Message.</p>
17-
* <p>Unpublished Products cannot be added to a Cart. However, if a Cart contains Line Items for Products that were added before the Product was unpublished, the Cart is unaffected and can still be used to create an Order. To prevent this, in addition to unpublishing the Product you should remove the Prices from the Product using Remove Price for Embedded Prices or Delete StandalonePrice for Standalone Prices.</p>
17+
* <p>When a Product is unpublished, any associated Line Items already present in a Cart remain unaffected and can still be ordered. To prevent this, do the following:</p>
18+
* <ul>
19+
* <li>If the Product uses Embedded Prices, remove the Embedded Prices from the unpublished Product.</li>
20+
* <li>If the Product uses Standalone Prices, inactivate or delete the Standalone Prices.</li>
21+
* </ul>
1822
*
1923
* <hr>
2024
* Example to create an instance using the builder pattern

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishActionImpl.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717

1818
/**
1919
* <p>Removes the current projection of the Product. The staged projection is unaffected. To retrieve unpublished Products, the <code>staged</code> parameter must be set to <code>false</code> when querying/searching Product Projections. Produces the ProductUnpublished Message.</p>
20-
* <p>Unpublished Products cannot be added to a Cart. However, if a Cart contains Line Items for Products that were added before the Product was unpublished, the Cart is unaffected and can still be used to create an Order. To prevent this, in addition to unpublishing the Product you should remove the Prices from the Product using Remove Price for Embedded Prices or Delete StandalonePrice for Standalone Prices.</p>
20+
* <p>When a Product is unpublished, any associated Line Items already present in a Cart remain unaffected and can still be ordered. To prevent this, do the following:</p>
21+
* <ul>
22+
* <li>If the Product uses Embedded Prices, remove the Embedded Prices from the unpublished Product.</li>
23+
* <li>If the Product uses Standalone Prices, inactivate or delete the Standalone Prices.</li>
24+
* </ul>
2125
*/
2226
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2327
public class ProductUnpublishActionImpl implements ProductUnpublishAction, ModelBase {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePrice.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public interface StandalonePrice
200200
public StagedStandalonePrice getStaged();
201201

202202
/**
203-
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection.</p>
203+
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection and any associated Line Items in a Cart cannot be ordered.</p>
204204
* @return active
205205
*/
206206
@NotNull
@@ -344,7 +344,7 @@ public interface StandalonePrice
344344
public void setStaged(final StagedStandalonePrice staged);
345345

346346
/**
347-
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection.</p>
347+
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection and any associated Line Items in a Cart cannot be ordered.</p>
348348
* @param active value to be set
349349
*/
350350

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ public StandalonePriceBuilder staged(
551551
}
552552

553553
/**
554-
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection.</p>
554+
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection and any associated Line Items in a Cart cannot be ordered.</p>
555555
* @param active value to be set
556556
* @return Builder
557557
*/
@@ -737,7 +737,7 @@ public com.commercetools.api.models.standalone_price.StagedStandalonePrice getSt
737737
}
738738

739739
/**
740-
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection.</p>
740+
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection and any associated Line Items in a Cart cannot be ordered.</p>
741741
* @return active
742742
*/
743743

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public interface StandalonePriceDraft extends com.commercetools.api.models.Custo
141141
public StagedPriceDraft getStaged();
142142

143143
/**
144-
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Prodct price selection.</p>
144+
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Product price selection.</p>
145145
* @return active
146146
*/
147147

@@ -243,7 +243,7 @@ public interface StandalonePriceDraft extends com.commercetools.api.models.Custo
243243
public void setStaged(final StagedPriceDraft staged);
244244

245245
/**
246-
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Prodct price selection.</p>
246+
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Product price selection.</p>
247247
* @param active value to be set
248248
*/
249249

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ public StandalonePriceDraftBuilder staged(
433433
}
434434

435435
/**
436-
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Prodct price selection.</p>
436+
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Product price selection.</p>
437437
* @param active value to be set
438438
* @return Builder
439439
*/
@@ -563,7 +563,7 @@ public com.commercetools.api.models.standalone_price.StagedPriceDraft getStaged(
563563
}
564564

565565
/**
566-
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Prodct price selection.</p>
566+
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Product price selection.</p>
567567
* @return active
568568
*/
569569

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public com.commercetools.api.models.standalone_price.StagedPriceDraft getStaged(
183183
}
184184

185185
/**
186-
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Prodct price selection.</p>
186+
* <p>Set to <code>false</code>, if the StandalonePrice should not be considered during Product price selection.</p>
187187
*/
188188

189189
public Boolean getActive() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public com.commercetools.api.models.standalone_price.StagedStandalonePrice getSt
254254
}
255255

256256
/**
257-
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection.</p>
257+
* <p>If set to <code>true</code>, the StandalonePrice is considered during Product price selection. If set to <code>false</code>, the StandalonePrice is not considered during Product price selection and any associated Line Items in a Cart cannot be ordered.</p>
258258
*/
259259

260260
public Boolean getActive() {

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,4 @@ d83eac0dbaa727c9b21149b44a8635d81e9c183b
258258
e823fd2dd5228a125ad014c7733fb2e33269c734
259259
a1588f9bea129df23185d9d40c70ea96ef1d8b6e
260260
22b0c33fd2ee028ad43204b74430f87a970d6dfa
261+
67d3b7a0760d16b674ecd7c8b805e897e6320171

0 commit comments

Comments
 (0)