Skip to content

Commit ea0b1cd

Browse files
committed
build(codegen): updating SDK
1 parent d4de1b6 commit ea0b1cd

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
import jakarta.validation.Valid;
1717

1818
/**
19-
* <p>Discounts a Standalone Price. The referenced ProductDiscount in the discounted field must be of type external, active, and its predicate must match the referenced Price. Produces the StandalonePriceExternalDiscountSet Message.</p>
19+
* <p>Discounts a Standalone Price of a Product Variant on a published Product. If the Product Variant does not exist or if it exists only in the staged representation of a Product, an InvalidOperationError error is returned.</p>
20+
* <p>Produces the StandalonePriceExternalDiscountSet Message.</p>
2021
*
2122
* <hr>
2223
* Example to create an instance using the builder pattern
@@ -38,6 +39,7 @@ public interface StandalonePriceSetDiscountedPriceAction extends StandalonePrice
3839

3940
/**
4041
* <p>Value to set. If empty, any existing value will be removed.</p>
42+
* <p>The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.</p>
4143
* @return discounted
4244
*/
4345
@Valid
@@ -46,6 +48,7 @@ public interface StandalonePriceSetDiscountedPriceAction extends StandalonePrice
4648

4749
/**
4850
* <p>Value to set. If empty, any existing value will be removed.</p>
51+
* <p>The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.</p>
4952
* @param discounted value to be set
5053
*/
5154

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class StandalonePriceSetDiscountedPriceActionBuilder
2929

3030
/**
3131
* <p>Value to set. If empty, any existing value will be removed.</p>
32+
* <p>The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.</p>
3233
* @param builder function to build the discounted value
3334
* @return Builder
3435
*/
@@ -41,6 +42,7 @@ public StandalonePriceSetDiscountedPriceActionBuilder discounted(
4142

4243
/**
4344
* <p>Value to set. If empty, any existing value will be removed.</p>
45+
* <p>The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.</p>
4446
* @param builder function to build the discounted value
4547
* @return Builder
4648
*/
@@ -53,6 +55,7 @@ public StandalonePriceSetDiscountedPriceActionBuilder withDiscounted(
5355

5456
/**
5557
* <p>Value to set. If empty, any existing value will be removed.</p>
58+
* <p>The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.</p>
5659
* @param discounted value to be set
5760
* @return Builder
5861
*/
@@ -65,6 +68,7 @@ public StandalonePriceSetDiscountedPriceActionBuilder discounted(
6568

6669
/**
6770
* <p>Value to set. If empty, any existing value will be removed.</p>
71+
* <p>The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.</p>
6872
* @return discounted
6973
*/
7074

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
import org.apache.commons.lang3.builder.ToStringStyle;
1818

1919
/**
20-
* <p>Discounts a Standalone Price. The referenced ProductDiscount in the discounted field must be of type external, active, and its predicate must match the referenced Price. Produces the StandalonePriceExternalDiscountSet Message.</p>
20+
* <p>Discounts a Standalone Price of a Product Variant on a published Product. If the Product Variant does not exist or if it exists only in the staged representation of a Product, an InvalidOperationError error is returned.</p>
21+
* <p>Produces the StandalonePriceExternalDiscountSet Message.</p>
2122
*/
2223
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2324
public class StandalonePriceSetDiscountedPriceActionImpl implements StandalonePriceSetDiscountedPriceAction, ModelBase {
@@ -53,6 +54,7 @@ public String getAction() {
5354

5455
/**
5556
* <p>Value to set. If empty, any existing value will be removed.</p>
57+
* <p>The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.</p>
5658
*/
5759

5860
public com.commercetools.api.models.common.DiscountedPriceDraft getDiscounted() {

reference.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6d3821f57817bc18e976047893efd44536c9fa9c

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,3 +304,4 @@ fa091aad2bce74e0d07ee69a886f4cd9ae02e05d
304304
ce56ab7c65a688f75d5cd4095378d6647c6bd9ae
305305
4b2ade81b4e216628dd4a26448cd1c838f5a85b1
306306
0065cdd802adcbf53195095773ccc5a2becca69e
307+
ce2753aafee0b1d96970abb600b606748ce40568

0 commit comments

Comments
 (0)