Skip to content

Commit f0a40d3

Browse files
committed
build(codegen): updating SDK
1 parent e36bf56 commit f0a40d3

9 files changed

+53
-16
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsReplicatePost.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,18 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Creates a new Cart by replicating an existing Cart or Order. Can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.</p>
20-
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
21-
* <p>The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
19+
* <p>Creates a new Cart by replicating an existing Cart or Order.</p>
20+
* <p>The following applies to the new Cart:</p>
21+
* <ul>
22+
* <li>It contains the same Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the originating Cart or Order.</li>
23+
* <li>If a Line Item becomes invalid, it is removed from the new Cart. A common reason for this is removed Products or Prices.</li>
24+
* <li>Line items and Custom Line Items are reset to their initial state.</li>
25+
* <li>It contains no payments or delivery information.</li>
26+
* <li>It contains up-to-date Tax Rates, Prices, and Line Item product data.</li>
27+
* <li>The CartState is <code>Active</code>.</li>
28+
* <li>If using the <code>customerGroup</code> field (for a single Customer Group) and the referenced Customer switched to another Customer Group, the new Cart is automatically updated to reflect the new group and corresponding prices.</li>
29+
* <li>If using the <code>customerGroupAssignments</code> field (for multiple Customer Groups), the Cart no longer keeps a direct reference to a Customer Group. If a Customer’s group assignments change, the Cart and its Line Item prices are not updated automatically. Prices are only updated when the Cart is changed via a direct update action.</li>
30+
* </ul>
2231
* <p>Specific Error Codes:</p>
2332
* <ul>
2433
* <li>MatchingPriceNotFound</li>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsReplicatePostString.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,18 @@
1717
import org.apache.commons.lang3.builder.HashCodeBuilder;
1818

