Skip to content

Commit

Permalink
Merge pull request #729 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Sep 18, 2024
2 parents d4de1b6 + ea0b1cd commit cbbde56
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
import jakarta.validation.Valid;

/**
* <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>
* <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>
* <p>Produces the StandalonePriceExternalDiscountSet Message.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand All @@ -38,6 +39,7 @@ public interface StandalonePriceSetDiscountedPriceAction extends StandalonePrice

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class StandalonePriceSetDiscountedPriceActionBuilder

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

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
import org.apache.commons.lang3.builder.ToStringStyle;

/**
* <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>
* <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>
* <p>Produces the StandalonePriceExternalDiscountSet Message.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class StandalonePriceSetDiscountedPriceActionImpl implements StandalonePriceSetDiscountedPriceAction, ModelBase {
Expand Down Expand Up @@ -53,6 +54,7 @@ public String getAction() {

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

public com.commercetools.api.models.common.DiscountedPriceDraft getDiscounted() {
Expand Down
1 change: 1 addition & 0 deletions reference.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6d3821f57817bc18e976047893efd44536c9fa9c
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,4 @@ fa091aad2bce74e0d07ee69a886f4cd9ae02e05d
ce56ab7c65a688f75d5cd4095378d6647c6bd9ae
4b2ade81b4e216628dd4a26448cd1c838f5a85b1
0065cdd802adcbf53195095773ccc5a2becca69e
ce2753aafee0b1d96970abb600b606748ce40568

0 comments on commit cbbde56

Please sign in to comment.