Skip to content

Commit 2071948

Browse files
committed
build(codegen): updating SDK
1 parent 7cf326f commit 2071948

32 files changed

+102
-86
lines changed

changes.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,18 @@
1515
- added type `AssociateRoleNameSetMessagePayload`
1616
</details>
1717

18+
**History changes**
19+
20+
<details>
21+
<summary>Added Enum(s)</summary>
22+
23+
- added enum `setAssetKey` to type `UpdateType`
24+
</details>
25+
26+
27+
<details>
28+
<summary>Removed Enum(s)</summary>
29+
30+
- :warning: removed enum `setAsssetKey` from type `UpdateType`
31+
</details>
32+

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public interface CartAddShippingMethodAction extends CartUpdateAction {
5353
public String getShippingKey();
5454

5555
/**
56-
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
56+
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
5757
* @return shippingMethod
5858
*/
5959
@NotNull
@@ -115,7 +115,7 @@ public interface CartAddShippingMethodAction extends CartUpdateAction {
115115
public void setShippingKey(final String shippingKey);
116116

117117
/**
118-
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
118+
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
119119
* @param shippingMethod value to be set
120120
*/
121121

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public CartAddShippingMethodActionBuilder shippingKey(final String shippingKey)
5656
}
5757

5858
/**
59-
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
59+
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
6060
* @param builder function to build the shippingMethod value
6161
* @return Builder
6262
*/
@@ -70,7 +70,7 @@ public CartAddShippingMethodActionBuilder shippingMethod(
7070
}
7171

7272
/**
73-
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
73+
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
7474
* @param builder function to build the shippingMethod value
7575
* @return Builder
7676
*/
@@ -83,7 +83,7 @@ public CartAddShippingMethodActionBuilder withShippingMethod(
8383
}
8484

8585
/**
86-
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
86+
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
8787
* @param shippingMethod value to be set
8888
* @return Builder
8989
*/
@@ -337,7 +337,7 @@ public String getShippingKey() {
337337
}
338338

339339
/**
340-
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
340+
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
341341
* @return shippingMethod
342342
*/
343343

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public String getShippingKey() {
8383
}
8484

8585
/**
86-
* <p>RecourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
86+
* <p>ResourceIdentifier to a ShippingMethod to add to the Cart with <code>Multiple</code> ShippingMode. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.</p>
8787
*/
8888

8989
public com.commercetools.api.models.shipping_method.ShippingMethodResourceIdentifier getShippingMethod() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
public interface ShippingMode extends JsonEnum {
1818

1919
/**
20-
<p>Cart can contain only a single Shipping Method. This is the default mode for backwards compatibilty.</p> */
20+
<p>Cart can contain only a single Shipping Method. This is the default mode for backwards compatibility.</p> */
2121
ShippingMode SINGLE = ShippingModeEnum.SINGLE;
2222
/**
2323
<p>Cart can contain multiple Shipping Methods.</p> */

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

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

1717
/**
18-
* <p>Generic type holding specifc ShippingRateInputDraft types.</p>
18+
* <p>Generic type holding specific ShippingRateInputDraft types.</p>
1919
*
2020
* <hr>
2121
* Example to create a subtype instance using the builder pattern

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputDraftImpl.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>Generic type holding specifc ShippingRateInputDraft types.</p>
20+
* <p>Generic type holding specific ShippingRateInputDraft types.</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class ShippingRateInputDraftImpl implements ShippingRateInputDraft, ModelBase {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPatternTarget.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {
5454

5555
/**
5656
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
57-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
57+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
5858
* <p>This array cannot be empty.</p>
5959
* @return targetPattern
6060
*/
@@ -101,7 +101,7 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {
101101

102102
/**
103103
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
104-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
104+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
105105
* <p>This array cannot be empty.</p>
106106
* @param targetPattern values to be set
107107
*/
@@ -111,7 +111,7 @@ public interface CartDiscountPatternTarget extends CartDiscountTarget {
111111

112112
/**
113113
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
114-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
114+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
115115
* <p>This array cannot be empty.</p>
116116
* @param targetPattern values to be set
117117
*/

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPatternTargetBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public CartDiscountPatternTargetBuilder withTriggerPattern(
116116

117117
/**
118118
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
119-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
119+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
120120
* <p>This array cannot be empty.</p>
121121
* @param targetPattern value to be set
122122
* @return Builder
@@ -130,7 +130,7 @@ public CartDiscountPatternTargetBuilder targetPattern(
130130

131131
/**
132132
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
133-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
133+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
134134
* <p>This array cannot be empty.</p>
135135
* @param targetPattern value to be set
136136
* @return Builder
@@ -144,7 +144,7 @@ public CartDiscountPatternTargetBuilder targetPattern(
144144

145145
/**
146146
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
147-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
147+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
148148
* <p>This array cannot be empty.</p>
149149
* @param targetPattern value to be set
150150
* @return Builder
@@ -161,7 +161,7 @@ public CartDiscountPatternTargetBuilder plusTargetPattern(
161161

162162
/**
163163
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
164-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
164+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
165165
* <p>This array cannot be empty.</p>
166166
* @param builder function to build the targetPattern value
167167
* @return Builder
@@ -179,7 +179,7 @@ public CartDiscountPatternTargetBuilder plusTargetPattern(
179179

180180
/**
181181
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
182-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
182+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
183183
* <p>This array cannot be empty.</p>
184184
* @param builder function to build the targetPattern value
185185
* @return Builder
@@ -230,7 +230,7 @@ public java.util.List<com.commercetools.api.models.cart_discount.PatternComponen
230230

231231
/**
232232
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
233-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
233+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
234234
* <p>This array cannot be empty.</p>
235235
* @return targetPattern
236236
*/

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPatternTargetImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public java.util.List<com.commercetools.api.models.cart_discount.PatternComponen
7676

7777
/**
7878
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
79-
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
79+
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurrence</code>, the <code>targetPattern</code> can match multiple times.</p>
8080
* <p>This array cannot be empty.</p>
8181
*/
8282

0 commit comments

Comments
 (0)