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.
* *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.
* *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.
* *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.
* *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.
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.
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.
* *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.
* *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.
* *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.
* *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.
* *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.
* *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.
* *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.
* *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.
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.
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.
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.
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.
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.
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.
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.
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.
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.