diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java index 877cc0d4463..cc59cf3f8c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

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 isMatching set to true. This ShippingRate is used when the ShippingMethod is added to the Cart.

+ *

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 isMatching set to true. This ShippingRate is used when the ShippingMethod is added to the Cart. If a matching ShippingMethod has isDefault set to true, it is returned as the first item in the array.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartGet.java index 9097bad3042..7d9fa1818af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

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 isMatching set to true. This ShippingRate is used when the ShippingMethod is added to the Cart.

+ *

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 isMatching set to true. This ShippingRate is used when the ShippingMethod is added to the Cart. If a matching ShippingMethod has isDefault set to true, it is returned as the first item in the array.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartHead.java index b21450aa105..1b9db3a05aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartHead.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if an active ShippingMethod exists for the given Cart. Returns a 200 OK status if the ShippingMethod exists or a 404 Not Found otherwise.

+ *

Checks if an active ShippingMethod exists for the given Cart. If a matching ShippingMethod has isDefault set to true, it is returned as the first item in the array. Returns a 200 OK status if the ShippingMethod exists or a 404 Not Found otherwise.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationGet.java index ca8cd33359c..b8abf130827 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves all the active ShippingMethods that can ship to the given Location with a predicate that matches the given Cart. Each ShippingMethod contains exactly one ShippingRate with the flag isMatching set to true. This ShippingRate is used when the ShippingMethod is added to the Cart.

+ *

Retrieves all the active ShippingMethods that can ship to the given Location with a predicate that matches the given Cart. Each ShippingMethod contains exactly one ShippingRate with the flag isMatching set to true. This ShippingRate is used when the ShippingMethod is added to the Cart. If a matching ShippingMethod has isDefault set to true, it is returned as the first item in the array.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationGet.java index 94108caa3c9..429b2c29fd9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves all the active ShippingMethods that can ship to the given Location. ShippingMethods that have a predicate defined are automatically disqualified. If the currency 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 isMatching set to true. If the currency parameter is given, exactly one ShippingRate will contain it.

+ *

Retrieves all the active ShippingMethods that can ship to the given Location. ShippingMethods that have a predicate defined are automatically disqualified. If the currency 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 isMatching set to true. If the currency parameter is given, exactly one ShippingRate will contain it. If a matching ShippingMethod has isDefault set to true, it is returned as the first item in the array.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditGet.java index c0a64343fac..3f5360fdd06 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditGet.java @@ -20,8 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves all the active ShippingMethods that can ship to the given Location for an OrderEdit.

- *

If the OrderEdit preview cannot be generated, an EditPreviewFailed error is returned.

+ *

Retrieves all the active ShippingMethods that can ship to the given Location for an OrderEdit. If a matching ShippingMethod has isDefault set to true, it is returned as the first item in the array. If the OrderEdit preview cannot be generated, an EditPreviewFailed error is returned.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethod.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethod.java index c79620c2089..f16240406f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethod.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethod.java @@ -168,7 +168,7 @@ public interface ShippingMethod public Boolean getActive(); /** - *

If true, this ShippingMethod is the Project's default ShippingMethod.

+ *

If true, 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.

* @return isDefault */ @NotNull @@ -299,7 +299,7 @@ public interface ShippingMethod public void setActive(final Boolean active); /** - *

If true, this ShippingMethod is the Project's default ShippingMethod.

+ *

If true, 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.

* @param isDefault value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodBuilder.java index 70d4a3103d8..62c76e9deaf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodBuilder.java @@ -434,7 +434,7 @@ public ShippingMethodBuilder active(final Boolean active) { } /** - *

If true, this ShippingMethod is the Project's default ShippingMethod.

+ *

If true, 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.

* @param isDefault value to be set * @return Builder */ @@ -624,7 +624,7 @@ public Boolean getActive() { } /** - *

If true, this ShippingMethod is the Project's default ShippingMethod.

+ *

If true, 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.

* @return isDefault */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraft.java index e6d7726651f..b3ccd9b24e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraft.java @@ -107,7 +107,7 @@ public interface ShippingMethodDraft extends com.commercetools.api.models.Custom public Boolean getActive(); /** - *

If set to true, the ShippingMethod will be the Project's default ShippingMethod.

+ *

If set to true, 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.

* @return isDefault */ @NotNull @@ -195,7 +195,7 @@ public interface ShippingMethodDraft extends com.commercetools.api.models.Custom public void setActive(final Boolean active); /** - *

If set to true, the ShippingMethod will be the Project's default ShippingMethod.

+ *

If set to true, 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.

* @param isDefault value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftBuilder.java index 990ef58a4cf..e8b46ba6774 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftBuilder.java @@ -305,7 +305,7 @@ public ShippingMethodDraftBuilder active(@Nullable final Boolean active) { } /** - *

If set to true, the ShippingMethod will be the Project's default ShippingMethod.

+ *

If set to true, 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.

* @param isDefault value to be set * @return Builder */ @@ -440,7 +440,7 @@ public Boolean getActive() { } /** - *

If set to true, the ShippingMethod will be the Project's default ShippingMethod.

+ *

If set to true, 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.

* @return isDefault */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftImpl.java index ec3e4840912..325a70be3b2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftImpl.java @@ -142,7 +142,7 @@ public Boolean getActive() { } /** - *

If set to true, the ShippingMethod will be the Project's default ShippingMethod.

+ *

If set to true, 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.

*/ public Boolean getIsDefault() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodImpl.java index 08a0facaefa..6365de036e4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodImpl.java @@ -214,7 +214,7 @@ public Boolean getActive() { } /** - *

If true, this ShippingMethod is the Project's default ShippingMethod.

+ *

If true, 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.

*/ public Boolean getIsDefault() { diff --git a/references.txt b/references.txt index cc3123a8fc8..917fc2ac2ed 100644 --- a/references.txt +++ b/references.txt @@ -386,3 +386,4 @@ e2594613d04733e91fe77848b55c73f255fac743 a4fe92e28e967d91ddaad6750b6434a65949b840 ffa8644c871728467258443ffb54707031865c44 a7aa20c17dc375042673f3de785e65cda595960c +9e27b6b4195fb7839b6c87f31a988d1612f327d6