Skip to content

Update generated SDKs #853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <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>
* <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>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <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>
* <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>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <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>
* <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>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <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>
* <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>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <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>
* <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>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Retrieves all the active ShippingMethods that can ship to the given Location for an OrderEdit.</p>
* <p>If the OrderEdit preview cannot be generated, an EditPreviewFailed error is returned.</p>
* <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>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public interface ShippingMethod
public Boolean getActive();

/**
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
* <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>
* @return isDefault
*/
@NotNull
Expand Down Expand Up @@ -299,7 +299,7 @@ public interface ShippingMethod
public void setActive(final Boolean active);

/**
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
* <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>
* @param isDefault value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public ShippingMethodBuilder active(final Boolean active) {
}

/**
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
* <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>
* @param isDefault value to be set
* @return Builder
*/
Expand Down Expand Up @@ -624,7 +624,7 @@ public Boolean getActive() {
}

/**
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
* <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>
* @return isDefault
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public interface ShippingMethodDraft extends com.commercetools.api.models.Custom
public Boolean getActive();

/**
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
* <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>
* @return isDefault
*/
@NotNull
Expand Down Expand Up @@ -195,7 +195,7 @@ public interface ShippingMethodDraft extends com.commercetools.api.models.Custom
public void setActive(final Boolean active);

/**
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
* <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>
* @param isDefault value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public ShippingMethodDraftBuilder active(@Nullable final Boolean active) {
}

/**
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
* <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>
* @param isDefault value to be set
* @return Builder
*/
Expand Down Expand Up @@ -440,7 +440,7 @@ public Boolean getActive() {
}

/**
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
* <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>
* @return isDefault
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public Boolean getActive() {
}

/**
* <p>If set to <code>true</code>, the ShippingMethod will be the Project's default ShippingMethod.</p>
* <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>
*/

public Boolean getIsDefault() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public Boolean getActive() {
}

/**
* <p>If <code>true</code>, this ShippingMethod is the Project's default ShippingMethod.</p>
* <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>
*/

public Boolean getIsDefault() {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -386,3 +386,4 @@ e2594613d04733e91fe77848b55c73f255fac743
a4fe92e28e967d91ddaad6750b6434a65949b840
ffa8644c871728467258443ffb54707031865c44
a7aa20c17dc375042673f3de785e65cda595960c
9e27b6b4195fb7839b6c87f31a988d1612f327d6