Skip to content

Commit 3b585e8

Browse files
committed
build(codegen): updating SDK
1 parent ab9f5f7 commit 3b585e8

13 files changed

+17
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Retrieves all the active ShippingMethods that can ship to the shipping address of the given Cart in a given Store. Each ShippingMethod contains exactly one ShippingRate with the flag <code>isMatching</code> set to <code>true</code>. This ShippingRate is used when the ShippingMethod is added to the Cart.</p>
23+
* <p>Retrieves all the active ShippingMethods that can ship to the shipping address of the given Cart in a given Store. Each ShippingMethod contains exactly one ShippingRate with the flag <code>isMatching</code> set to <code>true</code>. This ShippingRate is used when the ShippingMethod is added to the Cart. If a matching ShippingMethod has <code>isDefault</code> set to <code>true</code>, it is returned as the first item in the array.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Retrieves all the active ShippingMethods that can ship to the shipping address of the given Cart. Each ShippingMethod contains exactly one ShippingRate with the flag <code>isMatching</code> set to <code>true</code>. This ShippingRate is used when the ShippingMethod is added to the Cart.</p>
23+
* <p>Retrieves all the active ShippingMethods that can ship to the shipping address of the given Cart. Each ShippingMethod contains exactly one ShippingRate with the flag <code>isMatching</code> set to <code>true</code>. This ShippingRate is used when the ShippingMethod is added to the Cart. If a matching ShippingMethod has <code>isDefault</code> set to <code>true</code>, it is returned as the first item in the array.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Checks if an active ShippingMethod exists for the given Cart. Returns a <code>200 OK</code> status if the ShippingMethod exists or a <code>404 Not Found</code> otherwise.</p>
23+
* <p>Checks if an active ShippingMethod exists for the given Cart. If a matching ShippingMethod has <code>isDefault</code> set to <code>true</code>, it is returned as the first item in the array. Returns a <code>200 OK</code> status if the ShippingMethod exists or a <code>404 Not Found</code> otherwise.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Retrieves all the active ShippingMethods that can ship to the given Location with a <code>predicate</code> that matches the given Cart. Each ShippingMethod contains exactly one ShippingRate with the flag <code>isMatching</code> set to <code>true</code>. This ShippingRate is used when the ShippingMethod is added to the Cart.</p>
23+
* <p>Retrieves all the active ShippingMethods that can ship to the given Location with a <code>predicate</code> that matches the given Cart. Each ShippingMethod contains exactly one ShippingRate with the flag <code>isMatching</code> set to <code>true</code>. This ShippingRate is used when the ShippingMethod is added to the Cart. If a matching ShippingMethod has <code>isDefault</code> set to <code>true</code>, it is returned as the first item in the array.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Retrieves all the active ShippingMethods that can ship to the given Location. ShippingMethods that have a <code>predicate</code> defined are automatically disqualified. If the <code>currency</code> parameter is given, then the ShippingMethods must also have a rate defined in the specified currency. Each ShippingMethod contains at least one ShippingRate with the flag <code>isMatching</code> set to <code>true</code>. If the <code>currency</code> parameter is given, exactly one ShippingRate will contain it.</p>
23+
* <p>Retrieves all the active ShippingMethods that can ship to the given Location. ShippingMethods that have a <code>predicate</code> defined are automatically disqualified. If the <code>currency</code> parameter is given, then the ShippingMethods must also have a rate defined in the specified currency. Each ShippingMethod contains at least one ShippingRate with the flag <code>isMatching</code> set to <code>true</code>. If the <code>currency</code> parameter is given, exactly one ShippingRate will contain it. If a matching ShippingMethod has <code>isDefault</code> set to <code>true</code>, it is returned as the first item in the array.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Retrieves all the active ShippingMethods that can ship to the given Location for an OrderEdit.</p>
24-
* <p>If the OrderEdit preview cannot be generated, an EditPreviewFailed error is returned.</p>
23+
* <p>Retrieves all the active ShippingMethods that can ship to the given Location for an OrderEdit. If a matching ShippingMethod has <code>isDefault</code> set to <code>true</code>, it is returned as the first item in the array. If the OrderEdit preview cannot be generated, an EditPreviewFailed error is returned.</p>
2524
*
2625
* <hr>
2726
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethod.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public interface ShippingMethod
168168
public Boolean getActive();
169169

170170
/**
171-
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
171+
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.</p>
172172
* @return isDefault
173173
*/
174174
@NotNull
@@ -299,7 +299,7 @@ public interface ShippingMethod
299299
public void setActive(final Boolean active);
300300

301301
/**
302-
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
302+
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.</p>
303303
* @param isDefault value to be set
304304
*/
305305

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public ShippingMethodBuilder active(final Boolean active) {
434434
}
435435

436436
/**
437-
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
437+
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.</p>
438438
* @param isDefault value to be set
439439
* @return Builder
440440
*/
@@ -624,7 +624,7 @@ public Boolean getActive() {
624624
}
625625

626626
/**
627-
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
627+
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.</p>
628628
* @return isDefault
629629
*/
630630

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraft.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public interface ShippingMethodDraft extends com.commercetools.api.models.Custom
107107
public Boolean getActive();
108108

109109
/**
110-
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
110+
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.</p>
111111
* @return isDefault
112112
*/
113113
@NotNull
@@ -195,7 +195,7 @@ public interface ShippingMethodDraft extends com.commercetools.api.models.Custom
195195
public void setActive(final Boolean active);
196196

197197
/**
198-
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
198+
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.</p>
199199
* @param isDefault value to be set
200200
*/
201201

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public ShippingMethodDraftBuilder active(@Nullable final Boolean active) {
305305
}
306306

307307
/**
308-
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
308+
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.</p>
309309
* @param isDefault value to be set
310310
* @return Builder
311311
*/
@@ -440,7 +440,7 @@ public Boolean getActive() {
440440
}
441441

442442
/**
443-
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
443+
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod. When retrieving matching Shipping Methods, it is returned as the first item in the array. This flag does not automatically apply the Shipping Method to Carts.</p>
444444
* @return isDefault
445445
*/
446446

0 commit comments

Comments
 (0)