Skip to content

Commit 6746ea2

Browse files
committed
build(codegen): updating SDK
1 parent 136be4d commit 6746ea2

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import jakarta.validation.Valid;
1616

1717
/**
18-
* <p>Sets the <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItem" rel="nofollow">LineItem</a> <code>totalPrice</code> and <code>price</code>, and changes the <code>priceMode</code> to <code>ExternalTotal</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItemPriceMode" rel="nofollow">LineItemPriceMode</a>.</p>
18+
* <p>Sets the <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItem" rel="nofollow">LineItem</a> <code>totalPrice</code> and <code>price</code>, and changes the <code>priceMode</code> to <code>ExternalTotal</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItemPriceMode" rel="nofollow">LineItemPriceMode</a>. Cannot be used on Gift Line Items (see <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItemMode" rel="nofollow">LineItemMode</a>).</p>
1919
*
2020
* <hr>
2121
* Example to create an instance using the builder pattern

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

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

1919
/**
20-
* <p>Sets the <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItem" rel="nofollow">LineItem</a> <code>totalPrice</code> and <code>price</code>, and changes the <code>priceMode</code> to <code>ExternalTotal</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItemPriceMode" rel="nofollow">LineItemPriceMode</a>.</p>
20+
* <p>Sets the <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItem" rel="nofollow">LineItem</a> <code>totalPrice</code> and <code>price</code>, and changes the <code>priceMode</code> to <code>ExternalTotal</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItemPriceMode" rel="nofollow">LineItemPriceMode</a>. Cannot be used on Gift Line Items (see <a href="https://docs.commercetools.com/apis/ctp:api:type:LineItemMode" rel="nofollow">LineItemMode</a>).</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class CartSetLineItemTotalPriceActionImpl implements CartSetLineItemTotalPriceAction, ModelBase {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ public interface LineItemMode extends JsonEnum {
2121
LineItemMode STANDARD = LineItemModeEnum.STANDARD;
2222
/**
2323
<p>One Line Item was added automatically to a Cart by a Cart Discount with <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDiscountValueGiftLineItemDraft" rel="nofollow">CartDiscountValueGiftLineItemDraft</a>.</p>
24-
<p>The quantity cannot be <a href="https://docs.commercetools.com/apis/ctp:api:type:CartChangeLineItemQuantityAction" rel="nofollow">increased</a>, and it won't be merged when <a href="https://docs.commercetools.com/apis/ctp:api:type:CartAddLineItemAction" rel="nofollow">adding</a> the same Line Item to the Cart. If the gift is <a href="https://docs.commercetools.com/apis/ctp:api:type:CartRemoveLineItemAction" rel="nofollow">removed</a>, an entry is added to the <code>refusedGifts</code> array and the discount won't be applied to the Cart. The price cannot be changed <a href="https://docs.commercetools.com/apis/ctp:api:type:CartSetLineItemTotalPriceAction" rel="nofollow">externally</a>.</p>
24+
<p>The quantity cannot be <a href="https://docs.commercetools.com/apis/ctp:api:type:CartChangeLineItemQuantityAction" rel="nofollow">increased</a>, and it won't be merged when <a href="https://docs.commercetools.com/apis/ctp:api:type:CartAddLineItemAction" rel="nofollow">adding</a> the same Line Item to the Cart. If the gift is <a href="https://docs.commercetools.com/apis/ctp:api:type:CartRemoveLineItemAction" rel="nofollow">removed</a>, an entry is added to the <code>refusedGifts</code> array and the discount won't be applied to the Cart.</p>
25+
<p>The <code>totalPrice</code> is always <code>0</code> and cannot be changed externally via the <a href="https://docs.commercetools.com/apis/ctp:api:type:CartSetLineItemTotalPriceAction" rel="nofollow">setLineItemTotalPrice</a> action.</p>
2526
<p>All other updates, such as the ones related to Custom Fields, can be used.</p> */
2627
LineItemMode GIFT_LINE_ITEM = LineItemModeEnum.GIFT_LINE_ITEM;
2728

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,3 +476,4 @@ ea7ba668e4084d845f2f3871c239999f43613b28
476476
503a69044e9969bc058a116a7f7ecd4556c85258
477477
e5d97cd9fa03ef3c4fe45f051ad8a4a80e690656
478478
07aa50f3b215723c6a2719cdcf78d70a45c219e2
479+
85ec5b54fce964cd50dc254ed39d0ab1137076bc

0 commit comments

Comments
 (0)