You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsPost.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,13 @@
21
21
22
22
/**
23
23
* <p>Creates a Cart in the Project.</p>
24
-
* <p>If the referenced <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> in the <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDraft" rel="nofollow">CartDraft</a> has a predicate that does not match, or if the Shipping Method is not active, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
24
+
* <p>An <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
25
+
* <ol>
26
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
27
+
* <li>If the referenced Shipping Method is not active.</li>
28
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
29
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
30
+
* </ol>
25
31
* <p>When using <a href="https://docs.commercetools.com/apis/ctp:api:type:InventoryMode" rel="nofollow">InventoryMode</a> <code>ReserveOnCart</code>:</p>
26
32
* <ul>
27
33
* <li>If only some Line Items can be reserved, the Cart creation succeeds, however, the items that could not be reserved are removed and reservation warnings are returned in the response.</li>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsPostString.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,13 @@
22
22
23
23
/**
24
24
* <p>Creates a Cart in the Project.</p>
25
-
* <p>If the referenced <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> in the <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDraft" rel="nofollow">CartDraft</a> has a predicate that does not match, or if the Shipping Method is not active, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
25
+
* <p>An <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
26
+
* <ol>
27
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
28
+
* <li>If the referenced Shipping Method is not active.</li>
29
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
30
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
31
+
* </ol>
26
32
* <p>When using <a href="https://docs.commercetools.com/apis/ctp:api:type:InventoryMode" rel="nofollow">InventoryMode</a> <code>ReserveOnCart</code>:</p>
27
33
* <ul>
28
34
* <li>If only some Line Items can be reserved, the Cart creation succeeds, however, the items that could not be reserved are removed and reservation warnings are returned in the response.</li>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsPost.java
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,12 @@
21
21
22
22
/**
23
23
* <p>Creates a Cart in a <a href="https://docs.commercetools.com/apis/ctp:api:type:Store" rel="nofollow">Store</a>.</p>
24
-
* <p>If the referenced <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> in the <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDraft" rel="nofollow">CartDraft</a> has a predicate that does not match, or if the Shipping Method is not active, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
24
+
* <p>An <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
25
+
* <ol>
26
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
27
+
* <li>If the referenced Shipping Method is not active.</li>
28
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsPostString.java
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,12 @@
22
22
23
23
/**
24
24
* <p>Creates a Cart in a <a href="https://docs.commercetools.com/apis/ctp:api:type:Store" rel="nofollow">Store</a>.</p>
25
-
* <p>If the referenced <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> in the <a href="https://docs.commercetools.com/apis/ctp:api:type:CartDraft" rel="nofollow">CartDraft</a> has a predicate that does not match, or if the Shipping Method is not active, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
25
+
* <p>An <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
26
+
* <ol>
27
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
28
+
* <li>If the referenced Shipping Method is not active.</li>
29
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodAction.java
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,13 @@ public interface CartAddShippingMethodAction extends CartUpdateAction {
54
54
publicStringgetShippingKey();
55
55
56
56
/**
57
-
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
57
+
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
58
+
* <ol>
59
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
60
+
* <li>If the referenced Shipping Method is not active.</li>
61
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
62
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
63
+
* </ol>
58
64
* @return shippingMethod
59
65
*/
60
66
@NotNull
@@ -116,7 +122,13 @@ public interface CartAddShippingMethodAction extends CartUpdateAction {
116
122
publicvoidsetShippingKey(finalStringshippingKey);
117
123
118
124
/**
119
-
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
125
+
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
126
+
* <ol>
127
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
128
+
* <li>If the referenced Shipping Method is not active.</li>
129
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
130
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodActionBuilder.java
+28-4Lines changed: 28 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,13 @@ public CartAddShippingMethodActionBuilder shippingKey(final String shippingKey)
56
56
}
57
57
58
58
/**
59
-
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
59
+
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
60
+
* <ol>
61
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
62
+
* <li>If the referenced Shipping Method is not active.</li>
63
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
64
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
65
+
* </ol>
60
66
* @param builder function to build the shippingMethod value
61
67
* @return Builder
62
68
*/
@@ -70,7 +76,13 @@ public CartAddShippingMethodActionBuilder shippingMethod(
70
76
}
71
77
72
78
/**
73
-
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
79
+
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
80
+
* <ol>
81
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
82
+
* <li>If the referenced Shipping Method is not active.</li>
83
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
84
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
85
+
* </ol>
74
86
* @param builder function to build the shippingMethod value
75
87
* @return Builder
76
88
*/
@@ -83,7 +95,13 @@ public CartAddShippingMethodActionBuilder withShippingMethod(
83
95
}
84
96
85
97
/**
86
-
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
98
+
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
99
+
* <ol>
100
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
101
+
* <li>If the referenced Shipping Method is not active.</li>
102
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
103
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
104
+
* </ol>
87
105
* @param shippingMethod value to be set
88
106
* @return Builder
89
107
*/
@@ -337,7 +355,13 @@ public String getShippingKey() {
337
355
}
338
356
339
357
/**
340
-
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
358
+
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
359
+
* <ol>
360
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
361
+
* <li>If the referenced Shipping Method is not active.</li>
362
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
363
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodActionImpl.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,13 @@ public String getShippingKey() {
84
84
}
85
85
86
86
/**
87
-
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. If the referenced Shipping Method has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
87
+
* <p>ResourceIdentifier to a <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMethod" rel="nofollow">ShippingMethod</a> to add to the Cart with <code>Multiple</code> <a href="https://docs.commercetools.com/apis/ctp:api:type:ShippingMode" rel="nofollow">ShippingMode</a>. <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
88
+
* <ol>
89
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
90
+
* <li>If the referenced Shipping Method is not active.</li>
91
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
92
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodAction.java
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,13 @@ public interface CartSetShippingMethodAction extends CartUpdateAction {
40
40
41
41
/**
42
42
* <p>Value to set. If empty, any existing value is removed.</p>
43
-
* <p>If the referenced Shipping Method is inactive, or has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
43
+
* <p><a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
44
+
* <ol>
45
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
46
+
* <li>If the referenced Shipping Method is not active.</li>
47
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
48
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
49
+
* </ol>
44
50
* @return shippingMethod
45
51
*/
46
52
@Valid
@@ -57,7 +63,13 @@ public interface CartSetShippingMethodAction extends CartUpdateAction {
57
63
58
64
/**
59
65
* <p>Value to set. If empty, any existing value is removed.</p>
60
-
* <p>If the referenced Shipping Method is inactive, or has a predicate that does not match the Cart, an <a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned.</p>
66
+
* <p><a href="https://docs.commercetools.com/apis/ctp:api:type:InvalidOperationError" rel="nofollow">InvalidOperation</a> error is returned in one of the following cases:</p>
67
+
* <ol>
68
+
* <li>If the referenced Shipping Method has a predicate that does not match the Cart.</li>
69
+
* <li>If the referenced Shipping Method is not active.</li>
70
+
* <li>If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.</li>
71
+
* <li>If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.</li>
0 commit comments