Skip to content

Commit 8d33089

Browse files
committed
Update javadoc
1 parent 45b20c1 commit 8d33089

1,137 files changed

Lines changed: 278883 additions & 27288 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

javadoc/allclasses-index.html

Lines changed: 10159 additions & 7654 deletions
Large diffs are not rendered by default.

javadoc/allpackages-index.html

Lines changed: 56 additions & 38 deletions
Large diffs are not rendered by default.

javadoc/com/commercetools/api/client/ByProjectKeyCartsReplicatePost.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,18 @@ <h1 title="Class ByProjectKeyCartsReplicatePost" class="title">Class ByProjectKe
8888
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">ByProjectKeyCartsReplicatePost</span>
8989
<span class="extends-implements">extends <a href="../../../../io/vrap/rmf/base/client/TypeBodyApiMethod.html" title="class in io.vrap.rmf.base.client">TypeBodyApiMethod</a>&lt;<a href="ByProjectKeyCartsReplicatePost.html" title="class in com.commercetools.api.client">ByProjectKeyCartsReplicatePost</a>,<wbr><a href="../models/cart/Cart.html" title="interface in com.commercetools.api.models.cart">Cart</a>,<wbr><a href="../models/cart/ReplicaCartDraft.html" title="interface in com.commercetools.api.models.cart">ReplicaCartDraft</a>&gt;
9090
implements <a href="ErrorableTrait.html" title="interface in com.commercetools.api.client">ErrorableTrait</a>&lt;<a href="ByProjectKeyCartsReplicatePost.html" title="class in com.commercetools.api.client">ByProjectKeyCartsReplicatePost</a>&gt;</span></div>
91-
<div class="block"><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>
92-
<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>
93-
<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>
91+
<div class="block"><p>Creates a new Cart by replicating an existing Cart or Order.</p>
92+
<p>The following applies to the new Cart:</p>
93+
<ul>
94+
<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>
95+
<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>
96+
<li>Line items and Custom Line Items are reset to their initial state.</li>
97+
<li>It contains no payments or delivery information.</li>
98+
<li>It contains up-to-date Tax Rates, Prices, and Line Item product data.</li>
99+
<li>The CartState is <code>Active</code>.</li>
100+
<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>
101+
<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>
102+
</ul>
94103
<p>Specific Error Codes:</p>
95104
<ul>
96105
<li>MatchingPriceNotFound</li>

javadoc/com/commercetools/api/client/ByProjectKeyCartsReplicatePostString.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,18 @@ <h1 title="Class ByProjectKeyCartsReplicatePostString" class="title">Class ByPro
9090
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">ByProjectKeyCartsReplicatePostString</span>
9191
<span class="extends-implements">extends <a href="../../../../io/vrap/rmf/base/client/StringBodyApiMethod.html" title="class in io.vrap.rmf.base.client">StringBodyApiMethod</a>&lt;<a href="ByProjectKeyCartsReplicatePostString.html" title="class in com.commercetools.api.client">ByProjectKeyCartsReplicatePostString</a>,<wbr><a href="../models/cart/Cart.html" title="interface in com.commercetools.api.models.cart">Cart</a>&gt;
9292
implements <a href="ErrorableTrait.html" title="interface in com.commercetools.api.client">ErrorableTrait</a>&lt;<a href="ByProjectKeyCartsReplicatePostString.html" title="class in com.commercetools.api.client">ByProjectKeyCartsReplicatePostString</a>&gt;</span></div>
93-
<div class="block"><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>
94-
<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>
95-
<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>
93+
<div class="block"><p>Creates a new Cart by replicating an existing Cart or Order.</p>
94+
<p>The following applies to the new Cart:</p>
95+
<ul>
96+
<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>
97+
<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>
98+
<li>Line items and Custom Line Items are reset to their initial state.</li>
99+
<li>It contains no payments or delivery information.</li>
100+
<li>It contains up-to-date Tax Rates, Prices, and Line Item product data.</li>
101+
<li>The CartState is <code>Active</code>.</li>
102+
<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>
103+
<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>
104+
</ul>
96105
<p>Specific Error Codes:</p>
97106
<ul>
98107
<li>MatchingPriceNotFound</li>

0 commit comments

Comments
 (0)