Skip to content

Commit 5d67683

Browse files
committed
build(codegen): updating SDK
1 parent 4f77f98 commit 5d67683

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPrice.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public interface DiscountedLineItemPrice {
3737

3838
/**
3939
* <p>Money value of the discounted Line Item or Custom Line Item.</p>
40+
* <p>When multiple discounts from <code>includedDiscounts</code> apply, they are applied sequentially based on the <code>sortOrder</code> of their associated <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> (discounts with higher <code>sortOrder</code> values are applied first). The Cart's <code>priceRoundingMode</code> field (<a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">RoundingMode</a>) is applied after each discount calculation, so rounding occurs after each discount step rather than only once on the final cumulative amount.</p>
4041
* @return value
4142
*/
4243
@NotNull
@@ -55,6 +56,7 @@ public interface DiscountedLineItemPrice {
5556

5657
/**
5758
* <p>Money value of the discounted Line Item or Custom Line Item.</p>
59+
* <p>When multiple discounts from <code>includedDiscounts</code> apply, they are applied sequentially based on the <code>sortOrder</code> of their associated <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> (discounts with higher <code>sortOrder</code> values are applied first). The Cart's <code>priceRoundingMode</code> field (<a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">RoundingMode</a>) is applied after each discount calculation, so rounding occurs after each discount step rather than only once on the final cumulative amount.</p>
5860
* @param value value to be set
5961
*/
6062

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceBuilder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class DiscountedLineItemPriceBuilder implements Builder<DiscountedLineIte
2929

3030
/**
3131
* <p>Money value of the discounted Line Item or Custom Line Item.</p>
32+
* <p>When multiple discounts from <code>includedDiscounts</code> apply, they are applied sequentially based on the <code>sortOrder</code> of their associated <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> (discounts with higher <code>sortOrder</code> values are applied first). The Cart's <code>priceRoundingMode</code> field (<a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">RoundingMode</a>) is applied after each discount calculation, so rounding occurs after each discount step rather than only once on the final cumulative amount.</p>
3233
* @param value value to be set
3334
* @return Builder
3435
*/
@@ -40,6 +41,7 @@ public DiscountedLineItemPriceBuilder value(final com.commercetools.api.models.c
4041

4142
/**
4243
* <p>Money value of the discounted Line Item or Custom Line Item.</p>
44+
* <p>When multiple discounts from <code>includedDiscounts</code> apply, they are applied sequentially based on the <code>sortOrder</code> of their associated <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> (discounts with higher <code>sortOrder</code> values are applied first). The Cart's <code>priceRoundingMode</code> field (<a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">RoundingMode</a>) is applied after each discount calculation, so rounding occurs after each discount step rather than only once on the final cumulative amount.</p>
4345
* @param builder function to build the value value
4446
* @return Builder
4547
*/
@@ -145,6 +147,7 @@ public DiscountedLineItemPriceBuilder setIncludedDiscounts(
145147

146148
/**
147149
* <p>Money value of the discounted Line Item or Custom Line Item.</p>
150+
* <p>When multiple discounts from <code>includedDiscounts</code> apply, they are applied sequentially based on the <code>sortOrder</code> of their associated <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> (discounts with higher <code>sortOrder</code> values are applied first). The Cart's <code>priceRoundingMode</code> field (<a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">RoundingMode</a>) is applied after each discount calculation, so rounding occurs after each discount step rather than only once on the final cumulative amount.</p>
148151
* @return value
149152
*/
150153

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceForQuantity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public interface DiscountedLineItemPriceForQuantity {
4343

4444
/**
4545
* <p>Discounted price of the Line Item or Custom Line Item.</p>
46+
* <p>When multiple <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> apply to the same Line Item, the discounts are applied sequentially in the order determined by their <code>sortOrder</code> values (higher values are applied first). The <a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">price rounding mode</a> specified by the Cart's <code>priceRoundingMode</code> field is applied after each individual discount is calculated, not after all discounts have been applied cumulatively. This means that rounding occurs at each step of the discount calculation process.</p>
4647
* @return discountedPrice
4748
*/
4849
@NotNull
@@ -59,6 +60,7 @@ public interface DiscountedLineItemPriceForQuantity {
5960

6061
/**
6162
* <p>Discounted price of the Line Item or Custom Line Item.</p>
63+
* <p>When multiple <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> apply to the same Line Item, the discounts are applied sequentially in the order determined by their <code>sortOrder</code> values (higher values are applied first). The <a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">price rounding mode</a> specified by the Cart's <code>priceRoundingMode</code> field is applied after each individual discount is calculated, not after all discounts have been applied cumulatively. This means that rounding occurs at each step of the discount calculation process.</p>
6264
* @param discountedPrice value to be set
6365
*/
6466

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceForQuantityBuilder.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public DiscountedLineItemPriceForQuantityBuilder quantity(final Long quantity) {
4040

4141
/**
4242
* <p>Discounted price of the Line Item or Custom Line Item.</p>
43+
* <p>When multiple <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> apply to the same Line Item, the discounts are applied sequentially in the order determined by their <code>sortOrder</code> values (higher values are applied first). The <a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">price rounding mode</a> specified by the Cart's <code>priceRoundingMode</code> field is applied after each individual discount is calculated, not after all discounts have been applied cumulatively. This means that rounding occurs at each step of the discount calculation process.</p>
4344
* @param builder function to build the discountedPrice value
4445
* @return Builder
4546
*/
@@ -53,6 +54,7 @@ public DiscountedLineItemPriceForQuantityBuilder discountedPrice(
5354

5455
/**
5556
* <p>Discounted price of the Line Item or Custom Line Item.</p>
57+
* <p>When multiple <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> apply to the same Line Item, the discounts are applied sequentially in the order determined by their <code>sortOrder</code> values (higher values are applied first). The <a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">price rounding mode</a> specified by the Cart's <code>priceRoundingMode</code> field is applied after each individual discount is calculated, not after all discounts have been applied cumulatively. This means that rounding occurs at each step of the discount calculation process.</p>
5658
* @param builder function to build the discountedPrice value
5759
* @return Builder
5860
*/
@@ -65,6 +67,7 @@ public DiscountedLineItemPriceForQuantityBuilder withDiscountedPrice(
6567

6668
/**
6769
* <p>Discounted price of the Line Item or Custom Line Item.</p>
70+
* <p>When multiple <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> apply to the same Line Item, the discounts are applied sequentially in the order determined by their <code>sortOrder</code> values (higher values are applied first). The <a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">price rounding mode</a> specified by the Cart's <code>priceRoundingMode</code> field is applied after each individual discount is calculated, not after all discounts have been applied cumulatively. This means that rounding occurs at each step of the discount calculation process.</p>
6871
* @param discountedPrice value to be set
6972
* @return Builder
7073
*/
@@ -86,6 +89,7 @@ public Long getQuantity() {
8689

8790
/**
8891
* <p>Discounted price of the Line Item or Custom Line Item.</p>
92+
* <p>When multiple <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> apply to the same Line Item, the discounts are applied sequentially in the order determined by their <code>sortOrder</code> values (higher values are applied first). The <a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">price rounding mode</a> specified by the Cart's <code>priceRoundingMode</code> field is applied after each individual discount is calculated, not after all discounts have been applied cumulatively. This means that rounding occurs at each step of the discount calculation process.</p>
8993
* @return discountedPrice
9094
*/
9195

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceForQuantityImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public Long getQuantity() {
5252

5353
/**
5454
* <p>Discounted price of the Line Item or Custom Line Item.</p>
55+
* <p>When multiple <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> apply to the same Line Item, the discounts are applied sequentially in the order determined by their <code>sortOrder</code> values (higher values are applied first). The <a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">price rounding mode</a> specified by the Cart's <code>priceRoundingMode</code> field is applied after each individual discount is calculated, not after all discounts have been applied cumulatively. This means that rounding occurs at each step of the discount calculation process.</p>
5556
*/
5657

5758
public com.commercetools.api.models.cart.DiscountedLineItemPrice getDiscountedPrice() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public DiscountedLineItemPriceImpl() {
4444

4545
/**
4646
* <p>Money value of the discounted Line Item or Custom Line Item.</p>
47+
* <p>When multiple discounts from <code>includedDiscounts</code> apply, they are applied sequentially based on the <code>sortOrder</code> of their associated <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscount" rel="nofollow">Cart Discounts</a> (discounts with higher <code>sortOrder</code> values are applied first). The Cart's <code>priceRoundingMode</code> field (<a href="https://docs.commercetools.com/apis/ctp:api:type:RoundingMode" rel="nofollow">RoundingMode</a>) is applied after each discount calculation, so rounding occurs after each discount step rather than only once on the final cumulative amount.</p>
4748
*/
4849

4950
public com.commercetools.api.models.common.TypedMoney getValue() {

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,3 +536,4 @@ d90411c7dae76245a17c90707bfd18b735f04a9c
536536
1119815b3a93e1f6fa3894492e10cbb57f93a3d7
537537
a1e8798ca33fe3c7621ab83ff12ca20f269c406d
538538
d3b8e01b6233c9a25fa53d3a8a50a8e1721e664c
539+
d71139f421f6ec0343438bef335b6826feaa86e7

0 commit comments

Comments
 (0)