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

If the anonymousCart field is set on the CustomerDraft, then the newly created Customer will be assigned to that Cart. Similarly, if the anonymousId field is set, the Customer will be set on all Carts, Orders, ShoppingLists and Payments with the same anonymousId.

*

Creating a Customer produces the CustomerCreated Message. Simultaneously creating two Customers with the same email address can return a LockedField error.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPostString.java index ad7235c94a7..96bc6e435fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPostString.java @@ -21,7 +21,6 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

If the anonymousCart field is set on the CustomerDraft, then the newly created Customer will be assigned to that Cart. Similarly, if the anonymousId field is set, the Customer will be set on all Carts, Orders, ShoppingLists and Payments with the same anonymousId.

*

Creating a Customer produces the CustomerCreated Message. Simultaneously creating two Customers with the same email address can return a LockedField error.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java index cd379e6f7ee..9a7838ab464 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java @@ -21,7 +21,8 @@ /** *

When using this endpoint, if omitted, the Customer stores field is set to the Store specified in the path parameter.

- *

If the anonymousCart field is set on the CustomerDraft, then the newly created Customer will be assigned to that Cart. Similarly, if the anonymousId field is set, the Customer will be set on all Carts, Orders, ShoppingLists and Payments with the same anonymousId. If a Cart with a store field specified, the store field must reference the same Store specified in the {storeKey} path parameter.

+ *

If a Cart with a store field specified, the store field must reference the same Store specified in the {storeKey} path parameter.

+ *

If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.

*

Creating a Customer produces the CustomerCreated Message. Simultaneously creating two Customers with the same email address can return a LockedField error.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPostString.java index ebde20b047a..9b222ea4481 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPostString.java @@ -22,7 +22,8 @@ /** *

When using this endpoint, if omitted, the Customer stores field is set to the Store specified in the path parameter.

- *

If the anonymousCart field is set on the CustomerDraft, then the newly created Customer will be assigned to that Cart. Similarly, if the anonymousId field is set, the Customer will be set on all Carts, Orders, ShoppingLists and Payments with the same anonymousId. If a Cart with a store field specified, the store field must reference the same Store specified in the {storeKey} path parameter.

+ *

If a Cart with a store field specified, the store field must reference the same Store specified in the {storeKey} path parameter.

+ *

If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.

*

Creating a Customer produces the CustomerCreated Message. Simultaneously creating two Customers with the same email address can return a LockedField error.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java index d9cb00e0a23..1ade1088d0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java @@ -16,9 +16,8 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Authenticates a Customer associated with a Store. For more information, see Global versus Store-specific Customers.

- *

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.

- *

Triggers Cart merge during sign-in.

+ *

Authenticates a Customer associated with a Store.

+ *

If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.

*

If the Customer exists in the Project but the stores field references a different Store, this method returns an InvalidCredentials error.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPostString.java index 70925bd2fe4..1abf6667ec5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPostString.java @@ -17,9 +17,8 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Authenticates a Customer associated with a Store. For more information, see Global versus Store-specific Customers.

- *

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.

- *

Triggers Cart merge during sign-in.

+ *

Authenticates a Customer associated with a Store.

+ *

If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.

*

If the Customer exists in the Project but the stores field references a different Store, this method returns an InvalidCredentials error.

* *
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java index c3e06d4d6df..85a31b34c7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java @@ -22,7 +22,6 @@ *
  • If the Customer does not have a Cart, the most recently modified anonymous cart becomes the Customer's Cart.
  • *
  • If the Customer already has a Cart, the most recently modified anonymous cart is handled according to AnonymousCartSignInMode.
  • * - *

    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.

    *

    If an account with the given credentials is not found, an InvalidCredentials error is returned.

    * *
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPostString.java index 29587ab1b20..d46158bcd46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPostString.java @@ -23,7 +23,6 @@ *
  • If the Customer does not have a Cart, the most recently modified anonymous cart becomes the Customer's Cart.
  • *
  • If the Customer already has a Cart, the most recently modified anonymous cart is handled according to AnonymousCartSignInMode.
  • * - *

    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.

    *

    If an account with the given credentials is not found, an InvalidCredentials error is returned.

    * *
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java index 20d6164b16c..1c82cb4217d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java @@ -18,7 +18,7 @@ /** *

    If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId are assigned to the newly created Customer.

    *

    If omitted in the request body, the Customer stores field is set to the Store specified in the path parameter.

    - *

    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.

    + *

    If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.

    *

    Creating a Customer produces the CustomerCreated Message.

    * *
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPostString.java index 1e721098ccd..5bd07f640c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPostString.java @@ -19,7 +19,7 @@ /** *

    If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId are assigned to the newly created Customer.

    *

    If omitted in the request body, the Customer stores field is set to the Store specified in the path parameter.

    - *

    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.

    + *

    If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.

    *

    Creating a Customer produces the CustomerCreated Message.

    * *
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPost.java index fa284f7ea3a..835bead9faa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPost.java @@ -16,9 +16,8 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Authenticates a global Customer not associated with a Store. For more information, see Global versus Store-specific Customers. If the Customer is registered in a Store, use the Authenticate (sign in) Customer in Store method.

    - *

    Triggers Cart merge during sign-in.

    - *

    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.

    + *

    Authenticates a global Customer.

    + *

    If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.

    *

    If an account with the given credentials is not found, an InvalidCredentials error is returned.

    * *
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPostString.java index 8b4e18e5e82..e2765ff1aad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPostString.java @@ -17,9 +17,8 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Authenticates a global Customer not associated with a Store. For more information, see Global versus Store-specific Customers. If the Customer is registered in a Store, use the Authenticate (sign in) Customer in Store method.

    - *

    Triggers Cart merge during sign-in.

    - *

    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.

    + *

    Authenticates a global Customer.

    + *

    If the Customer has multiple active Carts, the anonymous Cart is merged into the most recently modified active Cart.

    *

    If an account with the given credentials is not found, an InvalidCredentials error is returned.

    * *
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPost.java index 09279c54ae1..ddf604d1d8c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPost.java @@ -22,7 +22,6 @@ *
  • If the Customer does not have a Cart yet, the most recently modified anonymous cart becomes the Customer's Cart.
  • *
  • If the Customer already has a Cart, the most recently modified anonymous cart is handled in accordance with AnonymousCartSignInMode.
  • * - *

    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.

    *

    If an account with the given credentials is not found, an InvalidCredentials error is returned.

    * *
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPostString.java index f513451e6eb..c8ecedb2853 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPostString.java @@ -23,7 +23,6 @@ *
  • If the Customer does not have a Cart yet, the most recently modified anonymous cart becomes the Customer's Cart.
  • *
  • If the Customer already has a Cart, the most recently modified anonymous cart is handled in accordance with AnonymousCartSignInMode.
  • * - *

    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.

    *

    If an account with the given credentials is not found, an InvalidCredentials error is returned.

    * *
    diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java index f20d3793085..e7fa64f5bc3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java @@ -123,7 +123,7 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable public String getAnonymousCartId(); /** - *

    Identifies a Cart that will be assigned to the new Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @return anonymousCart */ @Valid @@ -131,7 +131,8 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable public CartResourceIdentifier getAnonymousCart(); /** - *

    Identifies Carts and Orders belonging to an anonymous session that will be assigned to the new Customer.

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    * @return anonymousId */ @@ -348,14 +349,15 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable public void setAnonymousCartId(final String anonymousCartId); /** - *

    Identifies a Cart that will be assigned to the new Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @param anonymousCart value to be set */ public void setAnonymousCart(final CartResourceIdentifier anonymousCart); /** - *

    Identifies Carts and Orders belonging to an anonymous session that will be assigned to the new Customer.

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    * @param anonymousId value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java index 5e542978e19..24177d69162 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java @@ -221,7 +221,7 @@ public CustomerDraftBuilder anonymousCartId(@Nullable final String anonymousCart } /** - *

    Identifies a Cart that will be assigned to the new Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @param builder function to build the anonymousCart value * @return Builder */ @@ -234,7 +234,7 @@ public CustomerDraftBuilder anonymousCart( } /** - *

    Identifies a Cart that will be assigned to the new Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @param builder function to build the anonymousCart value * @return Builder */ @@ -246,7 +246,7 @@ public CustomerDraftBuilder withAnonymousCart( } /** - *

    Identifies a Cart that will be assigned to the new Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @param anonymousCart value to be set * @return Builder */ @@ -258,7 +258,8 @@ public CustomerDraftBuilder anonymousCart( } /** - *

    Identifies Carts and Orders belonging to an anonymous session that will be assigned to the new Customer.

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    * @param anonymousId value to be set * @return Builder */ @@ -928,7 +929,7 @@ public String getAnonymousCartId() { } /** - *

    Identifies a Cart that will be assigned to the new Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @return anonymousCart */ @@ -938,7 +939,8 @@ public com.commercetools.api.models.cart.CartResourceIdentifier getAnonymousCart } /** - *

    Identifies Carts and Orders belonging to an anonymous session that will be assigned to the new Customer.

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    * @return anonymousId */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java index ba5d290d309..83ff15e38e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java @@ -224,7 +224,7 @@ public String getAnonymousCartId() { } /** - *

    Identifies a Cart that will be assigned to the new Customer.

    + *

    Assigns the Customer to the specified Cart.

    */ public com.commercetools.api.models.cart.CartResourceIdentifier getAnonymousCart() { @@ -232,7 +232,8 @@ public com.commercetools.api.models.cart.CartResourceIdentifier getAnonymousCart } /** - *

    Identifies Carts and Orders belonging to an anonymous session that will be assigned to the new Customer.

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    */ public String getAnonymousId() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResult.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResult.java index 4ea24b034e4..f2b3da5f61d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResult.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResult.java @@ -43,7 +43,9 @@ public interface CustomerSignInResult { public Customer getCustomer(); /** - *

    Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

    + *

    Cart associated with the Customer.

    + *

    The Cart is recalculated to remove invalid Line Items and apply the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.

    + *

    For more information, see Cart updates.

    * @return cart */ @Valid @@ -58,7 +60,9 @@ public interface CustomerSignInResult { public void setCustomer(final Customer customer); /** - *

    Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

    + *

    Cart associated with the Customer.

    + *

    The Cart is recalculated to remove invalid Line Items and apply the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.

    + *

    For more information, see Cart updates.

    * @param cart value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultBuilder.java index 0ab3cfbf4cb..1e4703be9e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultBuilder.java @@ -65,7 +65,9 @@ public CustomerSignInResultBuilder customer(final com.commercetools.api.models.c } /** - *

    Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

    + *

    Cart associated with the Customer.

    + *

    The Cart is recalculated to remove invalid Line Items and apply the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.

    + *

    For more information, see Cart updates.

    * @param builder function to build the cart value * @return Builder */ @@ -77,7 +79,9 @@ public CustomerSignInResultBuilder cart( } /** - *

    Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

    + *

    Cart associated with the Customer.

    + *

    The Cart is recalculated to remove invalid Line Items and apply the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.

    + *

    For more information, see Cart updates.

    * @param builder function to build the cart value * @return Builder */ @@ -89,7 +93,9 @@ public CustomerSignInResultBuilder withCart( } /** - *

    Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

    + *

    Cart associated with the Customer.

    + *

    The Cart is recalculated to remove invalid Line Items and apply the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.

    + *

    For more information, see Cart updates.

    * @param cart value to be set * @return Builder */ @@ -109,7 +115,9 @@ public com.commercetools.api.models.customer.Customer getCustomer() { } /** - *

    Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

    + *

    Cart associated with the Customer.

    + *

    The Cart is recalculated to remove invalid Line Items and apply the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.

    + *

    For more information, see Cart updates.

    * @return cart */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultImpl.java index cc78efa8da9..42c8b3d5778 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultImpl.java @@ -51,7 +51,9 @@ public com.commercetools.api.models.customer.Customer getCustomer() { } /** - *

    Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

    + *

    Cart associated with the Customer.

    + *

    The Cart is recalculated to remove invalid Line Items and apply the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.

    + *

    For more information, see Cart updates.

    */ public com.commercetools.api.models.cart.Cart getCart() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignin.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignin.java index 3e85833541d..637353fc383 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignin.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignin.java @@ -59,7 +59,7 @@ public interface CustomerSignin { public String getAnonymousCartId(); /** - *

    Identifies a Cart that will be assigned to the Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @return anonymousCart */ @Valid @@ -78,7 +78,8 @@ public interface CustomerSignin { public AnonymousCartSignInMode getAnonymousCartSignInMode(); /** - *

    If both anonymousCart and anonymousId are provided, the anonymousId on the CustomerSignin must match that of the anonymous Cart. Otherwise a 400 Bad Request Invalid Operation error is returned with the message: "Cart with the ID cart-id does not have the expected anonymousId.".

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    * @return anonymousId */ @@ -118,7 +119,7 @@ public interface CustomerSignin { public void setAnonymousCartId(final String anonymousCartId); /** - *

    Identifies a Cart that will be assigned to the Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @param anonymousCart value to be set */ @@ -135,7 +136,8 @@ public interface CustomerSignin { public void setAnonymousCartSignInMode(final AnonymousCartSignInMode anonymousCartSignInMode); /** - *

    If both anonymousCart and anonymousId are provided, the anonymousId on the CustomerSignin must match that of the anonymous Cart. Otherwise a 400 Bad Request Invalid Operation error is returned with the message: "Cart with the ID cart-id does not have the expected anonymousId.".

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    * @param anonymousId value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninBuilder.java index 49df91a6bfc..0bbd828a956 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninBuilder.java @@ -79,7 +79,7 @@ public CustomerSigninBuilder anonymousCartId(@Nullable final String anonymousCar } /** - *

    Identifies a Cart that will be assigned to the Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @param builder function to build the anonymousCart value * @return Builder */ @@ -92,7 +92,7 @@ public CustomerSigninBuilder anonymousCart( } /** - *

    Identifies a Cart that will be assigned to the Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @param builder function to build the anonymousCart value * @return Builder */ @@ -104,7 +104,7 @@ public CustomerSigninBuilder withAnonymousCart( } /** - *

    Identifies a Cart that will be assigned to the Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @param anonymousCart value to be set * @return Builder */ @@ -131,7 +131,8 @@ public CustomerSigninBuilder anonymousCartSignInMode( } /** - *

    If both anonymousCart and anonymousId are provided, the anonymousId on the CustomerSignin must match that of the anonymous Cart. Otherwise a 400 Bad Request Invalid Operation error is returned with the message: "Cart with the ID cart-id does not have the expected anonymousId.".

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    * @param anonymousId value to be set * @return Builder */ @@ -184,7 +185,7 @@ public String getAnonymousCartId() { } /** - *

    Identifies a Cart that will be assigned to the Customer.

    + *

    Assigns the Customer to the specified Cart.

    * @return anonymousCart */ @@ -207,7 +208,8 @@ public com.commercetools.api.models.customer.AnonymousCartSignInMode getAnonymou } /** - *

    If both anonymousCart and anonymousId are provided, the anonymousId on the CustomerSignin must match that of the anonymous Cart. Otherwise a 400 Bad Request Invalid Operation error is returned with the message: "Cart with the ID cart-id does not have the expected anonymousId.".

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    * @return anonymousId */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninImpl.java index bfd88e291ad..23a4b4a73b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninImpl.java @@ -87,7 +87,7 @@ public String getAnonymousCartId() { } /** - *

    Identifies a Cart that will be assigned to the Customer.

    + *

    Assigns the Customer to the specified Cart.

    */ public com.commercetools.api.models.cart.CartResourceIdentifier getAnonymousCart() { @@ -106,7 +106,8 @@ public com.commercetools.api.models.customer.AnonymousCartSignInMode getAnonymou } /** - *

    If both anonymousCart and anonymousId are provided, the anonymousId on the CustomerSignin must match that of the anonymous Cart. Otherwise a 400 Bad Request Invalid Operation error is returned with the message: "Cart with the ID cart-id does not have the expected anonymousId.".

    + *

    Assigns the Customer to all Carts, Orders, ShoppingLists, and Payments with the same anonymousId.

    + *

    If anonymousCart is provided, this value must match the anonymousId of the anonymous Cart; otherwise, an InvalidOperation error is returned.

    */ public String getAnonymousId() { diff --git a/references.txt b/references.txt index c62ff491c12..356eeb3c3b4 100644 --- a/references.txt +++ b/references.txt @@ -462,3 +462,4 @@ b6d7def74db12344b0e0821407b45a3f214b8bd9 f8b027c8e1b5ba61ace3d3d358b9efc7ad4b93eb 63488aa919cebb6a9a606b287cd525eb7c588e99 12c86075166f683540662d5b7016fa7d48fe45e4 +91ef231b5881c329f1c3f405e250106f8473b57e