Skip to content

Commit a1ca689

Browse files
Merge pull request #708 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 3423f0c + 0cf3b06 commit a1ca689

File tree

40 files changed

+101
-719
lines changed

40 files changed

+101
-719
lines changed

changes.md

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

18+
19+
<details>
20+
<summary>Removed Method(s)</summary>
21+
22+
- :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withId().delete()`
23+
- :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withKey().delete()`
24+
</details>
25+

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

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

2222
/**
23-
*
23+
* <p>Deletes the Customer in a Store. Returns a <code>200 OK</code> status if successful.</p>
24+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
25+
* <ul>
26+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
27+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
28+
* </ul>
2429
*
2530
* <hr>
2631
* <div class=code-example>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>This is the last step in the email verification process of a Customer.</p>
19+
* <p>This is the last step in the email verification process of a Customer. Returns a <code>200 OK</code> status if successful.</p>
20+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
21+
* <ul>
22+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
23+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
24+
* </ul>
2025
*
2126
* <hr>
2227
* <div class=code-example>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
import org.apache.commons.lang3.builder.HashCodeBuilder;
1818

1919
/**
20-
* <p>This is the last step in the email verification process of a Customer.</p>
20+
* <p>This is the last step in the email verification process of a Customer. Returns a <code>200 OK</code> status if successful.</p>
21+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
22+
* <ul>
23+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
24+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
25+
* </ul>
2126
*
2227
* <hr>
2328
* <div class=code-example>

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

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

2222
/**
23-
*
23+
* <p>Returns a Customer for a given Query Predicate in a Store. Returns a <code>200 OK</code> status if successful.</p>
24+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
25+
* <ul>
26+
* <li>If no Customer exists in the Store for the given Query Predicate.</li>
27+
* <li>If a Customer exists in the Store for the given Query Predicate, but does not have an <code>id</code> value that matches the customer:{id} scope.</li>
28+
* <li>If a Customer exists for the given Query Predicate but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
29+
* </ul>
2430
*
2531
* <hr>
2632
* <div class=code-example>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
/**
1919
* <p>Retrieves the authenticated Customer (that matches the given email/password pair) if they are part of a specific Store.</p>
20+
* <p>If used with an optional access token for an anonymous session, all Orders and Carts that belong to the <code>anonymousId</code> are assigned to the newly logged-in Customer.</p>
2021
* <ul>
2122
* <li>If the Customer does not have a Cart, the most recently modified anonymous cart becomes the Customer's Cart.</li>
2223
* <li>If the Customer already has a Cart, the most recently modified anonymous cart is handled according to AnonymousCartSignInMode.</li>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
/**
2020
* <p>Retrieves the authenticated Customer (that matches the given email/password pair) if they are part of a specific Store.</p>
21+
* <p>If used with an optional access token for an anonymous session, all Orders and Carts that belong to the <code>anonymousId</code> are assigned to the newly logged-in Customer.</p>
2122
* <ul>
2223
* <li>If the Customer does not have a Cart, the most recently modified anonymous cart becomes the Customer's Cart.</li>
2324
* <li>If the Customer already has a Cart, the most recently modified anonymous cart is handled according to AnonymousCartSignInMode.</li>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Changing the password of the Customer produces the CustomerPasswordUpdated Message with <code>reset=false</code>.</p>
19+
* <p>Changing the password of the Customer produces the CustomerPasswordUpdated Message with <code>reset=false</code>. Returns a <code>200 OK</code> status if successful.</p>
20+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
21+
* <ul>
22+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
23+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
24+
* </ul>
2025
*
2126
* <hr>
2227
* <div class=code-example>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
import org.apache.commons.lang3.builder.HashCodeBuilder;
1818

1919
/**
20-
* <p>Changing the password of the Customer produces the CustomerPasswordUpdated Message with <code>reset=false</code>.</p>
20+
* <p>Changing the password of the Customer produces the CustomerPasswordUpdated Message with <code>reset=false</code>. Returns a <code>200 OK</code> status if successful.</p>
21+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
22+
* <ul>
23+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
24+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
25+
* </ul>
2126
*
2227
* <hr>
2328
* <div class=code-example>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717

1818
/**
1919
* <p>This is the last step in the password reset process of the authenticated Customer.</p>
20-
* <p>Resetting a password produces the of the Customer CustomerPasswordUpdated Message with <code>reset=true</code>.</p>
20+
* <p>Resetting a password produces the Customer CustomerPasswordUpdated Message with <code>reset=true</code>.</p>
21+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
22+
* <ul>
23+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
24+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
25+
* </ul>
2126
*
2227
* <hr>
2328
* <div class=code-example>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@
1818

1919
/**
2020
* <p>This is the last step in the password reset process of the authenticated Customer.</p>
21-
* <p>Resetting a password produces the of the Customer CustomerPasswordUpdated Message with <code>reset=true</code>.</p>
21+
* <p>Resetting a password produces the Customer CustomerPasswordUpdated Message with <code>reset=true</code>.</p>
22+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
23+
* <ul>
24+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
25+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
26+
* </ul>
2227
*
2328
* <hr>
2429
* <div class=code-example>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
*
19+
* <p>Updates the Customer in a Store. Returns a <code>200 OK</code> status if successful.</p>
20+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
21+
* <ul>
22+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
23+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
24+
* </ul>
2025
*
2126
* <hr>
2227
* <div class=code-example>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
import org.apache.commons.lang3.builder.HashCodeBuilder;
1818

1919
/**
20-
*
20+
* <p>Updates the Customer in a Store. Returns a <code>200 OK</code> status if successful.</p>
21+
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
22+
* <ul>
23+
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
24+
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
25+
* </ul>
2126
*
2227
* <hr>
2328
* <div class=code-example>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19+
* <p>If used with an optional access token for an anonymous session, all Orders and Carts that belong to the <code>anonymousId</code> are assigned to the newly created Customer.</p>
1920
* <p>If omitted in the request body, the Customer <code>stores</code> field is set to the Store specified in the path parameter.</p>
2021
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
2122
* <p>Creating a Customer produces the CustomerCreated Message.</p>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.apache.commons.lang3.builder.HashCodeBuilder;
1818

1919
/**
20+
* <p>If used with an optional access token for an anonymous session, all Orders and Carts that belong to the <code>anonymousId</code> are assigned to the newly created Customer.</p>
2021
* <p>If omitted in the request body, the Customer <code>stores</code> field is set to the Store specified in the path parameter.</p>
2122
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
2223
* <p>Creating a Customer produces the CustomerCreated Message.</p>

0 commit comments

Comments
 (0)