1919
/**
20-
* <p>Creates a new Cart by replicating an existing Cart or Order. Can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.</p>
21-
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
22-
* <p>The new Cart does not contain Payments or Deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
20+
* <p>Creates a new Cart by replicating an existing Cart or Order.</p>
21+
* <p>The following applies to the new Cart:</p>
22+
* <ul>
23+
* <li>It contains the same Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the originating Cart or Order.</li>
24+
* <li>If a Line Item becomes invalid, it is removed from the new Cart. A common reason for this is removed Products or Prices.</li>
25+
* <li>Line items and Custom Line Items are reset to their initial state.</li>
26+
* <li>It contains no payments or delivery information.</li>
27+
* <li>It contains up-to-date Tax Rates, Prices, and Line Item product data.</li>
28+
* <li>The CartState is <code>Active</code>.</li>
29+
* <li>If using the <code>customerGroup</code> field (for a single Customer Group) and the referenced Customer switched to another Customer Group, the new Cart is automatically updated to reflect the new group and corresponding prices.</li>
30+
* <li>If using the <code>customerGroupAssignments</code> field (for multiple Customer Groups), the Cart no longer keeps a direct reference to a Customer Group. If a Customer’s group assignments change, the Cart and its Line Item prices are not updated automatically. Prices are only updated when the Cart is changed via a direct update action.</li>
31+
* </ul>
2332
* <p>Specific Error Codes:</p>
2433
* <ul>
2534
* <li>MatchingPriceNotFound</li>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsReplicatePost.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,18 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Creates a new Cart by replicating an existing Cart or Order. Can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.</p>
20-
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
21-
* <p>The new Cart does not contain payments or deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
19+
* <p>Creates a new Cart in a Store by replicating an existing Cart or Order.</p>
20+
* <p>The following applies to the new Cart:</p>
21+
* <ul>
22+
* <li>It contains the same Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the originating Cart or Order.</li>
23+
* <li>If a Line Item becomes invalid, it is removed from the new Cart. A common reason for this is removed Products or Prices.</li>
24+
* <li>Line items and Custom Line Items are reset to their initial state.</li>
25+
* <li>It contains no payments or delivery information.</li>
26+
* <li>It contains up-to-date Tax Rates, Prices, and Line Item product data.</li>
27+
* <li>The CartState is <code>Active</code>.</li>
28+
* <li>If using the <code>customerGroup</code> field (for a single Customer Group) and the referenced Customer switched to another Customer Group, the new Cart is automatically updated to reflect the new group and corresponding prices.</li>
29+
* <li>If using the <code>customerGroupAssignments</code> field (for multiple Customer Groups), the Cart no longer keeps a direct reference to a Customer Group. If a Customer’s group assignments change, the Cart and its Line Item prices are not updated automatically. Prices are only updated when the Cart is changed via a direct update action.</li>
30+
* </ul>
2231
* <p>Specific Error Codes:</p>
2332
* <ul>
2433
* <li>MatchingPriceNotFound</li>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsReplicatePostString.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,18 @@
1717
import org.apache.commons.lang3.builder.HashCodeBuilder;
1818

1919
/**
20-
* <p>Creates a new Cart by replicating an existing Cart or Order. Can be useful in cases where a customer wants to cancel a recent order to make some changes or reorder a previous order.</p>
21-
* <p>The replicated Cart preserves Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the Cart or Order. If the Line Items become invalid, for example, due to removed Products or Prices, they are removed from the new Cart. If the Customer switches to another Customer Group, the new Cart is updated with the new value. It has up-to-date Tax Rates, Prices, and Line Item product data and is in <code>Active</code> CartState.</p>
22-
* <p>The new Cart does not contain payments or deliveries. The State of Line Items and Custom Line Items is reset to <code>initial</code>.</p>
20+
* <p>Creates a new Cart in a Store by replicating an existing Cart or Order.</p>
21+
* <p>The following applies to the new Cart:</p>
22+
* <ul>
23+
* <li>It contains the same Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the originating Cart or Order.</li>
24+
* <li>If a Line Item becomes invalid, it is removed from the new Cart. A common reason for this is removed Products or Prices.</li>
25+
* <li>Line items and Custom Line Items are reset to their initial state.</li>
26+
* <li>It contains no payments or delivery information.</li>
27+
* <li>It contains up-to-date Tax Rates, Prices, and Line Item product data.</li>
28+
* <li>The CartState is <code>Active</code>.</li>
29+
* <li>If using the <code>customerGroup</code> field (for a single Customer Group) and the referenced Customer switched to another Customer Group, the new Cart is automatically updated to reflect the new group and corresponding prices.</li>
30+
* <li>If using the <code>customerGroupAssignments</code> field (for multiple Customer Groups), the Cart no longer keeps a direct reference to a Customer Group. If a Customer’s group assignments change, the Cart and its Line Item prices are not updated automatically. Prices are only updated when the Cart is changed via a direct update action.</li>
31+
* </ul>
2332
* <p>Specific Error Codes:</p>
2433
* <ul>
2534
* <li>MatchingPriceNotFound</li>

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

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

1818
/**
19-
* <p>Performing this action has no impact on inventory that should be reserved.</p>
19+
* <p>Performing this action does not reserve stock. Stock is only reserved at Order creation if the InventoryMode of the Cart is <code>TrackOnly</code> or <code>ReserveOnOrder</code>.</p>
2020
*
2121
* <hr>
2222
* Example to create an instance using the builder pattern

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemSupplyChannelActionImpl.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>Performing this action has no impact on inventory that should be reserved.</p>
20+
* <p>Performing this action does not reserve stock. Stock is only reserved at Order creation if the InventoryMode of the Cart is <code>TrackOnly</code> or <code>ReserveOnOrder</code>.</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class CartSetLineItemSupplyChannelActionImpl implements CartSetLineItemSupplyChannelAction, ModelBase {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemSupplyChannelAction.java

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

1818
/**
19-
* <p>Performing this action has no impact on inventory that should be reserved.</p>
19+
* <p>Performing this action does not reserve stock. Stock is only reserved at Order creation if the InventoryMode of the Cart is <code>TrackOnly</code> or <code>ReserveOnOrder</code>.</p>
2020
*
2121
* <hr>
2222
* Example to create an instance using the builder pattern

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemSupplyChannelActionImpl.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>Performing this action has no impact on inventory that should be reserved.</p>
20+
* <p>Performing this action does not reserve stock. Stock is only reserved at Order creation if the InventoryMode of the Cart is <code>TrackOnly</code> or <code>ReserveOnOrder</code>.</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class MyCartSetLineItemSupplyChannelActionImpl implements MyCartSetLineItemSupplyChannelAction, ModelBase {

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,3 +423,4 @@ f94e106041ca73ddf1379a3450017c042ea2a170
423423
b6f85c31ff715e0814a996a7d64089bec3c721eb
424424
dad479066925f91fc733f038afb66c7919409a4c
425425
9cd3688bae17a610f6653fd5eccebe50937548c7
426+
9fb33bf8c33760d7d6d74e7b6e9ed233d1a83e24

0 commit comments

Comments
 (0)