diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java index 4fef30eb37b..8e8cbdb1e3c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java @@ -18,7 +18,7 @@ /** *

Either the scope manage_products:{projectKey} or manage_categories:{projectKey} is required.

- *

Creating a Category produces the CategoryCreatedMessage.

+ *

Creating a Category produces the CategoryCreated Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDDelete.java index 5afc7df0552..0e766e3999f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDDelete.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Produces the InventoryEntryDeletedMessage.

+ *

Produces the InventoryEntryDeleted Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyDelete.java index 39ad147729e..65512fc645b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyDelete.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Produces the InventoryEntryDeletedMessage.

+ *

Produces the InventoryEntryDeleted Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryPost.java index 22c515108b1..3351f8e5f5f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryPost.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Produces the InventoryEntryCreatedMessage.

+ *

Produces the InventoryEntryCreated Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java index a6ff1598571..25265ac3910 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java @@ -6,6 +6,9 @@ import java.util.ArrayList; import java.util.List; import java.util.concurrent.CompletableFuture; +import java.util.function.Function; +import java.util.function.Supplier; +import java.util.stream.Collectors; import io.vrap.rmf.base.client.*; import io.vrap.rmf.base.client.utils.Generated; @@ -31,7 +34,8 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ByProjectKeyMeActiveCartGet extends ApiMethod - implements com.commercetools.api.client.ErrorableTrait, + implements com.commercetools.api.client.ExpandableTrait, + com.commercetools.api.client.ErrorableTrait, com.commercetools.api.client.Deprecatable200Trait { private String projectKey; @@ -72,10 +76,73 @@ public String getProjectKey() { return this.projectKey; } + public List getExpand() { + return this.getQueryParam("expand"); + } + public void setProjectKey(final String projectKey) { this.projectKey = projectKey; } + /** + * set expand with the specified value + */ + public ByProjectKeyMeActiveCartGet withExpand(final TValue expand) { + return copy().withQueryParam("expand", expand); + } + + /** + * add additional expand query parameter + */ + public ByProjectKeyMeActiveCartGet addExpand(final TValue expand) { + return copy().addQueryParam("expand", expand); + } + + /** + * set expand with the specified value + */ + public ByProjectKeyMeActiveCartGet withExpand(final Supplier supplier) { + return copy().withQueryParam("expand", supplier.get()); + } + + /** + * add additional expand query parameter + */ + public ByProjectKeyMeActiveCartGet addExpand(final Supplier supplier) { + return copy().addQueryParam("expand", supplier.get()); + } + + /** + * set expand with the specified value + */ + public ByProjectKeyMeActiveCartGet withExpand(final Function op) { + return copy().withQueryParam("expand", op.apply(new StringBuilder())); + } + + /** + * add additional expand query parameter + */ + public ByProjectKeyMeActiveCartGet addExpand(final Function op) { + return copy().addQueryParam("expand", op.apply(new StringBuilder())); + } + + /** + * set expand with the specified values + */ + public ByProjectKeyMeActiveCartGet withExpand(final List expand) { + return copy().withoutQueryParam("expand") + .addQueryParams( + expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); + } + + /** + * add additional expand query parameters + */ + public ByProjectKeyMeActiveCartGet addExpand(final List expand) { + return copy().addQueryParams( + expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList())); + } + @Override public boolean equals(Object o) { if (this == o) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDGet.java index 10605c732ff..7a6d8eedbb8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDGet.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

Deprecated scope: view_orders:{projectKey}

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesGet.java index 35c6b7ffb70..6397599da02 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesGet.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

Deprecated scope: view_orders:{projectKey}

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesPost.java new file mode 100644 index 00000000000..d5888435c99 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesPost.java @@ -0,0 +1,121 @@ + +package com.commercetools.api.client; + +import java.net.URI; +import java.time.Duration; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.CompletableFuture; + +import io.vrap.rmf.base.client.*; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

Create an Order from a Quote

+ * + *
+ *
+ *
{@code
+ *   CompletableFuture> result = apiRoot
+ *            .withProjectKey("{projectKey}")
+ *            .orders()
+ *            .orderQuote()
+ *            .post(null)
+ *            .execute()
+ * }
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyOrdersQuotesPost extends + BodyApiMethod + implements com.commercetools.api.client.ErrorableTrait { + + private String projectKey; + + private com.commercetools.api.models.order.OrderFromQuoteDraft orderFromQuoteDraft; + + public ByProjectKeyOrdersQuotesPost(final ApiHttpClient apiHttpClient, String projectKey, + com.commercetools.api.models.order.OrderFromQuoteDraft orderFromQuoteDraft) { + super(apiHttpClient); + this.projectKey = projectKey; + this.orderFromQuoteDraft = orderFromQuoteDraft; + } + + public ByProjectKeyOrdersQuotesPost(ByProjectKeyOrdersQuotesPost t) { + super(t); + this.projectKey = t.projectKey; + this.orderFromQuoteDraft = t.orderFromQuoteDraft; + } + + @Override + protected ApiHttpRequest buildHttpRequest() { + List params = new ArrayList<>(getQueryParamUriStrings()); + String httpRequestPath = String.format("/%s/orders/quotes", this.projectKey); + if (!params.isEmpty()) { + httpRequestPath += "?" + String.join("&", params); + } + return new ApiHttpRequest(ApiHttpMethod.POST, URI.create(httpRequestPath), getHeaders(), + io.vrap.rmf.base.client.utils.json.JsonUtils + .executing(() -> apiHttpClient().getSerializerService().toJsonByteArray(orderFromQuoteDraft))); + + } + + @Override + public ApiHttpResponse executeBlocking(final ApiHttpClient client, + final Duration timeout) { + return executeBlocking(client, timeout, com.commercetools.api.models.order.Order.class); + } + + @Override + public CompletableFuture> execute( + final ApiHttpClient client) { + return execute(client, com.commercetools.api.models.order.Order.class); + } + + public String getProjectKey() { + return this.projectKey; + } + + public void setProjectKey(final String projectKey) { + this.projectKey = projectKey; + } + + public com.commercetools.api.models.order.OrderFromQuoteDraft getBody() { + return orderFromQuoteDraft; + } + + public ByProjectKeyOrdersQuotesPost withBody( + com.commercetools.api.models.order.OrderFromQuoteDraft orderFromQuoteDraft) { + ByProjectKeyOrdersQuotesPost t = copy(); + t.orderFromQuoteDraft = orderFromQuoteDraft; + return t; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ByProjectKeyOrdersQuotesPost that = (ByProjectKeyOrdersQuotesPost) o; + + return new EqualsBuilder().append(projectKey, that.projectKey) + .append(orderFromQuoteDraft, that.orderFromQuoteDraft) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(projectKey).append(orderFromQuoteDraft).toHashCode(); + } + + @Override + protected ByProjectKeyOrdersQuotesPost copy() { + return new ByProjectKeyOrdersQuotesPost(this); + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesRequestBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesRequestBuilder.java new file mode 100644 index 00000000000..23eeffd6abe --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesRequestBuilder.java @@ -0,0 +1,23 @@ + +package com.commercetools.api.client; + +import io.vrap.rmf.base.client.ApiHttpClient; +import io.vrap.rmf.base.client.utils.Generated; + +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyOrdersQuotesRequestBuilder { + + private final ApiHttpClient apiHttpClient; + private final String projectKey; + + public ByProjectKeyOrdersQuotesRequestBuilder(final ApiHttpClient apiHttpClient, final String projectKey) { + this.apiHttpClient = apiHttpClient; + this.projectKey = projectKey; + } + + public ByProjectKeyOrdersQuotesPost post( + com.commercetools.api.models.order.OrderFromQuoteDraft orderFromQuoteDraft) { + return new ByProjectKeyOrdersQuotesPost(apiHttpClient, projectKey, orderFromQuoteDraft); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersRequestBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersRequestBuilder.java index 2dfdb96ca18..a982346fb03 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersRequestBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersRequestBuilder.java @@ -27,6 +27,10 @@ public ByProjectKeyOrdersImportRequestBuilder importOrder() { return new ByProjectKeyOrdersImportRequestBuilder(apiHttpClient, projectKey); } + public ByProjectKeyOrdersQuotesRequestBuilder orderQuote() { + return new ByProjectKeyOrdersQuotesRequestBuilder(apiHttpClient, projectKey); + } + public ByProjectKeyOrdersOrderNumberByOrderNumberRequestBuilder withOrderNumber(String orderNumber) { return new ByProjectKeyOrdersOrderNumberByOrderNumberRequestBuilder(apiHttpClient, projectKey, orderNumber); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java index a745b71fad5..931e181d58b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java index 48726bd4d69..11f9284a4ca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Gets the full representation of a product by ID.

+ *

If Price selection query parameters are provided, the selected Prices are added to the response.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDHead.java index b282f6f507f..c10041c1dfe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDHead.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if product with given ID exists.

+ *

Check if a Product exists with a specified id. Responds with a 200 OK status if the Product exists or 404 Not Found otherwise.

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

Uploads a binary image file to a given product variant. The supported image formats are JPEG, PNG and GIF.

+ *

Upload a JPEG, PNG and GIF file to a ProductVariant. The maximum file size of the image is 10MB. variant or sku is required to update a specific ProductVariant. The image is uploaded to the Master Variant if variant or sku are not included. Produces the ProductImageAdded Message when the Small version of the image has been uploaded to the CDN.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java index c63d9149204..e96715f001a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

If Price selection query parameters are provided, the selected Prices are added to the response.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java index 5e923eaa1ad..25ba25f58bb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

You can use the query endpoint to get the full representations of products. REMARK: We suggest to use the performance optimized search endpoint which has a bunch functionalities, the query API lacks like sorting on custom attributes, etc.

+ *

If Price selection query parameters are provided, the selected Prices are added to the response.

* *
*
@@ -80,6 +80,10 @@ public String getProjectKey() { return this.projectKey; } + public List getWhere() { + return this.getQueryParam("where"); + } + public List getPriceCurrency() { return this.getQueryParam("priceCurrency"); } @@ -116,14 +120,69 @@ public List getWithTotal() { return this.getQueryParam("withTotal"); } - public List getWhere() { - return this.getQueryParam("where"); - } - public void setProjectKey(final String projectKey) { this.projectKey = projectKey; } + /** + * set where with the specified value + */ + public ByProjectKeyProductsGet withWhere(final TValue where) { + return copy().withQueryParam("where", where); + } + + /** + * add additional where query parameter + */ + public ByProjectKeyProductsGet addWhere(final TValue where) { + return copy().addQueryParam("where", where); + } + + /** + * set where with the specified value + */ + public ByProjectKeyProductsGet withWhere(final Supplier supplier) { + return copy().withQueryParam("where", supplier.get()); + } + + /** + * add additional where query parameter + */ + public ByProjectKeyProductsGet addWhere(final Supplier supplier) { + return copy().addQueryParam("where", supplier.get()); + } + + /** + * set where with the specified value + */ + public ByProjectKeyProductsGet withWhere(final Function op) { + return copy().withQueryParam("where", op.apply(new StringBuilder())); + } + + /** + * add additional where query parameter + */ + public ByProjectKeyProductsGet addWhere(final Function op) { + return copy().addQueryParam("where", op.apply(new StringBuilder())); + } + + /** + * set where with the specified values + */ + public ByProjectKeyProductsGet withWhere(final List where) { + return copy().withoutQueryParam("where") + .addQueryParams( + where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList())); + } + + /** + * add additional where query parameters + */ + public ByProjectKeyProductsGet addWhere(final List where) { + return copy().addQueryParams( + where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList())); + } + /** * set priceCurrency with the specified value */ @@ -664,65 +723,6 @@ public ByProjectKeyProductsGet addWithTotal(final List withTota withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList())); } - /** - * set where with the specified value - */ - public ByProjectKeyProductsGet withWhere(final TValue where) { - return copy().withQueryParam("where", where); - } - - /** - * add additional where query parameter - */ - public ByProjectKeyProductsGet addWhere(final TValue where) { - return copy().addQueryParam("where", where); - } - - /** - * set where with the specified value - */ - public ByProjectKeyProductsGet withWhere(final Supplier supplier) { - return copy().withQueryParam("where", supplier.get()); - } - - /** - * add additional where query parameter - */ - public ByProjectKeyProductsGet addWhere(final Supplier supplier) { - return copy().addQueryParam("where", supplier.get()); - } - - /** - * set where with the specified value - */ - public ByProjectKeyProductsGet withWhere(final Function op) { - return copy().withQueryParam("where", op.apply(new StringBuilder())); - } - - /** - * add additional where query parameter - */ - public ByProjectKeyProductsGet addWhere(final Function op) { - return copy().addQueryParam("where", op.apply(new StringBuilder())); - } - - /** - * set where with the specified values - */ - public ByProjectKeyProductsGet withWhere(final List where) { - return copy().withoutQueryParam("where") - .addQueryParams( - where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList())); - } - - /** - * add additional where query parameters - */ - public ByProjectKeyProductsGet addWhere(final List where) { - return copy().addQueryParams( - where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList())); - } - /** * set predicateVar with the specificied value */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsHead.java index 3b09b52cf8a..048f5ed86bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsHead.java @@ -6,6 +6,9 @@ import java.util.ArrayList; import java.util.List; import java.util.concurrent.CompletableFuture; +import java.util.function.Function; +import java.util.function.Supplier; +import java.util.stream.Collectors; import io.vrap.rmf.base.client.*; import io.vrap.rmf.base.client.utils.Generated; @@ -14,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if products exist.

+ *

Check if Products exist. Responds with a 200 OK status if any Products match the Query Predicate, or 404 Not Found otherwise.

* *
*
@@ -71,10 +74,73 @@ public String getProjectKey() { return this.projectKey; } + public List getWhere() { + return this.getQueryParam("where"); + } + public void setProjectKey(final String projectKey) { this.projectKey = projectKey; } + /** + * set where with the specified value + */ + public ByProjectKeyProductsHead withWhere(final TValue where) { + return copy().withQueryParam("where", where); + } + + /** + * add additional where query parameter + */ + public ByProjectKeyProductsHead addWhere(final TValue where) { + return copy().addQueryParam("where", where); + } + + /** + * set where with the specified value + */ + public ByProjectKeyProductsHead withWhere(final Supplier supplier) { + return copy().withQueryParam("where", supplier.get()); + } + + /** + * add additional where query parameter + */ + public ByProjectKeyProductsHead addWhere(final Supplier supplier) { + return copy().addQueryParam("where", supplier.get()); + } + + /** + * set where with the specified value + */ + public ByProjectKeyProductsHead withWhere(final Function op) { + return copy().withQueryParam("where", op.apply(new StringBuilder())); + } + + /** + * add additional where query parameter + */ + public ByProjectKeyProductsHead addWhere(final Function op) { + return copy().addQueryParam("where", op.apply(new StringBuilder())); + } + + /** + * set where with the specified values + */ + public ByProjectKeyProductsHead withWhere(final List where) { + return copy().withoutQueryParam("where") + .addQueryParams( + where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList())); + } + + /** + * add additional where query parameters + */ + public ByProjectKeyProductsHead addWhere(final List where) { + return copy().addQueryParams( + where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList())); + } + @Override public boolean equals(Object o) { if (this == o) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java index 9947f805d05..1f83177398e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * + *

If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java index 33b07398c70..7fbc5bb5eb7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Gets the full representation of a product by Key.

+ *

If Price selection query parameters are provided, the selected Prices are added to the response.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyHead.java index e35c938281b..3e17f6c72f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyHead.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Checks if product with given key exists.

+ *

Check if a Product exists with a specified key. Responds with a 200 OK status if the Product exists or 404 Not Found otherwise.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java index b3a29e153f0..99d325e701a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

To create a new product, send a representation that is going to become the initial staged representation of the new product in the master catalog. If price selection query parameters are provided, the selected prices will be added to the response.

+ *

To create a new Product, send a representation that is going to become the initial staged representation of the new Product in the master catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDDelete.java index a39eb91d94b..998993a66a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDDelete.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Produces the StandalonePriceDeletedMessage.

+ *

Produces the StandalonePriceDeleted Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyDelete.java index dfa860bc88f..c88394e8e7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyDelete.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Produces the StandalonePriceDeletedMessage.

+ *

Produces the StandalonePriceDeleted Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java index 7bc7ecdd94d..05f043d41b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Produces the StandalonePriceCreatedMessage.

+ *

Produces the StandalonePriceCreated Message.

* *
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/Cart.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/Cart.java index 7ac1766e805..f88cab41177 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/Cart.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/Cart.java @@ -40,6 +40,8 @@ * .plusCustomLineItems(customLineItemsBuilder -> customLineItemsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) * .cartState(CartState.ACTIVE) + * .shippingMode(ShippingMode.SINGLE) + * .plusShipping(shippingBuilder -> shippingBuilder) * .taxMode(TaxMode.PLATFORM) * .taxRoundingMode(RoundingMode.HALF_EVEN) * .taxCalculationMode(TaxCalculationMode.LINE_ITEM_LEVEL) @@ -163,6 +165,13 @@ public interface Cart extends BaseResource, com.commercetools.api.models.DomainR @JsonProperty("taxedPrice") public TaxedPrice getTaxedPrice(); + /** + *

Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

+ */ + @Valid + @JsonProperty("taxedShippingPrice") + public TaxedPrice getTaxedShippingPrice(); + /** * */ @@ -184,6 +193,22 @@ public interface Cart extends BaseResource, com.commercetools.api.models.DomainR @JsonProperty("billingAddress") public Address getBillingAddress(); + /** + *

Indicates whether one or multiple Shipping Methods are added to the Cart.

+ */ + @NotNull + @JsonProperty("shippingMode") + public ShippingMode getShippingMode(); + + /** + *

Holds all shipping-related information per Shipping Method of a Cart with Multi ShippingMode.

+ *

It is automatically updated after the Shipping Method is added.

+ */ + @NotNull + @Valid + @JsonProperty("shipping") + public List getShipping(); + /** * */ @@ -227,7 +252,7 @@ public interface Cart extends BaseResource, com.commercetools.api.models.DomainR public String getCountry(); /** - *

Set automatically once the ShippingMethod is set.

+ *

Shipping-related information of a Cart with Single ShippingMode. Set automatically once the ShippingMethod is set.

*/ @Valid @JsonProperty("shippingInfo") @@ -347,12 +372,21 @@ public interface Cart extends BaseResource, com.commercetools.api.models.DomainR public void setTaxedPrice(final TaxedPrice taxedPrice); + public void setTaxedShippingPrice(final TaxedPrice taxedShippingPrice); + public void setCartState(final CartState cartState); public void setShippingAddress(final Address shippingAddress); public void setBillingAddress(final Address billingAddress); + public void setShippingMode(final ShippingMode shippingMode); + + @JsonIgnore + public void setShipping(final Shipping... shipping); + + public void setShipping(final List shipping); + public void setInventoryMode(final InventoryMode inventoryMode); public void setTaxMode(final TaxMode taxMode); @@ -422,9 +456,12 @@ public static Cart of(final Cart template) { instance.setCustomLineItems(template.getCustomLineItems()); instance.setTotalPrice(template.getTotalPrice()); instance.setTaxedPrice(template.getTaxedPrice()); + instance.setTaxedShippingPrice(template.getTaxedShippingPrice()); instance.setCartState(template.getCartState()); instance.setShippingAddress(template.getShippingAddress()); instance.setBillingAddress(template.getBillingAddress()); + instance.setShippingMode(template.getShippingMode()); + instance.setShipping(template.getShipping()); instance.setInventoryMode(template.getInventoryMode()); instance.setTaxMode(template.getTaxMode()); instance.setTaxRoundingMode(template.getTaxRoundingMode()); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemAction.java index 6ba137ac650..2e96e3e7885 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemAction.java @@ -92,6 +92,16 @@ public interface CartAddCustomLineItemAction @JsonProperty("externalTaxRate") public ExternalTaxRateDraft getExternalTaxRate(); + /** + *
    + *
  • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
  • + *
  • If External, Cart Discounts are not considered on the Custom Line Item.
  • + *
+ */ + + @JsonProperty("priceMode") + public CustomLineItemPriceMode getPriceMode(); + public void setMoney(final Money money); public void setName(final LocalizedString name); @@ -106,6 +116,8 @@ public interface CartAddCustomLineItemAction public void setExternalTaxRate(final ExternalTaxRateDraft externalTaxRate); + public void setPriceMode(final CustomLineItemPriceMode priceMode); + public static CartAddCustomLineItemAction of() { return new CartAddCustomLineItemActionImpl(); } @@ -119,6 +131,7 @@ public static CartAddCustomLineItemAction of(final CartAddCustomLineItemAction t instance.setTaxCategory(template.getTaxCategory()); instance.setCustom(template.getCustom()); instance.setExternalTaxRate(template.getExternalTaxRate()); + instance.setPriceMode(template.getPriceMode()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemActionBuilder.java index 2bc33d582e9..2f41432b58e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemActionBuilder.java @@ -44,6 +44,9 @@ public class CartAddCustomLineItemActionBuilder implements BuilderDraft type that stores amounts in cent precision for the specified currency.

*

For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

@@ -165,6 +168,19 @@ public CartAddCustomLineItemActionBuilder externalTaxRate( return this; } + /** + *
    + *
  • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
  • + *
  • If External, Cart Discounts are not considered on the Custom Line Item.
  • + *
+ */ + + public CartAddCustomLineItemActionBuilder priceMode( + @Nullable final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { + this.priceMode = priceMode; + return this; + } + public com.commercetools.api.models.common.Money getMoney() { return this.money; } @@ -196,19 +212,26 @@ public com.commercetools.api.models.cart.ExternalTaxRateDraft getExternalTaxRate return this.externalTaxRate; } + @Nullable + public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { + return this.priceMode; + } + public CartAddCustomLineItemAction build() { Objects.requireNonNull(money, CartAddCustomLineItemAction.class + ": money is missing"); Objects.requireNonNull(name, CartAddCustomLineItemAction.class + ": name is missing"); Objects.requireNonNull(quantity, CartAddCustomLineItemAction.class + ": quantity is missing"); Objects.requireNonNull(slug, CartAddCustomLineItemAction.class + ": slug is missing"); - return new CartAddCustomLineItemActionImpl(money, name, quantity, slug, taxCategory, custom, externalTaxRate); + return new CartAddCustomLineItemActionImpl(money, name, quantity, slug, taxCategory, custom, externalTaxRate, + priceMode); } /** * builds CartAddCustomLineItemAction without checking for non null required values */ public CartAddCustomLineItemAction buildUnchecked() { - return new CartAddCustomLineItemActionImpl(money, name, quantity, slug, taxCategory, custom, externalTaxRate); + return new CartAddCustomLineItemActionImpl(money, name, quantity, slug, taxCategory, custom, externalTaxRate, + priceMode); } public static CartAddCustomLineItemActionBuilder of() { @@ -224,6 +247,7 @@ public static CartAddCustomLineItemActionBuilder of(final CartAddCustomLineItemA builder.taxCategory = template.getTaxCategory(); builder.custom = template.getCustom(); builder.externalTaxRate = template.getExternalTaxRate(); + builder.priceMode = template.getPriceMode(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemActionImpl.java index 5b63bfaaeb1..149f72b3114 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomLineItemActionImpl.java @@ -36,13 +36,16 @@ public class CartAddCustomLineItemActionImpl implements CartAddCustomLineItemAct private com.commercetools.api.models.cart.ExternalTaxRateDraft externalTaxRate; + private com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode; + @JsonCreator CartAddCustomLineItemActionImpl(@JsonProperty("money") final com.commercetools.api.models.common.Money money, @JsonProperty("name") final com.commercetools.api.models.common.LocalizedString name, @JsonProperty("quantity") final Long quantity, @JsonProperty("slug") final String slug, @JsonProperty("taxCategory") final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory, @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom, - @JsonProperty("externalTaxRate") final com.commercetools.api.models.cart.ExternalTaxRateDraft externalTaxRate) { + @JsonProperty("externalTaxRate") final com.commercetools.api.models.cart.ExternalTaxRateDraft externalTaxRate, + @JsonProperty("priceMode") final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { this.money = money; this.name = name; this.quantity = quantity; @@ -50,6 +53,7 @@ public class CartAddCustomLineItemActionImpl implements CartAddCustomLineItemAct this.taxCategory = taxCategory; this.custom = custom; this.externalTaxRate = externalTaxRate; + this.priceMode = priceMode; this.action = ADD_CUSTOM_LINE_ITEM; } @@ -122,6 +126,17 @@ public com.commercetools.api.models.cart.ExternalTaxRateDraft getExternalTaxRate return this.externalTaxRate; } + /** + *
    + *
  • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
  • + *
  • If External, Cart Discounts are not considered on the Custom Line Item.
  • + *
+ */ + + public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { + return this.priceMode; + } + public void setMoney(final com.commercetools.api.models.common.Money money) { this.money = money; } @@ -151,6 +166,10 @@ public void setExternalTaxRate(final com.commercetools.api.models.cart.ExternalT this.externalTaxRate = externalTaxRate; } + public void setPriceMode(final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { + this.priceMode = priceMode; + } + @Override public boolean equals(Object o) { if (this == o) @@ -169,6 +188,7 @@ public boolean equals(Object o) { .append(taxCategory, that.taxCategory) .append(custom, that.custom) .append(externalTaxRate, that.externalTaxRate) + .append(priceMode, that.priceMode) .isEquals(); } @@ -182,6 +202,7 @@ public int hashCode() { .append(taxCategory) .append(custom) .append(externalTaxRate) + .append(priceMode) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodAction.java new file mode 100644 index 00000000000..418e0ba37d6 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodAction.java @@ -0,0 +1,171 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.BaseAddress; +import com.commercetools.api.models.order.Delivery; +import com.commercetools.api.models.shipping_method.ShippingRateDraft; +import com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartAddCustomShippingMethodAction + * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartAddCustomShippingMethodAction cartAddCustomShippingMethodAction = CartAddCustomShippingMethodAction.builder()
+ *             .shippingKey("{shippingKey}")
+ *             .shippingMethodName("{shippingMethodName}")
+ *             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
+ *             .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = CartAddCustomShippingMethodActionImpl.class) +public interface CartAddCustomShippingMethodAction extends CartUpdateAction { + + String ADD_CUSTOM_SHIPPING_METHOD = "addCustomShippingMethod"; + + /** + *

User-defined unique identifier of the custom Shipping Method in a Cart with Multi ShippingMode.

+ */ + @NotNull + @JsonProperty("shippingKey") + public String getShippingKey(); + + /** + *

Name of the custom Shipping Method.

+ */ + @NotNull + @JsonProperty("shippingMethodName") + public String getShippingMethodName(); + + /** + *

Determines the shipping rate and Tax Rate of the associated Line Items.

+ */ + @Valid + @JsonProperty("shippingAddress") + public BaseAddress getShippingAddress(); + + /** + *

Determines the shipping price.

+ */ + @NotNull + @Valid + @JsonProperty("shippingRate") + public ShippingRateDraft getShippingRate(); + + /** + *

Used as an input to select a ShippingRatePriceTier.

+ *
    + *
  • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
  • + *
  • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
  • + *
+ *

The shippingRateInput cannot be set on the Cart if CartValueType is defined.

+ */ + @Valid + @JsonProperty("shippingRateInput") + public ShippingRateInputDraft getShippingRateInput(); + + /** + *

Tax Category used to determine a shipping Tax Rate if a Cart has the Platform TaxMode.

+ */ + @Valid + @JsonProperty("taxCategory") + public TaxCategoryResourceIdentifier getTaxCategory(); + + /** + *

Tax Rate used to tax a shipping expense if the Cart has the External TaxMode.

+ */ + + @JsonProperty("externalTaxRate") + public String getExternalTaxRate(); + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + @NotNull + @Valid + @JsonProperty("deliveries") + public List getDeliveries(); + + /** + *

Custom Fields for the custom Shipping Method.

+ */ + + @JsonProperty("custom") + public String getCustom(); + + public void setShippingKey(final String shippingKey); + + public void setShippingMethodName(final String shippingMethodName); + + public void setShippingAddress(final BaseAddress shippingAddress); + + public void setShippingRate(final ShippingRateDraft shippingRate); + + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); + + public void setTaxCategory(final TaxCategoryResourceIdentifier taxCategory); + + public void setExternalTaxRate(final String externalTaxRate); + + @JsonIgnore + public void setDeliveries(final Delivery... deliveries); + + public void setDeliveries(final List deliveries); + + public void setCustom(final String custom); + + public static CartAddCustomShippingMethodAction of() { + return new CartAddCustomShippingMethodActionImpl(); + } + + public static CartAddCustomShippingMethodAction of(final CartAddCustomShippingMethodAction template) { + CartAddCustomShippingMethodActionImpl instance = new CartAddCustomShippingMethodActionImpl(); + instance.setShippingKey(template.getShippingKey()); + instance.setShippingMethodName(template.getShippingMethodName()); + instance.setShippingAddress(template.getShippingAddress()); + instance.setShippingRate(template.getShippingRate()); + instance.setShippingRateInput(template.getShippingRateInput()); + instance.setTaxCategory(template.getTaxCategory()); + instance.setExternalTaxRate(template.getExternalTaxRate()); + instance.setDeliveries(template.getDeliveries()); + instance.setCustom(template.getCustom()); + return instance; + } + + public static CartAddCustomShippingMethodActionBuilder builder() { + return CartAddCustomShippingMethodActionBuilder.of(); + } + + public static CartAddCustomShippingMethodActionBuilder builder(final CartAddCustomShippingMethodAction template) { + return CartAddCustomShippingMethodActionBuilder.of(template); + } + + default T withCartAddCustomShippingMethodAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodActionBuilder.java new file mode 100644 index 00000000000..287f45f4789 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodActionBuilder.java @@ -0,0 +1,317 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartAddCustomShippingMethodActionBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartAddCustomShippingMethodAction cartAddCustomShippingMethodAction = CartAddCustomShippingMethodAction.builder()
+ *             .shippingKey("{shippingKey}")
+ *             .shippingMethodName("{shippingMethodName}")
+ *             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
+ *             .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartAddCustomShippingMethodActionBuilder implements Builder { + + private String shippingKey; + + private String shippingMethodName; + + @Nullable + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + private com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate; + + @Nullable + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + @Nullable + private com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory; + + @Nullable + private String externalTaxRate; + + private java.util.List deliveries; + + @Nullable + private String custom; + + /** + *

User-defined unique identifier of the custom Shipping Method in a Cart with Multi ShippingMode.

+ */ + + public CartAddCustomShippingMethodActionBuilder shippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + + /** + *

Name of the custom Shipping Method.

+ */ + + public CartAddCustomShippingMethodActionBuilder shippingMethodName(final String shippingMethodName) { + this.shippingMethodName = shippingMethodName; + return this; + } + + /** + *

Determines the shipping rate and Tax Rate of the associated Line Items.

+ */ + + public CartAddCustomShippingMethodActionBuilder shippingAddress( + Function builder) { + this.shippingAddress = builder.apply(com.commercetools.api.models.common.BaseAddressBuilder.of()).build(); + return this; + } + + /** + *

Determines the shipping rate and Tax Rate of the associated Line Items.

+ */ + + public CartAddCustomShippingMethodActionBuilder shippingAddress( + @Nullable final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *

Determines the shipping price.

+ */ + + public CartAddCustomShippingMethodActionBuilder shippingRate( + Function builder) { + this.shippingRate = builder.apply(com.commercetools.api.models.shipping_method.ShippingRateDraftBuilder.of()) + .build(); + return this; + } + + /** + *

Determines the shipping price.

+ */ + + public CartAddCustomShippingMethodActionBuilder shippingRate( + final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate) { + this.shippingRate = shippingRate; + return this; + } + + /** + *

Used as an input to select a ShippingRatePriceTier.

+ *
    + *
  • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
  • + *
  • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
  • + *
+ *

The shippingRateInput cannot be set on the Cart if CartValueType is defined.

+ */ + + public CartAddCustomShippingMethodActionBuilder shippingRateInput( + @Nullable final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + return this; + } + + /** + *

Used as an input to select a ShippingRatePriceTier.

+ *
    + *
  • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
  • + *
  • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
  • + *
+ *

The shippingRateInput cannot be set on the Cart if CartValueType is defined.

+ */ + + public CartAddCustomShippingMethodActionBuilder shippingRateInput( + Function> builder) { + this.shippingRateInput = builder.apply(com.commercetools.api.models.cart.ShippingRateInputDraftBuilder.of()) + .build(); + return this; + } + + /** + *

Tax Category used to determine a shipping Tax Rate if a Cart has the Platform TaxMode.

+ */ + + public CartAddCustomShippingMethodActionBuilder taxCategory( + Function builder) { + this.taxCategory = builder + .apply(com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifierBuilder.of()) + .build(); + return this; + } + + /** + *

Tax Category used to determine a shipping Tax Rate if a Cart has the Platform TaxMode.

+ */ + + public CartAddCustomShippingMethodActionBuilder taxCategory( + @Nullable final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory) { + this.taxCategory = taxCategory; + return this; + } + + /** + *

Tax Rate used to tax a shipping expense if the Cart has the External TaxMode.

+ */ + + public CartAddCustomShippingMethodActionBuilder externalTaxRate(@Nullable final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddCustomShippingMethodActionBuilder deliveries( + final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddCustomShippingMethodActionBuilder deliveries( + final java.util.List deliveries) { + this.deliveries = deliveries; + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddCustomShippingMethodActionBuilder plusDeliveries( + final com.commercetools.api.models.order.Delivery... deliveries) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.addAll(Arrays.asList(deliveries)); + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddCustomShippingMethodActionBuilder plusDeliveries( + Function builder) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.add(builder.apply(com.commercetools.api.models.order.DeliveryBuilder.of()).build()); + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddCustomShippingMethodActionBuilder withDeliveries( + Function builder) { + this.deliveries = new ArrayList<>(); + this.deliveries.add(builder.apply(com.commercetools.api.models.order.DeliveryBuilder.of()).build()); + return this; + } + + /** + *

Custom Fields for the custom Shipping Method.

+ */ + + public CartAddCustomShippingMethodActionBuilder custom(@Nullable final String custom) { + this.custom = custom; + return this; + } + + public String getShippingKey() { + return this.shippingKey; + } + + public String getShippingMethodName() { + return this.shippingMethodName; + } + + @Nullable + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + public com.commercetools.api.models.shipping_method.ShippingRateDraft getShippingRate() { + return this.shippingRate; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier getTaxCategory() { + return this.taxCategory; + } + + @Nullable + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + public java.util.List getDeliveries() { + return this.deliveries; + } + + @Nullable + public String getCustom() { + return this.custom; + } + + public CartAddCustomShippingMethodAction build() { + Objects.requireNonNull(shippingKey, CartAddCustomShippingMethodAction.class + ": shippingKey is missing"); + Objects.requireNonNull(shippingMethodName, + CartAddCustomShippingMethodAction.class + ": shippingMethodName is missing"); + Objects.requireNonNull(shippingRate, CartAddCustomShippingMethodAction.class + ": shippingRate is missing"); + Objects.requireNonNull(deliveries, CartAddCustomShippingMethodAction.class + ": deliveries is missing"); + return new CartAddCustomShippingMethodActionImpl(shippingKey, shippingMethodName, shippingAddress, shippingRate, + shippingRateInput, taxCategory, externalTaxRate, deliveries, custom); + } + + /** + * builds CartAddCustomShippingMethodAction without checking for non null required values + */ + public CartAddCustomShippingMethodAction buildUnchecked() { + return new CartAddCustomShippingMethodActionImpl(shippingKey, shippingMethodName, shippingAddress, shippingRate, + shippingRateInput, taxCategory, externalTaxRate, deliveries, custom); + } + + public static CartAddCustomShippingMethodActionBuilder of() { + return new CartAddCustomShippingMethodActionBuilder(); + } + + public static CartAddCustomShippingMethodActionBuilder of(final CartAddCustomShippingMethodAction template) { + CartAddCustomShippingMethodActionBuilder builder = new CartAddCustomShippingMethodActionBuilder(); + builder.shippingKey = template.getShippingKey(); + builder.shippingMethodName = template.getShippingMethodName(); + builder.shippingAddress = template.getShippingAddress(); + builder.shippingRate = template.getShippingRate(); + builder.shippingRateInput = template.getShippingRateInput(); + builder.taxCategory = template.getTaxCategory(); + builder.externalTaxRate = template.getExternalTaxRate(); + builder.deliveries = template.getDeliveries(); + builder.custom = template.getCustom(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodActionImpl.java new file mode 100644 index 00000000000..a4875beb2eb --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddCustomShippingMethodActionImpl.java @@ -0,0 +1,233 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * CartAddCustomShippingMethodAction + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartAddCustomShippingMethodActionImpl implements CartAddCustomShippingMethodAction, ModelBase { + + private String action; + + private String shippingKey; + + private String shippingMethodName; + + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + private com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate; + + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + private com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory; + + private String externalTaxRate; + + private java.util.List deliveries; + + private String custom; + + @JsonCreator + CartAddCustomShippingMethodActionImpl(@JsonProperty("shippingKey") final String shippingKey, + @JsonProperty("shippingMethodName") final String shippingMethodName, + @JsonProperty("shippingAddress") final com.commercetools.api.models.common.BaseAddress shippingAddress, + @JsonProperty("shippingRate") final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate, + @JsonProperty("shippingRateInput") final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput, + @JsonProperty("taxCategory") final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory, + @JsonProperty("externalTaxRate") final String externalTaxRate, + @JsonProperty("deliveries") final java.util.List deliveries, + @JsonProperty("custom") final String custom) { + this.shippingKey = shippingKey; + this.shippingMethodName = shippingMethodName; + this.shippingAddress = shippingAddress; + this.shippingRate = shippingRate; + this.shippingRateInput = shippingRateInput; + this.taxCategory = taxCategory; + this.externalTaxRate = externalTaxRate; + this.deliveries = deliveries; + this.custom = custom; + this.action = ADD_CUSTOM_SHIPPING_METHOD; + } + + public CartAddCustomShippingMethodActionImpl() { + this.action = ADD_CUSTOM_SHIPPING_METHOD; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

User-defined unique identifier of the custom Shipping Method in a Cart with Multi ShippingMode.

+ */ + + public String getShippingKey() { + return this.shippingKey; + } + + /** + *

Name of the custom Shipping Method.

+ */ + + public String getShippingMethodName() { + return this.shippingMethodName; + } + + /** + *

Determines the shipping rate and Tax Rate of the associated Line Items.

+ */ + + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + /** + *

Determines the shipping price.

+ */ + + public com.commercetools.api.models.shipping_method.ShippingRateDraft getShippingRate() { + return this.shippingRate; + } + + /** + *

Used as an input to select a ShippingRatePriceTier.

+ *
    + *
  • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
  • + *
  • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
  • + *
+ *

The shippingRateInput cannot be set on the Cart if CartValueType is defined.

+ */ + + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + /** + *

Tax Category used to determine a shipping Tax Rate if a Cart has the Platform TaxMode.

+ */ + + public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier getTaxCategory() { + return this.taxCategory; + } + + /** + *

Tax Rate used to tax a shipping expense if the Cart has the External TaxMode.

+ */ + + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public java.util.List getDeliveries() { + return this.deliveries; + } + + /** + *

Custom Fields for the custom Shipping Method.

+ */ + + public String getCustom() { + return this.custom; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + public void setShippingMethodName(final String shippingMethodName) { + this.shippingMethodName = shippingMethodName; + } + + public void setShippingAddress(final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRate(final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate) { + this.shippingRate = shippingRate; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setTaxCategory( + final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory) { + this.taxCategory = taxCategory; + } + + public void setExternalTaxRate(final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + } + + public void setDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + } + + public void setDeliveries(final java.util.List deliveries) { + this.deliveries = deliveries; + } + + public void setCustom(final String custom) { + this.custom = custom; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + CartAddCustomShippingMethodActionImpl that = (CartAddCustomShippingMethodActionImpl) o; + + return new EqualsBuilder().append(action, that.action) + .append(shippingKey, that.shippingKey) + .append(shippingMethodName, that.shippingMethodName) + .append(shippingAddress, that.shippingAddress) + .append(shippingRate, that.shippingRate) + .append(shippingRateInput, that.shippingRateInput) + .append(taxCategory, that.taxCategory) + .append(externalTaxRate, that.externalTaxRate) + .append(deliveries, that.deliveries) + .append(custom, that.custom) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action) + .append(shippingKey) + .append(shippingMethodName) + .append(shippingAddress) + .append(shippingRate) + .append(shippingRateInput) + .append(taxCategory) + .append(externalTaxRate) + .append(deliveries) + .append(custom) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodAction.java new file mode 100644 index 00000000000..6e620509ce5 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodAction.java @@ -0,0 +1,147 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.BaseAddress; +import com.commercetools.api.models.order.Delivery; +import com.commercetools.api.models.shipping_method.ShippingMethodReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

This update action fails with an InvalidOperation error if the referenced shipping method has a predicate that does not match the Cart.

+ * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartAddShippingMethodAction cartAddShippingMethodAction = CartAddShippingMethodAction.builder()
+ *             .shippingKey("{shippingKey}")
+ *             .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = CartAddShippingMethodActionImpl.class) +public interface CartAddShippingMethodAction extends CartUpdateAction { + + String ADD_SHIPPING_METHOD = "addShippingMethod"; + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + @NotNull + @JsonProperty("shippingKey") + public String getShippingKey(); + + /** + *

Value to set. If empty, any existing value is removed.

+ */ + @Valid + @JsonProperty("shippingMethod") + public ShippingMethodReference getShippingMethod(); + + /** + *

Determines the shipping rate and Tax Rate of the Line Items.

+ */ + @Valid + @JsonProperty("shippingAddress") + public BaseAddress getShippingAddress(); + + /** + *

Used as an input to select a ShippingRatePriceTier.

+ *
    + *
  • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
  • + *
  • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
  • + *
+ *

The shippingRateInput cannot be set on the Cart if CartValueType is defined.

+ */ + @Valid + @JsonProperty("shippingRateInput") + public ShippingRateInputDraft getShippingRateInput(); + + /** + *

Tax Rate used to tax a shipping expense if a Cart has the External TaxMode.

+ */ + + @JsonProperty("externalTaxRate") + public String getExternalTaxRate(); + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + @NotNull + @Valid + @JsonProperty("deliveries") + public List getDeliveries(); + + /** + *

Custom Fields for the Shipping Method.

+ */ + + @JsonProperty("custom") + public String getCustom(); + + public void setShippingKey(final String shippingKey); + + public void setShippingMethod(final ShippingMethodReference shippingMethod); + + public void setShippingAddress(final BaseAddress shippingAddress); + + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); + + public void setExternalTaxRate(final String externalTaxRate); + + @JsonIgnore + public void setDeliveries(final Delivery... deliveries); + + public void setDeliveries(final List deliveries); + + public void setCustom(final String custom); + + public static CartAddShippingMethodAction of() { + return new CartAddShippingMethodActionImpl(); + } + + public static CartAddShippingMethodAction of(final CartAddShippingMethodAction template) { + CartAddShippingMethodActionImpl instance = new CartAddShippingMethodActionImpl(); + instance.setShippingKey(template.getShippingKey()); + instance.setShippingMethod(template.getShippingMethod()); + instance.setShippingAddress(template.getShippingAddress()); + instance.setShippingRateInput(template.getShippingRateInput()); + instance.setExternalTaxRate(template.getExternalTaxRate()); + instance.setDeliveries(template.getDeliveries()); + instance.setCustom(template.getCustom()); + return instance; + } + + public static CartAddShippingMethodActionBuilder builder() { + return CartAddShippingMethodActionBuilder.of(); + } + + public static CartAddShippingMethodActionBuilder builder(final CartAddShippingMethodAction template) { + return CartAddShippingMethodActionBuilder.of(template); + } + + default T withCartAddShippingMethodAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodActionBuilder.java new file mode 100644 index 00000000000..20513bff00a --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodActionBuilder.java @@ -0,0 +1,268 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartAddShippingMethodActionBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartAddShippingMethodAction cartAddShippingMethodAction = CartAddShippingMethodAction.builder()
+ *             .shippingKey("{shippingKey}")
+ *             .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartAddShippingMethodActionBuilder implements Builder { + + private String shippingKey; + + @Nullable + private com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod; + + @Nullable + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + @Nullable + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + @Nullable + private String externalTaxRate; + + private java.util.List deliveries; + + @Nullable + private String custom; + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + + public CartAddShippingMethodActionBuilder shippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + + /** + *

Value to set. If empty, any existing value is removed.

+ */ + + public CartAddShippingMethodActionBuilder shippingMethod( + Function builder) { + this.shippingMethod = builder + .apply(com.commercetools.api.models.shipping_method.ShippingMethodReferenceBuilder.of()) + .build(); + return this; + } + + /** + *

Value to set. If empty, any existing value is removed.

+ */ + + public CartAddShippingMethodActionBuilder shippingMethod( + @Nullable final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod) { + this.shippingMethod = shippingMethod; + return this; + } + + /** + *

Determines the shipping rate and Tax Rate of the Line Items.

+ */ + + public CartAddShippingMethodActionBuilder shippingAddress( + Function builder) { + this.shippingAddress = builder.apply(com.commercetools.api.models.common.BaseAddressBuilder.of()).build(); + return this; + } + + /** + *

Determines the shipping rate and Tax Rate of the Line Items.

+ */ + + public CartAddShippingMethodActionBuilder shippingAddress( + @Nullable final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *

Used as an input to select a ShippingRatePriceTier.

+ *
    + *
  • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
  • + *
  • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
  • + *
+ *

The shippingRateInput cannot be set on the Cart if CartValueType is defined.

+ */ + + public CartAddShippingMethodActionBuilder shippingRateInput( + @Nullable final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + return this; + } + + /** + *

Used as an input to select a ShippingRatePriceTier.

+ *
    + *
  • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
  • + *
  • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
  • + *
+ *

The shippingRateInput cannot be set on the Cart if CartValueType is defined.

+ */ + + public CartAddShippingMethodActionBuilder shippingRateInput( + Function> builder) { + this.shippingRateInput = builder.apply(com.commercetools.api.models.cart.ShippingRateInputDraftBuilder.of()) + .build(); + return this; + } + + /** + *

Tax Rate used to tax a shipping expense if a Cart has the External TaxMode.

+ */ + + public CartAddShippingMethodActionBuilder externalTaxRate(@Nullable final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddShippingMethodActionBuilder deliveries( + final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddShippingMethodActionBuilder deliveries( + final java.util.List deliveries) { + this.deliveries = deliveries; + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddShippingMethodActionBuilder plusDeliveries( + final com.commercetools.api.models.order.Delivery... deliveries) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.addAll(Arrays.asList(deliveries)); + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddShippingMethodActionBuilder plusDeliveries( + Function builder) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.add(builder.apply(com.commercetools.api.models.order.DeliveryBuilder.of()).build()); + return this; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public CartAddShippingMethodActionBuilder withDeliveries( + Function builder) { + this.deliveries = new ArrayList<>(); + this.deliveries.add(builder.apply(com.commercetools.api.models.order.DeliveryBuilder.of()).build()); + return this; + } + + /** + *

Custom Fields for the Shipping Method.

+ */ + + public CartAddShippingMethodActionBuilder custom(@Nullable final String custom) { + this.custom = custom; + return this; + } + + public String getShippingKey() { + return this.shippingKey; + } + + @Nullable + public com.commercetools.api.models.shipping_method.ShippingMethodReference getShippingMethod() { + return this.shippingMethod; + } + + @Nullable + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + public java.util.List getDeliveries() { + return this.deliveries; + } + + @Nullable + public String getCustom() { + return this.custom; + } + + public CartAddShippingMethodAction build() { + Objects.requireNonNull(shippingKey, CartAddShippingMethodAction.class + ": shippingKey is missing"); + Objects.requireNonNull(deliveries, CartAddShippingMethodAction.class + ": deliveries is missing"); + return new CartAddShippingMethodActionImpl(shippingKey, shippingMethod, shippingAddress, shippingRateInput, + externalTaxRate, deliveries, custom); + } + + /** + * builds CartAddShippingMethodAction without checking for non null required values + */ + public CartAddShippingMethodAction buildUnchecked() { + return new CartAddShippingMethodActionImpl(shippingKey, shippingMethod, shippingAddress, shippingRateInput, + externalTaxRate, deliveries, custom); + } + + public static CartAddShippingMethodActionBuilder of() { + return new CartAddShippingMethodActionBuilder(); + } + + public static CartAddShippingMethodActionBuilder of(final CartAddShippingMethodAction template) { + CartAddShippingMethodActionBuilder builder = new CartAddShippingMethodActionBuilder(); + builder.shippingKey = template.getShippingKey(); + builder.shippingMethod = template.getShippingMethod(); + builder.shippingAddress = template.getShippingAddress(); + builder.shippingRateInput = template.getShippingRateInput(); + builder.externalTaxRate = template.getExternalTaxRate(); + builder.deliveries = template.getDeliveries(); + builder.custom = template.getCustom(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodActionImpl.java new file mode 100644 index 00000000000..858d2e4261d --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShippingMethodActionImpl.java @@ -0,0 +1,197 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

This update action fails with an InvalidOperation error if the referenced shipping method has a predicate that does not match the Cart.

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartAddShippingMethodActionImpl implements CartAddShippingMethodAction, ModelBase { + + private String action; + + private String shippingKey; + + private com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod; + + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + private String externalTaxRate; + + private java.util.List deliveries; + + private String custom; + + @JsonCreator + CartAddShippingMethodActionImpl(@JsonProperty("shippingKey") final String shippingKey, + @JsonProperty("shippingMethod") final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod, + @JsonProperty("shippingAddress") final com.commercetools.api.models.common.BaseAddress shippingAddress, + @JsonProperty("shippingRateInput") final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput, + @JsonProperty("externalTaxRate") final String externalTaxRate, + @JsonProperty("deliveries") final java.util.List deliveries, + @JsonProperty("custom") final String custom) { + this.shippingKey = shippingKey; + this.shippingMethod = shippingMethod; + this.shippingAddress = shippingAddress; + this.shippingRateInput = shippingRateInput; + this.externalTaxRate = externalTaxRate; + this.deliveries = deliveries; + this.custom = custom; + this.action = ADD_SHIPPING_METHOD; + } + + public CartAddShippingMethodActionImpl() { + this.action = ADD_SHIPPING_METHOD; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + + public String getShippingKey() { + return this.shippingKey; + } + + /** + *

Value to set. If empty, any existing value is removed.

+ */ + + public com.commercetools.api.models.shipping_method.ShippingMethodReference getShippingMethod() { + return this.shippingMethod; + } + + /** + *

Determines the shipping rate and Tax Rate of the Line Items.

+ */ + + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + /** + *

Used as an input to select a ShippingRatePriceTier.

+ *
    + *
  • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
  • + *
  • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
  • + *
+ *

The shippingRateInput cannot be set on the Cart if CartValueType is defined.

+ */ + + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + /** + *

Tax Rate used to tax a shipping expense if a Cart has the External TaxMode.

+ */ + + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + /** + *

Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

+ */ + + public java.util.List getDeliveries() { + return this.deliveries; + } + + /** + *

Custom Fields for the Shipping Method.

+ */ + + public String getCustom() { + return this.custom; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + public void setShippingMethod( + final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod) { + this.shippingMethod = shippingMethod; + } + + public void setShippingAddress(final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setExternalTaxRate(final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + } + + public void setDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + } + + public void setDeliveries(final java.util.List deliveries) { + this.deliveries = deliveries; + } + + public void setCustom(final String custom) { + this.custom = custom; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + CartAddShippingMethodActionImpl that = (CartAddShippingMethodActionImpl) o; + + return new EqualsBuilder().append(action, that.action) + .append(shippingKey, that.shippingKey) + .append(shippingMethod, that.shippingMethod) + .append(shippingAddress, that.shippingAddress) + .append(shippingRateInput, that.shippingRateInput) + .append(externalTaxRate, that.externalTaxRate) + .append(deliveries, that.deliveries) + .append(custom, that.custom) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action) + .append(shippingKey) + .append(shippingMethod) + .append(shippingAddress) + .append(shippingRateInput) + .append(externalTaxRate) + .append(deliveries) + .append(custom) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartBuilder.java index eb7145a38a2..448f3ee6217 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartBuilder.java @@ -24,6 +24,8 @@ * .plusCustomLineItems(customLineItemsBuilder -> customLineItemsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) * .cartState(CartState.ACTIVE) + * .shippingMode(ShippingMode.SINGLE) + * .plusShipping(shippingBuilder -> shippingBuilder) * .taxMode(TaxMode.PLATFORM) * .taxRoundingMode(RoundingMode.HALF_EVEN) * .taxCalculationMode(TaxCalculationMode.LINE_ITEM_LEVEL) @@ -74,6 +76,9 @@ public class CartBuilder implements Builder { @Nullable private com.commercetools.api.models.cart.TaxedPrice taxedPrice; + @Nullable + private com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice; + private com.commercetools.api.models.cart.CartState cartState; @Nullable @@ -82,6 +87,10 @@ public class CartBuilder implements Builder { @Nullable private com.commercetools.api.models.common.Address billingAddress; + private com.commercetools.api.models.cart.ShippingMode shippingMode; + + private java.util.List shipping; + @Nullable private com.commercetools.api.models.cart.InventoryMode inventoryMode; @@ -408,6 +417,26 @@ public CartBuilder taxedPrice(@Nullable final com.commercetools.api.models.cart. return this; } + /** + *

Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

+ */ + + public CartBuilder taxedShippingPrice( + Function builder) { + this.taxedShippingPrice = builder.apply(com.commercetools.api.models.cart.TaxedPriceBuilder.of()).build(); + return this; + } + + /** + *

Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

+ */ + + public CartBuilder taxedShippingPrice( + @Nullable final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice) { + this.taxedShippingPrice = taxedShippingPrice; + return this; + } + /** * */ @@ -455,6 +484,74 @@ public CartBuilder billingAddress(@Nullable final com.commercetools.api.models.c return this; } + /** + *

Indicates whether one or multiple Shipping Methods are added to the Cart.

+ */ + + public CartBuilder shippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + return this; + } + + /** + *

Holds all shipping-related information per Shipping Method of a Cart with Multi ShippingMode.

+ *

It is automatically updated after the Shipping Method is added.

+ */ + + public CartBuilder shipping(final com.commercetools.api.models.cart.Shipping... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + return this; + } + + /** + *

Holds all shipping-related information per Shipping Method of a Cart with Multi ShippingMode.

+ *

It is automatically updated after the Shipping Method is added.

+ */ + + public CartBuilder shipping(final java.util.List shipping) { + this.shipping = shipping; + return this; + } + + /** + *

Holds all shipping-related information per Shipping Method of a Cart with Multi ShippingMode.

+ *

It is automatically updated after the Shipping Method is added.

+ */ + + public CartBuilder plusShipping(final com.commercetools.api.models.cart.Shipping... shipping) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.addAll(Arrays.asList(shipping)); + return this; + } + + /** + *

Holds all shipping-related information per Shipping Method of a Cart with Multi ShippingMode.

+ *

It is automatically updated after the Shipping Method is added.

+ */ + + public CartBuilder plusShipping( + Function builder) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.add(builder.apply(com.commercetools.api.models.cart.ShippingBuilder.of()).build()); + return this; + } + + /** + *

Holds all shipping-related information per Shipping Method of a Cart with Multi ShippingMode.

+ *

It is automatically updated after the Shipping Method is added.

+ */ + + public CartBuilder withShipping( + Function builder) { + this.shipping = new ArrayList<>(); + this.shipping.add(builder.apply(com.commercetools.api.models.cart.ShippingBuilder.of()).build()); + return this; + } + /** * */ @@ -524,7 +621,7 @@ public CartBuilder country(@Nullable final String country) { } /** - *

Set automatically once the ShippingMethod is set.

+ *

Shipping-related information of a Cart with Single ShippingMode. Set automatically once the ShippingMethod is set.

*/ public CartBuilder shippingInfo( @@ -534,7 +631,7 @@ public CartBuilder shippingInfo( } /** - *

Set automatically once the ShippingMethod is set.

+ *

Shipping-related information of a Cart with Single ShippingMode. Set automatically once the ShippingMethod is set.

*/ public CartBuilder shippingInfo(@Nullable final com.commercetools.api.models.cart.ShippingInfo shippingInfo) { @@ -934,6 +1031,11 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() { return this.taxedPrice; } + @Nullable + public com.commercetools.api.models.cart.TaxedPrice getTaxedShippingPrice() { + return this.taxedShippingPrice; + } + public com.commercetools.api.models.cart.CartState getCartState() { return this.cartState; } @@ -948,6 +1050,14 @@ public com.commercetools.api.models.common.Address getBillingAddress() { return this.billingAddress; } + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + public java.util.List getShipping() { + return this.shipping; + } + @Nullable public com.commercetools.api.models.cart.InventoryMode getInventoryMode() { return this.inventoryMode; @@ -1042,17 +1152,19 @@ public Cart build() { Objects.requireNonNull(customLineItems, Cart.class + ": customLineItems is missing"); Objects.requireNonNull(totalPrice, Cart.class + ": totalPrice is missing"); Objects.requireNonNull(cartState, Cart.class + ": cartState is missing"); + Objects.requireNonNull(shippingMode, Cart.class + ": shippingMode is missing"); + Objects.requireNonNull(shipping, Cart.class + ": shipping is missing"); Objects.requireNonNull(taxMode, Cart.class + ": taxMode is missing"); Objects.requireNonNull(taxRoundingMode, Cart.class + ": taxRoundingMode is missing"); Objects.requireNonNull(taxCalculationMode, Cart.class + ": taxCalculationMode is missing"); Objects.requireNonNull(refusedGifts, Cart.class + ": refusedGifts is missing"); Objects.requireNonNull(origin, Cart.class + ": origin is missing"); return new CartImpl(id, version, createdAt, lastModifiedAt, key, lastModifiedBy, createdBy, customerId, - customerEmail, anonymousId, store, lineItems, customLineItems, totalPrice, taxedPrice, cartState, - shippingAddress, billingAddress, inventoryMode, taxMode, taxRoundingMode, taxCalculationMode, customerGroup, - country, shippingInfo, discountCodes, directDiscounts, custom, paymentInfo, locale, - deleteDaysAfterLastModification, refusedGifts, origin, shippingRateInput, itemShippingAddresses, - totalLineItemQuantity); + customerEmail, anonymousId, store, lineItems, customLineItems, totalPrice, taxedPrice, taxedShippingPrice, + cartState, shippingAddress, billingAddress, shippingMode, shipping, inventoryMode, taxMode, taxRoundingMode, + taxCalculationMode, customerGroup, country, shippingInfo, discountCodes, directDiscounts, custom, + paymentInfo, locale, deleteDaysAfterLastModification, refusedGifts, origin, shippingRateInput, + itemShippingAddresses, totalLineItemQuantity); } /** @@ -1060,11 +1172,11 @@ public Cart build() { */ public Cart buildUnchecked() { return new CartImpl(id, version, createdAt, lastModifiedAt, key, lastModifiedBy, createdBy, customerId, - customerEmail, anonymousId, store, lineItems, customLineItems, totalPrice, taxedPrice, cartState, - shippingAddress, billingAddress, inventoryMode, taxMode, taxRoundingMode, taxCalculationMode, customerGroup, - country, shippingInfo, discountCodes, directDiscounts, custom, paymentInfo, locale, - deleteDaysAfterLastModification, refusedGifts, origin, shippingRateInput, itemShippingAddresses, - totalLineItemQuantity); + customerEmail, anonymousId, store, lineItems, customLineItems, totalPrice, taxedPrice, taxedShippingPrice, + cartState, shippingAddress, billingAddress, shippingMode, shipping, inventoryMode, taxMode, taxRoundingMode, + taxCalculationMode, customerGroup, country, shippingInfo, discountCodes, directDiscounts, custom, + paymentInfo, locale, deleteDaysAfterLastModification, refusedGifts, origin, shippingRateInput, + itemShippingAddresses, totalLineItemQuantity); } public static CartBuilder of() { @@ -1088,9 +1200,12 @@ public static CartBuilder of(final Cart template) { builder.customLineItems = template.getCustomLineItems(); builder.totalPrice = template.getTotalPrice(); builder.taxedPrice = template.getTaxedPrice(); + builder.taxedShippingPrice = template.getTaxedShippingPrice(); builder.cartState = template.getCartState(); builder.shippingAddress = template.getShippingAddress(); builder.billingAddress = template.getBillingAddress(); + builder.shippingMode = template.getShippingMode(); + builder.shipping = template.getShipping(); builder.inventoryMode = template.getInventoryMode(); builder.taxMode = template.getTaxMode(); builder.taxRoundingMode = template.getTaxRoundingMode(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraft.java index 07871f841a3..8e4f44739d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraft.java @@ -189,6 +189,30 @@ public interface CartDraft extends com.commercetools.api.models.CustomizableDraf @JsonProperty("origin") public CartOrigin getOrigin(); + /** + *
    + *
  • If Single, only a single Shipping Method can be added to the Cart.
  • + *
  • If Multi, multiple Shipping Methods can be added to the Cart.
  • + *
+ */ + + @JsonProperty("shippingMode") + public ShippingMode getShippingMode(); + + /** + *

Custom Shipping Methods for a Cart with Multi ShippingMode.

+ */ + @Valid + @JsonProperty("customShipping") + public List getCustomShipping(); + + /** + *

Shipping Methods for a Cart with Multi ShippingMode.

+ */ + @Valid + @JsonProperty("shipping") + public List getShipping(); + /** *

The shippingRateInput is used as an input to select a ShippingRatePriceTier. Based on the definition of ShippingRateInputType. If CartClassification is defined, it must be ClassificationShippingRateInput. If CartScore is defined, it must be ScoreShippingRateInput. Otherwise it can not bet set.

*/ @@ -260,6 +284,18 @@ public interface CartDraft extends com.commercetools.api.models.CustomizableDraf public void setOrigin(final CartOrigin origin); + public void setShippingMode(final ShippingMode shippingMode); + + @JsonIgnore + public void setCustomShipping(final CustomShippingDraft... customShipping); + + public void setCustomShipping(final List customShipping); + + @JsonIgnore + public void setShipping(final ShippingDraft... shipping); + + public void setShipping(final List shipping); + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); @JsonIgnore @@ -300,6 +336,9 @@ public static CartDraft of(final CartDraft template) { instance.setLocale(template.getLocale()); instance.setDeleteDaysAfterLastModification(template.getDeleteDaysAfterLastModification()); instance.setOrigin(template.getOrigin()); + instance.setShippingMode(template.getShippingMode()); + instance.setCustomShipping(template.getCustomShipping()); + instance.setShipping(template.getShipping()); instance.setShippingRateInput(template.getShippingRateInput()); instance.setItemShippingAddresses(template.getItemShippingAddresses()); instance.setDiscountCodes(template.getDiscountCodes()); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraftBuilder.java index 51f1d8c6f72..98de33ef076 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraftBuilder.java @@ -89,6 +89,15 @@ public class CartDraftBuilder implements Builder { @Nullable private com.commercetools.api.models.cart.CartOrigin origin; + @Nullable + private com.commercetools.api.models.cart.ShippingMode shippingMode; + + @Nullable + private java.util.List customShipping; + + @Nullable + private java.util.List shipping; + @Nullable private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; @@ -477,6 +486,132 @@ public CartDraftBuilder origin(@Nullable final com.commercetools.api.models.cart return this; } + /** + *
    + *
  • If Single, only a single Shipping Method can be added to the Cart.
  • + *
  • If Multi, multiple Shipping Methods can be added to the Cart.
  • + *
+ */ + + public CartDraftBuilder shippingMode(@Nullable final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + return this; + } + + /** + *

Custom Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder customShipping( + @Nullable final com.commercetools.api.models.cart.CustomShippingDraft... customShipping) { + this.customShipping = new ArrayList<>(Arrays.asList(customShipping)); + return this; + } + + /** + *

Custom Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder customShipping( + @Nullable final java.util.List customShipping) { + this.customShipping = customShipping; + return this; + } + + /** + *

Custom Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder plusCustomShipping( + @Nullable final com.commercetools.api.models.cart.CustomShippingDraft... customShipping) { + if (this.customShipping == null) { + this.customShipping = new ArrayList<>(); + } + this.customShipping.addAll(Arrays.asList(customShipping)); + return this; + } + + /** + *

Custom Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder plusCustomShipping( + Function builder) { + if (this.customShipping == null) { + this.customShipping = new ArrayList<>(); + } + this.customShipping + .add(builder.apply(com.commercetools.api.models.cart.CustomShippingDraftBuilder.of()).build()); + return this; + } + + /** + *

Custom Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder withCustomShipping( + Function builder) { + this.customShipping = new ArrayList<>(); + this.customShipping + .add(builder.apply(com.commercetools.api.models.cart.CustomShippingDraftBuilder.of()).build()); + return this; + } + + /** + *

Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder shipping(@Nullable final com.commercetools.api.models.cart.ShippingDraft... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + return this; + } + + /** + *

Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder shipping( + @Nullable final java.util.List shipping) { + this.shipping = shipping; + return this; + } + + /** + *

Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder plusShipping(@Nullable final com.commercetools.api.models.cart.ShippingDraft... shipping) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.addAll(Arrays.asList(shipping)); + return this; + } + + /** + *

Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder plusShipping( + Function builder) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.add(builder.apply(com.commercetools.api.models.cart.ShippingDraftBuilder.of()).build()); + return this; + } + + /** + *

Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public CartDraftBuilder withShipping( + Function builder) { + this.shipping = new ArrayList<>(); + this.shipping.add(builder.apply(com.commercetools.api.models.cart.ShippingDraftBuilder.of()).build()); + return this; + } + /** *

The shippingRateInput is used as an input to select a ShippingRatePriceTier. Based on the definition of ShippingRateInputType. If CartClassification is defined, it must be ClassificationShippingRateInput. If CartScore is defined, it must be ScoreShippingRateInput. Otherwise it can not bet set.

*/ @@ -696,6 +831,21 @@ public com.commercetools.api.models.cart.CartOrigin getOrigin() { return this.origin; } + @Nullable + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + @Nullable + public java.util.List getCustomShipping() { + return this.customShipping; + } + + @Nullable + public java.util.List getShipping() { + return this.shipping; + } + @Nullable public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { return this.shippingRateInput; @@ -716,7 +866,8 @@ public CartDraft build() { return new CartDraftImpl(currency, key, customerId, customerEmail, customerGroup, anonymousId, store, country, inventoryMode, taxMode, taxRoundingMode, taxCalculationMode, lineItems, customLineItems, shippingAddress, billingAddress, shippingMethod, externalTaxRateForShippingMethod, custom, locale, - deleteDaysAfterLastModification, origin, shippingRateInput, itemShippingAddresses, discountCodes); + deleteDaysAfterLastModification, origin, shippingMode, customShipping, shipping, shippingRateInput, + itemShippingAddresses, discountCodes); } /** @@ -726,7 +877,8 @@ public CartDraft buildUnchecked() { return new CartDraftImpl(currency, key, customerId, customerEmail, customerGroup, anonymousId, store, country, inventoryMode, taxMode, taxRoundingMode, taxCalculationMode, lineItems, customLineItems, shippingAddress, billingAddress, shippingMethod, externalTaxRateForShippingMethod, custom, locale, - deleteDaysAfterLastModification, origin, shippingRateInput, itemShippingAddresses, discountCodes); + deleteDaysAfterLastModification, origin, shippingMode, customShipping, shipping, shippingRateInput, + itemShippingAddresses, discountCodes); } public static CartDraftBuilder of() { @@ -757,6 +909,9 @@ public static CartDraftBuilder of(final CartDraft template) { builder.locale = template.getLocale(); builder.deleteDaysAfterLastModification = template.getDeleteDaysAfterLastModification(); builder.origin = template.getOrigin(); + builder.shippingMode = template.getShippingMode(); + builder.customShipping = template.getCustomShipping(); + builder.shipping = template.getShipping(); builder.shippingRateInput = template.getShippingRateInput(); builder.itemShippingAddresses = template.getItemShippingAddresses(); builder.discountCodes = template.getDiscountCodes(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraftImpl.java index 4759af8d2e5..d8ce474d689 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartDraftImpl.java @@ -64,6 +64,12 @@ public class CartDraftImpl implements CartDraft, ModelBase { private com.commercetools.api.models.cart.CartOrigin origin; + private com.commercetools.api.models.cart.ShippingMode shippingMode; + + private java.util.List customShipping; + + private java.util.List shipping; + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; private java.util.List itemShippingAddresses; @@ -92,6 +98,9 @@ public class CartDraftImpl implements CartDraft, ModelBase { @JsonProperty("locale") final String locale, @JsonProperty("deleteDaysAfterLastModification") final Long deleteDaysAfterLastModification, @JsonProperty("origin") final com.commercetools.api.models.cart.CartOrigin origin, + @JsonProperty("shippingMode") final com.commercetools.api.models.cart.ShippingMode shippingMode, + @JsonProperty("customShipping") final java.util.List customShipping, + @JsonProperty("shipping") final java.util.List shipping, @JsonProperty("shippingRateInput") final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput, @JsonProperty("itemShippingAddresses") final java.util.List itemShippingAddresses, @JsonProperty("discountCodes") final java.util.List discountCodes) { @@ -117,6 +126,9 @@ public class CartDraftImpl implements CartDraft, ModelBase { this.locale = locale; this.deleteDaysAfterLastModification = deleteDaysAfterLastModification; this.origin = origin; + this.shippingMode = shippingMode; + this.customShipping = customShipping; + this.shipping = shipping; this.shippingRateInput = shippingRateInput; this.itemShippingAddresses = itemShippingAddresses; this.discountCodes = discountCodes; @@ -301,6 +313,33 @@ public com.commercetools.api.models.cart.CartOrigin getOrigin() { return this.origin; } + /** + *
    + *
  • If Single, only a single Shipping Method can be added to the Cart.
  • + *
  • If Multi, multiple Shipping Methods can be added to the Cart.
  • + *
+ */ + + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + /** + *

Custom Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public java.util.List getCustomShipping() { + return this.customShipping; + } + + /** + *

Shipping Methods for a Cart with Multi ShippingMode.

+ */ + + public java.util.List getShipping() { + return this.shipping; + } + /** *

The shippingRateInput is used as an input to select a ShippingRatePriceTier. Based on the definition of ShippingRateInputType. If CartClassification is defined, it must be ClassificationShippingRateInput. If CartScore is defined, it must be ScoreShippingRateInput. Otherwise it can not bet set.

*/ @@ -425,6 +464,27 @@ public void setOrigin(final com.commercetools.api.models.cart.CartOrigin origin) this.origin = origin; } + public void setShippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + } + + public void setCustomShipping(final com.commercetools.api.models.cart.CustomShippingDraft... customShipping) { + this.customShipping = new ArrayList<>(Arrays.asList(customShipping)); + } + + public void setCustomShipping( + final java.util.List customShipping) { + this.customShipping = customShipping; + } + + public void setShipping(final com.commercetools.api.models.cart.ShippingDraft... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + } + + public void setShipping(final java.util.List shipping) { + this.shipping = shipping; + } + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { this.shippingRateInput = shippingRateInput; } @@ -479,6 +539,9 @@ public boolean equals(Object o) { .append(locale, that.locale) .append(deleteDaysAfterLastModification, that.deleteDaysAfterLastModification) .append(origin, that.origin) + .append(shippingMode, that.shippingMode) + .append(customShipping, that.customShipping) + .append(shipping, that.shipping) .append(shippingRateInput, that.shippingRateInput) .append(itemShippingAddresses, that.itemShippingAddresses) .append(discountCodes, that.discountCodes) @@ -509,6 +572,9 @@ public int hashCode() { .append(locale) .append(deleteDaysAfterLastModification) .append(origin) + .append(shippingMode) + .append(customShipping) + .append(shipping) .append(shippingRateInput) .append(itemShippingAddresses) .append(discountCodes) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartImpl.java index b0899d50979..89c21a62671 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartImpl.java @@ -50,12 +50,18 @@ public class CartImpl implements Cart, ModelBase { private com.commercetools.api.models.cart.TaxedPrice taxedPrice; + private com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice; + private com.commercetools.api.models.cart.CartState cartState; private com.commercetools.api.models.common.Address shippingAddress; private com.commercetools.api.models.common.Address billingAddress; + private com.commercetools.api.models.cart.ShippingMode shippingMode; + + private java.util.List shipping; + private com.commercetools.api.models.cart.InventoryMode inventoryMode; private com.commercetools.api.models.cart.TaxMode taxMode; @@ -107,9 +113,12 @@ public class CartImpl implements Cart, ModelBase { @JsonProperty("customLineItems") final java.util.List customLineItems, @JsonProperty("totalPrice") final com.commercetools.api.models.common.TypedMoney totalPrice, @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedPrice taxedPrice, + @JsonProperty("taxedShippingPrice") final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice, @JsonProperty("cartState") final com.commercetools.api.models.cart.CartState cartState, @JsonProperty("shippingAddress") final com.commercetools.api.models.common.Address shippingAddress, @JsonProperty("billingAddress") final com.commercetools.api.models.common.Address billingAddress, + @JsonProperty("shippingMode") final com.commercetools.api.models.cart.ShippingMode shippingMode, + @JsonProperty("shipping") final java.util.List shipping, @JsonProperty("inventoryMode") final com.commercetools.api.models.cart.InventoryMode inventoryMode, @JsonProperty("taxMode") final com.commercetools.api.models.cart.TaxMode taxMode, @JsonProperty("taxRoundingMode") final com.commercetools.api.models.cart.RoundingMode taxRoundingMode, @@ -143,9 +152,12 @@ public class CartImpl implements Cart, ModelBase { this.customLineItems = customLineItems; this.totalPrice = totalPrice; this.taxedPrice = taxedPrice; + this.taxedShippingPrice = taxedShippingPrice; this.cartState = cartState; this.shippingAddress = shippingAddress; this.billingAddress = billingAddress; + this.shippingMode = shippingMode; + this.shipping = shipping; this.inventoryMode = inventoryMode; this.taxMode = taxMode; this.taxRoundingMode = taxRoundingMode; @@ -289,6 +301,14 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() { return this.taxedPrice; } + /** + *

Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

+ */ + + public com.commercetools.api.models.cart.TaxedPrice getTaxedShippingPrice() { + return this.taxedShippingPrice; + } + /** * */ @@ -313,6 +333,23 @@ public com.commercetools.api.models.common.Address getBillingAddress() { return this.billingAddress; } + /** + *

Indicates whether one or multiple Shipping Methods are added to the Cart.

+ */ + + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + /** + *

Holds all shipping-related information per Shipping Method of a Cart with Multi ShippingMode.

+ *

It is automatically updated after the Shipping Method is added.

+ */ + + public java.util.List getShipping() { + return this.shipping; + } + /** * */ @@ -362,7 +399,7 @@ public String getCountry() { } /** - *

Set automatically once the ShippingMethod is set.

+ *

Shipping-related information of a Cart with Single ShippingMode. Set automatically once the ShippingMethod is set.

*/ public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { @@ -526,6 +563,10 @@ public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedPrice tax this.taxedPrice = taxedPrice; } + public void setTaxedShippingPrice(final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice) { + this.taxedShippingPrice = taxedShippingPrice; + } + public void setCartState(final com.commercetools.api.models.cart.CartState cartState) { this.cartState = cartState; } @@ -538,6 +579,18 @@ public void setBillingAddress(final com.commercetools.api.models.common.Address this.billingAddress = billingAddress; } + public void setShippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + } + + public void setShipping(final com.commercetools.api.models.cart.Shipping... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + } + + public void setShipping(final java.util.List shipping) { + this.shipping = shipping; + } + public void setInventoryMode(final com.commercetools.api.models.cart.InventoryMode inventoryMode) { this.inventoryMode = inventoryMode; } @@ -657,9 +710,12 @@ public boolean equals(Object o) { .append(customLineItems, that.customLineItems) .append(totalPrice, that.totalPrice) .append(taxedPrice, that.taxedPrice) + .append(taxedShippingPrice, that.taxedShippingPrice) .append(cartState, that.cartState) .append(shippingAddress, that.shippingAddress) .append(billingAddress, that.billingAddress) + .append(shippingMode, that.shippingMode) + .append(shipping, that.shipping) .append(inventoryMode, that.inventoryMode) .append(taxMode, that.taxMode) .append(taxRoundingMode, that.taxRoundingMode) @@ -698,9 +754,12 @@ public int hashCode() { .append(customLineItems) .append(totalPrice) .append(taxedPrice) + .append(taxedShippingPrice) .append(cartState) .append(shippingAddress) .append(billingAddress) + .append(shippingMode) + .append(shipping) .append(inventoryMode) .append(taxMode) .append(taxRoundingMode) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodAction.java new file mode 100644 index 00000000000..eb7f964a929 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodAction.java @@ -0,0 +1,73 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.constraints.NotNull; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartRemoveShippingMethodAction + * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartRemoveShippingMethodAction cartRemoveShippingMethodAction = CartRemoveShippingMethodAction.builder()
+ *             .shippingKey("{shippingKey}")
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = CartRemoveShippingMethodActionImpl.class) +public interface CartRemoveShippingMethodAction extends CartUpdateAction { + + String REMOVE_SHIPPING_METHOD = "removeShippingMethod"; + + /** + *

User-defined unique identifier of the Shipping Method to remove in a Cart with Multi ShippingMode.

+ */ + @NotNull + @JsonProperty("shippingKey") + public String getShippingKey(); + + public void setShippingKey(final String shippingKey); + + public static CartRemoveShippingMethodAction of() { + return new CartRemoveShippingMethodActionImpl(); + } + + public static CartRemoveShippingMethodAction of(final CartRemoveShippingMethodAction template) { + CartRemoveShippingMethodActionImpl instance = new CartRemoveShippingMethodActionImpl(); + instance.setShippingKey(template.getShippingKey()); + return instance; + } + + public static CartRemoveShippingMethodActionBuilder builder() { + return CartRemoveShippingMethodActionBuilder.of(); + } + + public static CartRemoveShippingMethodActionBuilder builder(final CartRemoveShippingMethodAction template) { + return CartRemoveShippingMethodActionBuilder.of(template); + } + + default T withCartRemoveShippingMethodAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodActionBuilder.java new file mode 100644 index 00000000000..176936ef760 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodActionBuilder.java @@ -0,0 +1,61 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartRemoveShippingMethodActionBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartRemoveShippingMethodAction cartRemoveShippingMethodAction = CartRemoveShippingMethodAction.builder()
+ *             .shippingKey("{shippingKey}")
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartRemoveShippingMethodActionBuilder implements Builder { + + private String shippingKey; + + /** + *

User-defined unique identifier of the Shipping Method to remove in a Cart with Multi ShippingMode.

+ */ + + public CartRemoveShippingMethodActionBuilder shippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + + public String getShippingKey() { + return this.shippingKey; + } + + public CartRemoveShippingMethodAction build() { + Objects.requireNonNull(shippingKey, CartRemoveShippingMethodAction.class + ": shippingKey is missing"); + return new CartRemoveShippingMethodActionImpl(shippingKey); + } + + /** + * builds CartRemoveShippingMethodAction without checking for non null required values + */ + public CartRemoveShippingMethodAction buildUnchecked() { + return new CartRemoveShippingMethodActionImpl(shippingKey); + } + + public static CartRemoveShippingMethodActionBuilder of() { + return new CartRemoveShippingMethodActionBuilder(); + } + + public static CartRemoveShippingMethodActionBuilder of(final CartRemoveShippingMethodAction template) { + CartRemoveShippingMethodActionBuilder builder = new CartRemoveShippingMethodActionBuilder(); + builder.shippingKey = template.getShippingKey(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodActionImpl.java new file mode 100644 index 00000000000..77dc6c97cd4 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveShippingMethodActionImpl.java @@ -0,0 +1,75 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * CartRemoveShippingMethodAction + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartRemoveShippingMethodActionImpl implements CartRemoveShippingMethodAction, ModelBase { + + private String action; + + private String shippingKey; + + @JsonCreator + CartRemoveShippingMethodActionImpl(@JsonProperty("shippingKey") final String shippingKey) { + this.shippingKey = shippingKey; + this.action = REMOVE_SHIPPING_METHOD; + } + + public CartRemoveShippingMethodActionImpl() { + this.action = REMOVE_SHIPPING_METHOD; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

User-defined unique identifier of the Shipping Method to remove in a Cart with Multi ShippingMode.

+ */ + + public String getShippingKey() { + return this.shippingKey; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + CartRemoveShippingMethodActionImpl that = (CartRemoveShippingMethodActionImpl) o; + + return new EqualsBuilder().append(action, that.action).append(shippingKey, that.shippingKey).isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).append(shippingKey).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldAction.java new file mode 100644 index 00000000000..d482f719530 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldAction.java @@ -0,0 +1,93 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.constraints.NotNull; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartSetShippingCustomFieldAction + * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartSetShippingCustomFieldAction cartSetShippingCustomFieldAction = CartSetShippingCustomFieldAction.builder()
+ *             .name("{name}")
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = CartSetShippingCustomFieldActionImpl.class) +public interface CartSetShippingCustomFieldAction extends CartUpdateAction { + + String SET_SHIPPING_CUSTOM_FIELD = "setShippingCustomField"; + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + + /** + *

Name of the Custom Field.

+ */ + @NotNull + @JsonProperty("name") + public String getName(); + + /** + *

If value is absent or null, this field will be removed if it exists. Trying to remove a field that does not exist will fail with an InvalidOperation error. If value is provided, it is set for the field defined by name.

+ */ + + @JsonProperty("value") + public Object getValue(); + + public void setShippingKey(final String shippingKey); + + public void setName(final String name); + + public void setValue(final Object value); + + public static CartSetShippingCustomFieldAction of() { + return new CartSetShippingCustomFieldActionImpl(); + } + + public static CartSetShippingCustomFieldAction of(final CartSetShippingCustomFieldAction template) { + CartSetShippingCustomFieldActionImpl instance = new CartSetShippingCustomFieldActionImpl(); + instance.setShippingKey(template.getShippingKey()); + instance.setName(template.getName()); + instance.setValue(template.getValue()); + return instance; + } + + public static CartSetShippingCustomFieldActionBuilder builder() { + return CartSetShippingCustomFieldActionBuilder.of(); + } + + public static CartSetShippingCustomFieldActionBuilder builder(final CartSetShippingCustomFieldAction template) { + return CartSetShippingCustomFieldActionBuilder.of(template); + } + + default T withCartSetShippingCustomFieldAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldActionBuilder.java new file mode 100644 index 00000000000..6a5a1df92d6 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldActionBuilder.java @@ -0,0 +1,99 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartSetShippingCustomFieldActionBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartSetShippingCustomFieldAction cartSetShippingCustomFieldAction = CartSetShippingCustomFieldAction.builder()
+ *             .name("{name}")
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartSetShippingCustomFieldActionBuilder implements Builder { + + @Nullable + private String shippingKey; + + private String name; + + @Nullable + private java.lang.Object value; + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + + public CartSetShippingCustomFieldActionBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + + /** + *

Name of the Custom Field.

+ */ + + public CartSetShippingCustomFieldActionBuilder name(final String name) { + this.name = name; + return this; + } + + /** + *

If value is absent or null, this field will be removed if it exists. Trying to remove a field that does not exist will fail with an InvalidOperation error. If value is provided, it is set for the field defined by name.

+ */ + + public CartSetShippingCustomFieldActionBuilder value(@Nullable final java.lang.Object value) { + this.value = value; + return this; + } + + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + + public String getName() { + return this.name; + } + + @Nullable + public java.lang.Object getValue() { + return this.value; + } + + public CartSetShippingCustomFieldAction build() { + Objects.requireNonNull(name, CartSetShippingCustomFieldAction.class + ": name is missing"); + return new CartSetShippingCustomFieldActionImpl(shippingKey, name, value); + } + + /** + * builds CartSetShippingCustomFieldAction without checking for non null required values + */ + public CartSetShippingCustomFieldAction buildUnchecked() { + return new CartSetShippingCustomFieldActionImpl(shippingKey, name, value); + } + + public static CartSetShippingCustomFieldActionBuilder of() { + return new CartSetShippingCustomFieldActionBuilder(); + } + + public static CartSetShippingCustomFieldActionBuilder of(final CartSetShippingCustomFieldAction template) { + CartSetShippingCustomFieldActionBuilder builder = new CartSetShippingCustomFieldActionBuilder(); + builder.shippingKey = template.getShippingKey(); + builder.name = template.getName(); + builder.value = template.getValue(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldActionImpl.java new file mode 100644 index 00000000000..9e917da7386 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomFieldActionImpl.java @@ -0,0 +1,110 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * CartSetShippingCustomFieldAction + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartSetShippingCustomFieldActionImpl implements CartSetShippingCustomFieldAction, ModelBase { + + private String action; + + private String shippingKey; + + private String name; + + private java.lang.Object value; + + @JsonCreator + CartSetShippingCustomFieldActionImpl(@JsonProperty("shippingKey") final String shippingKey, + @JsonProperty("name") final String name, @JsonProperty("value") final java.lang.Object value) { + this.shippingKey = shippingKey; + this.name = name; + this.value = value; + this.action = SET_SHIPPING_CUSTOM_FIELD; + } + + public CartSetShippingCustomFieldActionImpl() { + this.action = SET_SHIPPING_CUSTOM_FIELD; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + + public String getShippingKey() { + return this.shippingKey; + } + + /** + *

Name of the Custom Field.

+ */ + + public String getName() { + return this.name; + } + + /** + *

If value is absent or null, this field will be removed if it exists. Trying to remove a field that does not exist will fail with an InvalidOperation error. If value is provided, it is set for the field defined by name.

+ */ + + public java.lang.Object getValue() { + return this.value; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + public void setName(final String name) { + this.name = name; + } + + public void setValue(final java.lang.Object value) { + this.value = value; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + CartSetShippingCustomFieldActionImpl that = (CartSetShippingCustomFieldActionImpl) o; + + return new EqualsBuilder().append(action, that.action) + .append(shippingKey, that.shippingKey) + .append(name, that.name) + .append(value, that.value) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).append(shippingKey).append(name).append(value).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeAction.java new file mode 100644 index 00000000000..4aefd1cb512 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeAction.java @@ -0,0 +1,94 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; + +import com.commercetools.api.models.type.FieldContainer; +import com.commercetools.api.models.type.TypeResourceIdentifier; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartSetShippingCustomTypeAction + * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartSetShippingCustomTypeAction cartSetShippingCustomTypeAction = CartSetShippingCustomTypeAction.builder()
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = CartSetShippingCustomTypeActionImpl.class) +public interface CartSetShippingCustomTypeAction extends CartUpdateAction { + + String SET_SHIPPING_CUSTOM_TYPE = "setShippingCustomType"; + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + + /** + *

Defines the Type that extends the shippingAddress with Custom Fields. If absent, any existing Type and Custom Fields are removed from the shippingAddress.

+ */ + @Valid + @JsonProperty("type") + public TypeResourceIdentifier getType(); + + /** + *

Sets the Custom Fields fields for the shippingAddress.

+ */ + @Valid + @JsonProperty("fields") + public FieldContainer getFields(); + + public void setShippingKey(final String shippingKey); + + public void setType(final TypeResourceIdentifier type); + + public void setFields(final FieldContainer fields); + + public static CartSetShippingCustomTypeAction of() { + return new CartSetShippingCustomTypeActionImpl(); + } + + public static CartSetShippingCustomTypeAction of(final CartSetShippingCustomTypeAction template) { + CartSetShippingCustomTypeActionImpl instance = new CartSetShippingCustomTypeActionImpl(); + instance.setShippingKey(template.getShippingKey()); + instance.setType(template.getType()); + instance.setFields(template.getFields()); + return instance; + } + + public static CartSetShippingCustomTypeActionBuilder builder() { + return CartSetShippingCustomTypeActionBuilder.of(); + } + + public static CartSetShippingCustomTypeActionBuilder builder(final CartSetShippingCustomTypeAction template) { + return CartSetShippingCustomTypeActionBuilder.of(template); + } + + default T withCartSetShippingCustomTypeAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeActionBuilder.java new file mode 100644 index 00000000000..4f43e87465b --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeActionBuilder.java @@ -0,0 +1,122 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CartSetShippingCustomTypeActionBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CartSetShippingCustomTypeAction cartSetShippingCustomTypeAction = CartSetShippingCustomTypeAction.builder()
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartSetShippingCustomTypeActionBuilder implements Builder { + + @Nullable + private String shippingKey; + + @Nullable + private com.commercetools.api.models.type.TypeResourceIdentifier type; + + @Nullable + private com.commercetools.api.models.type.FieldContainer fields; + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + + public CartSetShippingCustomTypeActionBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + + /** + *

Defines the Type that extends the shippingAddress with Custom Fields. If absent, any existing Type and Custom Fields are removed from the shippingAddress.

+ */ + + public CartSetShippingCustomTypeActionBuilder type( + Function builder) { + this.type = builder.apply(com.commercetools.api.models.type.TypeResourceIdentifierBuilder.of()).build(); + return this; + } + + /** + *

Defines the Type that extends the shippingAddress with Custom Fields. If absent, any existing Type and Custom Fields are removed from the shippingAddress.

+ */ + + public CartSetShippingCustomTypeActionBuilder type( + @Nullable final com.commercetools.api.models.type.TypeResourceIdentifier type) { + this.type = type; + return this; + } + + /** + *

Sets the Custom Fields fields for the shippingAddress.

+ */ + + public CartSetShippingCustomTypeActionBuilder fields( + Function builder) { + this.fields = builder.apply(com.commercetools.api.models.type.FieldContainerBuilder.of()).build(); + return this; + } + + /** + *

Sets the Custom Fields fields for the shippingAddress.

+ */ + + public CartSetShippingCustomTypeActionBuilder fields( + @Nullable final com.commercetools.api.models.type.FieldContainer fields) { + this.fields = fields; + return this; + } + + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + + @Nullable + public com.commercetools.api.models.type.TypeResourceIdentifier getType() { + return this.type; + } + + @Nullable + public com.commercetools.api.models.type.FieldContainer getFields() { + return this.fields; + } + + public CartSetShippingCustomTypeAction build() { + return new CartSetShippingCustomTypeActionImpl(shippingKey, type, fields); + } + + /** + * builds CartSetShippingCustomTypeAction without checking for non null required values + */ + public CartSetShippingCustomTypeAction buildUnchecked() { + return new CartSetShippingCustomTypeActionImpl(shippingKey, type, fields); + } + + public static CartSetShippingCustomTypeActionBuilder of() { + return new CartSetShippingCustomTypeActionBuilder(); + } + + public static CartSetShippingCustomTypeActionBuilder of(final CartSetShippingCustomTypeAction template) { + CartSetShippingCustomTypeActionBuilder builder = new CartSetShippingCustomTypeActionBuilder(); + builder.shippingKey = template.getShippingKey(); + builder.type = template.getType(); + builder.fields = template.getFields(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeActionImpl.java new file mode 100644 index 00000000000..03f6aaee86b --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingCustomTypeActionImpl.java @@ -0,0 +1,111 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * CartSetShippingCustomTypeAction + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CartSetShippingCustomTypeActionImpl implements CartSetShippingCustomTypeAction, ModelBase { + + private String action; + + private String shippingKey; + + private com.commercetools.api.models.type.TypeResourceIdentifier type; + + private com.commercetools.api.models.type.FieldContainer fields; + + @JsonCreator + CartSetShippingCustomTypeActionImpl(@JsonProperty("shippingKey") final String shippingKey, + @JsonProperty("type") final com.commercetools.api.models.type.TypeResourceIdentifier type, + @JsonProperty("fields") final com.commercetools.api.models.type.FieldContainer fields) { + this.shippingKey = shippingKey; + this.type = type; + this.fields = fields; + this.action = SET_SHIPPING_CUSTOM_TYPE; + } + + public CartSetShippingCustomTypeActionImpl() { + this.action = SET_SHIPPING_CUSTOM_TYPE; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

+ */ + + public String getShippingKey() { + return this.shippingKey; + } + + /** + *

Defines the Type that extends the shippingAddress with Custom Fields. If absent, any existing Type and Custom Fields are removed from the shippingAddress.

+ */ + + public com.commercetools.api.models.type.TypeResourceIdentifier getType() { + return this.type; + } + + /** + *

Sets the Custom Fields fields for the shippingAddress.

+ */ + + public com.commercetools.api.models.type.FieldContainer getFields() { + return this.fields; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + public void setType(final com.commercetools.api.models.type.TypeResourceIdentifier type) { + this.type = type; + } + + public void setFields(final com.commercetools.api.models.type.FieldContainer fields) { + this.fields = fields; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + CartSetShippingCustomTypeActionImpl that = (CartSetShippingCustomTypeActionImpl) o; + + return new EqualsBuilder().append(action, that.action) + .append(shippingKey, that.shippingKey) + .append(type, that.type) + .append(fields, that.fields) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).append(shippingKey).append(type).append(fields).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateAction.java index b784b3cf5b6..d0383213708 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateAction.java @@ -30,10 +30,12 @@ */ @JsonSubTypes({ @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartAddCustomLineItemActionImpl.class, name = CartAddCustomLineItemAction.ADD_CUSTOM_LINE_ITEM), + @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartAddCustomShippingMethodActionImpl.class, name = CartAddCustomShippingMethodAction.ADD_CUSTOM_SHIPPING_METHOD), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartAddDiscountCodeActionImpl.class, name = CartAddDiscountCodeAction.ADD_DISCOUNT_CODE), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartAddItemShippingAddressActionImpl.class, name = CartAddItemShippingAddressAction.ADD_ITEM_SHIPPING_ADDRESS), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartAddLineItemActionImpl.class, name = CartAddLineItemAction.ADD_LINE_ITEM), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartAddPaymentActionImpl.class, name = CartAddPaymentAction.ADD_PAYMENT), + @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartAddShippingMethodActionImpl.class, name = CartAddShippingMethodAction.ADD_SHIPPING_METHOD), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartAddShoppingListActionImpl.class, name = CartAddShoppingListAction.ADD_SHOPPING_LIST), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionImpl.class, name = CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction.APPLY_DELTA_TO_CUSTOM_LINE_ITEM_SHIPPING_DETAILS_TARGETS), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.class, name = CartApplyDeltaToLineItemShippingDetailsTargetsAction.APPLY_DELTA_TO_LINE_ITEM_SHIPPING_DETAILS_TARGETS), @@ -50,6 +52,7 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartRemoveItemShippingAddressActionImpl.class, name = CartRemoveItemShippingAddressAction.REMOVE_ITEM_SHIPPING_ADDRESS), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartRemoveLineItemActionImpl.class, name = CartRemoveLineItemAction.REMOVE_LINE_ITEM), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartRemovePaymentActionImpl.class, name = CartRemovePaymentAction.REMOVE_PAYMENT), + @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartRemoveShippingMethodActionImpl.class, name = CartRemoveShippingMethodAction.REMOVE_SHIPPING_METHOD), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetAnonymousIdActionImpl.class, name = CartSetAnonymousIdAction.SET_ANONYMOUS_ID), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetBillingAddressActionImpl.class, name = CartSetBillingAddressAction.SET_BILLING_ADDRESS), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetBillingAddressCustomFieldActionImpl.class, name = CartSetBillingAddressCustomFieldAction.SET_BILLING_ADDRESS_CUSTOM_FIELD), @@ -87,6 +90,8 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetShippingAddressActionImpl.class, name = CartSetShippingAddressAction.SET_SHIPPING_ADDRESS), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetShippingAddressCustomFieldActionImpl.class, name = CartSetShippingAddressCustomFieldAction.SET_SHIPPING_ADDRESS_CUSTOM_FIELD), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetShippingAddressCustomTypeActionImpl.class, name = CartSetShippingAddressCustomTypeAction.SET_SHIPPING_ADDRESS_CUSTOM_TYPE), + @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetShippingCustomFieldActionImpl.class, name = CartSetShippingCustomFieldAction.SET_SHIPPING_CUSTOM_FIELD), + @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetShippingCustomTypeActionImpl.class, name = CartSetShippingCustomTypeAction.SET_SHIPPING_CUSTOM_TYPE), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetShippingMethodActionImpl.class, name = CartSetShippingMethodAction.SET_SHIPPING_METHOD), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetShippingMethodTaxAmountActionImpl.class, name = CartSetShippingMethodTaxAmountAction.SET_SHIPPING_METHOD_TAX_AMOUNT), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.CartSetShippingMethodTaxRateActionImpl.class, name = CartSetShippingMethodTaxRateAction.SET_SHIPPING_METHOD_TAX_RATE), @@ -108,6 +113,10 @@ public static com.commercetools.api.models.cart.CartAddCustomLineItemActionBuild return com.commercetools.api.models.cart.CartAddCustomLineItemActionBuilder.of(); } + public static com.commercetools.api.models.cart.CartAddCustomShippingMethodActionBuilder addCustomShippingMethodBuilder() { + return com.commercetools.api.models.cart.CartAddCustomShippingMethodActionBuilder.of(); + } + public static com.commercetools.api.models.cart.CartAddDiscountCodeActionBuilder addDiscountCodeBuilder() { return com.commercetools.api.models.cart.CartAddDiscountCodeActionBuilder.of(); } @@ -124,6 +133,10 @@ public static com.commercetools.api.models.cart.CartAddPaymentActionBuilder addP return com.commercetools.api.models.cart.CartAddPaymentActionBuilder.of(); } + public static com.commercetools.api.models.cart.CartAddShippingMethodActionBuilder addShippingMethodBuilder() { + return com.commercetools.api.models.cart.CartAddShippingMethodActionBuilder.of(); + } + public static com.commercetools.api.models.cart.CartAddShoppingListActionBuilder addShoppingListBuilder() { return com.commercetools.api.models.cart.CartAddShoppingListActionBuilder.of(); } @@ -188,6 +201,10 @@ public static com.commercetools.api.models.cart.CartRemovePaymentActionBuilder r return com.commercetools.api.models.cart.CartRemovePaymentActionBuilder.of(); } + public static com.commercetools.api.models.cart.CartRemoveShippingMethodActionBuilder removeShippingMethodBuilder() { + return com.commercetools.api.models.cart.CartRemoveShippingMethodActionBuilder.of(); + } + public static com.commercetools.api.models.cart.CartSetAnonymousIdActionBuilder setAnonymousIdBuilder() { return com.commercetools.api.models.cart.CartSetAnonymousIdActionBuilder.of(); } @@ -336,6 +353,14 @@ public static com.commercetools.api.models.cart.CartSetShippingAddressCustomType return com.commercetools.api.models.cart.CartSetShippingAddressCustomTypeActionBuilder.of(); } + public static com.commercetools.api.models.cart.CartSetShippingCustomFieldActionBuilder setShippingCustomFieldBuilder() { + return com.commercetools.api.models.cart.CartSetShippingCustomFieldActionBuilder.of(); + } + + public static com.commercetools.api.models.cart.CartSetShippingCustomTypeActionBuilder setShippingCustomTypeBuilder() { + return com.commercetools.api.models.cart.CartSetShippingCustomTypeActionBuilder.of(); + } + public static com.commercetools.api.models.cart.CartSetShippingMethodActionBuilder setShippingMethodBuilder() { return com.commercetools.api.models.cart.CartSetShippingMethodActionBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateActionBuilder.java index d64e50b2660..ca9f6545a0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateActionBuilder.java @@ -15,6 +15,10 @@ public com.commercetools.api.models.cart.CartAddCustomLineItemActionBuilder addC return com.commercetools.api.models.cart.CartAddCustomLineItemActionBuilder.of(); } + public com.commercetools.api.models.cart.CartAddCustomShippingMethodActionBuilder addCustomShippingMethodBuilder() { + return com.commercetools.api.models.cart.CartAddCustomShippingMethodActionBuilder.of(); + } + public com.commercetools.api.models.cart.CartAddDiscountCodeActionBuilder addDiscountCodeBuilder() { return com.commercetools.api.models.cart.CartAddDiscountCodeActionBuilder.of(); } @@ -31,6 +35,10 @@ public com.commercetools.api.models.cart.CartAddPaymentActionBuilder addPaymentB return com.commercetools.api.models.cart.CartAddPaymentActionBuilder.of(); } + public com.commercetools.api.models.cart.CartAddShippingMethodActionBuilder addShippingMethodBuilder() { + return com.commercetools.api.models.cart.CartAddShippingMethodActionBuilder.of(); + } + public com.commercetools.api.models.cart.CartAddShoppingListActionBuilder addShoppingListBuilder() { return com.commercetools.api.models.cart.CartAddShoppingListActionBuilder.of(); } @@ -95,6 +103,10 @@ public com.commercetools.api.models.cart.CartRemovePaymentActionBuilder removePa return com.commercetools.api.models.cart.CartRemovePaymentActionBuilder.of(); } + public com.commercetools.api.models.cart.CartRemoveShippingMethodActionBuilder removeShippingMethodBuilder() { + return com.commercetools.api.models.cart.CartRemoveShippingMethodActionBuilder.of(); + } + public com.commercetools.api.models.cart.CartSetAnonymousIdActionBuilder setAnonymousIdBuilder() { return com.commercetools.api.models.cart.CartSetAnonymousIdActionBuilder.of(); } @@ -243,6 +255,14 @@ public com.commercetools.api.models.cart.CartSetShippingAddressCustomTypeActionB return com.commercetools.api.models.cart.CartSetShippingAddressCustomTypeActionBuilder.of(); } + public com.commercetools.api.models.cart.CartSetShippingCustomFieldActionBuilder setShippingCustomFieldBuilder() { + return com.commercetools.api.models.cart.CartSetShippingCustomFieldActionBuilder.of(); + } + + public com.commercetools.api.models.cart.CartSetShippingCustomTypeActionBuilder setShippingCustomTypeBuilder() { + return com.commercetools.api.models.cart.CartSetShippingCustomTypeActionBuilder.of(); + } + public com.commercetools.api.models.cart.CartSetShippingMethodActionBuilder setShippingMethodBuilder() { return com.commercetools.api.models.cart.CartSetShippingMethodActionBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItem.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItem.java index d3db3c33936..a21e5e34468 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItem.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItem.java @@ -141,7 +141,7 @@ public interface CustomLineItem extends com.commercetools.api.models.Customizabl public ItemShippingDetails getShippingDetails(); /** - *

Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item: Standard = yes, External = no.

+ *

Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.

*/ @NotNull @JsonProperty("priceMode") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java index 016eea1c982..0551c45cc62 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java @@ -362,7 +362,7 @@ public CustomLineItemBuilder shippingDetails( } /** - *

Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item: Standard = yes, External = no.

+ *

Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.

*/ public CustomLineItemBuilder priceMode(final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraft.java index d7e30d5314b..1bbda82d32c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraft.java @@ -29,6 +29,7 @@ * .quantity(0.3) * .money(moneyBuilder -> moneyBuilder) * .slug("{slug}") + * .priceMode(CustomLineItemPriceMode.STANDARD) * .build() * *
@@ -95,6 +96,16 @@ public interface CustomLineItemDraft extends com.commercetools.api.models.Custom @JsonProperty("shippingDetails") public ItemShippingDetailsDraft getShippingDetails(); + /** + *
    + *
  • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
  • + *
  • If External, Cart Discounts are not considered on the Custom Line Item.
  • + *
+ */ + @NotNull + @JsonProperty("priceMode") + public CustomLineItemPriceMode getPriceMode(); + public void setName(final LocalizedString name); public void setQuantity(final Long quantity); @@ -111,6 +122,8 @@ public interface CustomLineItemDraft extends com.commercetools.api.models.Custom public void setShippingDetails(final ItemShippingDetailsDraft shippingDetails); + public void setPriceMode(final CustomLineItemPriceMode priceMode); + public static CustomLineItemDraft of() { return new CustomLineItemDraftImpl(); } @@ -125,6 +138,7 @@ public static CustomLineItemDraft of(final CustomLineItemDraft template) { instance.setExternalTaxRate(template.getExternalTaxRate()); instance.setCustom(template.getCustom()); instance.setShippingDetails(template.getShippingDetails()); + instance.setPriceMode(template.getPriceMode()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraftBuilder.java index 8ff75d392a1..5096718e810 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraftBuilder.java @@ -20,6 +20,7 @@ * .quantity(0.3) * .money(moneyBuilder -> moneyBuilder) * .slug("{slug}") + * .priceMode(CustomLineItemPriceMode.STANDARD) * .build() * *
@@ -47,6 +48,8 @@ public class CustomLineItemDraftBuilder implements Builder @Nullable private com.commercetools.api.models.cart.ItemShippingDetailsDraft shippingDetails; + private com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode; + /** * */ @@ -187,6 +190,19 @@ public CustomLineItemDraftBuilder shippingDetails( return this; } + /** + *
    + *
  • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
  • + *
  • If External, Cart Discounts are not considered on the Custom Line Item.
  • + *
+ */ + + public CustomLineItemDraftBuilder priceMode( + final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { + this.priceMode = priceMode; + return this; + } + public com.commercetools.api.models.common.LocalizedString getName() { return this.name; } @@ -223,13 +239,18 @@ public com.commercetools.api.models.cart.ItemShippingDetailsDraft getShippingDet return this.shippingDetails; } + public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { + return this.priceMode; + } + public CustomLineItemDraft build() { Objects.requireNonNull(name, CustomLineItemDraft.class + ": name is missing"); Objects.requireNonNull(quantity, CustomLineItemDraft.class + ": quantity is missing"); Objects.requireNonNull(money, CustomLineItemDraft.class + ": money is missing"); Objects.requireNonNull(slug, CustomLineItemDraft.class + ": slug is missing"); + Objects.requireNonNull(priceMode, CustomLineItemDraft.class + ": priceMode is missing"); return new CustomLineItemDraftImpl(name, quantity, money, slug, taxCategory, externalTaxRate, custom, - shippingDetails); + shippingDetails, priceMode); } /** @@ -237,7 +258,7 @@ public CustomLineItemDraft build() { */ public CustomLineItemDraft buildUnchecked() { return new CustomLineItemDraftImpl(name, quantity, money, slug, taxCategory, externalTaxRate, custom, - shippingDetails); + shippingDetails, priceMode); } public static CustomLineItemDraftBuilder of() { @@ -254,6 +275,7 @@ public static CustomLineItemDraftBuilder of(final CustomLineItemDraft template) builder.externalTaxRate = template.getExternalTaxRate(); builder.custom = template.getCustom(); builder.shippingDetails = template.getShippingDetails(); + builder.priceMode = template.getPriceMode(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraftImpl.java index 36213090a47..19d69b5f68a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemDraftImpl.java @@ -36,6 +36,8 @@ public class CustomLineItemDraftImpl implements CustomLineItemDraft, ModelBase { private com.commercetools.api.models.cart.ItemShippingDetailsDraft shippingDetails; + private com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode; + @JsonCreator CustomLineItemDraftImpl(@JsonProperty("name") final com.commercetools.api.models.common.LocalizedString name, @JsonProperty("quantity") final Long quantity, @@ -44,7 +46,8 @@ public class CustomLineItemDraftImpl implements CustomLineItemDraft, ModelBase { @JsonProperty("taxCategory") final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory, @JsonProperty("externalTaxRate") final com.commercetools.api.models.cart.ExternalTaxRateDraft externalTaxRate, @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom, - @JsonProperty("shippingDetails") final com.commercetools.api.models.cart.ItemShippingDetailsDraft shippingDetails) { + @JsonProperty("shippingDetails") final com.commercetools.api.models.cart.ItemShippingDetailsDraft shippingDetails, + @JsonProperty("priceMode") final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { this.name = name; this.quantity = quantity; this.money = money; @@ -53,6 +56,7 @@ public class CustomLineItemDraftImpl implements CustomLineItemDraft, ModelBase { this.externalTaxRate = externalTaxRate; this.custom = custom; this.shippingDetails = shippingDetails; + this.priceMode = priceMode; } public CustomLineItemDraftImpl() { @@ -122,6 +126,17 @@ public com.commercetools.api.models.cart.ItemShippingDetailsDraft getShippingDet return this.shippingDetails; } + /** + *
    + *
  • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
  • + *
  • If External, Cart Discounts are not considered on the Custom Line Item.
  • + *
+ */ + + public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { + return this.priceMode; + } + public void setName(final com.commercetools.api.models.common.LocalizedString name) { this.name = name; } @@ -155,6 +170,10 @@ public void setShippingDetails(final com.commercetools.api.models.cart.ItemShipp this.shippingDetails = shippingDetails; } + public void setPriceMode(final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { + this.priceMode = priceMode; + } + @Override public boolean equals(Object o) { if (this == o) @@ -173,6 +192,7 @@ public boolean equals(Object o) { .append(externalTaxRate, that.externalTaxRate) .append(custom, that.custom) .append(shippingDetails, that.shippingDetails) + .append(priceMode, that.priceMode) .isEquals(); } @@ -186,6 +206,7 @@ public int hashCode() { .append(externalTaxRate) .append(custom) .append(shippingDetails) + .append(priceMode) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImpl.java index 2e367276836..94a7040bb4e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImpl.java @@ -186,7 +186,7 @@ public com.commercetools.api.models.cart.ItemShippingDetails getShippingDetails( } /** - *

Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item: Standard = yes, External = no.

+ *

Specifies whether Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.

*/ public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraft.java index 40453531c20..9659a099dc6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraft.java @@ -31,6 +31,7 @@ * .quantity(0.3) * .money(moneyBuilder -> moneyBuilder) * .slug("{slug}") + * .priceMode(CustomLineItemPriceMode.STANDARD) * .build() * *
@@ -105,6 +106,16 @@ public interface CustomLineItemImportDraft @JsonProperty("shippingDetails") public ItemShippingDetailsDraft getShippingDetails(); + /** + *
    + *
  • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
  • + *
  • If External, Cart Discounts are not considered on the Custom Line Item.
  • + *
+ */ + @NotNull + @JsonProperty("priceMode") + public CustomLineItemPriceMode getPriceMode(); + public void setName(final LocalizedString name); public void setQuantity(final Long quantity); @@ -126,6 +137,8 @@ public interface CustomLineItemImportDraft public void setShippingDetails(final ItemShippingDetailsDraft shippingDetails); + public void setPriceMode(final CustomLineItemPriceMode priceMode); + public static CustomLineItemImportDraft of() { return new CustomLineItemImportDraftImpl(); } @@ -141,6 +154,7 @@ public static CustomLineItemImportDraft of(final CustomLineItemImportDraft templ instance.setTaxCategory(template.getTaxCategory()); instance.setCustom(template.getCustom()); instance.setShippingDetails(template.getShippingDetails()); + instance.setPriceMode(template.getPriceMode()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraftBuilder.java index 8eeb0e78128..6833530f07d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraftBuilder.java @@ -20,6 +20,7 @@ * .quantity(0.3) * .money(moneyBuilder -> moneyBuilder) * .slug("{slug}") + * .priceMode(CustomLineItemPriceMode.STANDARD) * .build() * *
@@ -50,6 +51,8 @@ public class CustomLineItemImportDraftBuilder implements Builder + *
  • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
  • + *
  • If External, Cart Discounts are not considered on the Custom Line Item.
  • + * + */ + + public CustomLineItemImportDraftBuilder priceMode( + final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { + this.priceMode = priceMode; + return this; + } + public com.commercetools.api.models.common.LocalizedString getName() { return this.name; } @@ -287,13 +303,18 @@ public com.commercetools.api.models.cart.ItemShippingDetailsDraft getShippingDet return this.shippingDetails; } + public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { + return this.priceMode; + } + public CustomLineItemImportDraft build() { Objects.requireNonNull(name, CustomLineItemImportDraft.class + ": name is missing"); Objects.requireNonNull(quantity, CustomLineItemImportDraft.class + ": quantity is missing"); Objects.requireNonNull(money, CustomLineItemImportDraft.class + ": money is missing"); Objects.requireNonNull(slug, CustomLineItemImportDraft.class + ": slug is missing"); + Objects.requireNonNull(priceMode, CustomLineItemImportDraft.class + ": priceMode is missing"); return new CustomLineItemImportDraftImpl(name, quantity, money, slug, state, taxRate, taxCategory, custom, - shippingDetails); + shippingDetails, priceMode); } /** @@ -301,7 +322,7 @@ public CustomLineItemImportDraft build() { */ public CustomLineItemImportDraft buildUnchecked() { return new CustomLineItemImportDraftImpl(name, quantity, money, slug, state, taxRate, taxCategory, custom, - shippingDetails); + shippingDetails, priceMode); } public static CustomLineItemImportDraftBuilder of() { @@ -319,6 +340,7 @@ public static CustomLineItemImportDraftBuilder of(final CustomLineItemImportDraf builder.taxCategory = template.getTaxCategory(); builder.custom = template.getCustom(); builder.shippingDetails = template.getShippingDetails(); + builder.priceMode = template.getPriceMode(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraftImpl.java index c6d7aab3eea..fa38f97035c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImportDraftImpl.java @@ -38,6 +38,8 @@ public class CustomLineItemImportDraftImpl implements CustomLineItemImportDraft, private com.commercetools.api.models.cart.ItemShippingDetailsDraft shippingDetails; + private com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode; + @JsonCreator CustomLineItemImportDraftImpl(@JsonProperty("name") final com.commercetools.api.models.common.LocalizedString name, @JsonProperty("quantity") final Long quantity, @@ -47,7 +49,8 @@ public class CustomLineItemImportDraftImpl implements CustomLineItemImportDraft, @JsonProperty("taxRate") final com.commercetools.api.models.tax_category.TaxRate taxRate, @JsonProperty("taxCategory") final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory, @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom, - @JsonProperty("shippingDetails") final com.commercetools.api.models.cart.ItemShippingDetailsDraft shippingDetails) { + @JsonProperty("shippingDetails") final com.commercetools.api.models.cart.ItemShippingDetailsDraft shippingDetails, + @JsonProperty("priceMode") final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { this.name = name; this.quantity = quantity; this.money = money; @@ -57,6 +60,7 @@ public class CustomLineItemImportDraftImpl implements CustomLineItemImportDraft, this.taxCategory = taxCategory; this.custom = custom; this.shippingDetails = shippingDetails; + this.priceMode = priceMode; } public CustomLineItemImportDraftImpl() { @@ -134,6 +138,17 @@ public com.commercetools.api.models.cart.ItemShippingDetailsDraft getShippingDet return this.shippingDetails; } + /** + *
      + *
    • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
    • + *
    • If External, Cart Discounts are not considered on the Custom Line Item.
    • + *
    + */ + + public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { + return this.priceMode; + } + public void setName(final com.commercetools.api.models.common.LocalizedString name) { this.name = name; } @@ -175,6 +190,10 @@ public void setShippingDetails(final com.commercetools.api.models.cart.ItemShipp this.shippingDetails = shippingDetails; } + public void setPriceMode(final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { + this.priceMode = priceMode; + } + @Override public boolean equals(Object o) { if (this == o) @@ -194,6 +213,7 @@ public boolean equals(Object o) { .append(taxCategory, that.taxCategory) .append(custom, that.custom) .append(shippingDetails, that.shippingDetails) + .append(priceMode, that.priceMode) .isEquals(); } @@ -208,6 +228,7 @@ public int hashCode() { .append(taxCategory) .append(custom) .append(shippingDetails) + .append(priceMode) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraft.java new file mode 100644 index 00000000000..91135b8b7c4 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraft.java @@ -0,0 +1,169 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.BaseAddress; +import com.commercetools.api.models.order.Delivery; +import com.commercetools.api.models.shipping_method.ShippingRateDraft; +import com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CustomShippingDraft + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     CustomShippingDraft customShippingDraft = CustomShippingDraft.builder()
    + *             .key("{key}")
    + *             .shippingMethodName("{shippingMethodName}")
    + *             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
    + *             .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = CustomShippingDraftImpl.class) +public interface CustomShippingDraft { + + /** + *

    User-defined unique identifier of the custom Shipping Method in a Cart with Multi ShippingMode.

    + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

    Name of the custom Shipping Method.

    + */ + @NotNull + @JsonProperty("shippingMethodName") + public String getShippingMethodName(); + + /** + *

    Determines the shipping rate and Tax Rate of the associated Line Items.

    + */ + @Valid + @JsonProperty("shippingAddress") + public BaseAddress getShippingAddress(); + + /** + *

    Determines the shipping price.

    + */ + @NotNull + @Valid + @JsonProperty("shippingRate") + public ShippingRateDraft getShippingRate(); + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + *

    The shippingRateInput cannot be set on the Cart if CartValueType is defined.

    + */ + @Valid + @JsonProperty("shippingRateInput") + public ShippingRateInputDraft getShippingRateInput(); + + /** + *

    Tax Category used to determine a shipping Tax Rate if a Cart has the Platform TaxMode.

    + */ + @Valid + @JsonProperty("taxCategory") + public TaxCategoryResourceIdentifier getTaxCategory(); + + /** + *

    Tax Rate used to tax a shipping expense if the Cart has the External TaxMode.

    + */ + + @JsonProperty("externalTaxRate") + public String getExternalTaxRate(); + + /** + *

    Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

    + */ + @NotNull + @Valid + @JsonProperty("deliveries") + public List getDeliveries(); + + /** + *

    Custom Fields for the custom Shipping Method.

    + */ + + @JsonProperty("custom") + public String getCustom(); + + public void setKey(final String key); + + public void setShippingMethodName(final String shippingMethodName); + + public void setShippingAddress(final BaseAddress shippingAddress); + + public void setShippingRate(final ShippingRateDraft shippingRate); + + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); + + public void setTaxCategory(final TaxCategoryResourceIdentifier taxCategory); + + public void setExternalTaxRate(final String externalTaxRate); + + @JsonIgnore + public void setDeliveries(final Delivery... deliveries); + + public void setDeliveries(final List deliveries); + + public void setCustom(final String custom); + + public static CustomShippingDraft of() { + return new CustomShippingDraftImpl(); + } + + public static CustomShippingDraft of(final CustomShippingDraft template) { + CustomShippingDraftImpl instance = new CustomShippingDraftImpl(); + instance.setKey(template.getKey()); + instance.setShippingMethodName(template.getShippingMethodName()); + instance.setShippingAddress(template.getShippingAddress()); + instance.setShippingRate(template.getShippingRate()); + instance.setShippingRateInput(template.getShippingRateInput()); + instance.setTaxCategory(template.getTaxCategory()); + instance.setExternalTaxRate(template.getExternalTaxRate()); + instance.setDeliveries(template.getDeliveries()); + instance.setCustom(template.getCustom()); + return instance; + } + + public static CustomShippingDraftBuilder builder() { + return CustomShippingDraftBuilder.of(); + } + + public static CustomShippingDraftBuilder builder(final CustomShippingDraft template) { + return CustomShippingDraftBuilder.of(template); + } + + default T withCustomShippingDraft(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraftBuilder.java new file mode 100644 index 00000000000..8af27104101 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraftBuilder.java @@ -0,0 +1,314 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CustomShippingDraftBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     CustomShippingDraft customShippingDraft = CustomShippingDraft.builder()
    + *             .key("{key}")
    + *             .shippingMethodName("{shippingMethodName}")
    + *             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
    + *             .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CustomShippingDraftBuilder implements Builder { + + private String key; + + private String shippingMethodName; + + @Nullable + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + private com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate; + + @Nullable + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + @Nullable + private com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory; + + @Nullable + private String externalTaxRate; + + private java.util.List deliveries; + + @Nullable + private String custom; + + /** + *

    User-defined unique identifier of the custom Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public CustomShippingDraftBuilder key(final String key) { + this.key = key; + return this; + } + + /** + *

    Name of the custom Shipping Method.

    + */ + + public CustomShippingDraftBuilder shippingMethodName(final String shippingMethodName) { + this.shippingMethodName = shippingMethodName; + return this; + } + + /** + *

    Determines the shipping rate and Tax Rate of the associated Line Items.

    + */ + + public CustomShippingDraftBuilder shippingAddress( + Function builder) { + this.shippingAddress = builder.apply(com.commercetools.api.models.common.BaseAddressBuilder.of()).build(); + return this; + } + + /** + *

    Determines the shipping rate and Tax Rate of the associated Line Items.

    + */ + + public CustomShippingDraftBuilder shippingAddress( + @Nullable final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *

    Determines the shipping price.

    + */ + + public CustomShippingDraftBuilder shippingRate( + Function builder) { + this.shippingRate = builder.apply(com.commercetools.api.models.shipping_method.ShippingRateDraftBuilder.of()) + .build(); + return this; + } + + /** + *

    Determines the shipping price.

    + */ + + public CustomShippingDraftBuilder shippingRate( + final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate) { + this.shippingRate = shippingRate; + return this; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + *

    The shippingRateInput cannot be set on the Cart if CartValueType is defined.

    + */ + + public CustomShippingDraftBuilder shippingRateInput( + @Nullable final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + return this; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + *

    The shippingRateInput cannot be set on the Cart if CartValueType is defined.

    + */ + + public CustomShippingDraftBuilder shippingRateInput( + Function> builder) { + this.shippingRateInput = builder.apply(com.commercetools.api.models.cart.ShippingRateInputDraftBuilder.of()) + .build(); + return this; + } + + /** + *

    Tax Category used to determine a shipping Tax Rate if a Cart has the Platform TaxMode.

    + */ + + public CustomShippingDraftBuilder taxCategory( + Function builder) { + this.taxCategory = builder + .apply(com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifierBuilder.of()) + .build(); + return this; + } + + /** + *

    Tax Category used to determine a shipping Tax Rate if a Cart has the Platform TaxMode.

    + */ + + public CustomShippingDraftBuilder taxCategory( + @Nullable final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory) { + this.taxCategory = taxCategory; + return this; + } + + /** + *

    Tax Rate used to tax a shipping expense if the Cart has the External TaxMode.

    + */ + + public CustomShippingDraftBuilder externalTaxRate(@Nullable final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + return this; + } + + /** + *

    Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

    + */ + + public CustomShippingDraftBuilder deliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + return this; + } + + /** + *

    Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

    + */ + + public CustomShippingDraftBuilder deliveries( + final java.util.List deliveries) { + this.deliveries = deliveries; + return this; + } + + /** + *

    Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

    + */ + + public CustomShippingDraftBuilder plusDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.addAll(Arrays.asList(deliveries)); + return this; + } + + /** + *

    Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

    + */ + + public CustomShippingDraftBuilder plusDeliveries( + Function builder) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.add(builder.apply(com.commercetools.api.models.order.DeliveryBuilder.of()).build()); + return this; + } + + /** + *

    Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

    + */ + + public CustomShippingDraftBuilder withDeliveries( + Function builder) { + this.deliveries = new ArrayList<>(); + this.deliveries.add(builder.apply(com.commercetools.api.models.order.DeliveryBuilder.of()).build()); + return this; + } + + /** + *

    Custom Fields for the custom Shipping Method.

    + */ + + public CustomShippingDraftBuilder custom(@Nullable final String custom) { + this.custom = custom; + return this; + } + + public String getKey() { + return this.key; + } + + public String getShippingMethodName() { + return this.shippingMethodName; + } + + @Nullable + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + public com.commercetools.api.models.shipping_method.ShippingRateDraft getShippingRate() { + return this.shippingRate; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier getTaxCategory() { + return this.taxCategory; + } + + @Nullable + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + public java.util.List getDeliveries() { + return this.deliveries; + } + + @Nullable + public String getCustom() { + return this.custom; + } + + public CustomShippingDraft build() { + Objects.requireNonNull(key, CustomShippingDraft.class + ": key is missing"); + Objects.requireNonNull(shippingMethodName, CustomShippingDraft.class + ": shippingMethodName is missing"); + Objects.requireNonNull(shippingRate, CustomShippingDraft.class + ": shippingRate is missing"); + Objects.requireNonNull(deliveries, CustomShippingDraft.class + ": deliveries is missing"); + return new CustomShippingDraftImpl(key, shippingMethodName, shippingAddress, shippingRate, shippingRateInput, + taxCategory, externalTaxRate, deliveries, custom); + } + + /** + * builds CustomShippingDraft without checking for non null required values + */ + public CustomShippingDraft buildUnchecked() { + return new CustomShippingDraftImpl(key, shippingMethodName, shippingAddress, shippingRate, shippingRateInput, + taxCategory, externalTaxRate, deliveries, custom); + } + + public static CustomShippingDraftBuilder of() { + return new CustomShippingDraftBuilder(); + } + + public static CustomShippingDraftBuilder of(final CustomShippingDraft template) { + CustomShippingDraftBuilder builder = new CustomShippingDraftBuilder(); + builder.key = template.getKey(); + builder.shippingMethodName = template.getShippingMethodName(); + builder.shippingAddress = template.getShippingAddress(); + builder.shippingRate = template.getShippingRate(); + builder.shippingRateInput = template.getShippingRateInput(); + builder.taxCategory = template.getTaxCategory(); + builder.externalTaxRate = template.getExternalTaxRate(); + builder.deliveries = template.getDeliveries(); + builder.custom = template.getCustom(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraftImpl.java new file mode 100644 index 00000000000..6e3bed10ea2 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomShippingDraftImpl.java @@ -0,0 +1,219 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * CustomShippingDraft + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CustomShippingDraftImpl implements CustomShippingDraft, ModelBase { + + private String key; + + private String shippingMethodName; + + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + private com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate; + + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + private com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory; + + private String externalTaxRate; + + private java.util.List deliveries; + + private String custom; + + @JsonCreator + CustomShippingDraftImpl(@JsonProperty("key") final String key, + @JsonProperty("shippingMethodName") final String shippingMethodName, + @JsonProperty("shippingAddress") final com.commercetools.api.models.common.BaseAddress shippingAddress, + @JsonProperty("shippingRate") final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate, + @JsonProperty("shippingRateInput") final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput, + @JsonProperty("taxCategory") final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory, + @JsonProperty("externalTaxRate") final String externalTaxRate, + @JsonProperty("deliveries") final java.util.List deliveries, + @JsonProperty("custom") final String custom) { + this.key = key; + this.shippingMethodName = shippingMethodName; + this.shippingAddress = shippingAddress; + this.shippingRate = shippingRate; + this.shippingRateInput = shippingRateInput; + this.taxCategory = taxCategory; + this.externalTaxRate = externalTaxRate; + this.deliveries = deliveries; + this.custom = custom; + } + + public CustomShippingDraftImpl() { + } + + /** + *

    User-defined unique identifier of the custom Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getKey() { + return this.key; + } + + /** + *

    Name of the custom Shipping Method.

    + */ + + public String getShippingMethodName() { + return this.shippingMethodName; + } + + /** + *

    Determines the shipping rate and Tax Rate of the associated Line Items.

    + */ + + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + /** + *

    Determines the shipping price.

    + */ + + public com.commercetools.api.models.shipping_method.ShippingRateDraft getShippingRate() { + return this.shippingRate; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + *

    The shippingRateInput cannot be set on the Cart if CartValueType is defined.

    + */ + + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + /** + *

    Tax Category used to determine a shipping Tax Rate if a Cart has the Platform TaxMode.

    + */ + + public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier getTaxCategory() { + return this.taxCategory; + } + + /** + *

    Tax Rate used to tax a shipping expense if the Cart has the External TaxMode.

    + */ + + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + /** + *

    Deliveries tied to a Shipping Method in a multi-shipping method Cart. It holds information on how items are delivered to customers.

    + */ + + public java.util.List getDeliveries() { + return this.deliveries; + } + + /** + *

    Custom Fields for the custom Shipping Method.

    + */ + + public String getCustom() { + return this.custom; + } + + public void setKey(final String key) { + this.key = key; + } + + public void setShippingMethodName(final String shippingMethodName) { + this.shippingMethodName = shippingMethodName; + } + + public void setShippingAddress(final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRate(final com.commercetools.api.models.shipping_method.ShippingRateDraft shippingRate) { + this.shippingRate = shippingRate; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setTaxCategory( + final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory) { + this.taxCategory = taxCategory; + } + + public void setExternalTaxRate(final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + } + + public void setDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + } + + public void setDeliveries(final java.util.List deliveries) { + this.deliveries = deliveries; + } + + public void setCustom(final String custom) { + this.custom = custom; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + CustomShippingDraftImpl that = (CustomShippingDraftImpl) o; + + return new EqualsBuilder().append(key, that.key) + .append(shippingMethodName, that.shippingMethodName) + .append(shippingAddress, that.shippingAddress) + .append(shippingRate, that.shippingRate) + .append(shippingRateInput, that.shippingRateInput) + .append(taxCategory, that.taxCategory) + .append(externalTaxRate, that.externalTaxRate) + .append(deliveries, that.deliveries) + .append(custom, that.custom) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(key) + .append(shippingMethodName) + .append(shippingAddress) + .append(shippingRate) + .append(shippingRateInput) + .append(taxCategory) + .append(externalTaxRate) + .append(deliveries) + .append(custom) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTarget.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTarget.java index 1e8c47c9b5a..805ec0afe1e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTarget.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTarget.java @@ -44,10 +44,20 @@ public interface ItemShippingTarget { @JsonProperty("quantity") public Long getQuantity(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + *

    It connects Line Item quantities with individual shipping addresses.

    + */ + + @JsonProperty("shippingMethodKey") + public String getShippingMethodKey(); + public void setAddressKey(final String addressKey); public void setQuantity(final Long quantity); + public void setShippingMethodKey(final String shippingMethodKey); + public static ItemShippingTarget of() { return new ItemShippingTargetImpl(); } @@ -56,6 +66,7 @@ public static ItemShippingTarget of(final ItemShippingTarget template) { ItemShippingTargetImpl instance = new ItemShippingTargetImpl(); instance.setAddressKey(template.getAddressKey()); instance.setQuantity(template.getQuantity()); + instance.setShippingMethodKey(template.getShippingMethodKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetBuilder.java index 2d1f385bc19..1b38952b481 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetBuilder.java @@ -3,6 +3,8 @@ import java.util.*; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -26,6 +28,9 @@ public class ItemShippingTargetBuilder implements Builder { private Long quantity; + @Nullable + private String shippingMethodKey; + /** *

    The key of the address in the cart's itemShippingAddresses

    */ @@ -44,6 +49,16 @@ public ItemShippingTargetBuilder quantity(final Long quantity) { return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + *

    It connects Line Item quantities with individual shipping addresses.

    + */ + + public ItemShippingTargetBuilder shippingMethodKey(@Nullable final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + return this; + } + public String getAddressKey() { return this.addressKey; } @@ -52,17 +67,22 @@ public Long getQuantity() { return this.quantity; } + @Nullable + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + public ItemShippingTarget build() { Objects.requireNonNull(addressKey, ItemShippingTarget.class + ": addressKey is missing"); Objects.requireNonNull(quantity, ItemShippingTarget.class + ": quantity is missing"); - return new ItemShippingTargetImpl(addressKey, quantity); + return new ItemShippingTargetImpl(addressKey, quantity, shippingMethodKey); } /** * builds ItemShippingTarget without checking for non null required values */ public ItemShippingTarget buildUnchecked() { - return new ItemShippingTargetImpl(addressKey, quantity); + return new ItemShippingTargetImpl(addressKey, quantity, shippingMethodKey); } public static ItemShippingTargetBuilder of() { @@ -73,6 +93,7 @@ public static ItemShippingTargetBuilder of(final ItemShippingTarget template) { ItemShippingTargetBuilder builder = new ItemShippingTargetBuilder(); builder.addressKey = template.getAddressKey(); builder.quantity = template.getQuantity(); + builder.shippingMethodKey = template.getShippingMethodKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetImpl.java index 38ba527a5f5..cf560f8ca45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingTargetImpl.java @@ -24,11 +24,15 @@ public class ItemShippingTargetImpl implements ItemShippingTarget, ModelBase { private Long quantity; + private String shippingMethodKey; + @JsonCreator ItemShippingTargetImpl(@JsonProperty("addressKey") final String addressKey, - @JsonProperty("quantity") final Long quantity) { + @JsonProperty("quantity") final Long quantity, + @JsonProperty("shippingMethodKey") final String shippingMethodKey) { this.addressKey = addressKey; this.quantity = quantity; + this.shippingMethodKey = shippingMethodKey; } public ItemShippingTargetImpl() { @@ -50,6 +54,15 @@ public Long getQuantity() { return this.quantity; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + *

    It connects Line Item quantities with individual shipping addresses.

    + */ + + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + public void setAddressKey(final String addressKey) { this.addressKey = addressKey; } @@ -58,6 +71,10 @@ public void setQuantity(final Long quantity) { this.quantity = quantity; } + public void setShippingMethodKey(final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -68,12 +85,15 @@ public boolean equals(Object o) { ItemShippingTargetImpl that = (ItemShippingTargetImpl) o; - return new EqualsBuilder().append(addressKey, that.addressKey).append(quantity, that.quantity).isEquals(); + return new EqualsBuilder().append(addressKey, that.addressKey) + .append(quantity, that.quantity) + .append(shippingMethodKey, that.shippingMethodKey) + .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(addressKey).append(quantity).toHashCode(); + return new HashCodeBuilder(17, 37).append(addressKey).append(quantity).append(shippingMethodKey).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java index c7429e65e03..5538b18ef44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java @@ -37,9 +37,11 @@ * .productType(productTypeBuilder -> productTypeBuilder) * .variant(variantBuilder -> variantBuilder) * .price(priceBuilder -> priceBuilder) + * .plusTaxedPricePortions(taxedPricePortionsBuilder -> taxedPricePortionsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) * .quantity(0.3) * .plusState(stateBuilder -> stateBuilder) + * .plusPerMethodTaxRate(perMethodTaxRateBuilder -> perMethodTaxRateBuilder) * .plusDiscountedPricePerQuantity(discountedPricePerQuantityBuilder -> discountedPricePerQuantityBuilder) * .priceMode(LineItemPriceMode.PLATFORM) * .lineItemMode(LineItemMode.STANDARD) @@ -118,6 +120,14 @@ public interface LineItem extends com.commercetools.api.models.CustomizableTaxed price of the Shipping Method that is set automatically after perMethodTaxRate is set.

    + */ + @NotNull + @Valid + @JsonProperty("taxedPricePortions") + public List getTaxedPricePortions(); + /** *

    The total price of this line item. If the line item is discounted, then the totalPrice is the DiscountedLineItemPriceForQuantity multiplied by quantity. Otherwise the total price is the product price multiplied by the quantity. totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property.

    */ @@ -155,6 +165,15 @@ public interface LineItem extends com.commercetools.api.models.CustomizableTax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform TaxMode and Multi ShippingMode.

    + *

    For the External TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.

    + */ + @NotNull + @Valid + @JsonProperty("perMethodTaxRate") + public List getPerMethodTaxRate(); + /** *

    The supply channel identifies the inventory entries that should be reserved. The channel has the role InventorySupply.

    */ @@ -237,6 +256,11 @@ public interface LineItem extends com.commercetools.api.models.Customizable taxedPricePortions); + public void setTotalPrice(final TypedMoney totalPrice); public void setQuantity(final Long quantity); @@ -250,6 +274,11 @@ public interface LineItem extends com.commercetools.api.models.Customizable perMethodTaxRate); + public void setSupplyChannel(final ChannelReference supplyChannel); public void setDistributionChannel(final ChannelReference distributionChannel); @@ -287,11 +316,13 @@ public static LineItem of(final LineItem template) { instance.setVariant(template.getVariant()); instance.setPrice(template.getPrice()); instance.setTaxedPrice(template.getTaxedPrice()); + instance.setTaxedPricePortions(template.getTaxedPricePortions()); instance.setTotalPrice(template.getTotalPrice()); instance.setQuantity(template.getQuantity()); instance.setAddedAt(template.getAddedAt()); instance.setState(template.getState()); instance.setTaxRate(template.getTaxRate()); + instance.setPerMethodTaxRate(template.getPerMethodTaxRate()); instance.setSupplyChannel(template.getSupplyChannel()); instance.setDistributionChannel(template.getDistributionChannel()); instance.setDiscountedPricePerQuantity(template.getDiscountedPricePerQuantity()); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemBuilder.java index dea622015b0..62c308b4af3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemBuilder.java @@ -22,9 +22,11 @@ * .productType(productTypeBuilder -> productTypeBuilder) * .variant(variantBuilder -> variantBuilder) * .price(priceBuilder -> priceBuilder) + * .plusTaxedPricePortions(taxedPricePortionsBuilder -> taxedPricePortionsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) * .quantity(0.3) * .plusState(stateBuilder -> stateBuilder) + * .plusPerMethodTaxRate(perMethodTaxRateBuilder -> perMethodTaxRateBuilder) * .plusDiscountedPricePerQuantity(discountedPricePerQuantityBuilder -> discountedPricePerQuantityBuilder) * .priceMode(LineItemPriceMode.PLATFORM) * .lineItemMode(LineItemMode.STANDARD) @@ -56,6 +58,8 @@ public class LineItemBuilder implements Builder { @Nullable private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice; + private java.util.List taxedPricePortions; + private com.commercetools.api.models.common.TypedMoney totalPrice; private Long quantity; @@ -68,6 +72,8 @@ public class LineItemBuilder implements Builder { @Nullable private com.commercetools.api.models.tax_category.TaxRate taxRate; + private java.util.List perMethodTaxRate; + @Nullable private com.commercetools.api.models.channel.ChannelReference supplyChannel; @@ -236,6 +242,65 @@ public LineItemBuilder taxedPrice(@Nullable final com.commercetools.api.models.c return this; } + /** + *

    Taxed price of the Shipping Method that is set automatically after perMethodTaxRate is set.

    + */ + + public LineItemBuilder taxedPricePortions( + final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + this.taxedPricePortions = new ArrayList<>(Arrays.asList(taxedPricePortions)); + return this; + } + + /** + *

    Taxed price of the Shipping Method that is set automatically after perMethodTaxRate is set.

    + */ + + public LineItemBuilder taxedPricePortions( + final java.util.List taxedPricePortions) { + this.taxedPricePortions = taxedPricePortions; + return this; + } + + /** + *

    Taxed price of the Shipping Method that is set automatically after perMethodTaxRate is set.

    + */ + + public LineItemBuilder plusTaxedPricePortions( + final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + if (this.taxedPricePortions == null) { + this.taxedPricePortions = new ArrayList<>(); + } + this.taxedPricePortions.addAll(Arrays.asList(taxedPricePortions)); + return this; + } + + /** + *

    Taxed price of the Shipping Method that is set automatically after perMethodTaxRate is set.

    + */ + + public LineItemBuilder plusTaxedPricePortions( + Function builder) { + if (this.taxedPricePortions == null) { + this.taxedPricePortions = new ArrayList<>(); + } + this.taxedPricePortions + .add(builder.apply(com.commercetools.api.models.cart.MethodTaxedPriceBuilder.of()).build()); + return this; + } + + /** + *

    Taxed price of the Shipping Method that is set automatically after perMethodTaxRate is set.

    + */ + + public LineItemBuilder withTaxedPricePortions( + Function builder) { + this.taxedPricePortions = new ArrayList<>(); + this.taxedPricePortions + .add(builder.apply(com.commercetools.api.models.cart.MethodTaxedPriceBuilder.of()).build()); + return this; + } + /** *

    The total price of this line item. If the line item is discounted, then the totalPrice is the DiscountedLineItemPriceForQuantity multiplied by quantity. Otherwise the total price is the product price multiplied by the quantity. totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property.

    */ @@ -346,6 +411,67 @@ public LineItemBuilder taxRate(@Nullable final com.commercetools.api.models.tax_ return this; } + /** + *

    Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform TaxMode and Multi ShippingMode.

    + *

    For the External TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.

    + */ + + public LineItemBuilder perMethodTaxRate(final com.commercetools.api.models.cart.MethodTaxRate... perMethodTaxRate) { + this.perMethodTaxRate = new ArrayList<>(Arrays.asList(perMethodTaxRate)); + return this; + } + + /** + *

    Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform TaxMode and Multi ShippingMode.

    + *

    For the External TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.

    + */ + + public LineItemBuilder perMethodTaxRate( + final java.util.List perMethodTaxRate) { + this.perMethodTaxRate = perMethodTaxRate; + return this; + } + + /** + *

    Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform TaxMode and Multi ShippingMode.

    + *

    For the External TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.

    + */ + + public LineItemBuilder plusPerMethodTaxRate( + final com.commercetools.api.models.cart.MethodTaxRate... perMethodTaxRate) { + if (this.perMethodTaxRate == null) { + this.perMethodTaxRate = new ArrayList<>(); + } + this.perMethodTaxRate.addAll(Arrays.asList(perMethodTaxRate)); + return this; + } + + /** + *

    Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform TaxMode and Multi ShippingMode.

    + *

    For the External TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.

    + */ + + public LineItemBuilder plusPerMethodTaxRate( + Function builder) { + if (this.perMethodTaxRate == null) { + this.perMethodTaxRate = new ArrayList<>(); + } + this.perMethodTaxRate.add(builder.apply(com.commercetools.api.models.cart.MethodTaxRateBuilder.of()).build()); + return this; + } + + /** + *

    Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform TaxMode and Multi ShippingMode.

    + *

    For the External TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.

    + */ + + public LineItemBuilder withPerMethodTaxRate( + Function builder) { + this.perMethodTaxRate = new ArrayList<>(); + this.perMethodTaxRate.add(builder.apply(com.commercetools.api.models.cart.MethodTaxRateBuilder.of()).build()); + return this; + } + /** *

    The supply channel identifies the inventory entries that should be reserved. The channel has the role InventorySupply.

    */ @@ -561,6 +687,10 @@ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { return this.taxedPrice; } + public java.util.List getTaxedPricePortions() { + return this.taxedPricePortions; + } + public com.commercetools.api.models.common.TypedMoney getTotalPrice() { return this.totalPrice; } @@ -583,6 +713,10 @@ public com.commercetools.api.models.tax_category.TaxRate getTaxRate() { return this.taxRate; } + public java.util.List getPerMethodTaxRate() { + return this.perMethodTaxRate; + } + @Nullable public com.commercetools.api.models.channel.ChannelReference getSupplyChannel() { return this.supplyChannel; @@ -632,16 +766,18 @@ public LineItem build() { Objects.requireNonNull(productType, LineItem.class + ": productType is missing"); Objects.requireNonNull(variant, LineItem.class + ": variant is missing"); Objects.requireNonNull(price, LineItem.class + ": price is missing"); + Objects.requireNonNull(taxedPricePortions, LineItem.class + ": taxedPricePortions is missing"); Objects.requireNonNull(totalPrice, LineItem.class + ": totalPrice is missing"); Objects.requireNonNull(quantity, LineItem.class + ": quantity is missing"); Objects.requireNonNull(state, LineItem.class + ": state is missing"); + Objects.requireNonNull(perMethodTaxRate, LineItem.class + ": perMethodTaxRate is missing"); Objects.requireNonNull(discountedPricePerQuantity, LineItem.class + ": discountedPricePerQuantity is missing"); Objects.requireNonNull(priceMode, LineItem.class + ": priceMode is missing"); Objects.requireNonNull(lineItemMode, LineItem.class + ": lineItemMode is missing"); return new LineItemImpl(id, productId, productKey, name, productSlug, productType, variant, price, taxedPrice, - totalPrice, quantity, addedAt, state, taxRate, supplyChannel, distributionChannel, - discountedPricePerQuantity, priceMode, lineItemMode, custom, inventoryMode, shippingDetails, - lastModifiedAt); + taxedPricePortions, totalPrice, quantity, addedAt, state, taxRate, perMethodTaxRate, supplyChannel, + distributionChannel, discountedPricePerQuantity, priceMode, lineItemMode, custom, inventoryMode, + shippingDetails, lastModifiedAt); } /** @@ -649,9 +785,9 @@ public LineItem build() { */ public LineItem buildUnchecked() { return new LineItemImpl(id, productId, productKey, name, productSlug, productType, variant, price, taxedPrice, - totalPrice, quantity, addedAt, state, taxRate, supplyChannel, distributionChannel, - discountedPricePerQuantity, priceMode, lineItemMode, custom, inventoryMode, shippingDetails, - lastModifiedAt); + taxedPricePortions, totalPrice, quantity, addedAt, state, taxRate, perMethodTaxRate, supplyChannel, + distributionChannel, discountedPricePerQuantity, priceMode, lineItemMode, custom, inventoryMode, + shippingDetails, lastModifiedAt); } public static LineItemBuilder of() { @@ -669,11 +805,13 @@ public static LineItemBuilder of(final LineItem template) { builder.variant = template.getVariant(); builder.price = template.getPrice(); builder.taxedPrice = template.getTaxedPrice(); + builder.taxedPricePortions = template.getTaxedPricePortions(); builder.totalPrice = template.getTotalPrice(); builder.quantity = template.getQuantity(); builder.addedAt = template.getAddedAt(); builder.state = template.getState(); builder.taxRate = template.getTaxRate(); + builder.perMethodTaxRate = template.getPerMethodTaxRate(); builder.supplyChannel = template.getSupplyChannel(); builder.distributionChannel = template.getDistributionChannel(); builder.discountedPricePerQuantity = template.getDiscountedPricePerQuantity(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemImpl.java index 721536d096d..320d7728f10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemImpl.java @@ -38,6 +38,8 @@ public class LineItemImpl implements LineItem, ModelBase { private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice; + private java.util.List taxedPricePortions; + private com.commercetools.api.models.common.TypedMoney totalPrice; private Long quantity; @@ -48,6 +50,8 @@ public class LineItemImpl implements LineItem, ModelBase { private com.commercetools.api.models.tax_category.TaxRate taxRate; + private java.util.List perMethodTaxRate; + private com.commercetools.api.models.channel.ChannelReference supplyChannel; private com.commercetools.api.models.channel.ChannelReference distributionChannel; @@ -75,11 +79,13 @@ public class LineItemImpl implements LineItem, ModelBase { @JsonProperty("variant") final com.commercetools.api.models.product.ProductVariant variant, @JsonProperty("price") final com.commercetools.api.models.common.Price price, @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice, + @JsonProperty("taxedPricePortions") final java.util.List taxedPricePortions, @JsonProperty("totalPrice") final com.commercetools.api.models.common.TypedMoney totalPrice, @JsonProperty("quantity") final Long quantity, @JsonProperty("addedAt") final java.time.ZonedDateTime addedAt, @JsonProperty("state") final java.util.List state, @JsonProperty("taxRate") final com.commercetools.api.models.tax_category.TaxRate taxRate, + @JsonProperty("perMethodTaxRate") final java.util.List perMethodTaxRate, @JsonProperty("supplyChannel") final com.commercetools.api.models.channel.ChannelReference supplyChannel, @JsonProperty("distributionChannel") final com.commercetools.api.models.channel.ChannelReference distributionChannel, @JsonProperty("discountedPricePerQuantity") final java.util.List discountedPricePerQuantity, @@ -98,11 +104,13 @@ public class LineItemImpl implements LineItem, ModelBase { this.variant = variant; this.price = price; this.taxedPrice = taxedPrice; + this.taxedPricePortions = taxedPricePortions; this.totalPrice = totalPrice; this.quantity = quantity; this.addedAt = addedAt; this.state = state; this.taxRate = taxRate; + this.perMethodTaxRate = perMethodTaxRate; this.supplyChannel = supplyChannel; this.distributionChannel = distributionChannel; this.discountedPricePerQuantity = discountedPricePerQuantity; @@ -189,6 +197,14 @@ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { return this.taxedPrice; } + /** + *

    Taxed price of the Shipping Method that is set automatically after perMethodTaxRate is set.

    + */ + + public java.util.List getTaxedPricePortions() { + return this.taxedPricePortions; + } + /** *

    The total price of this line item. If the line item is discounted, then the totalPrice is the DiscountedLineItemPriceForQuantity multiplied by quantity. Otherwise the total price is the product price multiplied by the quantity. totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property.

    */ @@ -229,6 +245,15 @@ public com.commercetools.api.models.tax_category.TaxRate getTaxRate() { return this.taxRate; } + /** + *

    Tax Rate per Shipping Method that is automatically set after the Shipping Method is added to a Cart with the Platform TaxMode and Multi ShippingMode.

    + *

    For the External TaxMode, the Tax Rate must be set with ExternalTaxRateDraft.

    + */ + + public java.util.List getPerMethodTaxRate() { + return this.perMethodTaxRate; + } + /** *

    The supply channel identifies the inventory entries that should be reserved. The channel has the role InventorySupply.

    */ @@ -337,6 +362,15 @@ public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedItemPrice this.taxedPrice = taxedPrice; } + public void setTaxedPricePortions(final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + this.taxedPricePortions = new ArrayList<>(Arrays.asList(taxedPricePortions)); + } + + public void setTaxedPricePortions( + final java.util.List taxedPricePortions) { + this.taxedPricePortions = taxedPricePortions; + } + public void setTotalPrice(final com.commercetools.api.models.common.TypedMoney totalPrice) { this.totalPrice = totalPrice; } @@ -361,6 +395,15 @@ public void setTaxRate(final com.commercetools.api.models.tax_category.TaxRate t this.taxRate = taxRate; } + public void setPerMethodTaxRate(final com.commercetools.api.models.cart.MethodTaxRate... perMethodTaxRate) { + this.perMethodTaxRate = new ArrayList<>(Arrays.asList(perMethodTaxRate)); + } + + public void setPerMethodTaxRate( + final java.util.List perMethodTaxRate) { + this.perMethodTaxRate = perMethodTaxRate; + } + public void setSupplyChannel(final com.commercetools.api.models.channel.ChannelReference supplyChannel) { this.supplyChannel = supplyChannel; } @@ -423,11 +466,13 @@ public boolean equals(Object o) { .append(variant, that.variant) .append(price, that.price) .append(taxedPrice, that.taxedPrice) + .append(taxedPricePortions, that.taxedPricePortions) .append(totalPrice, that.totalPrice) .append(quantity, that.quantity) .append(addedAt, that.addedAt) .append(state, that.state) .append(taxRate, that.taxRate) + .append(perMethodTaxRate, that.perMethodTaxRate) .append(supplyChannel, that.supplyChannel) .append(distributionChannel, that.distributionChannel) .append(discountedPricePerQuantity, that.discountedPricePerQuantity) @@ -451,11 +496,13 @@ public int hashCode() { .append(variant) .append(price) .append(taxedPrice) + .append(taxedPricePortions) .append(totalPrice) .append(quantity) .append(addedAt) .append(state) .append(taxRate) + .append(perMethodTaxRate) .append(supplyChannel) .append(distributionChannel) .append(discountedPricePerQuantity) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRate.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRate.java new file mode 100644 index 00000000000..aeaaf4b533c --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRate.java @@ -0,0 +1,83 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.tax_category.TaxRate; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * MethodTaxRate + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     MethodTaxRate methodTaxRate = MethodTaxRate.builder()
    + *             .shippingMethodKey("{shippingMethodKey}")
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = MethodTaxRateImpl.class) +public interface MethodTaxRate { + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + @NotNull + @JsonProperty("shippingMethodKey") + public String getShippingMethodKey(); + + /** + *

    Tax Rate for the Shipping Method.

    + */ + @Valid + @JsonProperty("taxRate") + public TaxRate getTaxRate(); + + public void setShippingMethodKey(final String shippingMethodKey); + + public void setTaxRate(final TaxRate taxRate); + + public static MethodTaxRate of() { + return new MethodTaxRateImpl(); + } + + public static MethodTaxRate of(final MethodTaxRate template) { + MethodTaxRateImpl instance = new MethodTaxRateImpl(); + instance.setShippingMethodKey(template.getShippingMethodKey()); + instance.setTaxRate(template.getTaxRate()); + return instance; + } + + public static MethodTaxRateBuilder builder() { + return MethodTaxRateBuilder.of(); + } + + public static MethodTaxRateBuilder builder(final MethodTaxRate template) { + return MethodTaxRateBuilder.of(template); + } + + default T withMethodTaxRate(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateBuilder.java new file mode 100644 index 00000000000..b9d93cfa5d2 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateBuilder.java @@ -0,0 +1,92 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * MethodTaxRateBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     MethodTaxRate methodTaxRate = MethodTaxRate.builder()
    + *             .shippingMethodKey("{shippingMethodKey}")
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class MethodTaxRateBuilder implements Builder { + + private String shippingMethodKey; + + @Nullable + private com.commercetools.api.models.tax_category.TaxRate taxRate; + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public MethodTaxRateBuilder shippingMethodKey(final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + return this; + } + + /** + *

    Tax Rate for the Shipping Method.

    + */ + + public MethodTaxRateBuilder taxRate( + Function builder) { + this.taxRate = builder.apply(com.commercetools.api.models.tax_category.TaxRateBuilder.of()).build(); + return this; + } + + /** + *

    Tax Rate for the Shipping Method.

    + */ + + public MethodTaxRateBuilder taxRate(@Nullable final com.commercetools.api.models.tax_category.TaxRate taxRate) { + this.taxRate = taxRate; + return this; + } + + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + + @Nullable + public com.commercetools.api.models.tax_category.TaxRate getTaxRate() { + return this.taxRate; + } + + public MethodTaxRate build() { + Objects.requireNonNull(shippingMethodKey, MethodTaxRate.class + ": shippingMethodKey is missing"); + return new MethodTaxRateImpl(shippingMethodKey, taxRate); + } + + /** + * builds MethodTaxRate without checking for non null required values + */ + public MethodTaxRate buildUnchecked() { + return new MethodTaxRateImpl(shippingMethodKey, taxRate); + } + + public static MethodTaxRateBuilder of() { + return new MethodTaxRateBuilder(); + } + + public static MethodTaxRateBuilder of(final MethodTaxRate template) { + MethodTaxRateBuilder builder = new MethodTaxRateBuilder(); + builder.shippingMethodKey = template.getShippingMethodKey(); + builder.taxRate = template.getTaxRate(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateImpl.java new file mode 100644 index 00000000000..dff1a485ef4 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxRateImpl.java @@ -0,0 +1,81 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * MethodTaxRate + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class MethodTaxRateImpl implements MethodTaxRate, ModelBase { + + private String shippingMethodKey; + + private com.commercetools.api.models.tax_category.TaxRate taxRate; + + @JsonCreator + MethodTaxRateImpl(@JsonProperty("shippingMethodKey") final String shippingMethodKey, + @JsonProperty("taxRate") final com.commercetools.api.models.tax_category.TaxRate taxRate) { + this.shippingMethodKey = shippingMethodKey; + this.taxRate = taxRate; + } + + public MethodTaxRateImpl() { + } + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + + /** + *

    Tax Rate for the Shipping Method.

    + */ + + public com.commercetools.api.models.tax_category.TaxRate getTaxRate() { + return this.taxRate; + } + + public void setShippingMethodKey(final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + } + + public void setTaxRate(final com.commercetools.api.models.tax_category.TaxRate taxRate) { + this.taxRate = taxRate; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + MethodTaxRateImpl that = (MethodTaxRateImpl) o; + + return new EqualsBuilder().append(shippingMethodKey, that.shippingMethodKey) + .append(taxRate, that.taxRate) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(shippingMethodKey).append(taxRate).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPrice.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPrice.java new file mode 100644 index 00000000000..51061e5e27f --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPrice.java @@ -0,0 +1,82 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * MethodTaxedPrice + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     MethodTaxedPrice methodTaxedPrice = MethodTaxedPrice.builder()
    + *             .shippingMethodKey("{shippingMethodKey}")
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = MethodTaxedPriceImpl.class) +public interface MethodTaxedPrice { + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + @NotNull + @JsonProperty("shippingMethodKey") + public String getShippingMethodKey(); + + /** + *

    Taxed price for the Shipping Method.

    + */ + @Valid + @JsonProperty("taxedPrice") + public TaxedItemPrice getTaxedPrice(); + + public void setShippingMethodKey(final String shippingMethodKey); + + public void setTaxedPrice(final TaxedItemPrice taxedPrice); + + public static MethodTaxedPrice of() { + return new MethodTaxedPriceImpl(); + } + + public static MethodTaxedPrice of(final MethodTaxedPrice template) { + MethodTaxedPriceImpl instance = new MethodTaxedPriceImpl(); + instance.setShippingMethodKey(template.getShippingMethodKey()); + instance.setTaxedPrice(template.getTaxedPrice()); + return instance; + } + + public static MethodTaxedPriceBuilder builder() { + return MethodTaxedPriceBuilder.of(); + } + + public static MethodTaxedPriceBuilder builder(final MethodTaxedPrice template) { + return MethodTaxedPriceBuilder.of(template); + } + + default T withMethodTaxedPrice(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceBuilder.java new file mode 100644 index 00000000000..efc49716d17 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceBuilder.java @@ -0,0 +1,93 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * MethodTaxedPriceBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     MethodTaxedPrice methodTaxedPrice = MethodTaxedPrice.builder()
    + *             .shippingMethodKey("{shippingMethodKey}")
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class MethodTaxedPriceBuilder implements Builder { + + private String shippingMethodKey; + + @Nullable + private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice; + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public MethodTaxedPriceBuilder shippingMethodKey(final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + return this; + } + + /** + *

    Taxed price for the Shipping Method.

    + */ + + public MethodTaxedPriceBuilder taxedPrice( + Function builder) { + this.taxedPrice = builder.apply(com.commercetools.api.models.cart.TaxedItemPriceBuilder.of()).build(); + return this; + } + + /** + *

    Taxed price for the Shipping Method.

    + */ + + public MethodTaxedPriceBuilder taxedPrice( + @Nullable final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice) { + this.taxedPrice = taxedPrice; + return this; + } + + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + + @Nullable + public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { + return this.taxedPrice; + } + + public MethodTaxedPrice build() { + Objects.requireNonNull(shippingMethodKey, MethodTaxedPrice.class + ": shippingMethodKey is missing"); + return new MethodTaxedPriceImpl(shippingMethodKey, taxedPrice); + } + + /** + * builds MethodTaxedPrice without checking for non null required values + */ + public MethodTaxedPrice buildUnchecked() { + return new MethodTaxedPriceImpl(shippingMethodKey, taxedPrice); + } + + public static MethodTaxedPriceBuilder of() { + return new MethodTaxedPriceBuilder(); + } + + public static MethodTaxedPriceBuilder of(final MethodTaxedPrice template) { + MethodTaxedPriceBuilder builder = new MethodTaxedPriceBuilder(); + builder.shippingMethodKey = template.getShippingMethodKey(); + builder.taxedPrice = template.getTaxedPrice(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceImpl.java new file mode 100644 index 00000000000..b52bd212210 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodTaxedPriceImpl.java @@ -0,0 +1,81 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * MethodTaxedPrice + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class MethodTaxedPriceImpl implements MethodTaxedPrice, ModelBase { + + private String shippingMethodKey; + + private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice; + + @JsonCreator + MethodTaxedPriceImpl(@JsonProperty("shippingMethodKey") final String shippingMethodKey, + @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice) { + this.shippingMethodKey = shippingMethodKey; + this.taxedPrice = taxedPrice; + } + + public MethodTaxedPriceImpl() { + } + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingMethodKey() { + return this.shippingMethodKey; + } + + /** + *

    Taxed price for the Shipping Method.

    + */ + + public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { + return this.taxedPrice; + } + + public void setShippingMethodKey(final String shippingMethodKey) { + this.shippingMethodKey = shippingMethodKey; + } + + public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice) { + this.taxedPrice = taxedPrice; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + MethodTaxedPriceImpl that = (MethodTaxedPriceImpl) o; + + return new EqualsBuilder().append(shippingMethodKey, that.shippingMethodKey) + .append(taxedPrice, that.taxedPrice) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(shippingMethodKey).append(taxedPrice).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ProductPublishScope.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ProductPublishScope.java index 3cde9c9d7ad..9aefa91da48 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ProductPublishScope.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ProductPublishScope.java @@ -10,13 +10,20 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPublishScope + *

    The scope controls which part of the product information is published.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface ProductPublishScope { + /** +

    Publishes a Product that causes the staged projection of the Product to override the current projection. If the Product is published for the first time, the current projection is created. This is the default scope.

    + + */ ProductPublishScope ALL = ProductPublishScopeEnum.ALL; + /** +

    Publishes the Prices of the Product (only if the Product is already published). All Product Variants' Prices in the staged projection are published into the current projection with the same id. Prices in a staged Product Variant that has no current projection are not published. Prices in a current Product Variant that has no staged projection are unchanged. The hasStagedChanges flag is updated according to whether the staged and current projections still differ after the prices are published.

    + */ ProductPublishScope PRICES = ProductPublishScopeEnum.PRICES; enum ProductPublishScopeEnum implements ProductPublishScope { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/Shipping.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/Shipping.java new file mode 100644 index 00000000000..48533ea321f --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/Shipping.java @@ -0,0 +1,122 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.Address; +import com.commercetools.api.models.type.CustomFields; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * Shipping + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     Shipping shipping = Shipping.builder()
    + *             .shippingKey("{shippingKey}")
    + *             .shippingInfo(shippingInfoBuilder -> shippingInfoBuilder)
    + *             .shippingAddress(shippingAddressBuilder -> shippingAddressBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = ShippingImpl.class) +public interface Shipping { + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + @NotNull + @JsonProperty("shippingKey") + public String getShippingKey(); + + /** + *

    Automatically set when the Shipping Method is added.

    + */ + @NotNull + @Valid + @JsonProperty("shippingInfo") + public ShippingInfo getShippingInfo(); + + /** + *

    Determines the shipping rates and Tax Rates of the associated Line Item quantities.

    + */ + @NotNull + @Valid + @JsonProperty("shippingAddress") + public Address getShippingAddress(); + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + */ + @Valid + @JsonProperty("shippingRateInput") + public ShippingRateInput getShippingRateInput(); + + /** + *

    Custom Fields of Shipping.

    + */ + @Valid + @JsonProperty("shippingCustomFields") + public CustomFields getShippingCustomFields(); + + public void setShippingKey(final String shippingKey); + + public void setShippingInfo(final ShippingInfo shippingInfo); + + public void setShippingAddress(final Address shippingAddress); + + public void setShippingRateInput(final ShippingRateInput shippingRateInput); + + public void setShippingCustomFields(final CustomFields shippingCustomFields); + + public static Shipping of() { + return new ShippingImpl(); + } + + public static Shipping of(final Shipping template) { + ShippingImpl instance = new ShippingImpl(); + instance.setShippingKey(template.getShippingKey()); + instance.setShippingInfo(template.getShippingInfo()); + instance.setShippingAddress(template.getShippingAddress()); + instance.setShippingRateInput(template.getShippingRateInput()); + instance.setShippingCustomFields(template.getShippingCustomFields()); + return instance; + } + + public static ShippingBuilder builder() { + return ShippingBuilder.of(); + } + + public static ShippingBuilder builder(final Shipping template) { + return ShippingBuilder.of(template); + } + + default T withShipping(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingBuilder.java new file mode 100644 index 00000000000..a14d74c3c7d --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingBuilder.java @@ -0,0 +1,186 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * ShippingBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     Shipping shipping = Shipping.builder()
    + *             .shippingKey("{shippingKey}")
    + *             .shippingInfo(shippingInfoBuilder -> shippingInfoBuilder)
    + *             .shippingAddress(shippingAddressBuilder -> shippingAddressBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ShippingBuilder implements Builder { + + private String shippingKey; + + private com.commercetools.api.models.cart.ShippingInfo shippingInfo; + + private com.commercetools.api.models.common.Address shippingAddress; + + @Nullable + private com.commercetools.api.models.cart.ShippingRateInput shippingRateInput; + + @Nullable + private com.commercetools.api.models.type.CustomFields shippingCustomFields; + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ShippingBuilder shippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + + /** + *

    Automatically set when the Shipping Method is added.

    + */ + + public ShippingBuilder shippingInfo( + Function builder) { + this.shippingInfo = builder.apply(com.commercetools.api.models.cart.ShippingInfoBuilder.of()).build(); + return this; + } + + /** + *

    Automatically set when the Shipping Method is added.

    + */ + + public ShippingBuilder shippingInfo(final com.commercetools.api.models.cart.ShippingInfo shippingInfo) { + this.shippingInfo = shippingInfo; + return this; + } + + /** + *

    Determines the shipping rates and Tax Rates of the associated Line Item quantities.

    + */ + + public ShippingBuilder shippingAddress( + Function builder) { + this.shippingAddress = builder.apply(com.commercetools.api.models.common.AddressBuilder.of()).build(); + return this; + } + + /** + *

    Determines the shipping rates and Tax Rates of the associated Line Item quantities.

    + */ + + public ShippingBuilder shippingAddress(final com.commercetools.api.models.common.Address shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + */ + + public ShippingBuilder shippingRateInput( + @Nullable final com.commercetools.api.models.cart.ShippingRateInput shippingRateInput) { + this.shippingRateInput = shippingRateInput; + return this; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + */ + + public ShippingBuilder shippingRateInput( + Function> builder) { + this.shippingRateInput = builder.apply(com.commercetools.api.models.cart.ShippingRateInputBuilder.of()).build(); + return this; + } + + /** + *

    Custom Fields of Shipping.

    + */ + + public ShippingBuilder shippingCustomFields( + Function builder) { + this.shippingCustomFields = builder.apply(com.commercetools.api.models.type.CustomFieldsBuilder.of()).build(); + return this; + } + + /** + *

    Custom Fields of Shipping.

    + */ + + public ShippingBuilder shippingCustomFields( + @Nullable final com.commercetools.api.models.type.CustomFields shippingCustomFields) { + this.shippingCustomFields = shippingCustomFields; + return this; + } + + public String getShippingKey() { + return this.shippingKey; + } + + public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { + return this.shippingInfo; + } + + public com.commercetools.api.models.common.Address getShippingAddress() { + return this.shippingAddress; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInput getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public com.commercetools.api.models.type.CustomFields getShippingCustomFields() { + return this.shippingCustomFields; + } + + public Shipping build() { + Objects.requireNonNull(shippingKey, Shipping.class + ": shippingKey is missing"); + Objects.requireNonNull(shippingInfo, Shipping.class + ": shippingInfo is missing"); + Objects.requireNonNull(shippingAddress, Shipping.class + ": shippingAddress is missing"); + return new ShippingImpl(shippingKey, shippingInfo, shippingAddress, shippingRateInput, shippingCustomFields); + } + + /** + * builds Shipping without checking for non null required values + */ + public Shipping buildUnchecked() { + return new ShippingImpl(shippingKey, shippingInfo, shippingAddress, shippingRateInput, shippingCustomFields); + } + + public static ShippingBuilder of() { + return new ShippingBuilder(); + } + + public static ShippingBuilder of(final Shipping template) { + ShippingBuilder builder = new ShippingBuilder(); + builder.shippingKey = template.getShippingKey(); + builder.shippingInfo = template.getShippingInfo(); + builder.shippingAddress = template.getShippingAddress(); + builder.shippingRateInput = template.getShippingRateInput(); + builder.shippingCustomFields = template.getShippingCustomFields(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraft.java new file mode 100644 index 00000000000..00702545643 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraft.java @@ -0,0 +1,145 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.BaseAddress; +import com.commercetools.api.models.order.Delivery; +import com.commercetools.api.models.shipping_method.ShippingMethodReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Wraps all shipping-related information (such as address, rate, deliveries) per Shipping Method for Carts with multiple Shipping Methods.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     ShippingDraft shippingDraft = ShippingDraft.builder()
    + *             .key("{key}")
    + *             .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = ShippingDraftImpl.class) +public interface ShippingDraft { + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

    Shipping Methods added to the Cart with Multi ShippingMode.

    + */ + @Valid + @JsonProperty("shippingMethod") + public ShippingMethodReference getShippingMethod(); + + /** + *

    Determines the shipping rate and Tax Rate of the associated Line Items.

    + */ + @Valid + @JsonProperty("shippingAddress") + public BaseAddress getShippingAddress(); + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + *

    The shippingRateInput cannot be set on the Cart if CartValueType is defined.

    + */ + @Valid + @JsonProperty("shippingRateInput") + public ShippingRateInputDraft getShippingRateInput(); + + /** + *

    Tax Rate used for taxing a shipping expense if the Cart has the External TaxMode.

    + */ + + @JsonProperty("externalTaxRate") + public String getExternalTaxRate(); + + /** + *

    Holds information on how items are delivered to customers.

    + */ + @NotNull + @Valid + @JsonProperty("deliveries") + public List getDeliveries(); + + /** + *

    Custom Fields for Shipping.

    + */ + + @JsonProperty("custom") + public String getCustom(); + + public void setKey(final String key); + + public void setShippingMethod(final ShippingMethodReference shippingMethod); + + public void setShippingAddress(final BaseAddress shippingAddress); + + public void setShippingRateInput(final ShippingRateInputDraft shippingRateInput); + + public void setExternalTaxRate(final String externalTaxRate); + + @JsonIgnore + public void setDeliveries(final Delivery... deliveries); + + public void setDeliveries(final List deliveries); + + public void setCustom(final String custom); + + public static ShippingDraft of() { + return new ShippingDraftImpl(); + } + + public static ShippingDraft of(final ShippingDraft template) { + ShippingDraftImpl instance = new ShippingDraftImpl(); + instance.setKey(template.getKey()); + instance.setShippingMethod(template.getShippingMethod()); + instance.setShippingAddress(template.getShippingAddress()); + instance.setShippingRateInput(template.getShippingRateInput()); + instance.setExternalTaxRate(template.getExternalTaxRate()); + instance.setDeliveries(template.getDeliveries()); + instance.setCustom(template.getCustom()); + return instance; + } + + public static ShippingDraftBuilder builder() { + return ShippingDraftBuilder.of(); + } + + public static ShippingDraftBuilder builder(final ShippingDraft template) { + return ShippingDraftBuilder.of(template); + } + + default T withShippingDraft(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraftBuilder.java new file mode 100644 index 00000000000..3fc60483fc8 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraftBuilder.java @@ -0,0 +1,266 @@ + +package com.commercetools.api.models.cart; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * ShippingDraftBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     ShippingDraft shippingDraft = ShippingDraft.builder()
    + *             .key("{key}")
    + *             .plusDeliveries(deliveriesBuilder -> deliveriesBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ShippingDraftBuilder implements Builder { + + private String key; + + @Nullable + private com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod; + + @Nullable + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + @Nullable + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + @Nullable + private String externalTaxRate; + + private java.util.List deliveries; + + @Nullable + private String custom; + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ShippingDraftBuilder key(final String key) { + this.key = key; + return this; + } + + /** + *

    Shipping Methods added to the Cart with Multi ShippingMode.

    + */ + + public ShippingDraftBuilder shippingMethod( + Function builder) { + this.shippingMethod = builder + .apply(com.commercetools.api.models.shipping_method.ShippingMethodReferenceBuilder.of()) + .build(); + return this; + } + + /** + *

    Shipping Methods added to the Cart with Multi ShippingMode.

    + */ + + public ShippingDraftBuilder shippingMethod( + @Nullable final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod) { + this.shippingMethod = shippingMethod; + return this; + } + + /** + *

    Determines the shipping rate and Tax Rate of the associated Line Items.

    + */ + + public ShippingDraftBuilder shippingAddress( + Function builder) { + this.shippingAddress = builder.apply(com.commercetools.api.models.common.BaseAddressBuilder.of()).build(); + return this; + } + + /** + *

    Determines the shipping rate and Tax Rate of the associated Line Items.

    + */ + + public ShippingDraftBuilder shippingAddress( + @Nullable final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + return this; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + *

    The shippingRateInput cannot be set on the Cart if CartValueType is defined.

    + */ + + public ShippingDraftBuilder shippingRateInput( + @Nullable final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + return this; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + *

    The shippingRateInput cannot be set on the Cart if CartValueType is defined.

    + */ + + public ShippingDraftBuilder shippingRateInput( + Function> builder) { + this.shippingRateInput = builder.apply(com.commercetools.api.models.cart.ShippingRateInputDraftBuilder.of()) + .build(); + return this; + } + + /** + *

    Tax Rate used for taxing a shipping expense if the Cart has the External TaxMode.

    + */ + + public ShippingDraftBuilder externalTaxRate(@Nullable final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + return this; + } + + /** + *

    Holds information on how items are delivered to customers.

    + */ + + public ShippingDraftBuilder deliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + return this; + } + + /** + *

    Holds information on how items are delivered to customers.

    + */ + + public ShippingDraftBuilder deliveries( + final java.util.List deliveries) { + this.deliveries = deliveries; + return this; + } + + /** + *

    Holds information on how items are delivered to customers.

    + */ + + public ShippingDraftBuilder plusDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.addAll(Arrays.asList(deliveries)); + return this; + } + + /** + *

    Holds information on how items are delivered to customers.

    + */ + + public ShippingDraftBuilder plusDeliveries( + Function builder) { + if (this.deliveries == null) { + this.deliveries = new ArrayList<>(); + } + this.deliveries.add(builder.apply(com.commercetools.api.models.order.DeliveryBuilder.of()).build()); + return this; + } + + /** + *

    Holds information on how items are delivered to customers.

    + */ + + public ShippingDraftBuilder withDeliveries( + Function builder) { + this.deliveries = new ArrayList<>(); + this.deliveries.add(builder.apply(com.commercetools.api.models.order.DeliveryBuilder.of()).build()); + return this; + } + + /** + *

    Custom Fields for Shipping.

    + */ + + public ShippingDraftBuilder custom(@Nullable final String custom) { + this.custom = custom; + return this; + } + + public String getKey() { + return this.key; + } + + @Nullable + public com.commercetools.api.models.shipping_method.ShippingMethodReference getShippingMethod() { + return this.shippingMethod; + } + + @Nullable + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + @Nullable + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + @Nullable + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + public java.util.List getDeliveries() { + return this.deliveries; + } + + @Nullable + public String getCustom() { + return this.custom; + } + + public ShippingDraft build() { + Objects.requireNonNull(key, ShippingDraft.class + ": key is missing"); + Objects.requireNonNull(deliveries, ShippingDraft.class + ": deliveries is missing"); + return new ShippingDraftImpl(key, shippingMethod, shippingAddress, shippingRateInput, externalTaxRate, + deliveries, custom); + } + + /** + * builds ShippingDraft without checking for non null required values + */ + public ShippingDraft buildUnchecked() { + return new ShippingDraftImpl(key, shippingMethod, shippingAddress, shippingRateInput, externalTaxRate, + deliveries, custom); + } + + public static ShippingDraftBuilder of() { + return new ShippingDraftBuilder(); + } + + public static ShippingDraftBuilder of(final ShippingDraft template) { + ShippingDraftBuilder builder = new ShippingDraftBuilder(); + builder.key = template.getKey(); + builder.shippingMethod = template.getShippingMethod(); + builder.shippingAddress = template.getShippingAddress(); + builder.shippingRateInput = template.getShippingRateInput(); + builder.externalTaxRate = template.getExternalTaxRate(); + builder.deliveries = template.getDeliveries(); + builder.custom = template.getCustom(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraftImpl.java new file mode 100644 index 00000000000..59a3adaa326 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingDraftImpl.java @@ -0,0 +1,183 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Wraps all shipping-related information (such as address, rate, deliveries) per Shipping Method for Carts with multiple Shipping Methods.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ShippingDraftImpl implements ShippingDraft, ModelBase { + + private String key; + + private com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod; + + private com.commercetools.api.models.common.BaseAddress shippingAddress; + + private com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput; + + private String externalTaxRate; + + private java.util.List deliveries; + + private String custom; + + @JsonCreator + ShippingDraftImpl(@JsonProperty("key") final String key, + @JsonProperty("shippingMethod") final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod, + @JsonProperty("shippingAddress") final com.commercetools.api.models.common.BaseAddress shippingAddress, + @JsonProperty("shippingRateInput") final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput, + @JsonProperty("externalTaxRate") final String externalTaxRate, + @JsonProperty("deliveries") final java.util.List deliveries, + @JsonProperty("custom") final String custom) { + this.key = key; + this.shippingMethod = shippingMethod; + this.shippingAddress = shippingAddress; + this.shippingRateInput = shippingRateInput; + this.externalTaxRate = externalTaxRate; + this.deliveries = deliveries; + this.custom = custom; + } + + public ShippingDraftImpl() { + } + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getKey() { + return this.key; + } + + /** + *

    Shipping Methods added to the Cart with Multi ShippingMode.

    + */ + + public com.commercetools.api.models.shipping_method.ShippingMethodReference getShippingMethod() { + return this.shippingMethod; + } + + /** + *

    Determines the shipping rate and Tax Rate of the associated Line Items.

    + */ + + public com.commercetools.api.models.common.BaseAddress getShippingAddress() { + return this.shippingAddress; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + *

    The shippingRateInput cannot be set on the Cart if CartValueType is defined.

    + */ + + public com.commercetools.api.models.cart.ShippingRateInputDraft getShippingRateInput() { + return this.shippingRateInput; + } + + /** + *

    Tax Rate used for taxing a shipping expense if the Cart has the External TaxMode.

    + */ + + public String getExternalTaxRate() { + return this.externalTaxRate; + } + + /** + *

    Holds information on how items are delivered to customers.

    + */ + + public java.util.List getDeliveries() { + return this.deliveries; + } + + /** + *

    Custom Fields for Shipping.

    + */ + + public String getCustom() { + return this.custom; + } + + public void setKey(final String key) { + this.key = key; + } + + public void setShippingMethod( + final com.commercetools.api.models.shipping_method.ShippingMethodReference shippingMethod) { + this.shippingMethod = shippingMethod; + } + + public void setShippingAddress(final com.commercetools.api.models.common.BaseAddress shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInputDraft shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setExternalTaxRate(final String externalTaxRate) { + this.externalTaxRate = externalTaxRate; + } + + public void setDeliveries(final com.commercetools.api.models.order.Delivery... deliveries) { + this.deliveries = new ArrayList<>(Arrays.asList(deliveries)); + } + + public void setDeliveries(final java.util.List deliveries) { + this.deliveries = deliveries; + } + + public void setCustom(final String custom) { + this.custom = custom; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ShippingDraftImpl that = (ShippingDraftImpl) o; + + return new EqualsBuilder().append(key, that.key) + .append(shippingMethod, that.shippingMethod) + .append(shippingAddress, that.shippingAddress) + .append(shippingRateInput, that.shippingRateInput) + .append(externalTaxRate, that.externalTaxRate) + .append(deliveries, that.deliveries) + .append(custom, that.custom) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(key) + .append(shippingMethod) + .append(shippingAddress) + .append(shippingRateInput) + .append(externalTaxRate) + .append(deliveries) + .append(custom) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingImpl.java new file mode 100644 index 00000000000..55377108b12 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingImpl.java @@ -0,0 +1,141 @@ + +package com.commercetools.api.models.cart; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + * Shipping + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ShippingImpl implements Shipping, ModelBase { + + private String shippingKey; + + private com.commercetools.api.models.cart.ShippingInfo shippingInfo; + + private com.commercetools.api.models.common.Address shippingAddress; + + private com.commercetools.api.models.cart.ShippingRateInput shippingRateInput; + + private com.commercetools.api.models.type.CustomFields shippingCustomFields; + + @JsonCreator + ShippingImpl(@JsonProperty("shippingKey") final String shippingKey, + @JsonProperty("shippingInfo") final com.commercetools.api.models.cart.ShippingInfo shippingInfo, + @JsonProperty("shippingAddress") final com.commercetools.api.models.common.Address shippingAddress, + @JsonProperty("shippingRateInput") final com.commercetools.api.models.cart.ShippingRateInput shippingRateInput, + @JsonProperty("shippingCustomFields") final com.commercetools.api.models.type.CustomFields shippingCustomFields) { + this.shippingKey = shippingKey; + this.shippingInfo = shippingInfo; + this.shippingAddress = shippingAddress; + this.shippingRateInput = shippingRateInput; + this.shippingCustomFields = shippingCustomFields; + } + + public ShippingImpl() { + } + + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + + /** + *

    Automatically set when the Shipping Method is added.

    + */ + + public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { + return this.shippingInfo; + } + + /** + *

    Determines the shipping rates and Tax Rates of the associated Line Item quantities.

    + */ + + public com.commercetools.api.models.common.Address getShippingAddress() { + return this.shippingAddress; + } + + /** + *

    Used as an input to select a ShippingRatePriceTier.

    + *
      + *
    • Must be ClassificationShippingRateInput if ShippingRateInputType is CartClassificationType.
    • + *
    • Must be ScoreShippingRateInput if ShippingRateInputType is CartScoreType.
    • + *
    + */ + + public com.commercetools.api.models.cart.ShippingRateInput getShippingRateInput() { + return this.shippingRateInput; + } + + /** + *

    Custom Fields of Shipping.

    + */ + + public com.commercetools.api.models.type.CustomFields getShippingCustomFields() { + return this.shippingCustomFields; + } + + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + + public void setShippingInfo(final com.commercetools.api.models.cart.ShippingInfo shippingInfo) { + this.shippingInfo = shippingInfo; + } + + public void setShippingAddress(final com.commercetools.api.models.common.Address shippingAddress) { + this.shippingAddress = shippingAddress; + } + + public void setShippingRateInput(final com.commercetools.api.models.cart.ShippingRateInput shippingRateInput) { + this.shippingRateInput = shippingRateInput; + } + + public void setShippingCustomFields(final com.commercetools.api.models.type.CustomFields shippingCustomFields) { + this.shippingCustomFields = shippingCustomFields; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ShippingImpl that = (ShippingImpl) o; + + return new EqualsBuilder().append(shippingKey, that.shippingKey) + .append(shippingInfo, that.shippingInfo) + .append(shippingAddress, that.shippingAddress) + .append(shippingRateInput, that.shippingRateInput) + .append(shippingCustomFields, that.shippingCustomFields) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(shippingKey) + .append(shippingInfo) + .append(shippingAddress) + .append(shippingRateInput) + .append(shippingCustomFields) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingMode.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingMode.java new file mode 100644 index 00000000000..109c489452a --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingMode.java @@ -0,0 +1,82 @@ + +package com.commercetools.api.models.cart; + +import java.util.Arrays; +import java.util.Optional; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * ShippingMode + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public interface ShippingMode { + + /** +

    Cart can contain only a single Shipping Method. + This is the default mode for backwards compatibilty.

    + + */ + ShippingMode SINGLE = ShippingModeEnum.SINGLE; + /** +

    Cart can contain multiple Shipping Methods.

    + + */ + ShippingMode MULTI = ShippingModeEnum.MULTI; + + enum ShippingModeEnum implements ShippingMode { + SINGLE("Single"), + + MULTI("Multi"); + private final String jsonName; + + private ShippingModeEnum(final String jsonName) { + this.jsonName = jsonName; + } + + public String getJsonName() { + return jsonName; + } + + public String toString() { + return jsonName; + } + } + + @JsonValue + String getJsonName(); + + String name(); + + String toString(); + + @JsonCreator + public static ShippingMode findEnum(String value) { + return findEnumViaJsonName(value).orElse(new ShippingMode() { + @Override + public String getJsonName() { + return value; + } + + @Override + public String name() { + return value.toUpperCase(); + } + + public String toString() { + return value; + } + }); + } + + public static Optional findEnumViaJsonName(String jsonName) { + return Arrays.stream(values()).filter(t -> t.getJsonName().equals(jsonName)).findFirst(); + } + + public static ShippingMode[] values() { + return ShippingModeEnum.values(); + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeSlugAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeSlugAction.java index 8d20573cc24..25be1fbd947 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeSlugAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeSlugAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    Changing the slug produces the CategorySlugChangedMessage.

    + *

    Changing the slug produces the CategorySlugChanged Message.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeSlugActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeSlugActionImpl.java index ca58ba98736..a9fff6d11e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeSlugActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeSlugActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Changing the slug produces the CategorySlugChangedMessage.

    + *

    Changing the slug produces the CategorySlugChanged Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryChangeSlugActionImpl implements CategoryChangeSlugAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java index 03b1726cf99..7b32e97c70a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Image.java @@ -32,14 +32,14 @@ public interface Image { /** - * + *

    URL of the image in its original size that must be unique within a single ProductVariant.

    */ @NotNull @JsonProperty("url") public String getUrl(); /** - * + *

    Dimensions of the original image.

    */ @NotNull @Valid @@ -47,7 +47,7 @@ public interface Image { public ImageDimensions getDimensions(); /** - * + *

    Custom label for the image.

    */ @JsonProperty("label") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java index d1797b8f847..2e6e387205a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageBuilder.java @@ -33,7 +33,7 @@ public class ImageBuilder implements Builder { private String label; /** - * + *

    URL of the image in its original size that must be unique within a single ProductVariant.

    */ public ImageBuilder url(final String url) { @@ -42,7 +42,7 @@ public ImageBuilder url(final String url) { } /** - * + *

    Dimensions of the original image.

    */ public ImageBuilder dimensions( @@ -52,7 +52,7 @@ public ImageBuilder dimensions( } /** - * + *

    Dimensions of the original image.

    */ public ImageBuilder dimensions(final com.commercetools.api.models.common.ImageDimensions dimensions) { @@ -61,7 +61,7 @@ public ImageBuilder dimensions(final com.commercetools.api.models.common.ImageDi } /** - * + *

    Custom label for the image.

    */ public ImageBuilder label(@Nullable final String label) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensions.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensions.java index f5eb9dee83e..39de8e017c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensions.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensions.java @@ -31,14 +31,14 @@ public interface ImageDimensions { /** - * + *

    Width of the image.

    */ @NotNull @JsonProperty("w") public Integer getW(); /** - * + *

    Height of the image.

    */ @NotNull @JsonProperty("h") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsBuilder.java index e811ccbf356..c38b40ce28a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsBuilder.java @@ -27,7 +27,7 @@ public class ImageDimensionsBuilder implements Builder { private Integer h; /** - * + *

    Width of the image.

    */ public ImageDimensionsBuilder w(final Integer w) { @@ -36,7 +36,7 @@ public ImageDimensionsBuilder w(final Integer w) { } /** - * + *

    Height of the image.

    */ public ImageDimensionsBuilder h(final Integer h) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsImpl.java index aee53d2d51a..f05d29911e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageDimensionsImpl.java @@ -34,7 +34,7 @@ public ImageDimensionsImpl() { } /** - * + *

    Width of the image.

    */ public Integer getW() { @@ -42,7 +42,7 @@ public Integer getW() { } /** - * + *

    Height of the image.

    */ public Integer getH() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java index 2cd5779b49b..e5cad4f7f25 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ImageImpl.java @@ -39,7 +39,7 @@ public ImageImpl() { } /** - * + *

    URL of the image in its original size that must be unique within a single ProductVariant.

    */ public String getUrl() { @@ -47,7 +47,7 @@ public String getUrl() { } /** - * + *

    Dimensions of the original image.

    */ public com.commercetools.api.models.common.ImageDimensions getDimensions() { @@ -55,7 +55,7 @@ public com.commercetools.api.models.common.ImageDimensions getDimensions() { } /** - * + *

    Custom label for the image.

    */ public String getLabel() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Price.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Price.java index 5882f5ee63a..0814f5c7ef3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Price.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Price.java @@ -18,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * Price + *

    The representation for prices embedded in LineItems and in ProductVariants when the ProductPriceMode is Embedded. For the Standalone ProductPriceMode refer to StandalonePrice.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraft.java index 78c051cddcf..0312f33b9f8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraft.java @@ -18,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PriceDraft + *

    The draft representation for prices to be embedded into ProductVariantDrafts when the ProductPriceMode is Embedded. For the Standalone ProductPriceMode use StandalonePriceDraft.

    * *
    * Example to create an instance using the builder pattern @@ -64,22 +64,22 @@ public interface PriceDraft extends com.commercetools.api.models.CustomizableDra public ChannelResourceIdentifier getChannel(); /** - *

    Set this field if this Price is valid only valid from the specified date and time.

    + *

    Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

    */ @JsonProperty("validFrom") public ZonedDateTime getValidFrom(); /** - *

    Set this field if this Price is valid only valid until the specified date and time.

    + *

    Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

    */ @JsonProperty("validUntil") public ZonedDateTime getValidUntil(); /** - *

    Set this field to add a DiscountedPrice from an external service.

    - *

    The API sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:

    + *

    Set this field to add a DiscountedPrice from an external service.

    + *

    Otherwise, Composable Commerce sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:

    *
      *
    • The isActive flag set to true.
    • *
    • A ProductDiscountValue of type external.
    • diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftBuilder.java index dfe01707714..96a467c8c3d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftBuilder.java @@ -122,7 +122,7 @@ public PriceDraftBuilder channel( } /** - *

      Set this field if this Price is valid only valid from the specified date and time.

      + *

      Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

      */ public PriceDraftBuilder validFrom(@Nullable final java.time.ZonedDateTime validFrom) { @@ -131,7 +131,7 @@ public PriceDraftBuilder validFrom(@Nullable final java.time.ZonedDateTime valid } /** - *

      Set this field if this Price is valid only valid until the specified date and time.

      + *

      Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

      */ public PriceDraftBuilder validUntil(@Nullable final java.time.ZonedDateTime validUntil) { @@ -140,8 +140,8 @@ public PriceDraftBuilder validUntil(@Nullable final java.time.ZonedDateTime vali } /** - *

      Set this field to add a DiscountedPrice from an external service.

      - *

      The API sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:

      + *

      Set this field to add a DiscountedPrice from an external service.

      + *

      Otherwise, Composable Commerce sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:

      *
        *
      • The isActive flag set to true.
      • *
      • A ProductDiscountValue of type external.
      • @@ -156,8 +156,8 @@ public PriceDraftBuilder discounted( } /** - *

        Set this field to add a DiscountedPrice from an external service.

        - *

        The API sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:

        + *

        Set this field to add a DiscountedPrice from an external service.

        + *

        Otherwise, Composable Commerce sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:

        *
          *
        • The isActive flag set to true.
        • *
        • A ProductDiscountValue of type external.
        • diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftImpl.java index d863c0c3c82..79977ad7a1d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PriceDraft + *

          The draft representation for prices to be embedded into ProductVariantDrafts when the ProductPriceMode is Embedded. For the Standalone ProductPriceMode use StandalonePriceDraft.

          */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PriceDraftImpl implements PriceDraft, ModelBase { @@ -95,7 +95,7 @@ public com.commercetools.api.models.channel.ChannelResourceIdentifier getChannel } /** - *

          Set this field if this Price is valid only valid from the specified date and time.

          + *

          Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

          */ public java.time.ZonedDateTime getValidFrom() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - *

          Set this field if this Price is valid only valid until the specified date and time.

          + *

          Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

          */ public java.time.ZonedDateTime getValidUntil() { @@ -111,8 +111,8 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

          Set this field to add a DiscountedPrice from an external service.

          - *

          The API sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:

          + *

          Set this field to add a DiscountedPrice from an external service.

          + *

          Otherwise, Composable Commerce sets this field automatically if at least one ProductDiscount applies. The DiscountedPrice must reference a ProductDiscount with:

          *
            *
          • The isActive flag set to true.
          • *
          • A ProductDiscountValue of type external.
          • diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceImpl.java index 6ad4b49b4ed..180f955d9c0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * Price + *

            The representation for prices embedded in LineItems and in ProductVariants when the ProductPriceMode is Embedded. For the Standalone ProductPriceMode refer to StandalonePrice.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PriceImpl implements Price, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java index 1d29a302bcd..96a25a92a1b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java @@ -91,7 +91,7 @@ public interface ReferenceTypeId { */ ReferenceTypeId PRODUCT_DISCOUNT = ReferenceTypeIdEnum.PRODUCT_DISCOUNT; /** -

            References an EmbeddedPrice.

            +

            References an Embedded Price.

            */ ReferenceTypeId PRODUCT_PRICE = ReferenceTypeIdEnum.PRODUCT_PRICE; diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPrice.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPrice.java index 3c24d0ead98..e886b31eb13 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPrice.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPrice.java @@ -18,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ScopedPrice + *

            Scoped Price is contained in a ProductVariant which is returned in response to a Search Product Projection request when Price Selection is used.

            * *
            * Example to create an instance using the builder pattern @@ -37,14 +37,14 @@ public interface ScopedPrice extends com.commercetools.api.models.Customizable { /** - * + *

            Platform-generated unique identifier of the Price.

            */ @NotNull @JsonProperty("id") public String getId(); /** - *

            Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

            + *

            Original value of the Price.

            */ @NotNull @Valid @@ -52,7 +52,7 @@ public interface ScopedPrice extends com.commercetools.api.models.CustomizableBase polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

            + *

            If available, either the original price value or discounted value.

            */ @NotNull @Valid @@ -60,7 +60,7 @@ public interface ScopedPrice extends com.commercetools.api.models.CustomizableTwo-digit country code as per ISO 3166-1 alpha-2.

            + *

            Country code of the geographic location.

            */ @JsonProperty("country") @@ -81,28 +81,29 @@ public interface ScopedPrice extends com.commercetools.api.models.CustomizableDate and time from which the Price is valid.

            */ @JsonProperty("validFrom") public ZonedDateTime getValidFrom(); /** - * + *

            Date and time until which the Price is valid.

            */ @JsonProperty("validUntil") public ZonedDateTime getValidUntil(); /** - * + *

            Is set if a matching ProductDiscount exists. If set, the Cart uses the discounted value for the Cart Price calculation.

            + *

            When a relative Product Discount is applied and the fractional part of the discounted Price is 0.5, the discounted Price is rounded half down in favor of the Customer.

            */ @Valid @JsonProperty("discounted") public DiscountedPrice getDiscounted(); /** - *

            Serves as value of the custom field on a resource or data type customized with a Type.

            + *

            Custom Fields for the Price.

            */ @Valid @JsonProperty("custom") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceBuilder.java index 328e1877415..ee8b402b83b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceBuilder.java @@ -54,7 +54,7 @@ public class ScopedPriceBuilder implements Builder { private com.commercetools.api.models.type.CustomFields custom; /** - * + *

            Platform-generated unique identifier of the Price.

            */ public ScopedPriceBuilder id(final String id) { @@ -63,7 +63,7 @@ public ScopedPriceBuilder id(final String id) { } /** - *

            Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

            + *

            Original value of the Price.

            */ public ScopedPriceBuilder value(final com.commercetools.api.models.common.TypedMoney value) { @@ -72,7 +72,7 @@ public ScopedPriceBuilder value(final com.commercetools.api.models.common.TypedM } /** - *

            Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

            + *

            Original value of the Price.

            */ public ScopedPriceBuilder value( @@ -82,7 +82,7 @@ public ScopedPriceBuilder value( } /** - *

            Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

            + *

            If available, either the original price value or discounted value.

            */ public ScopedPriceBuilder currentValue(final com.commercetools.api.models.common.TypedMoney currentValue) { @@ -91,7 +91,7 @@ public ScopedPriceBuilder currentValue(final com.commercetools.api.models.common } /** - *

            Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

            + *

            If available, either the original price value or discounted value.

            */ public ScopedPriceBuilder currentValue( @@ -101,7 +101,7 @@ public ScopedPriceBuilder currentValue( } /** - *

            Two-digit country code as per ISO 3166-1 alpha-2.

            + *

            Country code of the geographic location.

            */ public ScopedPriceBuilder country(@Nullable final String country) { @@ -151,7 +151,7 @@ public ScopedPriceBuilder channel(@Nullable final com.commercetools.api.models.c } /** - * + *

            Date and time from which the Price is valid.

            */ public ScopedPriceBuilder validFrom(@Nullable final java.time.ZonedDateTime validFrom) { @@ -160,7 +160,7 @@ public ScopedPriceBuilder validFrom(@Nullable final java.time.ZonedDateTime vali } /** - * + *

            Date and time until which the Price is valid.

            */ public ScopedPriceBuilder validUntil(@Nullable final java.time.ZonedDateTime validUntil) { @@ -169,7 +169,8 @@ public ScopedPriceBuilder validUntil(@Nullable final java.time.ZonedDateTime val } /** - * + *

            Is set if a matching ProductDiscount exists. If set, the Cart uses the discounted value for the Cart Price calculation.

            + *

            When a relative Product Discount is applied and the fractional part of the discounted Price is 0.5, the discounted Price is rounded half down in favor of the Customer.

            */ public ScopedPriceBuilder discounted( @@ -179,7 +180,8 @@ public ScopedPriceBuilder discounted( } /** - * + *

            Is set if a matching ProductDiscount exists. If set, the Cart uses the discounted value for the Cart Price calculation.

            + *

            When a relative Product Discount is applied and the fractional part of the discounted Price is 0.5, the discounted Price is rounded half down in favor of the Customer.

            */ public ScopedPriceBuilder discounted( @@ -189,7 +191,7 @@ public ScopedPriceBuilder discounted( } /** - *

            Serves as value of the custom field on a resource or data type customized with a Type.

            + *

            Custom Fields for the Price.

            */ public ScopedPriceBuilder custom( @@ -199,7 +201,7 @@ public ScopedPriceBuilder custom( } /** - *

            Serves as value of the custom field on a resource or data type customized with a Type.

            + *

            Custom Fields for the Price.

            */ public ScopedPriceBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFields custom) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceImpl.java index 21f2fe69901..795f38b8f20 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ScopedPriceImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ScopedPrice + *

            Scoped Price is contained in a ProductVariant which is returned in response to a Search Product Projection request when Price Selection is used.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ScopedPriceImpl implements ScopedPrice, ModelBase { @@ -67,7 +67,7 @@ public ScopedPriceImpl() { } /** - * + *

            Platform-generated unique identifier of the Price.

            */ public String getId() { @@ -75,7 +75,7 @@ public String getId() { } /** - *

            Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

            + *

            Original value of the Price.

            */ public com.commercetools.api.models.common.TypedMoney getValue() { @@ -83,7 +83,7 @@ public com.commercetools.api.models.common.TypedMoney getValue() { } /** - *

            Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

            + *

            If available, either the original price value or discounted value.

            */ public com.commercetools.api.models.common.TypedMoney getCurrentValue() { @@ -91,7 +91,7 @@ public com.commercetools.api.models.common.TypedMoney getCurrentValue() { } /** - *

            Two-digit country code as per ISO 3166-1 alpha-2.

            + *

            Country code of the geographic location.

            */ public String getCountry() { @@ -115,7 +115,7 @@ public com.commercetools.api.models.channel.ChannelReference getChannel() { } /** - * + *

            Date and time from which the Price is valid.

            */ public java.time.ZonedDateTime getValidFrom() { @@ -123,7 +123,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - * + *

            Date and time until which the Price is valid.

            */ public java.time.ZonedDateTime getValidUntil() { @@ -131,7 +131,8 @@ public java.time.ZonedDateTime getValidUntil() { } /** - * + *

            Is set if a matching ProductDiscount exists. If set, the Cart uses the discounted value for the Cart Price calculation.

            + *

            When a relative Product Discount is applied and the fractional part of the discounted Price is 0.5, the discounted Price is rounded half down in favor of the Customer.

            */ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { @@ -139,7 +140,7 @@ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { } /** - *

            Serves as value of the custom field on a resource or data type customized with a Type.

            + *

            Custom Fields for the Price.

            */ public com.commercetools.api.models.type.CustomFields getCustom() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraft.java index d2628dc431a..4f62aa165c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraft.java @@ -8,7 +8,6 @@ import javax.validation.Valid; import javax.validation.constraints.NotNull; -import com.commercetools.api.models.cart.DiscountCodeInfo; import com.commercetools.api.models.cart.InventoryMode; import com.commercetools.api.models.cart.TaxMode; import com.commercetools.api.models.common.BaseAddress; @@ -136,11 +135,11 @@ public interface MyCartDraft extends com.commercetools.api.models.CustomizableDr public StoreKeyReference getStore(); /** - * + *

            The code of existing DiscountCodes.

            */ - @Valid + @JsonProperty("discountCodes") - public List getDiscountCodes(); + public List getDiscountCodes(); public void setCurrency(final String currency); @@ -177,9 +176,9 @@ public interface MyCartDraft extends com.commercetools.api.models.CustomizableDr public void setStore(final StoreKeyReference store); @JsonIgnore - public void setDiscountCodes(final DiscountCodeInfo... discountCodes); + public void setDiscountCodes(final String... discountCodes); - public void setDiscountCodes(final List discountCodes); + public void setDiscountCodes(final List discountCodes); public static MyCartDraft of() { return new MyCartDraftImpl(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraftBuilder.java index d7bf72bf305..36c3ddaae36 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraftBuilder.java @@ -66,7 +66,7 @@ public class MyCartDraftBuilder implements Builder { private com.commercetools.api.models.store.StoreKeyReference store; @Nullable - private java.util.List discountCodes; + private java.util.List discountCodes; /** *

            A three-digit currency code as per ISO 3166-1 alpha-2.

            @@ -348,31 +348,28 @@ public MyCartDraftBuilder store(@Nullable final com.commercetools.api.models.sto } /** - * + *

            The code of existing DiscountCodes.

            */ - public MyCartDraftBuilder discountCodes( - @Nullable final com.commercetools.api.models.cart.DiscountCodeInfo... discountCodes) { + public MyCartDraftBuilder discountCodes(@Nullable final String... discountCodes) { this.discountCodes = new ArrayList<>(Arrays.asList(discountCodes)); return this; } /** - * + *

            The code of existing DiscountCodes.

            */ - public MyCartDraftBuilder discountCodes( - @Nullable final java.util.List discountCodes) { + public MyCartDraftBuilder discountCodes(@Nullable final java.util.List discountCodes) { this.discountCodes = discountCodes; return this; } /** - * + *

            The code of existing DiscountCodes.

            */ - public MyCartDraftBuilder plusDiscountCodes( - @Nullable final com.commercetools.api.models.cart.DiscountCodeInfo... discountCodes) { + public MyCartDraftBuilder plusDiscountCodes(@Nullable final String... discountCodes) { if (this.discountCodes == null) { this.discountCodes = new ArrayList<>(); } @@ -380,30 +377,6 @@ public MyCartDraftBuilder plusDiscountCodes( return this; } - /** - * - */ - - public MyCartDraftBuilder plusDiscountCodes( - Function builder) { - if (this.discountCodes == null) { - this.discountCodes = new ArrayList<>(); - } - this.discountCodes.add(builder.apply(com.commercetools.api.models.cart.DiscountCodeInfoBuilder.of()).build()); - return this; - } - - /** - * - */ - - public MyCartDraftBuilder withDiscountCodes( - Function builder) { - this.discountCodes = new ArrayList<>(); - this.discountCodes.add(builder.apply(com.commercetools.api.models.cart.DiscountCodeInfoBuilder.of()).build()); - return this; - } - public String getCurrency() { return this.currency; } @@ -474,7 +447,7 @@ public com.commercetools.api.models.store.StoreKeyReference getStore() { } @Nullable - public java.util.List getDiscountCodes() { + public java.util.List getDiscountCodes() { return this.discountCodes; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraftImpl.java index c495c4669bd..c4d7872779f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartDraftImpl.java @@ -48,7 +48,7 @@ public class MyCartDraftImpl implements MyCartDraft, ModelBase { private com.commercetools.api.models.store.StoreKeyReference store; - private java.util.List discountCodes; + private java.util.List discountCodes; @JsonCreator MyCartDraftImpl(@JsonProperty("currency") final String currency, @@ -64,7 +64,7 @@ public class MyCartDraftImpl implements MyCartDraft, ModelBase { @JsonProperty("deleteDaysAfterLastModification") final Long deleteDaysAfterLastModification, @JsonProperty("itemShippingAddresses") final java.util.List itemShippingAddresses, @JsonProperty("store") final com.commercetools.api.models.store.StoreKeyReference store, - @JsonProperty("discountCodes") final java.util.List discountCodes) { + @JsonProperty("discountCodes") final java.util.List discountCodes) { this.currency = currency; this.customerEmail = customerEmail; this.country = country; @@ -198,10 +198,10 @@ public com.commercetools.api.models.store.StoreKeyReference getStore() { } /** - * + *

            The code of existing DiscountCodes.

            */ - public java.util.List getDiscountCodes() { + public java.util.List getDiscountCodes() { return this.discountCodes; } @@ -272,12 +272,11 @@ public void setStore(final com.commercetools.api.models.store.StoreKeyReference this.store = store; } - public void setDiscountCodes(final com.commercetools.api.models.cart.DiscountCodeInfo... discountCodes) { + public void setDiscountCodes(final String... discountCodes) { this.discountCodes = new ArrayList<>(Arrays.asList(discountCodes)); } - public void setDiscountCodes( - final java.util.List discountCodes) { + public void setDiscountCodes(final java.util.List discountCodes) { this.discountCodes = discountCodes; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraft.java index 26e35de9c14..95fa1a5258a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraft.java @@ -34,7 +34,7 @@ public interface MyQuoteRequestDraft { /** - *

            ResourceIdentifier to the Cart from which this quote request is created.

            + *

            ResourceIdentifier of the Cart from which the Quote Request is created.

            */ @NotNull @Valid @@ -49,7 +49,7 @@ public interface MyQuoteRequestDraft { public Long getVersion(); /** - *

            Text message included in the request.

            + *

            Message from the Buyer included in the Quote Request.

            */ @NotNull @JsonProperty("comment") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftBuilder.java index c3391388f25..b138903274d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftBuilder.java @@ -31,7 +31,7 @@ public class MyQuoteRequestDraftBuilder implements Builder private String comment; /** - *

            ResourceIdentifier to the Cart from which this quote request is created.

            + *

            ResourceIdentifier of the Cart from which the Quote Request is created.

            */ public MyQuoteRequestDraftBuilder cart( @@ -41,7 +41,7 @@ public MyQuoteRequestDraftBuilder cart( } /** - *

            ResourceIdentifier to the Cart from which this quote request is created.

            + *

            ResourceIdentifier of the Cart from which the Quote Request is created.

            */ public MyQuoteRequestDraftBuilder cart(final com.commercetools.api.models.cart.CartResourceIdentifier cart) { @@ -59,7 +59,7 @@ public MyQuoteRequestDraftBuilder version(final Long version) { } /** - *

            Text message included in the request.

            + *

            Message from the Buyer included in the Quote Request.

            */ public MyQuoteRequestDraftBuilder comment(final String comment) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftImpl.java index bf975db6181..078abd18b45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestDraftImpl.java @@ -38,7 +38,7 @@ public MyQuoteRequestDraftImpl() { } /** - *

            ResourceIdentifier to the Cart from which this quote request is created.

            + *

            ResourceIdentifier of the Cart from which the Quote Request is created.

            */ public com.commercetools.api.models.cart.CartResourceIdentifier getCart() { @@ -54,7 +54,7 @@ public Long getVersion() { } /** - *

            Text message included in the request.

            + *

            Message from the Buyer included in the Quote Request.

            */ public String getComment() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessage.java index 0725ee9efc0..572c9582346 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategoryCreatedMessage + *

            Generated after a successful Create Category request.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface CategoryCreatedMessage extends Message { String CATEGORY_CREATED = "CategoryCreated"; /** - * + *

            Category that was created.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageBuilder.java index b4fe58ac7d8..ab0ee230c98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class CategoryCreatedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CategoryCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CategoryCreatedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CategoryCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CategoryCreatedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CategoryCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CategoryCreatedMessageBuilder createdAt(final java.time.ZonedDateTime cre } /** - * + *

            Value of createdAt.

            */ public CategoryCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CategoryCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTim } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CategoryCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CategoryCreatedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CategoryCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CategoryCreatedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CategoryCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CategoryCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CategoryCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CategoryCreatedMessageBuilder resource(final com.commercetools.api.models } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CategoryCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public CategoryCreatedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CategoryCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CategoryCreatedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CategoryCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CategoryCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CategoryCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CategoryCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Category that was created.

            */ public CategoryCreatedMessageBuilder category( @@ -202,7 +202,7 @@ public CategoryCreatedMessageBuilder category( } /** - * + *

            Category that was created.

            */ public CategoryCreatedMessageBuilder category(final com.commercetools.api.models.category.Category category) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageImpl.java index a3e2c9b6e12..565df548193 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategoryCreatedMessage + *

            Generated after a successful Create Category request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryCreatedMessageImpl implements CategoryCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public CategoryCreatedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Category that was created.

            */ public com.commercetools.api.models.category.Category getCategory() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayload.java index 3d240432c5b..1050efeeff6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategoryCreatedMessagePayload + *

            Generated after a successful Create Category request.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface CategoryCreatedMessagePayload extends MessagePayload { String CATEGORY_CREATED = "CategoryCreated"; /** - * + *

            Category that was created.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadBuilder.java index e114cb0ba40..9d76340b059 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CategoryCreatedMessagePayloadBuilder implements BuilderCategory that was created.

            */ public CategoryCreatedMessagePayloadBuilder category( @@ -35,7 +35,7 @@ public CategoryCreatedMessagePayloadBuilder category( } /** - * + *

            Category that was created.

            */ public CategoryCreatedMessagePayloadBuilder category( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadImpl.java index 2e4f2879899..ddd2b96cfb9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategoryCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategoryCreatedMessagePayload + *

            Generated after a successful Create Category request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryCreatedMessagePayloadImpl implements CategoryCreatedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

            Category that was created.

            */ public com.commercetools.api.models.category.Category getCategory() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessage.java index ec4cef565e3..ac79bbcebe2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategorySlugChangedMessage + *

            Generated after a successful Change Slug update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface CategorySlugChangedMessage extends Message { String CATEGORY_SLUG_CHANGED = "CategorySlugChanged"; /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category after the Change Slug update action.

            */ @NotNull @Valid @@ -49,7 +49,7 @@ public interface CategorySlugChangedMessage extends Message { public LocalizedString getSlug(); /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category before the Change Slug update action.

            */ @Valid @JsonProperty("oldSlug") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageBuilder.java index dca8a4723ea..81e8336cf78 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class CategorySlugChangedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CategorySlugChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public CategorySlugChangedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CategorySlugChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public CategorySlugChangedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CategorySlugChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public CategorySlugChangedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

            Value of createdAt.

            */ public CategorySlugChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public CategorySlugChangedMessageBuilder lastModifiedAt(final java.time.ZonedDat } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CategorySlugChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public CategorySlugChangedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CategorySlugChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public CategorySlugChangedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CategorySlugChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public CategorySlugChangedMessageBuilder sequenceNumber(final Long sequenceNumbe } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CategorySlugChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public CategorySlugChangedMessageBuilder resource(final com.commercetools.api.mo } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CategorySlugChangedMessageBuilder resource( @@ -164,7 +164,7 @@ public CategorySlugChangedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CategorySlugChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public CategorySlugChangedMessageBuilder resourceVersion(final Long resourceVers } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CategorySlugChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public CategorySlugChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CategorySlugChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public CategorySlugChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category after the Change Slug update action.

            */ public CategorySlugChangedMessageBuilder slug( @@ -205,7 +205,7 @@ public CategorySlugChangedMessageBuilder slug( } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category after the Change Slug update action.

            */ public CategorySlugChangedMessageBuilder slug(final com.commercetools.api.models.common.LocalizedString slug) { @@ -214,7 +214,7 @@ public CategorySlugChangedMessageBuilder slug(final com.commercetools.api.models } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category before the Change Slug update action.

            */ public CategorySlugChangedMessageBuilder oldSlug( @@ -224,7 +224,7 @@ public CategorySlugChangedMessageBuilder oldSlug( } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category before the Change Slug update action.

            */ public CategorySlugChangedMessageBuilder oldSlug( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageImpl.java index 16b36c03e69..16c1690b1d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategorySlugChangedMessage + *

            Generated after a successful Change Slug update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategorySlugChangedMessageImpl implements CategorySlugChangedMessage, ModelBase { @@ -78,7 +78,7 @@ public CategorySlugChangedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category after the Change Slug update action.

            */ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category before the Change Slug update action.

            */ public com.commercetools.api.models.common.LocalizedString getOldSlug() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayload.java index 113edfefcee..558927ac493 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategorySlugChangedMessagePayload + *

            Generated after a successful Change Slug update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface CategorySlugChangedMessagePayload extends MessagePayload { String CATEGORY_SLUG_CHANGED = "CategorySlugChanged"; /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category after the Change Slug update action.

            */ @NotNull @Valid @@ -42,7 +42,7 @@ public interface CategorySlugChangedMessagePayload extends MessagePayload { public LocalizedString getSlug(); /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category before the Change Slug update action.

            */ @Valid @JsonProperty("oldSlug") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadBuilder.java index 961b2ec40e8..9883dee1112 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadBuilder.java @@ -30,7 +30,7 @@ public class CategorySlugChangedMessagePayloadBuilder implements BuilderJSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category after the Change Slug update action.

            */ public CategorySlugChangedMessagePayloadBuilder slug( @@ -40,7 +40,7 @@ public CategorySlugChangedMessagePayloadBuilder slug( } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category after the Change Slug update action.

            */ public CategorySlugChangedMessagePayloadBuilder slug( @@ -50,7 +50,7 @@ public CategorySlugChangedMessagePayloadBuilder slug( } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category before the Change Slug update action.

            */ public CategorySlugChangedMessagePayloadBuilder oldSlug( @@ -60,7 +60,7 @@ public CategorySlugChangedMessagePayloadBuilder oldSlug( } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category before the Change Slug update action.

            */ public CategorySlugChangedMessagePayloadBuilder oldSlug( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadImpl.java index 87a09d350f2..acd126c6793 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CategorySlugChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategorySlugChangedMessagePayload + *

            Generated after a successful Change Slug update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategorySlugChangedMessagePayloadImpl implements CategorySlugChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category after the Change Slug update action.

            */ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *

            JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

            + *

            The slug of the Category before the Change Slug update action.

            */ public com.commercetools.api.models.common.LocalizedString getOldSlug() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKey.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKey.java index 7522ab174b6..4c53529a8a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKey.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKey.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

            Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.

            + *

            ContainerAndKey is specific to Custom Objects. Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.

            * *
            * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKeyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKeyImpl.java index 1ed313e3096..dd324155c93 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKeyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ContainerAndKeyImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

            Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.

            + *

            ContainerAndKey is specific to Custom Objects. Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ContainerAndKeyImpl implements ContainerAndKey, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessage.java index b92dac6deaf..14e62ab5a48 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomLineItemStateTransitionMessage + *

            Generated after a successful Transition Custom Line Item State update action.

            * *
            * Example to create an instance using the builder pattern @@ -46,28 +46,28 @@ public interface CustomLineItemStateTransitionMessage extends OrderMessage { String CUSTOM_LINE_ITEM_STATE_TRANSITION = "CustomLineItemStateTransition"; /** - * + *

            Unique identifier of the Custom Line Item.

            */ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *

            Date and time (UTC) when the transition of the Custom Line Item State was performed.

            */ @NotNull @JsonProperty("transitionDate") public ZonedDateTime getTransitionDate(); /** - * + *

            Number of Custom Line Items for which the State was transitioned.

            */ @NotNull @JsonProperty("quantity") public Long getQuantity(); /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned from.

            */ @NotNull @Valid @@ -75,7 +75,7 @@ public interface CustomLineItemStateTransitionMessage extends OrderMessage { public StateReference getFromState(); /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned to.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageBuilder.java index d8e8791ff33..fe2937cb4b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageBuilder.java @@ -69,7 +69,7 @@ public class CustomLineItemStateTransitionMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomLineItemStateTransitionMessageBuilder id(final String id) { @@ -78,7 +78,7 @@ public CustomLineItemStateTransitionMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomLineItemStateTransitionMessageBuilder version(final Long version) { @@ -87,7 +87,7 @@ public CustomLineItemStateTransitionMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomLineItemStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -96,7 +96,7 @@ public CustomLineItemStateTransitionMessageBuilder createdAt(final java.time.Zon } /** - * + *

            Value of createdAt.

            */ public CustomLineItemStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -105,7 +105,7 @@ public CustomLineItemStateTransitionMessageBuilder lastModifiedAt(final java.tim } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomLineItemStateTransitionMessageBuilder lastModifiedBy( @@ -115,7 +115,7 @@ public CustomLineItemStateTransitionMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomLineItemStateTransitionMessageBuilder lastModifiedBy( @@ -145,7 +145,7 @@ public CustomLineItemStateTransitionMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomLineItemStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -154,7 +154,7 @@ public CustomLineItemStateTransitionMessageBuilder sequenceNumber(final Long seq } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomLineItemStateTransitionMessageBuilder resource( @@ -164,7 +164,7 @@ public CustomLineItemStateTransitionMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomLineItemStateTransitionMessageBuilder resource( @@ -174,7 +174,7 @@ public CustomLineItemStateTransitionMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomLineItemStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { @@ -183,7 +183,7 @@ public CustomLineItemStateTransitionMessageBuilder resourceVersion(final Long re } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomLineItemStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public CustomLineItemStateTransitionMessageBuilder resourceUserProvidedIdentifie } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomLineItemStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -205,7 +205,7 @@ public CustomLineItemStateTransitionMessageBuilder resourceUserProvidedIdentifie } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public CustomLineItemStateTransitionMessageBuilder customLineItemId(final String customLineItemId) { @@ -214,7 +214,7 @@ public CustomLineItemStateTransitionMessageBuilder customLineItemId(final String } /** - * + *

            Date and time (UTC) when the transition of the Custom Line Item State was performed.

            */ public CustomLineItemStateTransitionMessageBuilder transitionDate(final java.time.ZonedDateTime transitionDate) { @@ -223,7 +223,7 @@ public CustomLineItemStateTransitionMessageBuilder transitionDate(final java.tim } /** - * + *

            Number of Custom Line Items for which the State was transitioned.

            */ public CustomLineItemStateTransitionMessageBuilder quantity(final Long quantity) { @@ -232,7 +232,7 @@ public CustomLineItemStateTransitionMessageBuilder quantity(final Long quantity) } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned from.

            */ public CustomLineItemStateTransitionMessageBuilder fromState( @@ -242,7 +242,7 @@ public CustomLineItemStateTransitionMessageBuilder fromState( } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned from.

            */ public CustomLineItemStateTransitionMessageBuilder fromState( @@ -252,7 +252,7 @@ public CustomLineItemStateTransitionMessageBuilder fromState( } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned to.

            */ public CustomLineItemStateTransitionMessageBuilder toState( @@ -262,7 +262,7 @@ public CustomLineItemStateTransitionMessageBuilder toState( } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned to.

            */ public CustomLineItemStateTransitionMessageBuilder toState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageImpl.java index 1006a6714ab..0886d0d4003 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomLineItemStateTransitionMessage + *

            Generated after a successful Transition Custom Line Item State update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomLineItemStateTransitionMessageImpl implements CustomLineItemStateTransitionMessage, ModelBase { @@ -91,7 +91,7 @@ public CustomLineItemStateTransitionMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -99,7 +99,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -107,7 +107,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -115,7 +115,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -123,7 +123,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -147,7 +147,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -155,7 +155,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -163,7 +163,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -171,7 +171,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -179,7 +179,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public String getCustomLineItemId() { @@ -187,7 +187,7 @@ public String getCustomLineItemId() { } /** - * + *

            Date and time (UTC) when the transition of the Custom Line Item State was performed.

            */ public java.time.ZonedDateTime getTransitionDate() { @@ -195,7 +195,7 @@ public java.time.ZonedDateTime getTransitionDate() { } /** - * + *

            Number of Custom Line Items for which the State was transitioned.

            */ public Long getQuantity() { @@ -203,7 +203,7 @@ public Long getQuantity() { } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned from.

            */ public com.commercetools.api.models.state.StateReference getFromState() { @@ -211,7 +211,7 @@ public com.commercetools.api.models.state.StateReference getFromState() { } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned to.

            */ public com.commercetools.api.models.state.StateReference getToState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayload.java index 6577ab8b358..aa3a4bb1756 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomLineItemStateTransitionMessagePayload + *

            Generated after a successful Transition Custom Line Item State update action.

            * *
            * Example to create an instance using the builder pattern @@ -39,28 +39,28 @@ public interface CustomLineItemStateTransitionMessagePayload extends OrderMessag String CUSTOM_LINE_ITEM_STATE_TRANSITION = "CustomLineItemStateTransition"; /** - * + *

            Unique identifier of the Custom Line Item.

            */ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *

            Date and time (UTC) when the transition of the Custom Line Item State was performed.

            */ @NotNull @JsonProperty("transitionDate") public ZonedDateTime getTransitionDate(); /** - * + *

            Number of Custom Line Items for which the State was transitioned.

            */ @NotNull @JsonProperty("quantity") public Long getQuantity(); /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned from.

            */ @NotNull @Valid @@ -68,7 +68,7 @@ public interface CustomLineItemStateTransitionMessagePayload extends OrderMessag public StateReference getFromState(); /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned to.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadBuilder.java index 9ec61bc0dbc..ea8cc8e740e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadBuilder.java @@ -38,7 +38,7 @@ public class CustomLineItemStateTransitionMessagePayloadBuilder private com.commercetools.api.models.state.StateReference toState; /** - * + *

            Unique identifier of the Custom Line Item.

            */ public CustomLineItemStateTransitionMessagePayloadBuilder customLineItemId(final String customLineItemId) { @@ -47,7 +47,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder customLineItemId(final } /** - * + *

            Date and time (UTC) when the transition of the Custom Line Item State was performed.

            */ public CustomLineItemStateTransitionMessagePayloadBuilder transitionDate( @@ -57,7 +57,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder transitionDate( } /** - * + *

            Number of Custom Line Items for which the State was transitioned.

            */ public CustomLineItemStateTransitionMessagePayloadBuilder quantity(final Long quantity) { @@ -66,7 +66,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder quantity(final Long qu } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned from.

            */ public CustomLineItemStateTransitionMessagePayloadBuilder fromState( @@ -76,7 +76,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder fromState( } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned from.

            */ public CustomLineItemStateTransitionMessagePayloadBuilder fromState( @@ -86,7 +86,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder fromState( } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned to.

            */ public CustomLineItemStateTransitionMessagePayloadBuilder toState( @@ -96,7 +96,7 @@ public CustomLineItemStateTransitionMessagePayloadBuilder toState( } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned to.

            */ public CustomLineItemStateTransitionMessagePayloadBuilder toState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadImpl.java index 78de8aadba6..d66fa68f7b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomLineItemStateTransitionMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomLineItemStateTransitionMessagePayload + *

            Generated after a successful Transition Custom Line Item State update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomLineItemStateTransitionMessagePayloadImpl @@ -60,7 +60,7 @@ public String getType() { } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public String getCustomLineItemId() { @@ -68,7 +68,7 @@ public String getCustomLineItemId() { } /** - * + *

            Date and time (UTC) when the transition of the Custom Line Item State was performed.

            */ public java.time.ZonedDateTime getTransitionDate() { @@ -76,7 +76,7 @@ public java.time.ZonedDateTime getTransitionDate() { } /** - * + *

            Number of Custom Line Items for which the State was transitioned.

            */ public Long getQuantity() { @@ -84,7 +84,7 @@ public Long getQuantity() { } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned from.

            */ public com.commercetools.api.models.state.StateReference getFromState() { @@ -92,7 +92,7 @@ public com.commercetools.api.models.state.StateReference getFromState() { } /** - *

            Reference to a State.

            + *

            State the Custom Line Item was transitioned to.

            */ public com.commercetools.api.models.state.StateReference getToState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessage.java index 891803cd606..b2175abcad8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressAddedMessage + *

            Generated after a successful Add Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface CustomerAddressAddedMessage extends Message { String CUSTOMER_ADDRESS_ADDED = "CustomerAddressAdded"; /** - * + *

            Address that was added during the Add Address update action.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageBuilder.java index cc5908f1cfb..989b02682cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerAddressAddedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerAddressAddedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerAddressAddedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerAddressAddedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerAddressAddedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerAddressAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerAddressAddedMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *

            Value of createdAt.

            */ public CustomerAddressAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerAddressAddedMessageBuilder lastModifiedAt(final java.time.ZonedDa } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerAddressAddedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerAddressAddedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerAddressAddedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerAddressAddedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerAddressAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerAddressAddedMessageBuilder sequenceNumber(final Long sequenceNumb } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerAddressAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerAddressAddedMessageBuilder resource(final com.commercetools.api.m } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerAddressAddedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerAddressAddedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerAddressAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerAddressAddedMessageBuilder resourceVersion(final Long resourceVer } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerAddressAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerAddressAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerAddressAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerAddressAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Address that was added during the Add Address update action.

            */ public CustomerAddressAddedMessageBuilder address( @@ -202,7 +202,7 @@ public CustomerAddressAddedMessageBuilder address( } /** - * + *

            Address that was added during the Add Address update action.

            */ public CustomerAddressAddedMessageBuilder address(final com.commercetools.api.models.common.Address address) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageImpl.java index 41ebabb93ef..13cf53bb56b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressAddedMessage + *

            Generated after a successful Add Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressAddedMessageImpl implements CustomerAddressAddedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerAddressAddedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Address that was added during the Add Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayload.java index 022193430d9..e631e9f62fe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressAddedMessagePayload + *

            Generated after a successful Add Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface CustomerAddressAddedMessagePayload extends MessagePayload { String CUSTOMER_ADDRESS_ADDED = "CustomerAddressAdded"; /** - * + *

            Address that was added during the Add Address update action.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadBuilder.java index b51f091224d..20c96cef46b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CustomerAddressAddedMessagePayloadBuilder implements BuilderAddress that was added during the Add Address update action.

            */ public CustomerAddressAddedMessagePayloadBuilder address( @@ -35,7 +35,7 @@ public CustomerAddressAddedMessagePayloadBuilder address( } /** - * + *

            Address that was added during the Add Address update action.

            */ public CustomerAddressAddedMessagePayloadBuilder address( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadImpl.java index e9d51691b9c..7d267ecb0ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressAddedMessagePayload + *

            Generated after a successful Add Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressAddedMessagePayloadImpl implements CustomerAddressAddedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

            Address that was added during the Add Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessage.java index a75229c6983..1be5c418f94 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressChangedMessage + *

            Generated after a successful Change Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface CustomerAddressChangedMessage extends Message { String CUSTOMER_ADDRESS_CHANGED = "CustomerAddressChanged"; /** - * + *

            Address that was set during the Change Address update action.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageBuilder.java index dec4dad6b67..cabafd6d77d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerAddressChangedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerAddressChangedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerAddressChangedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerAddressChangedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerAddressChangedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerAddressChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerAddressChangedMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

            Value of createdAt.

            */ public CustomerAddressChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerAddressChangedMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerAddressChangedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerAddressChangedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerAddressChangedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerAddressChangedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerAddressChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerAddressChangedMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerAddressChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerAddressChangedMessageBuilder resource(final com.commercetools.api } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerAddressChangedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerAddressChangedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerAddressChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerAddressChangedMessageBuilder resourceVersion(final Long resourceV } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerAddressChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerAddressChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerAddressChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerAddressChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Address that was set during the Change Address update action.

            */ public CustomerAddressChangedMessageBuilder address( @@ -202,7 +202,7 @@ public CustomerAddressChangedMessageBuilder address( } /** - * + *

            Address that was set during the Change Address update action.

            */ public CustomerAddressChangedMessageBuilder address(final com.commercetools.api.models.common.Address address) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageImpl.java index a7bd26e3562..798b7b58ba3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressChangedMessage + *

            Generated after a successful Change Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressChangedMessageImpl implements CustomerAddressChangedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerAddressChangedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Address that was set during the Change Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayload.java index ea15750b360..2749f076a95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressChangedMessagePayload + *

            Generated after a successful Change Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface CustomerAddressChangedMessagePayload extends MessagePayload { String CUSTOMER_ADDRESS_CHANGED = "CustomerAddressChanged"; /** - * + *

            Address that was set during the Change Address update action.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadBuilder.java index 97341185e6c..40df621fcf0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CustomerAddressChangedMessagePayloadBuilder implements BuilderAddress that was set during the Change Address update action.

            */ public CustomerAddressChangedMessagePayloadBuilder address( @@ -35,7 +35,7 @@ public CustomerAddressChangedMessagePayloadBuilder address( } /** - * + *

            Address that was set during the Change Address update action.

            */ public CustomerAddressChangedMessagePayloadBuilder address( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadImpl.java index e435f10066f..4ad60719fca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressChangedMessagePayload + *

            Generated after a successful Change Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressChangedMessagePayloadImpl implements CustomerAddressChangedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

            Address that was set during the Change Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessage.java index b9282ca890a..2ddff1332ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressRemovedMessage + *

            Generated after a successful Remove Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface CustomerAddressRemovedMessage extends Message { String CUSTOMER_ADDRESS_REMOVED = "CustomerAddressRemoved"; /** - * + *

            Address that was removed during the Remove Address update action.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageBuilder.java index 1427aca68f7..03fc0e4e991 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerAddressRemovedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerAddressRemovedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerAddressRemovedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerAddressRemovedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerAddressRemovedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerAddressRemovedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerAddressRemovedMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

            Value of createdAt.

            */ public CustomerAddressRemovedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerAddressRemovedMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerAddressRemovedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerAddressRemovedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerAddressRemovedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerAddressRemovedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerAddressRemovedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerAddressRemovedMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerAddressRemovedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerAddressRemovedMessageBuilder resource(final com.commercetools.api } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerAddressRemovedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerAddressRemovedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerAddressRemovedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerAddressRemovedMessageBuilder resourceVersion(final Long resourceV } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerAddressRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerAddressRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerAddressRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerAddressRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Address that was removed during the Remove Address update action.

            */ public CustomerAddressRemovedMessageBuilder address( @@ -202,7 +202,7 @@ public CustomerAddressRemovedMessageBuilder address( } /** - * + *

            Address that was removed during the Remove Address update action.

            */ public CustomerAddressRemovedMessageBuilder address(final com.commercetools.api.models.common.Address address) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageImpl.java index 3a14ed586f4..1417208b564 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressRemovedMessage + *

            Generated after a successful Remove Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressRemovedMessageImpl implements CustomerAddressRemovedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerAddressRemovedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Address that was removed during the Remove Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayload.java index a8ee8f0521b..4d07de7716d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerAddressRemovedMessagePayload + *

            Generated after a successful Remove Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface CustomerAddressRemovedMessagePayload extends MessagePayload { String CUSTOMER_ADDRESS_REMOVED = "CustomerAddressRemoved"; /** - * + *

            Address that was removed during the Remove Address update action.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadBuilder.java index dcd6e4110f8..abab3a87ced 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CustomerAddressRemovedMessagePayloadBuilder implements BuilderAddress that was removed during the Remove Address update action.

            */ public CustomerAddressRemovedMessagePayloadBuilder address( @@ -35,7 +35,7 @@ public CustomerAddressRemovedMessagePayloadBuilder address( } /** - * + *

            Address that was removed during the Remove Address update action.

            */ public CustomerAddressRemovedMessagePayloadBuilder address( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadImpl.java index ebb75376db2..94eaa0ab6be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressRemovedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerAddressRemovedMessagePayload + *

            Generated after a successful Remove Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerAddressRemovedMessagePayloadImpl implements CustomerAddressRemovedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

            Address that was removed during the Remove Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessage.java index b8a186edf5e..3ac36896875 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerCompanyNameSetMessage + *

            Generated after a successful Set Company Name update action.

            * *
            * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface CustomerCompanyNameSetMessage extends Message { String CUSTOMER_COMPANY_NAME_SET = "CustomerCompanyNameSet"; /** - * + *

            The companyName that was set during the Set Company Name update action.

            */ @JsonProperty("companyName") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessageBuilder.java index 3b05327e3fd..5c9fe3a8240 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerCompanyNameSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerCompanyNameSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerCompanyNameSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerCompanyNameSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerCompanyNameSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerCompanyNameSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerCompanyNameSetMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

            Value of createdAt.

            */ public CustomerCompanyNameSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerCompanyNameSetMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerCompanyNameSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerCompanyNameSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerCompanyNameSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerCompanyNameSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerCompanyNameSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerCompanyNameSetMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerCompanyNameSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerCompanyNameSetMessageBuilder resource(final com.commercetools.api } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerCompanyNameSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerCompanyNameSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerCompanyNameSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerCompanyNameSetMessageBuilder resourceVersion(final Long resourceV } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerCompanyNameSetMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerCompanyNameSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerCompanyNameSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerCompanyNameSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            The companyName that was set during the Set Company Name update action.

            */ public CustomerCompanyNameSetMessageBuilder companyName(@Nullable final String companyName) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessageImpl.java index ca6393cbc3b..422f4e399c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerCompanyNameSetMessage + *

            Generated after a successful Set Company Name update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerCompanyNameSetMessageImpl implements CustomerCompanyNameSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerCompanyNameSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            The companyName that was set during the Set Company Name update action.

            */ public String getCompanyName() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayload.java index b0c63d7ab63..9ebf0d70268 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerCompanyNameSetMessagePayload + *

            Generated after a successful Set Company Name update action.

            * *
            * Example to create an instance using the builder pattern @@ -29,7 +29,7 @@ public interface CustomerCompanyNameSetMessagePayload extends MessagePayload { String CUSTOMER_COMPANY_NAME_SET = "CustomerCompanyNameSet"; /** - * + *

            The companyName that was set during the Set Company Name update action.

            */ @JsonProperty("companyName") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadBuilder.java index 8a362ad0ecb..e46c1773d11 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadBuilder.java @@ -26,7 +26,7 @@ public class CustomerCompanyNameSetMessagePayloadBuilder implements BuilderThe companyName that was set during the Set Company Name update action.

            */ public CustomerCompanyNameSetMessagePayloadBuilder companyName(@Nullable final String companyName) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadImpl.java index 820bef8edd6..85bb60267e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCompanyNameSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerCompanyNameSetMessagePayload + *

            Generated after a successful Set Company Name update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerCompanyNameSetMessagePayloadImpl implements CustomerCompanyNameSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            The companyName that was set during the Set Company Name update action.

            */ public String getCompanyName() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessage.java index abfba10f784..85c1689bba5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerCreatedMessage + *

            Generated after a successful Create Customer request.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface CustomerCreatedMessage extends Message { String CUSTOMER_CREATED = "CustomerCreated"; /** - * + *

            Customer that was created.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageBuilder.java index c5ac86c6e33..13f4fead281 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerCreatedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerCreatedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerCreatedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerCreatedMessageBuilder createdAt(final java.time.ZonedDateTime cre } /** - * + *

            Value of createdAt.

            */ public CustomerCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTim } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerCreatedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerCreatedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerCreatedMessageBuilder resource(final com.commercetools.api.models } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerCreatedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerCreatedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Customer that was created.

            */ public CustomerCreatedMessageBuilder customer( @@ -202,7 +202,7 @@ public CustomerCreatedMessageBuilder customer( } /** - * + *

            Customer that was created.

            */ public CustomerCreatedMessageBuilder customer(final com.commercetools.api.models.customer.Customer customer) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageImpl.java index a7eab2e9b6f..05bcff0262b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerCreatedMessage + *

            Generated after a successful Create Customer request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerCreatedMessageImpl implements CustomerCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerCreatedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Customer that was created.

            */ public com.commercetools.api.models.customer.Customer getCustomer() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayload.java index a58dd414ee4..ea275d27f69 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerCreatedMessagePayload + *

            Generated after a successful Create Customer request.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface CustomerCreatedMessagePayload extends MessagePayload { String CUSTOMER_CREATED = "CustomerCreated"; /** - * + *

            Customer that was created.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadBuilder.java index 4189930aff1..9f53a8a90cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class CustomerCreatedMessagePayloadBuilder implements BuilderCustomer that was created.

            */ public CustomerCreatedMessagePayloadBuilder customer( @@ -35,7 +35,7 @@ public CustomerCreatedMessagePayloadBuilder customer( } /** - * + *

            Customer that was created.

            */ public CustomerCreatedMessagePayloadBuilder customer( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadImpl.java index ebf1c5f3824..6700520d621 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerCreatedMessagePayload + *

            Generated after a successful Create Customer request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerCreatedMessagePayloadImpl implements CustomerCreatedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

            Customer that was created.

            */ public com.commercetools.api.models.customer.Customer getCustomer() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessage.java index 5a0c9f7f379..d500e077e7c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessage.java @@ -12,7 +12,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerDateOfBirthSetMessage + *

            Generated after a successful Set Date of Birth update action.

            * *
            * Example to create an instance using the builder pattern @@ -37,7 +37,7 @@ public interface CustomerDateOfBirthSetMessage extends Message { String CUSTOMER_DATE_OF_BIRTH_SET = "CustomerDateOfBirthSet"; /** - * + *

            The dateOfBirth that was set during the Set Date of Birth update action.

            */ @JsonProperty("dateOfBirth") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessageBuilder.java index 51593e84a37..ef07518e86a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerDateOfBirthSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerDateOfBirthSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerDateOfBirthSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerDateOfBirthSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerDateOfBirthSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerDateOfBirthSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerDateOfBirthSetMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

            Value of createdAt.

            */ public CustomerDateOfBirthSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerDateOfBirthSetMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerDateOfBirthSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerDateOfBirthSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerDateOfBirthSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerDateOfBirthSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerDateOfBirthSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerDateOfBirthSetMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerDateOfBirthSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerDateOfBirthSetMessageBuilder resource(final com.commercetools.api } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerDateOfBirthSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerDateOfBirthSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerDateOfBirthSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerDateOfBirthSetMessageBuilder resourceVersion(final Long resourceV } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerDateOfBirthSetMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerDateOfBirthSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerDateOfBirthSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerDateOfBirthSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            The dateOfBirth that was set during the Set Date of Birth update action.

            */ public CustomerDateOfBirthSetMessageBuilder dateOfBirth(@Nullable final java.time.LocalDate dateOfBirth) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessageImpl.java index fa33c607a0f..ccc5ecd2d50 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerDateOfBirthSetMessage + *

            Generated after a successful Set Date of Birth update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerDateOfBirthSetMessageImpl implements CustomerDateOfBirthSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerDateOfBirthSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            The dateOfBirth that was set during the Set Date of Birth update action.

            */ public java.time.LocalDate getDateOfBirth() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayload.java index e4b28619ec8..4caf0190214 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayload.java @@ -12,7 +12,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerDateOfBirthSetMessagePayload + *

            Generated after a successful Set Date of Birth update action.

            * *
            * Example to create an instance using the builder pattern @@ -30,7 +30,7 @@ public interface CustomerDateOfBirthSetMessagePayload extends MessagePayload { String CUSTOMER_DATE_OF_BIRTH_SET = "CustomerDateOfBirthSet"; /** - * + *

            The dateOfBirth that was set during the Set Date of Birth update action.

            */ @JsonProperty("dateOfBirth") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadBuilder.java index 1b23c07a20b..68fed653ae0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadBuilder.java @@ -26,7 +26,7 @@ public class CustomerDateOfBirthSetMessagePayloadBuilder implements BuilderThe dateOfBirth that was set during the Set Date of Birth update action.

            */ public CustomerDateOfBirthSetMessagePayloadBuilder dateOfBirth(@Nullable final java.time.LocalDate dateOfBirth) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadImpl.java index 4d4cda52268..5efb95f721c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDateOfBirthSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerDateOfBirthSetMessagePayload + *

            Generated after a successful Set Date of Birth update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerDateOfBirthSetMessagePayloadImpl implements CustomerDateOfBirthSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            The dateOfBirth that was set during the Set Date of Birth update action.

            */ public java.time.LocalDate getDateOfBirth() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessage.java index 71b01d52ca8..225472493a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerDeletedMessage + *

            Generated after a successful Delete Customer request.

            * *
            * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessageBuilder.java index 0539cc26feb..d328a72d23d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessageBuilder.java @@ -54,7 +54,7 @@ public class CustomerDeletedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerDeletedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public CustomerDeletedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerDeletedMessageBuilder version(final Long version) { @@ -72,7 +72,7 @@ public CustomerDeletedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public CustomerDeletedMessageBuilder createdAt(final java.time.ZonedDateTime cre } /** - * + *

            Value of createdAt.

            */ public CustomerDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +90,7 @@ public CustomerDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTim } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerDeletedMessageBuilder lastModifiedBy( @@ -100,7 +100,7 @@ public CustomerDeletedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerDeletedMessageBuilder lastModifiedBy( @@ -130,7 +130,7 @@ public CustomerDeletedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +139,7 @@ public CustomerDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public CustomerDeletedMessageBuilder resource(final com.commercetools.api.models } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerDeletedMessageBuilder resource( @@ -158,7 +158,7 @@ public CustomerDeletedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public CustomerDeletedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +179,7 @@ public CustomerDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerDeletedMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessageImpl.java index 16529b1578d..5857a9d305f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerDeletedMessage + *

            Generated after a successful Delete Customer request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerDeletedMessageImpl implements CustomerDeletedMessage, ModelBase { @@ -70,7 +70,7 @@ public CustomerDeletedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -126,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessagePayload.java index 022f063a286..34cd3f2d976 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerDeletedMessagePayload + *

            Generated after a successful Delete Customer request.

            * *
            * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessagePayloadImpl.java index 8086900497b..22f3e3180cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerDeletedMessagePayloadImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerDeletedMessagePayload + *

            Generated after a successful Delete Customer request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerDeletedMessagePayloadImpl implements CustomerDeletedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessage.java index da3b66f9f99..4d50706c945 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessage.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerEmailChangedMessage + *

            Generated after a successful Change Email update action.

            * *
            * Example to create an instance using the builder pattern @@ -39,7 +39,7 @@ public interface CustomerEmailChangedMessage extends Message { String CUSTOMER_EMAIL_CHANGED = "CustomerEmailChanged"; /** - * + *

            The email that was set during the Change Email update action.

            */ @NotNull @JsonProperty("email") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessageBuilder.java index cb463beb9f5..280b5c2d418 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerEmailChangedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerEmailChangedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerEmailChangedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerEmailChangedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerEmailChangedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerEmailChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerEmailChangedMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *

            Value of createdAt.

            */ public CustomerEmailChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerEmailChangedMessageBuilder lastModifiedAt(final java.time.ZonedDa } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerEmailChangedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerEmailChangedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerEmailChangedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerEmailChangedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerEmailChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerEmailChangedMessageBuilder sequenceNumber(final Long sequenceNumb } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerEmailChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerEmailChangedMessageBuilder resource(final com.commercetools.api.m } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerEmailChangedMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerEmailChangedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerEmailChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerEmailChangedMessageBuilder resourceVersion(final Long resourceVer } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerEmailChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerEmailChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerEmailChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerEmailChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            The email that was set during the Change Email update action.

            */ public CustomerEmailChangedMessageBuilder email(final String email) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessageImpl.java index 591b8d7415e..913f3b125b5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerEmailChangedMessage + *

            Generated after a successful Change Email update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailChangedMessageImpl implements CustomerEmailChangedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerEmailChangedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            The email that was set during the Change Email update action.

            */ public String getEmail() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayload.java index 9411d23452d..436435deca7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayload.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerEmailChangedMessagePayload + *

            Generated after a successful Change Email update action.

            * *
            * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface CustomerEmailChangedMessagePayload extends MessagePayload { String CUSTOMER_EMAIL_CHANGED = "CustomerEmailChanged"; /** - * + *

            The email that was set during the Change Email update action.

            */ @NotNull @JsonProperty("email") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadBuilder.java index 71afdf7beeb..aa4b4a20478 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadBuilder.java @@ -24,7 +24,7 @@ public class CustomerEmailChangedMessagePayloadBuilder implements BuilderThe email that was set during the Change Email update action.

            */ public CustomerEmailChangedMessagePayloadBuilder email(final String email) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadImpl.java index a61e0965ea8..d7fc5e2ab85 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerEmailChangedMessagePayload + *

            Generated after a successful Change Email update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailChangedMessagePayloadImpl implements CustomerEmailChangedMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            The email that was set during the Change Email update action.

            */ public String getEmail() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessage.java index b8589956341..ff3fad323ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerEmailVerifiedMessage + *

            Generated after a successful Verify Customer's Email request.

            * *
            * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessageBuilder.java index df03acfa92c..99160bb7eb7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessageBuilder.java @@ -54,7 +54,7 @@ public class CustomerEmailVerifiedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerEmailVerifiedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public CustomerEmailVerifiedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerEmailVerifiedMessageBuilder version(final Long version) { @@ -72,7 +72,7 @@ public CustomerEmailVerifiedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerEmailVerifiedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public CustomerEmailVerifiedMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

            Value of createdAt.

            */ public CustomerEmailVerifiedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +90,7 @@ public CustomerEmailVerifiedMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerEmailVerifiedMessageBuilder lastModifiedBy( @@ -100,7 +100,7 @@ public CustomerEmailVerifiedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerEmailVerifiedMessageBuilder lastModifiedBy( @@ -130,7 +130,7 @@ public CustomerEmailVerifiedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerEmailVerifiedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +139,7 @@ public CustomerEmailVerifiedMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerEmailVerifiedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public CustomerEmailVerifiedMessageBuilder resource(final com.commercetools.api. } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerEmailVerifiedMessageBuilder resource( @@ -158,7 +158,7 @@ public CustomerEmailVerifiedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerEmailVerifiedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public CustomerEmailVerifiedMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerEmailVerifiedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +179,7 @@ public CustomerEmailVerifiedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerEmailVerifiedMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessageImpl.java index 50c09d17cbe..68279e51a18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerEmailVerifiedMessage + *

            Generated after a successful Verify Customer's Email request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailVerifiedMessageImpl implements CustomerEmailVerifiedMessage, ModelBase { @@ -70,7 +70,7 @@ public CustomerEmailVerifiedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -126,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessagePayload.java index 59501ae29aa..2cdd47c6f03 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerEmailVerifiedMessagePayload + *

            Generated after a successful Verify Customer's Email request.

            * *
            * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessagePayloadImpl.java index 7e35e978d0a..428d945986b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailVerifiedMessagePayloadImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerEmailVerifiedMessagePayload + *

            Generated after a successful Verify Customer's Email request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailVerifiedMessagePayloadImpl implements CustomerEmailVerifiedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessage.java index 5b118091061..643d869d258 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerFirstNameSetMessage + *

            Generated after a successful Set First Name update action.

            * *
            * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface CustomerFirstNameSetMessage extends Message { String CUSTOMER_FIRST_NAME_SET = "CustomerFirstNameSet"; /** - * + *

            The firstName that was set during the Set First Name update action.

            */ @JsonProperty("firstName") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessageBuilder.java index 62b62f840e8..02a754ed342 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerFirstNameSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerFirstNameSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerFirstNameSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerFirstNameSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerFirstNameSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerFirstNameSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerFirstNameSetMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *

            Value of createdAt.

            */ public CustomerFirstNameSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerFirstNameSetMessageBuilder lastModifiedAt(final java.time.ZonedDa } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerFirstNameSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerFirstNameSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerFirstNameSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerFirstNameSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerFirstNameSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerFirstNameSetMessageBuilder sequenceNumber(final Long sequenceNumb } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerFirstNameSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerFirstNameSetMessageBuilder resource(final com.commercetools.api.m } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerFirstNameSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerFirstNameSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerFirstNameSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerFirstNameSetMessageBuilder resourceVersion(final Long resourceVer } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerFirstNameSetMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerFirstNameSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerFirstNameSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerFirstNameSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            The firstName that was set during the Set First Name update action.

            */ public CustomerFirstNameSetMessageBuilder firstName(@Nullable final String firstName) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessageImpl.java index 3b09598efc3..e0eeaeddf60 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerFirstNameSetMessage + *

            Generated after a successful Set First Name update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerFirstNameSetMessageImpl implements CustomerFirstNameSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerFirstNameSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            The firstName that was set during the Set First Name update action.

            */ public String getFirstName() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayload.java index 2ff7938ba56..df3e0d8fb35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerFirstNameSetMessagePayload + *

            Generated after a successful Set First Name update action.

            * *
            * Example to create an instance using the builder pattern @@ -29,7 +29,7 @@ public interface CustomerFirstNameSetMessagePayload extends MessagePayload { String CUSTOMER_FIRST_NAME_SET = "CustomerFirstNameSet"; /** - * + *

            The firstName that was set during the Set First Name update action.

            */ @JsonProperty("firstName") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadBuilder.java index 0f087f3cb13..47e3c5c18d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadBuilder.java @@ -26,7 +26,7 @@ public class CustomerFirstNameSetMessagePayloadBuilder implements BuilderThe firstName that was set during the Set First Name update action.

            */ public CustomerFirstNameSetMessagePayloadBuilder firstName(@Nullable final String firstName) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadImpl.java index 817d2cc5f60..bb8daa5d251 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerFirstNameSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerFirstNameSetMessagePayload + *

            Generated after a successful Set First Name update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerFirstNameSetMessagePayloadImpl implements CustomerFirstNameSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            The firstName that was set during the Set First Name update action.

            */ public String getFirstName() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessage.java index d2be0506009..865734bb24f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerGroupSetMessage + *

            Generated after a successful Set Customer Group update action.

            * *
            * Example to create an instance using the builder pattern @@ -39,7 +39,7 @@ public interface CustomerGroupSetMessage extends Message { String CUSTOMER_GROUP_SET = "CustomerGroupSet"; /** - *

            Reference to a CustomerGroup.

            + *

            Customer Group that was set during the Set Customer Group update action.

            */ @Valid @JsonProperty("customerGroup") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageBuilder.java index 4ef438d742b..ea7759af940 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerGroupSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerGroupSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerGroupSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerGroupSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerGroupSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerGroupSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerGroupSetMessageBuilder createdAt(final java.time.ZonedDateTime cr } /** - * + *

            Value of createdAt.

            */ public CustomerGroupSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerGroupSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTi } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerGroupSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerGroupSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerGroupSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerGroupSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerGroupSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerGroupSetMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerGroupSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerGroupSetMessageBuilder resource(final com.commercetools.api.model } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerGroupSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerGroupSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerGroupSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerGroupSetMessageBuilder resourceVersion(final Long resourceVersion } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerGroupSetMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerGroupSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerGroupSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerGroupSetMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            Reference to a CustomerGroup.

            + *

            Customer Group that was set during the Set Customer Group update action.

            */ public CustomerGroupSetMessageBuilder customerGroup( @@ -204,7 +204,7 @@ public CustomerGroupSetMessageBuilder customerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            Customer Group that was set during the Set Customer Group update action.

            */ public CustomerGroupSetMessageBuilder customerGroup( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageImpl.java index 8ea57f18ea1..d44529200b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerGroupSetMessage + *

            Generated after a successful Set Customer Group update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerGroupSetMessageImpl implements CustomerGroupSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerGroupSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            Reference to a CustomerGroup.

            + *

            Customer Group that was set during the Set Customer Group update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getCustomerGroup() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayload.java index f4177854973..4d503748169 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerGroupSetMessagePayload + *

            Generated after a successful Set Customer Group update action.

            * *
            * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface CustomerGroupSetMessagePayload extends MessagePayload { String CUSTOMER_GROUP_SET = "CustomerGroupSet"; /** - *

            Reference to a CustomerGroup.

            + *

            Customer Group that was set during the Set Customer Group update action.

            */ @Valid @JsonProperty("customerGroup") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadBuilder.java index 8a65608fdef..cf717f64f15 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadBuilder.java @@ -27,7 +27,7 @@ public class CustomerGroupSetMessagePayloadBuilder implements BuilderReference to a CustomerGroup.

            + *

            Customer Group that was set during the Set Customer Group update action.

            */ public CustomerGroupSetMessagePayloadBuilder customerGroup( @@ -39,7 +39,7 @@ public CustomerGroupSetMessagePayloadBuilder customerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            Customer Group that was set during the Set Customer Group update action.

            */ public CustomerGroupSetMessagePayloadBuilder customerGroup( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadImpl.java index fad7190dd9f..bbf8787e93f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerGroupSetMessagePayload + *

            Generated after a successful Set Customer Group update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerGroupSetMessagePayloadImpl implements CustomerGroupSetMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - *

            Reference to a CustomerGroup.

            + *

            Customer Group that was set during the Set Customer Group update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getCustomerGroup() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessage.java index 3ba1f9e08a4..0ba82c6b4b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerLastNameSetMessage + *

            Generated after a successful Set Last Name update action.

            * *
            * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface CustomerLastNameSetMessage extends Message { String CUSTOMER_LAST_NAME_SET = "CustomerLastNameSet"; /** - * + *

            The lastName that was set during the Set Last Name update action.

            */ @JsonProperty("lastName") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessageBuilder.java index 61f7439e138..643217d5f0b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerLastNameSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerLastNameSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerLastNameSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerLastNameSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerLastNameSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerLastNameSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerLastNameSetMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

            Value of createdAt.

            */ public CustomerLastNameSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerLastNameSetMessageBuilder lastModifiedAt(final java.time.ZonedDat } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerLastNameSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerLastNameSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerLastNameSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerLastNameSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerLastNameSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerLastNameSetMessageBuilder sequenceNumber(final Long sequenceNumbe } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerLastNameSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerLastNameSetMessageBuilder resource(final com.commercetools.api.mo } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerLastNameSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerLastNameSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerLastNameSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerLastNameSetMessageBuilder resourceVersion(final Long resourceVers } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerLastNameSetMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerLastNameSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerLastNameSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerLastNameSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            The lastName that was set during the Set Last Name update action.

            */ public CustomerLastNameSetMessageBuilder lastName(@Nullable final String lastName) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessageImpl.java index 08072ec7e43..5da147d975a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerLastNameSetMessage + *

            Generated after a successful Set Last Name update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerLastNameSetMessageImpl implements CustomerLastNameSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerLastNameSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            The lastName that was set during the Set Last Name update action.

            */ public String getLastName() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayload.java index 55fa483df5d..4b24a415081 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerLastNameSetMessagePayload + *

            Generated after a successful Set Last Name update action.

            * *
            * Example to create an instance using the builder pattern @@ -29,7 +29,7 @@ public interface CustomerLastNameSetMessagePayload extends MessagePayload { String CUSTOMER_LAST_NAME_SET = "CustomerLastNameSet"; /** - * + *

            The lastName that was set during the Set Last Name update action.

            */ @JsonProperty("lastName") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadBuilder.java index de253e71412..2a5fdf666a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadBuilder.java @@ -26,7 +26,7 @@ public class CustomerLastNameSetMessagePayloadBuilder implements BuilderThe lastName that was set during the Set Last Name update action.

            */ public CustomerLastNameSetMessagePayloadBuilder lastName(@Nullable final String lastName) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadImpl.java index d65f2a43958..9083fa701a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerLastNameSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerLastNameSetMessagePayload + *

            Generated after a successful Set Last Name update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerLastNameSetMessagePayloadImpl implements CustomerLastNameSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            The lastName that was set during the Set Last Name update action.

            */ public String getLastName() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessage.java index 72657db77f2..873e6f10b85 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessage.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerPasswordUpdatedMessage + *

            Generated after a successful Reset Customer's Password, Reset Customer's Password in a Store, Change Customer's Password, or Change Customer's Password in a Store request. This Message is also produced during equivalent requests to the My Customer Profile endpoint.

            * *
            * Example to create an instance using the builder pattern @@ -39,7 +39,7 @@ public interface CustomerPasswordUpdatedMessage extends Message { String CUSTOMER_PASSWORD_UPDATED = "CustomerPasswordUpdated"; /** - *

            true, if password has been updated during Customer's Password Reset workflow.

            + *

            Whether the Customer's password was updated during the Customer's Password Reset workflow.

            */ @NotNull @JsonProperty("reset") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageBuilder.java index 1f83868d1bf..abae4826f01 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerPasswordUpdatedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerPasswordUpdatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerPasswordUpdatedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerPasswordUpdatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerPasswordUpdatedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerPasswordUpdatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerPasswordUpdatedMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *

            Value of createdAt.

            */ public CustomerPasswordUpdatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerPasswordUpdatedMessageBuilder lastModifiedAt(final java.time.Zone } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerPasswordUpdatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerPasswordUpdatedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerPasswordUpdatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerPasswordUpdatedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerPasswordUpdatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerPasswordUpdatedMessageBuilder sequenceNumber(final Long sequenceN } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerPasswordUpdatedMessageBuilder resource( @@ -152,7 +152,7 @@ public CustomerPasswordUpdatedMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerPasswordUpdatedMessageBuilder resource( @@ -162,7 +162,7 @@ public CustomerPasswordUpdatedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerPasswordUpdatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public CustomerPasswordUpdatedMessageBuilder resourceVersion(final Long resource } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerPasswordUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public CustomerPasswordUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerPasswordUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public CustomerPasswordUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            true, if password has been updated during Customer's Password Reset workflow.

            + *

            Whether the Customer's password was updated during the Customer's Password Reset workflow.

            */ public CustomerPasswordUpdatedMessageBuilder reset(final Boolean reset) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageImpl.java index 923f1461b77..e3ce951928b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerPasswordUpdatedMessage + *

            Generated after a successful Reset Customer's Password, Reset Customer's Password in a Store, Change Customer's Password, or Change Customer's Password in a Store request. This Message is also produced during equivalent requests to the My Customer Profile endpoint.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerPasswordUpdatedMessageImpl implements CustomerPasswordUpdatedMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerPasswordUpdatedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            true, if password has been updated during Customer's Password Reset workflow.

            + *

            Whether the Customer's password was updated during the Customer's Password Reset workflow.

            */ public Boolean getReset() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayload.java index 553eeafb09e..f55ad0283ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayload.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerPasswordUpdatedMessagePayload + *

            Generated after a successful Reset Customer's Password, Reset Customer's Password in a Store, Change Customer's Password, or Change Customer's Password in a Store request. This Message is also produced during equivalent requests to the My Customer Profile endpoint.

            * *
            * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface CustomerPasswordUpdatedMessagePayload extends MessagePayload { String CUSTOMER_PASSWORD_UPDATED = "CustomerPasswordUpdated"; /** - *

            true, if password has been updated during Customer's Password Reset workflow.

            + *

            Whether the Customer's password was updated during the Customer's Password Reset workflow.

            */ @NotNull @JsonProperty("reset") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadBuilder.java index 2a6e096d5c5..12dfb59eb0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadBuilder.java @@ -24,7 +24,7 @@ public class CustomerPasswordUpdatedMessagePayloadBuilder implements Buildertrue, if password has been updated during Customer's Password Reset workflow.

            + *

            Whether the Customer's password was updated during the Customer's Password Reset workflow.

            */ public CustomerPasswordUpdatedMessagePayloadBuilder reset(final Boolean reset) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadImpl.java index 05b698a4c61..93e6fb90487 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordUpdatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerPasswordUpdatedMessagePayload + *

            Generated after a successful Reset Customer's Password, Reset Customer's Password in a Store, Change Customer's Password, or Change Customer's Password in a Store request. This Message is also produced during equivalent requests to the My Customer Profile endpoint.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerPasswordUpdatedMessagePayloadImpl implements CustomerPasswordUpdatedMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - *

            true, if password has been updated during Customer's Password Reset workflow.

            + *

            Whether the Customer's password was updated during the Customer's Password Reset workflow.

            */ public Boolean getReset() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessage.java index fdb845a1adc..346296f2c2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerTitleSetMessage + *

            Generated after a successful Set Title update action.

            * *
            * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface CustomerTitleSetMessage extends Message { String CUSTOMER_TITLE_SET = "CustomerTitleSet"; /** - * + *

            The title that was set during the Set Title update action.

            */ @JsonProperty("title") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessageBuilder.java index 4b72bcd8d61..c64f25ad75c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessageBuilder.java @@ -57,7 +57,7 @@ public class CustomerTitleSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public CustomerTitleSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public CustomerTitleSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public CustomerTitleSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public CustomerTitleSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public CustomerTitleSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public CustomerTitleSetMessageBuilder createdAt(final java.time.ZonedDateTime cr } /** - * + *

            Value of createdAt.

            */ public CustomerTitleSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public CustomerTitleSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTi } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerTitleSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public CustomerTitleSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public CustomerTitleSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public CustomerTitleSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public CustomerTitleSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public CustomerTitleSetMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerTitleSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public CustomerTitleSetMessageBuilder resource(final com.commercetools.api.model } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public CustomerTitleSetMessageBuilder resource( @@ -161,7 +161,7 @@ public CustomerTitleSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public CustomerTitleSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public CustomerTitleSetMessageBuilder resourceVersion(final Long resourceVersion } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerTitleSetMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public CustomerTitleSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public CustomerTitleSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public CustomerTitleSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            The title that was set during the Set Title update action.

            */ public CustomerTitleSetMessageBuilder title(@Nullable final String title) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessageImpl.java index e4862d5c62a..c3eba491a7c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerTitleSetMessage + *

            Generated after a successful Set Title update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerTitleSetMessageImpl implements CustomerTitleSetMessage, ModelBase { @@ -74,7 +74,7 @@ public CustomerTitleSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            The title that was set during the Set Title update action.

            */ public String getTitle() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayload.java index 98fa1a791d8..78868ffb0d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomerTitleSetMessagePayload + *

            Generated after a successful Set Title update action.

            * *
            * Example to create an instance using the builder pattern @@ -29,7 +29,7 @@ public interface CustomerTitleSetMessagePayload extends MessagePayload { String CUSTOMER_TITLE_SET = "CustomerTitleSet"; /** - * + *

            The title that was set during the Set Title update action.

            */ @JsonProperty("title") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadBuilder.java index 2c65e2bbcbd..b23068a7c64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadBuilder.java @@ -26,7 +26,7 @@ public class CustomerTitleSetMessagePayloadBuilder implements BuilderThe title that was set during the Set Title update action.

            */ public CustomerTitleSetMessagePayloadBuilder title(@Nullable final String title) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadImpl.java index 3eaf19d4a16..ff2f0a48740 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerTitleSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomerTitleSetMessagePayload + *

            Generated after a successful Set Title update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerTitleSetMessagePayloadImpl implements CustomerTitleSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            The title that was set during the Set Title update action.

            */ public String getTitle() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessage.java index 7ba95a6e490..4aadfe29f1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * DeliveryAddedMessage + *

            Generated after a successful Add Delivery update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,15 +41,24 @@ public interface DeliveryAddedMessage extends OrderMessage { String DELIVERY_ADDED = "DeliveryAdded"; /** - * + *

            Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

            */ @NotNull @Valid @JsonProperty("delivery") public Delivery getDelivery(); + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDelivery(final Delivery delivery); + public void setShippingKey(final String shippingKey); + public static DeliveryAddedMessage of() { return new DeliveryAddedMessageImpl(); } @@ -67,6 +76,7 @@ public static DeliveryAddedMessage of(final DeliveryAddedMessage template) { instance.setResourceVersion(template.getResourceVersion()); instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); instance.setDelivery(template.getDelivery()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessageBuilder.java index a4eadb0ab16..57914f7f146 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessageBuilder.java @@ -56,8 +56,11 @@ public class DeliveryAddedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public DeliveryAddedMessageBuilder id(final String id) { @@ -66,7 +69,7 @@ public DeliveryAddedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public DeliveryAddedMessageBuilder version(final Long version) { @@ -75,7 +78,7 @@ public DeliveryAddedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public DeliveryAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +87,7 @@ public DeliveryAddedMessageBuilder createdAt(final java.time.ZonedDateTime creat } /** - * + *

            Value of createdAt.

            */ public DeliveryAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +96,7 @@ public DeliveryAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public DeliveryAddedMessageBuilder lastModifiedBy( @@ -103,7 +106,7 @@ public DeliveryAddedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public DeliveryAddedMessageBuilder lastModifiedBy( @@ -133,7 +136,7 @@ public DeliveryAddedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public DeliveryAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +145,7 @@ public DeliveryAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public DeliveryAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +154,7 @@ public DeliveryAddedMessageBuilder resource(final com.commercetools.api.models.c } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public DeliveryAddedMessageBuilder resource( @@ -161,7 +164,7 @@ public DeliveryAddedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public DeliveryAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +173,7 @@ public DeliveryAddedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public DeliveryAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +185,7 @@ public DeliveryAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public DeliveryAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +195,7 @@ public DeliveryAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

            */ public DeliveryAddedMessageBuilder delivery( @@ -202,7 +205,7 @@ public DeliveryAddedMessageBuilder delivery( } /** - * + *

            Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

            */ public DeliveryAddedMessageBuilder delivery(final com.commercetools.api.models.order.Delivery delivery) { @@ -210,6 +213,15 @@ public DeliveryAddedMessageBuilder delivery(final com.commercetools.api.models.o return this; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public DeliveryAddedMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -257,6 +269,11 @@ public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public DeliveryAddedMessage build() { Objects.requireNonNull(id, DeliveryAddedMessage.class + ": id is missing"); Objects.requireNonNull(version, DeliveryAddedMessage.class + ": version is missing"); @@ -267,7 +284,7 @@ public DeliveryAddedMessage build() { Objects.requireNonNull(resourceVersion, DeliveryAddedMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(delivery, DeliveryAddedMessage.class + ": delivery is missing"); return new DeliveryAddedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery, shippingKey); } /** @@ -275,7 +292,7 @@ public DeliveryAddedMessage build() { */ public DeliveryAddedMessage buildUnchecked() { return new DeliveryAddedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery, shippingKey); } public static DeliveryAddedMessageBuilder of() { @@ -295,6 +312,7 @@ public static DeliveryAddedMessageBuilder of(final DeliveryAddedMessage template builder.resourceVersion = template.getResourceVersion(); builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); builder.delivery = template.getDelivery(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessageImpl.java index 89c7e6422cf..65e90c6351a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * DeliveryAddedMessage + *

            Generated after a successful Add Delivery update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryAddedMessageImpl implements DeliveryAddedMessage, ModelBase { @@ -44,6 +44,8 @@ public class DeliveryAddedMessageImpl implements DeliveryAddedMessage, ModelBase private com.commercetools.api.models.order.Delivery delivery; + private String shippingKey; + @JsonCreator DeliveryAddedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -54,7 +56,8 @@ public class DeliveryAddedMessageImpl implements DeliveryAddedMessage, ModelBase @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, - @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery) { + @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -66,6 +69,7 @@ public class DeliveryAddedMessageImpl implements DeliveryAddedMessage, ModelBase this.resourceVersion = resourceVersion; this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; this.delivery = delivery; + this.shippingKey = shippingKey; this.type = DELIVERY_ADDED; } @@ -74,7 +78,7 @@ public DeliveryAddedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +86,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +94,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +158,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,13 +166,21 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

            */ public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -214,6 +226,10 @@ public void setDelivery(final com.commercetools.api.models.order.Delivery delive this.delivery = delivery; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -236,6 +252,7 @@ public boolean equals(Object o) { .append(type, that.type) .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) .append(delivery, that.delivery) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -253,6 +270,7 @@ public int hashCode() { .append(type) .append(resourceUserProvidedIdentifiers) .append(delivery) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayload.java index 86957ea319c..8e47e561e83 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * DeliveryAddedMessagePayload + *

            Generated after a successful Add Delivery update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,15 +34,24 @@ public interface DeliveryAddedMessagePayload extends OrderMessagePayload { String DELIVERY_ADDED = "DeliveryAdded"; /** - * + *

            Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

            */ @NotNull @Valid @JsonProperty("delivery") public Delivery getDelivery(); + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDelivery(final Delivery delivery); + public void setShippingKey(final String shippingKey); + public static DeliveryAddedMessagePayload of() { return new DeliveryAddedMessagePayloadImpl(); } @@ -50,6 +59,7 @@ public static DeliveryAddedMessagePayload of() { public static DeliveryAddedMessagePayload of(final DeliveryAddedMessagePayload template) { DeliveryAddedMessagePayloadImpl instance = new DeliveryAddedMessagePayloadImpl(); instance.setDelivery(template.getDelivery()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayloadBuilder.java index 741ec1a85c8..0eeb79f5d26 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -24,8 +26,11 @@ public class DeliveryAddedMessagePayloadBuilder implements BuilderDelivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

            */ public DeliveryAddedMessagePayloadBuilder delivery( @@ -35,7 +40,7 @@ public DeliveryAddedMessagePayloadBuilder delivery( } /** - * + *

            Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

            */ public DeliveryAddedMessagePayloadBuilder delivery(final com.commercetools.api.models.order.Delivery delivery) { @@ -43,20 +48,34 @@ public DeliveryAddedMessagePayloadBuilder delivery(final com.commercetools.api.m return this; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public DeliveryAddedMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public DeliveryAddedMessagePayload build() { Objects.requireNonNull(delivery, DeliveryAddedMessagePayload.class + ": delivery is missing"); - return new DeliveryAddedMessagePayloadImpl(delivery); + return new DeliveryAddedMessagePayloadImpl(delivery, shippingKey); } /** * builds DeliveryAddedMessagePayload without checking for non null required values */ public DeliveryAddedMessagePayload buildUnchecked() { - return new DeliveryAddedMessagePayloadImpl(delivery); + return new DeliveryAddedMessagePayloadImpl(delivery, shippingKey); } public static DeliveryAddedMessagePayloadBuilder of() { @@ -66,6 +85,7 @@ public static DeliveryAddedMessagePayloadBuilder of() { public static DeliveryAddedMessagePayloadBuilder of(final DeliveryAddedMessagePayload template) { DeliveryAddedMessagePayloadBuilder builder = new DeliveryAddedMessagePayloadBuilder(); builder.delivery = template.getDelivery(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayloadImpl.java index b5eaaf231c6..d53997ca8bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * DeliveryAddedMessagePayload + *

            Generated after a successful Add Delivery update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryAddedMessagePayloadImpl implements DeliveryAddedMessagePayload, ModelBase { @@ -24,10 +24,14 @@ public class DeliveryAddedMessagePayloadImpl implements DeliveryAddedMessagePayl private com.commercetools.api.models.order.Delivery delivery; + private String shippingKey; + @JsonCreator DeliveryAddedMessagePayloadImpl( - @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery) { + @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery, + @JsonProperty("shippingKey") final String shippingKey) { this.delivery = delivery; + this.shippingKey = shippingKey; this.type = DELIVERY_ADDED; } @@ -44,17 +48,29 @@ public String getType() { } /** - * + *

            Delivery that was added to the Order. The Delivery in the Message body does not contain Parcels if those were part of the initial Add Delivery update action. In that case, the update action produces an additional ParcelAddedToDelivery Message containing information about the Parcels.

            */ public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setDelivery(final com.commercetools.api.models.order.Delivery delivery) { this.delivery = delivery; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -65,12 +81,15 @@ public boolean equals(Object o) { DeliveryAddedMessagePayloadImpl that = (DeliveryAddedMessagePayloadImpl) o; - return new EqualsBuilder().append(type, that.type).append(delivery, that.delivery).isEquals(); + return new EqualsBuilder().append(type, that.type) + .append(delivery, that.delivery) + .append(shippingKey, that.shippingKey) + .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).append(delivery).toHashCode(); + return new HashCodeBuilder(17, 37).append(type).append(delivery).append(shippingKey).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessage.java index 3eea4a6aa35..23425fd13c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * DeliveryAddressSetMessage + *

            Generated after a successful Set Delivery Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,32 +41,41 @@ public interface DeliveryAddressSetMessage extends OrderMessage { String DELIVERY_ADDRESS_SET = "DeliveryAddressSet"; /** - * + *

            Unique identifier of the Parcel.

            */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

            Address after the Set Delivery Address update action.

            */ @Valid @JsonProperty("address") public Address getAddress(); /** - * + *

            Address before the Set Delivery Address update action.

            */ @Valid @JsonProperty("oldAddress") public Address getOldAddress(); + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); public void setAddress(final Address address); public void setOldAddress(final Address oldAddress); + public void setShippingKey(final String shippingKey); + public static DeliveryAddressSetMessage of() { return new DeliveryAddressSetMessageImpl(); } @@ -86,6 +95,7 @@ public static DeliveryAddressSetMessage of(final DeliveryAddressSetMessage templ instance.setDeliveryId(template.getDeliveryId()); instance.setAddress(template.getAddress()); instance.setOldAddress(template.getOldAddress()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageBuilder.java index f11489b76b7..9e62501dd50 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageBuilder.java @@ -62,8 +62,11 @@ public class DeliveryAddressSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public DeliveryAddressSetMessageBuilder id(final String id) { @@ -72,7 +75,7 @@ public DeliveryAddressSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public DeliveryAddressSetMessageBuilder version(final Long version) { @@ -81,7 +84,7 @@ public DeliveryAddressSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public DeliveryAddressSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +93,7 @@ public DeliveryAddressSetMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

            Value of createdAt.

            */ public DeliveryAddressSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +102,7 @@ public DeliveryAddressSetMessageBuilder lastModifiedAt(final java.time.ZonedDate } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public DeliveryAddressSetMessageBuilder lastModifiedBy( @@ -109,7 +112,7 @@ public DeliveryAddressSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public DeliveryAddressSetMessageBuilder lastModifiedBy( @@ -139,7 +142,7 @@ public DeliveryAddressSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public DeliveryAddressSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +151,7 @@ public DeliveryAddressSetMessageBuilder sequenceNumber(final Long sequenceNumber } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public DeliveryAddressSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -157,7 +160,7 @@ public DeliveryAddressSetMessageBuilder resource(final com.commercetools.api.mod } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public DeliveryAddressSetMessageBuilder resource( @@ -167,7 +170,7 @@ public DeliveryAddressSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public DeliveryAddressSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -176,7 +179,7 @@ public DeliveryAddressSetMessageBuilder resourceVersion(final Long resourceVersi } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public DeliveryAddressSetMessageBuilder resourceUserProvidedIdentifiers( @@ -188,7 +191,7 @@ public DeliveryAddressSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public DeliveryAddressSetMessageBuilder resourceUserProvidedIdentifiers( @@ -198,7 +201,7 @@ public DeliveryAddressSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Unique identifier of the Parcel.

            */ public DeliveryAddressSetMessageBuilder deliveryId(final String deliveryId) { @@ -207,7 +210,7 @@ public DeliveryAddressSetMessageBuilder deliveryId(final String deliveryId) { } /** - * + *

            Address after the Set Delivery Address update action.

            */ public DeliveryAddressSetMessageBuilder address( @@ -217,7 +220,7 @@ public DeliveryAddressSetMessageBuilder address( } /** - * + *

            Address after the Set Delivery Address update action.

            */ public DeliveryAddressSetMessageBuilder address( @@ -227,7 +230,7 @@ public DeliveryAddressSetMessageBuilder address( } /** - * + *

            Address before the Set Delivery Address update action.

            */ public DeliveryAddressSetMessageBuilder oldAddress( @@ -237,7 +240,7 @@ public DeliveryAddressSetMessageBuilder oldAddress( } /** - * + *

            Address before the Set Delivery Address update action.

            */ public DeliveryAddressSetMessageBuilder oldAddress( @@ -246,6 +249,15 @@ public DeliveryAddressSetMessageBuilder oldAddress( return this; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public DeliveryAddressSetMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -303,6 +315,11 @@ public com.commercetools.api.models.common.Address getOldAddress() { return this.oldAddress; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public DeliveryAddressSetMessage build() { Objects.requireNonNull(id, DeliveryAddressSetMessage.class + ": id is missing"); Objects.requireNonNull(version, DeliveryAddressSetMessage.class + ": version is missing"); @@ -313,8 +330,8 @@ public DeliveryAddressSetMessage build() { Objects.requireNonNull(resourceVersion, DeliveryAddressSetMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(deliveryId, DeliveryAddressSetMessage.class + ": deliveryId is missing"); return new DeliveryAddressSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, address, - oldAddress); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, address, oldAddress, + shippingKey); } /** @@ -322,8 +339,8 @@ public DeliveryAddressSetMessage build() { */ public DeliveryAddressSetMessage buildUnchecked() { return new DeliveryAddressSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, address, - oldAddress); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, address, oldAddress, + shippingKey); } public static DeliveryAddressSetMessageBuilder of() { @@ -345,6 +362,7 @@ public static DeliveryAddressSetMessageBuilder of(final DeliveryAddressSetMessag builder.deliveryId = template.getDeliveryId(); builder.address = template.getAddress(); builder.oldAddress = template.getOldAddress(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageImpl.java index d350bca3276..1bca22a6a8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * DeliveryAddressSetMessage + *

            Generated after a successful Set Delivery Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryAddressSetMessageImpl implements DeliveryAddressSetMessage, ModelBase { @@ -48,6 +48,8 @@ public class DeliveryAddressSetMessageImpl implements DeliveryAddressSetMessage, private com.commercetools.api.models.common.Address oldAddress; + private String shippingKey; + @JsonCreator DeliveryAddressSetMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -60,7 +62,8 @@ public class DeliveryAddressSetMessageImpl implements DeliveryAddressSetMessage, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, @JsonProperty("deliveryId") final String deliveryId, @JsonProperty("address") final com.commercetools.api.models.common.Address address, - @JsonProperty("oldAddress") final com.commercetools.api.models.common.Address oldAddress) { + @JsonProperty("oldAddress") final com.commercetools.api.models.common.Address oldAddress, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -74,6 +77,7 @@ public class DeliveryAddressSetMessageImpl implements DeliveryAddressSetMessage, this.deliveryId = deliveryId; this.address = address; this.oldAddress = oldAddress; + this.shippingKey = shippingKey; this.type = DELIVERY_ADDRESS_SET; } @@ -82,7 +86,7 @@ public DeliveryAddressSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -90,7 +94,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -98,7 +102,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +110,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -114,7 +118,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -130,7 +134,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -138,7 +142,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +150,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -154,7 +158,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -162,7 +166,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -170,7 +174,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Unique identifier of the Parcel.

            */ public String getDeliveryId() { @@ -178,7 +182,7 @@ public String getDeliveryId() { } /** - * + *

            Address after the Set Delivery Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { @@ -186,13 +190,21 @@ public com.commercetools.api.models.common.Address getAddress() { } /** - * + *

            Address before the Set Delivery Address update action.

            */ public com.commercetools.api.models.common.Address getOldAddress() { return this.oldAddress; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -246,6 +258,10 @@ public void setOldAddress(final com.commercetools.api.models.common.Address oldA this.oldAddress = oldAddress; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -270,6 +286,7 @@ public boolean equals(Object o) { .append(deliveryId, that.deliveryId) .append(address, that.address) .append(oldAddress, that.oldAddress) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -289,6 +306,7 @@ public int hashCode() { .append(deliveryId) .append(address) .append(oldAddress) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayload.java index dcf65469dea..7c8e312e134 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * DeliveryAddressSetMessagePayload + *

            Generated after a successful Set Delivery Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,32 +34,41 @@ public interface DeliveryAddressSetMessagePayload extends OrderMessagePayload { String DELIVERY_ADDRESS_SET = "DeliveryAddressSet"; /** - * + *

            Unique identifier of the Parcel.

            */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

            Address after the Set Delivery Address update action.

            */ @Valid @JsonProperty("address") public Address getAddress(); /** - * + *

            Address before the Set Delivery Address update action.

            */ @Valid @JsonProperty("oldAddress") public Address getOldAddress(); + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); public void setAddress(final Address address); public void setOldAddress(final Address oldAddress); + public void setShippingKey(final String shippingKey); + public static DeliveryAddressSetMessagePayload of() { return new DeliveryAddressSetMessagePayloadImpl(); } @@ -69,6 +78,7 @@ public static DeliveryAddressSetMessagePayload of(final DeliveryAddressSetMessag instance.setDeliveryId(template.getDeliveryId()); instance.setAddress(template.getAddress()); instance.setOldAddress(template.getOldAddress()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadBuilder.java index 9f8d88dc556..e80d58e34bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadBuilder.java @@ -32,8 +32,11 @@ public class DeliveryAddressSetMessagePayloadBuilder implements BuilderUnique identifier of the Parcel.

            */ public DeliveryAddressSetMessagePayloadBuilder deliveryId(final String deliveryId) { @@ -42,7 +45,7 @@ public DeliveryAddressSetMessagePayloadBuilder deliveryId(final String deliveryI } /** - * + *

            Address after the Set Delivery Address update action.

            */ public DeliveryAddressSetMessagePayloadBuilder address( @@ -52,7 +55,7 @@ public DeliveryAddressSetMessagePayloadBuilder address( } /** - * + *

            Address after the Set Delivery Address update action.

            */ public DeliveryAddressSetMessagePayloadBuilder address( @@ -62,7 +65,7 @@ public DeliveryAddressSetMessagePayloadBuilder address( } /** - * + *

            Address before the Set Delivery Address update action.

            */ public DeliveryAddressSetMessagePayloadBuilder oldAddress( @@ -72,7 +75,7 @@ public DeliveryAddressSetMessagePayloadBuilder oldAddress( } /** - * + *

            Address before the Set Delivery Address update action.

            */ public DeliveryAddressSetMessagePayloadBuilder oldAddress( @@ -81,6 +84,15 @@ public DeliveryAddressSetMessagePayloadBuilder oldAddress( return this; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public DeliveryAddressSetMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getDeliveryId() { return this.deliveryId; } @@ -95,16 +107,21 @@ public com.commercetools.api.models.common.Address getOldAddress() { return this.oldAddress; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public DeliveryAddressSetMessagePayload build() { Objects.requireNonNull(deliveryId, DeliveryAddressSetMessagePayload.class + ": deliveryId is missing"); - return new DeliveryAddressSetMessagePayloadImpl(deliveryId, address, oldAddress); + return new DeliveryAddressSetMessagePayloadImpl(deliveryId, address, oldAddress, shippingKey); } /** * builds DeliveryAddressSetMessagePayload without checking for non null required values */ public DeliveryAddressSetMessagePayload buildUnchecked() { - return new DeliveryAddressSetMessagePayloadImpl(deliveryId, address, oldAddress); + return new DeliveryAddressSetMessagePayloadImpl(deliveryId, address, oldAddress, shippingKey); } public static DeliveryAddressSetMessagePayloadBuilder of() { @@ -116,6 +133,7 @@ public static DeliveryAddressSetMessagePayloadBuilder of(final DeliveryAddressSe builder.deliveryId = template.getDeliveryId(); builder.address = template.getAddress(); builder.oldAddress = template.getOldAddress(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadImpl.java index d8c02fbeecb..676428e6ecc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryAddressSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * DeliveryAddressSetMessagePayload + *

            Generated after a successful Set Delivery Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryAddressSetMessagePayloadImpl implements DeliveryAddressSetMessagePayload, ModelBase { @@ -28,13 +28,17 @@ public class DeliveryAddressSetMessagePayloadImpl implements DeliveryAddressSetM private com.commercetools.api.models.common.Address oldAddress; + private String shippingKey; + @JsonCreator DeliveryAddressSetMessagePayloadImpl(@JsonProperty("deliveryId") final String deliveryId, @JsonProperty("address") final com.commercetools.api.models.common.Address address, - @JsonProperty("oldAddress") final com.commercetools.api.models.common.Address oldAddress) { + @JsonProperty("oldAddress") final com.commercetools.api.models.common.Address oldAddress, + @JsonProperty("shippingKey") final String shippingKey) { this.deliveryId = deliveryId; this.address = address; this.oldAddress = oldAddress; + this.shippingKey = shippingKey; this.type = DELIVERY_ADDRESS_SET; } @@ -51,7 +55,7 @@ public String getType() { } /** - * + *

            Unique identifier of the Parcel.

            */ public String getDeliveryId() { @@ -59,7 +63,7 @@ public String getDeliveryId() { } /** - * + *

            Address after the Set Delivery Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { @@ -67,13 +71,21 @@ public com.commercetools.api.models.common.Address getAddress() { } /** - * + *

            Address before the Set Delivery Address update action.

            */ public com.commercetools.api.models.common.Address getOldAddress() { return this.oldAddress; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setDeliveryId(final String deliveryId) { this.deliveryId = deliveryId; } @@ -86,6 +98,10 @@ public void setOldAddress(final com.commercetools.api.models.common.Address oldA this.oldAddress = oldAddress; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -100,6 +116,7 @@ public boolean equals(Object o) { .append(deliveryId, that.deliveryId) .append(address, that.address) .append(oldAddress, that.oldAddress) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -109,6 +126,7 @@ public int hashCode() { .append(deliveryId) .append(address) .append(oldAddress) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessage.java index 9bdc1e03e59..81843b1a0f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * DeliveryItemsUpdatedMessage + *

            Generated after a successful Set Delivery Items update action.

            * *
            * Example to create an instance using the builder pattern @@ -43,14 +43,14 @@ public interface DeliveryItemsUpdatedMessage extends OrderMessage { String DELIVERY_ITEMS_UPDATED = "DeliveryItemsUpdated"; /** - * + *

            Unique identifier of the Delivery.

            */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ @NotNull @Valid @@ -58,13 +58,20 @@ public interface DeliveryItemsUpdatedMessage extends OrderMessage { public List getItems(); /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ @NotNull @Valid @JsonProperty("oldItems") public List getOldItems(); + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); @JsonIgnore @@ -77,6 +84,8 @@ public interface DeliveryItemsUpdatedMessage extends OrderMessage { public void setOldItems(final List oldItems); + public void setShippingKey(final String shippingKey); + public static DeliveryItemsUpdatedMessage of() { return new DeliveryItemsUpdatedMessageImpl(); } @@ -96,6 +105,7 @@ public static DeliveryItemsUpdatedMessage of(final DeliveryItemsUpdatedMessage t instance.setDeliveryId(template.getDeliveryId()); instance.setItems(template.getItems()); instance.setOldItems(template.getOldItems()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessageBuilder.java index c7353c0e096..247b7b2b5a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessageBuilder.java @@ -62,8 +62,11 @@ public class DeliveryItemsUpdatedMessageBuilder implements Builder oldItems; + @Nullable + private String shippingKey; + /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public DeliveryItemsUpdatedMessageBuilder id(final String id) { @@ -72,7 +75,7 @@ public DeliveryItemsUpdatedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public DeliveryItemsUpdatedMessageBuilder version(final Long version) { @@ -81,7 +84,7 @@ public DeliveryItemsUpdatedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public DeliveryItemsUpdatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +93,7 @@ public DeliveryItemsUpdatedMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *

            Value of createdAt.

            */ public DeliveryItemsUpdatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +102,7 @@ public DeliveryItemsUpdatedMessageBuilder lastModifiedAt(final java.time.ZonedDa } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public DeliveryItemsUpdatedMessageBuilder lastModifiedBy( @@ -109,7 +112,7 @@ public DeliveryItemsUpdatedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public DeliveryItemsUpdatedMessageBuilder lastModifiedBy( @@ -139,7 +142,7 @@ public DeliveryItemsUpdatedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public DeliveryItemsUpdatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +151,7 @@ public DeliveryItemsUpdatedMessageBuilder sequenceNumber(final Long sequenceNumb } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public DeliveryItemsUpdatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -157,7 +160,7 @@ public DeliveryItemsUpdatedMessageBuilder resource(final com.commercetools.api.m } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public DeliveryItemsUpdatedMessageBuilder resource( @@ -167,7 +170,7 @@ public DeliveryItemsUpdatedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public DeliveryItemsUpdatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -176,7 +179,7 @@ public DeliveryItemsUpdatedMessageBuilder resourceVersion(final Long resourceVer } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public DeliveryItemsUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -188,7 +191,7 @@ public DeliveryItemsUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public DeliveryItemsUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -198,7 +201,7 @@ public DeliveryItemsUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Unique identifier of the Delivery.

            */ public DeliveryItemsUpdatedMessageBuilder deliveryId(final String deliveryId) { @@ -207,7 +210,7 @@ public DeliveryItemsUpdatedMessageBuilder deliveryId(final String deliveryId) { } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder items(final com.commercetools.api.models.order.DeliveryItem... items) { @@ -216,7 +219,7 @@ public DeliveryItemsUpdatedMessageBuilder items(final com.commercetools.api.mode } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder items( @@ -226,7 +229,7 @@ public DeliveryItemsUpdatedMessageBuilder items( } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder plusItems( @@ -239,7 +242,7 @@ public DeliveryItemsUpdatedMessageBuilder plusItems( } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder plusItems( @@ -252,7 +255,7 @@ public DeliveryItemsUpdatedMessageBuilder plusItems( } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder withItems( @@ -263,7 +266,7 @@ public DeliveryItemsUpdatedMessageBuilder withItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder oldItems( @@ -273,7 +276,7 @@ public DeliveryItemsUpdatedMessageBuilder oldItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder oldItems( @@ -283,7 +286,7 @@ public DeliveryItemsUpdatedMessageBuilder oldItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder plusOldItems( @@ -296,7 +299,7 @@ public DeliveryItemsUpdatedMessageBuilder plusOldItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder plusOldItems( @@ -309,7 +312,7 @@ public DeliveryItemsUpdatedMessageBuilder plusOldItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessageBuilder withOldItems( @@ -319,6 +322,15 @@ public DeliveryItemsUpdatedMessageBuilder withOldItems( return this; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public DeliveryItemsUpdatedMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -374,6 +386,11 @@ public java.util.List getOldIte return this.oldItems; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public DeliveryItemsUpdatedMessage build() { Objects.requireNonNull(id, DeliveryItemsUpdatedMessage.class + ": id is missing"); Objects.requireNonNull(version, DeliveryItemsUpdatedMessage.class + ": version is missing"); @@ -386,7 +403,8 @@ public DeliveryItemsUpdatedMessage build() { Objects.requireNonNull(items, DeliveryItemsUpdatedMessage.class + ": items is missing"); Objects.requireNonNull(oldItems, DeliveryItemsUpdatedMessage.class + ": oldItems is missing"); return new DeliveryItemsUpdatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, items, oldItems); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, items, oldItems, + shippingKey); } /** @@ -394,7 +412,8 @@ public DeliveryItemsUpdatedMessage build() { */ public DeliveryItemsUpdatedMessage buildUnchecked() { return new DeliveryItemsUpdatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, items, oldItems); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, items, oldItems, + shippingKey); } public static DeliveryItemsUpdatedMessageBuilder of() { @@ -416,6 +435,7 @@ public static DeliveryItemsUpdatedMessageBuilder of(final DeliveryItemsUpdatedMe builder.deliveryId = template.getDeliveryId(); builder.items = template.getItems(); builder.oldItems = template.getOldItems(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessageImpl.java index 93a594f1442..a1eb6d718a7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * DeliveryItemsUpdatedMessage + *

            Generated after a successful Set Delivery Items update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryItemsUpdatedMessageImpl implements DeliveryItemsUpdatedMessage, ModelBase { @@ -48,6 +48,8 @@ public class DeliveryItemsUpdatedMessageImpl implements DeliveryItemsUpdatedMess private java.util.List oldItems; + private String shippingKey; + @JsonCreator DeliveryItemsUpdatedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -60,7 +62,8 @@ public class DeliveryItemsUpdatedMessageImpl implements DeliveryItemsUpdatedMess @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, @JsonProperty("deliveryId") final String deliveryId, @JsonProperty("items") final java.util.List items, - @JsonProperty("oldItems") final java.util.List oldItems) { + @JsonProperty("oldItems") final java.util.List oldItems, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -74,6 +77,7 @@ public class DeliveryItemsUpdatedMessageImpl implements DeliveryItemsUpdatedMess this.deliveryId = deliveryId; this.items = items; this.oldItems = oldItems; + this.shippingKey = shippingKey; this.type = DELIVERY_ITEMS_UPDATED; } @@ -82,7 +86,7 @@ public DeliveryItemsUpdatedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -90,7 +94,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -98,7 +102,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +110,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -114,7 +118,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -130,7 +134,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -138,7 +142,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +150,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -154,7 +158,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -162,7 +166,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -170,7 +174,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Unique identifier of the Delivery.

            */ public String getDeliveryId() { @@ -178,7 +182,7 @@ public String getDeliveryId() { } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public java.util.List getItems() { @@ -186,13 +190,21 @@ public java.util.List getItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public java.util.List getOldItems() { return this.oldItems; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -254,6 +266,10 @@ public void setOldItems(final java.util.ListGenerated after a successful Set Delivery Items update action.

            * *
            * Example to create an instance using the builder pattern @@ -36,14 +36,14 @@ public interface DeliveryItemsUpdatedMessagePayload extends OrderMessagePayload String DELIVERY_ITEMS_UPDATED = "DeliveryItemsUpdated"; /** - * + *

            Unique identifier of the Delivery.

            */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ @NotNull @Valid @@ -51,13 +51,20 @@ public interface DeliveryItemsUpdatedMessagePayload extends OrderMessagePayload public List getItems(); /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ @NotNull @Valid @JsonProperty("oldItems") public List getOldItems(); + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); @JsonIgnore @@ -70,6 +77,8 @@ public interface DeliveryItemsUpdatedMessagePayload extends OrderMessagePayload public void setOldItems(final List oldItems); + public void setShippingKey(final String shippingKey); + public static DeliveryItemsUpdatedMessagePayload of() { return new DeliveryItemsUpdatedMessagePayloadImpl(); } @@ -79,6 +88,7 @@ public static DeliveryItemsUpdatedMessagePayload of(final DeliveryItemsUpdatedMe instance.setDeliveryId(template.getDeliveryId()); instance.setItems(template.getItems()); instance.setOldItems(template.getOldItems()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessagePayloadBuilder.java index 4be742f43f9..9fa4aa85fcf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -30,8 +32,11 @@ public class DeliveryItemsUpdatedMessagePayloadBuilder implements Builder oldItems; + @Nullable + private String shippingKey; + /** - * + *

            Unique identifier of the Delivery.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder deliveryId(final String deliveryId) { @@ -40,7 +45,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder deliveryId(final String deliver } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder items( @@ -50,7 +55,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder items( } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder items( @@ -60,7 +65,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder items( } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder plusItems( @@ -73,7 +78,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder plusItems( } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder plusItems( @@ -86,7 +91,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder plusItems( } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder withItems( @@ -97,7 +102,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder withItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder oldItems( @@ -107,7 +112,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder oldItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder oldItems( @@ -117,7 +122,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder oldItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder plusOldItems( @@ -130,7 +135,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder plusOldItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder plusOldItems( @@ -143,7 +148,7 @@ public DeliveryItemsUpdatedMessagePayloadBuilder plusOldItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public DeliveryItemsUpdatedMessagePayloadBuilder withOldItems( @@ -153,6 +158,15 @@ public DeliveryItemsUpdatedMessagePayloadBuilder withOldItems( return this; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public DeliveryItemsUpdatedMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getDeliveryId() { return this.deliveryId; } @@ -165,18 +179,23 @@ public java.util.List getOldIte return this.oldItems; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public DeliveryItemsUpdatedMessagePayload build() { Objects.requireNonNull(deliveryId, DeliveryItemsUpdatedMessagePayload.class + ": deliveryId is missing"); Objects.requireNonNull(items, DeliveryItemsUpdatedMessagePayload.class + ": items is missing"); Objects.requireNonNull(oldItems, DeliveryItemsUpdatedMessagePayload.class + ": oldItems is missing"); - return new DeliveryItemsUpdatedMessagePayloadImpl(deliveryId, items, oldItems); + return new DeliveryItemsUpdatedMessagePayloadImpl(deliveryId, items, oldItems, shippingKey); } /** * builds DeliveryItemsUpdatedMessagePayload without checking for non null required values */ public DeliveryItemsUpdatedMessagePayload buildUnchecked() { - return new DeliveryItemsUpdatedMessagePayloadImpl(deliveryId, items, oldItems); + return new DeliveryItemsUpdatedMessagePayloadImpl(deliveryId, items, oldItems, shippingKey); } public static DeliveryItemsUpdatedMessagePayloadBuilder of() { @@ -188,6 +207,7 @@ public static DeliveryItemsUpdatedMessagePayloadBuilder of(final DeliveryItemsUp builder.deliveryId = template.getDeliveryId(); builder.items = template.getItems(); builder.oldItems = template.getOldItems(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessagePayloadImpl.java index 9ca5cde43ce..4d69b122581 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryItemsUpdatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * DeliveryItemsUpdatedMessagePayload + *

            Generated after a successful Set Delivery Items update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryItemsUpdatedMessagePayloadImpl implements DeliveryItemsUpdatedMessagePayload, ModelBase { @@ -28,13 +28,17 @@ public class DeliveryItemsUpdatedMessagePayloadImpl implements DeliveryItemsUpda private java.util.List oldItems; + private String shippingKey; + @JsonCreator DeliveryItemsUpdatedMessagePayloadImpl(@JsonProperty("deliveryId") final String deliveryId, @JsonProperty("items") final java.util.List items, - @JsonProperty("oldItems") final java.util.List oldItems) { + @JsonProperty("oldItems") final java.util.List oldItems, + @JsonProperty("shippingKey") final String shippingKey) { this.deliveryId = deliveryId; this.items = items; this.oldItems = oldItems; + this.shippingKey = shippingKey; this.type = DELIVERY_ITEMS_UPDATED; } @@ -51,7 +55,7 @@ public String getType() { } /** - * + *

            Unique identifier of the Delivery.

            */ public String getDeliveryId() { @@ -59,7 +63,7 @@ public String getDeliveryId() { } /** - * + *

            Delivery Items after the Set Delivery Items update action.

            */ public java.util.List getItems() { @@ -67,13 +71,21 @@ public java.util.List getItems( } /** - * + *

            Delivery Items before the Set Delivery Items update action.

            */ public java.util.List getOldItems() { return this.oldItems; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setDeliveryId(final String deliveryId) { this.deliveryId = deliveryId; } @@ -94,6 +106,10 @@ public void setOldItems(final java.util.ListGenerated after a successful Remove Delivery update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,15 +41,24 @@ public interface DeliveryRemovedMessage extends OrderMessage { String DELIVERY_REMOVED = "DeliveryRemoved"; /** - * + *

            The Delivery that was removed from the Order.

            */ @NotNull @Valid @JsonProperty("delivery") public Delivery getDelivery(); + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDelivery(final Delivery delivery); + public void setShippingKey(final String shippingKey); + public static DeliveryRemovedMessage of() { return new DeliveryRemovedMessageImpl(); } @@ -67,6 +76,7 @@ public static DeliveryRemovedMessage of(final DeliveryRemovedMessage template) { instance.setResourceVersion(template.getResourceVersion()); instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); instance.setDelivery(template.getDelivery()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessageBuilder.java index c454af48d1e..c600c68e8b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessageBuilder.java @@ -56,8 +56,11 @@ public class DeliveryRemovedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public DeliveryRemovedMessageBuilder id(final String id) { @@ -66,7 +69,7 @@ public DeliveryRemovedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public DeliveryRemovedMessageBuilder version(final Long version) { @@ -75,7 +78,7 @@ public DeliveryRemovedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public DeliveryRemovedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +87,7 @@ public DeliveryRemovedMessageBuilder createdAt(final java.time.ZonedDateTime cre } /** - * + *

            Value of createdAt.

            */ public DeliveryRemovedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +96,7 @@ public DeliveryRemovedMessageBuilder lastModifiedAt(final java.time.ZonedDateTim } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public DeliveryRemovedMessageBuilder lastModifiedBy( @@ -103,7 +106,7 @@ public DeliveryRemovedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public DeliveryRemovedMessageBuilder lastModifiedBy( @@ -133,7 +136,7 @@ public DeliveryRemovedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public DeliveryRemovedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +145,7 @@ public DeliveryRemovedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public DeliveryRemovedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +154,7 @@ public DeliveryRemovedMessageBuilder resource(final com.commercetools.api.models } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public DeliveryRemovedMessageBuilder resource( @@ -161,7 +164,7 @@ public DeliveryRemovedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public DeliveryRemovedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +173,7 @@ public DeliveryRemovedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public DeliveryRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +185,7 @@ public DeliveryRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public DeliveryRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +195,7 @@ public DeliveryRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            The Delivery that was removed from the Order.

            */ public DeliveryRemovedMessageBuilder delivery( @@ -202,7 +205,7 @@ public DeliveryRemovedMessageBuilder delivery( } /** - * + *

            The Delivery that was removed from the Order.

            */ public DeliveryRemovedMessageBuilder delivery(final com.commercetools.api.models.order.Delivery delivery) { @@ -210,6 +213,15 @@ public DeliveryRemovedMessageBuilder delivery(final com.commercetools.api.models return this; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public DeliveryRemovedMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -257,6 +269,11 @@ public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public DeliveryRemovedMessage build() { Objects.requireNonNull(id, DeliveryRemovedMessage.class + ": id is missing"); Objects.requireNonNull(version, DeliveryRemovedMessage.class + ": version is missing"); @@ -267,7 +284,7 @@ public DeliveryRemovedMessage build() { Objects.requireNonNull(resourceVersion, DeliveryRemovedMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(delivery, DeliveryRemovedMessage.class + ": delivery is missing"); return new DeliveryRemovedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery, shippingKey); } /** @@ -275,7 +292,7 @@ public DeliveryRemovedMessage build() { */ public DeliveryRemovedMessage buildUnchecked() { return new DeliveryRemovedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery, shippingKey); } public static DeliveryRemovedMessageBuilder of() { @@ -295,6 +312,7 @@ public static DeliveryRemovedMessageBuilder of(final DeliveryRemovedMessage temp builder.resourceVersion = template.getResourceVersion(); builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); builder.delivery = template.getDelivery(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessageImpl.java index 4232e633475..8a18f45c622 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * DeliveryRemovedMessage + *

            Generated after a successful Remove Delivery update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryRemovedMessageImpl implements DeliveryRemovedMessage, ModelBase { @@ -44,6 +44,8 @@ public class DeliveryRemovedMessageImpl implements DeliveryRemovedMessage, Model private com.commercetools.api.models.order.Delivery delivery; + private String shippingKey; + @JsonCreator DeliveryRemovedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -54,7 +56,8 @@ public class DeliveryRemovedMessageImpl implements DeliveryRemovedMessage, Model @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, - @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery) { + @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -66,6 +69,7 @@ public class DeliveryRemovedMessageImpl implements DeliveryRemovedMessage, Model this.resourceVersion = resourceVersion; this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; this.delivery = delivery; + this.shippingKey = shippingKey; this.type = DELIVERY_REMOVED; } @@ -74,7 +78,7 @@ public DeliveryRemovedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +86,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +94,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +158,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,13 +166,21 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            The Delivery that was removed from the Order.

            */ public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -214,6 +226,10 @@ public void setDelivery(final com.commercetools.api.models.order.Delivery delive this.delivery = delivery; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -236,6 +252,7 @@ public boolean equals(Object o) { .append(type, that.type) .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) .append(delivery, that.delivery) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -253,6 +270,7 @@ public int hashCode() { .append(type) .append(resourceUserProvidedIdentifiers) .append(delivery) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayload.java index 918ec4d938b..5c6f680e6e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * DeliveryRemovedMessagePayload + *

            Generated after a successful Remove Delivery update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,15 +34,24 @@ public interface DeliveryRemovedMessagePayload extends OrderMessagePayload { String DELIVERY_REMOVED = "DeliveryRemoved"; /** - * + *

            The Delivery that was removed from the Order.

            */ @NotNull @Valid @JsonProperty("delivery") public Delivery getDelivery(); + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDelivery(final Delivery delivery); + public void setShippingKey(final String shippingKey); + public static DeliveryRemovedMessagePayload of() { return new DeliveryRemovedMessagePayloadImpl(); } @@ -50,6 +59,7 @@ public static DeliveryRemovedMessagePayload of() { public static DeliveryRemovedMessagePayload of(final DeliveryRemovedMessagePayload template) { DeliveryRemovedMessagePayloadImpl instance = new DeliveryRemovedMessagePayloadImpl(); instance.setDelivery(template.getDelivery()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayloadBuilder.java index 08e0aaf31d2..e81dc1ad714 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -24,8 +26,11 @@ public class DeliveryRemovedMessagePayloadBuilder implements BuilderThe Delivery that was removed from the Order.

            */ public DeliveryRemovedMessagePayloadBuilder delivery( @@ -35,7 +40,7 @@ public DeliveryRemovedMessagePayloadBuilder delivery( } /** - * + *

            The Delivery that was removed from the Order.

            */ public DeliveryRemovedMessagePayloadBuilder delivery(final com.commercetools.api.models.order.Delivery delivery) { @@ -43,20 +48,34 @@ public DeliveryRemovedMessagePayloadBuilder delivery(final com.commercetools.api return this; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public DeliveryRemovedMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public DeliveryRemovedMessagePayload build() { Objects.requireNonNull(delivery, DeliveryRemovedMessagePayload.class + ": delivery is missing"); - return new DeliveryRemovedMessagePayloadImpl(delivery); + return new DeliveryRemovedMessagePayloadImpl(delivery, shippingKey); } /** * builds DeliveryRemovedMessagePayload without checking for non null required values */ public DeliveryRemovedMessagePayload buildUnchecked() { - return new DeliveryRemovedMessagePayloadImpl(delivery); + return new DeliveryRemovedMessagePayloadImpl(delivery, shippingKey); } public static DeliveryRemovedMessagePayloadBuilder of() { @@ -66,6 +85,7 @@ public static DeliveryRemovedMessagePayloadBuilder of() { public static DeliveryRemovedMessagePayloadBuilder of(final DeliveryRemovedMessagePayload template) { DeliveryRemovedMessagePayloadBuilder builder = new DeliveryRemovedMessagePayloadBuilder(); builder.delivery = template.getDelivery(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayloadImpl.java index 85d01f6eed9..bb26ae687ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/DeliveryRemovedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * DeliveryRemovedMessagePayload + *

            Generated after a successful Remove Delivery update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DeliveryRemovedMessagePayloadImpl implements DeliveryRemovedMessagePayload, ModelBase { @@ -24,10 +24,14 @@ public class DeliveryRemovedMessagePayloadImpl implements DeliveryRemovedMessage private com.commercetools.api.models.order.Delivery delivery; + private String shippingKey; + @JsonCreator DeliveryRemovedMessagePayloadImpl( - @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery) { + @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery, + @JsonProperty("shippingKey") final String shippingKey) { this.delivery = delivery; + this.shippingKey = shippingKey; this.type = DELIVERY_REMOVED; } @@ -44,17 +48,29 @@ public String getType() { } /** - * + *

            The Delivery that was removed from the Order.

            */ public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } + /** + *

            User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

            + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setDelivery(final com.commercetools.api.models.order.Delivery delivery) { this.delivery = delivery; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -65,12 +81,15 @@ public boolean equals(Object o) { DeliveryRemovedMessagePayloadImpl that = (DeliveryRemovedMessagePayloadImpl) o; - return new EqualsBuilder().append(type, that.type).append(delivery, that.delivery).isEquals(); + return new EqualsBuilder().append(type, that.type) + .append(delivery, that.delivery) + .append(shippingKey, that.shippingKey) + .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).append(delivery).toHashCode(); + return new HashCodeBuilder(17, 37).append(type).append(delivery).append(shippingKey).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessage.java index e704bf9e24c..fd1c411b2b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * InventoryEntryCreatedMessage + *

            Generated after a successful Create InventoryEntry request.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface InventoryEntryCreatedMessage extends Message { String INVENTORY_ENTRY_CREATED = "InventoryEntryCreated"; /** - * + *

            InventoryEntry that was created.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessageBuilder.java index 9128ebbecd1..e84f41aa444 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class InventoryEntryCreatedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public InventoryEntryCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public InventoryEntryCreatedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public InventoryEntryCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public InventoryEntryCreatedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public InventoryEntryCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public InventoryEntryCreatedMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

            Value of createdAt.

            */ public InventoryEntryCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public InventoryEntryCreatedMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public InventoryEntryCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public InventoryEntryCreatedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public InventoryEntryCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public InventoryEntryCreatedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public InventoryEntryCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public InventoryEntryCreatedMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public InventoryEntryCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public InventoryEntryCreatedMessageBuilder resource(final com.commercetools.api. } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public InventoryEntryCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public InventoryEntryCreatedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public InventoryEntryCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public InventoryEntryCreatedMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public InventoryEntryCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public InventoryEntryCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public InventoryEntryCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public InventoryEntryCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            InventoryEntry that was created.

            */ public InventoryEntryCreatedMessageBuilder inventoryEntry( @@ -202,7 +202,7 @@ public InventoryEntryCreatedMessageBuilder inventoryEntry( } /** - * + *

            InventoryEntry that was created.

            */ public InventoryEntryCreatedMessageBuilder inventoryEntry( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessageImpl.java index b9f7d0d3fa4..030a7511009 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * InventoryEntryCreatedMessage + *

            Generated after a successful Create InventoryEntry request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class InventoryEntryCreatedMessageImpl implements InventoryEntryCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public InventoryEntryCreatedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            InventoryEntry that was created.

            */ public com.commercetools.api.models.inventory.InventoryEntry getInventoryEntry() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayload.java index f93a63bea55..690acba6ea3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * InventoryEntryCreatedMessagePayload + *

            Generated after a successful Create InventoryEntry request.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface InventoryEntryCreatedMessagePayload extends MessagePayload { String INVENTORY_ENTRY_CREATED = "InventoryEntryCreated"; /** - * + *

            InventoryEntry that was created.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayloadBuilder.java index 26ac0c21c7f..779b9dbf255 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class InventoryEntryCreatedMessagePayloadBuilder implements BuilderInventoryEntry that was created.

            */ public InventoryEntryCreatedMessagePayloadBuilder inventoryEntry( @@ -35,7 +35,7 @@ public InventoryEntryCreatedMessagePayloadBuilder inventoryEntry( } /** - * + *

            InventoryEntry that was created.

            */ public InventoryEntryCreatedMessagePayloadBuilder inventoryEntry( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayloadImpl.java index 25c539d41d0..1b2c3dfbc73 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * InventoryEntryCreatedMessagePayload + *

            Generated after a successful Create InventoryEntry request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class InventoryEntryCreatedMessagePayloadImpl implements InventoryEntryCreatedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

            InventoryEntry that was created.

            */ public com.commercetools.api.models.inventory.InventoryEntry getInventoryEntry() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessage.java index 3e23f64f2cb..80d92e14c09 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * InventoryEntryDeletedMessage + *

            Generated after a successful Delete InventoryEntry request.

            * *
            * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface InventoryEntryDeletedMessage extends Message { String INVENTORY_ENTRY_DELETED = "InventoryEntryDeleted"; /** - * + *

            The sku of the InventoryEntry that was deleted.

            */ @NotNull @JsonProperty("sku") public String getSku(); /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry was deleted.

            */ @Valid @JsonProperty("supplyChannel") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessageBuilder.java index a4713f00af4..f3f93056e3b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessageBuilder.java @@ -60,7 +60,7 @@ public class InventoryEntryDeletedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public InventoryEntryDeletedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public InventoryEntryDeletedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public InventoryEntryDeletedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public InventoryEntryDeletedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public InventoryEntryDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public InventoryEntryDeletedMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

            Value of createdAt.

            */ public InventoryEntryDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public InventoryEntryDeletedMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public InventoryEntryDeletedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public InventoryEntryDeletedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public InventoryEntryDeletedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public InventoryEntryDeletedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public InventoryEntryDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public InventoryEntryDeletedMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public InventoryEntryDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public InventoryEntryDeletedMessageBuilder resource(final com.commercetools.api. } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public InventoryEntryDeletedMessageBuilder resource( @@ -164,7 +164,7 @@ public InventoryEntryDeletedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public InventoryEntryDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public InventoryEntryDeletedMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public InventoryEntryDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public InventoryEntryDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public InventoryEntryDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public InventoryEntryDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            The sku of the InventoryEntry that was deleted.

            */ public InventoryEntryDeletedMessageBuilder sku(final String sku) { @@ -204,7 +204,7 @@ public InventoryEntryDeletedMessageBuilder sku(final String sku) { } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry was deleted.

            */ public InventoryEntryDeletedMessageBuilder supplyChannel( @@ -214,7 +214,7 @@ public InventoryEntryDeletedMessageBuilder supplyChannel( } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry was deleted.

            */ public InventoryEntryDeletedMessageBuilder supplyChannel( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessageImpl.java index eb2757d5d30..c884b51711e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * InventoryEntryDeletedMessage + *

            Generated after a successful Delete InventoryEntry request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class InventoryEntryDeletedMessageImpl implements InventoryEntryDeletedMessage, ModelBase { @@ -78,7 +78,7 @@ public InventoryEntryDeletedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            The sku of the InventoryEntry that was deleted.

            */ public String getSku() { @@ -174,7 +174,7 @@ public String getSku() { } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry was deleted.

            */ public com.commercetools.api.models.channel.ChannelReference getSupplyChannel() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayload.java index d9067387e47..680acee8863 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * InventoryEntryDeletedMessagePayload + *

            Generated after a successful Delete InventoryEntry request.

            * *
            * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface InventoryEntryDeletedMessagePayload extends MessagePayload { String INVENTORY_ENTRY_DELETED = "InventoryEntryDeleted"; /** - * + *

            The sku of the InventoryEntry that was deleted.

            */ @NotNull @JsonProperty("sku") public String getSku(); /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry was deleted.

            */ @Valid @JsonProperty("supplyChannel") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayloadBuilder.java index 509cbd3e3b6..0bc14e01383 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayloadBuilder.java @@ -30,7 +30,7 @@ public class InventoryEntryDeletedMessagePayloadBuilder implements BuilderThe sku of the InventoryEntry that was deleted.

            */ public InventoryEntryDeletedMessagePayloadBuilder sku(final String sku) { @@ -39,7 +39,7 @@ public InventoryEntryDeletedMessagePayloadBuilder sku(final String sku) { } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry was deleted.

            */ public InventoryEntryDeletedMessagePayloadBuilder supplyChannel( @@ -49,7 +49,7 @@ public InventoryEntryDeletedMessagePayloadBuilder supplyChannel( } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry was deleted.

            */ public InventoryEntryDeletedMessagePayloadBuilder supplyChannel( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayloadImpl.java index db800bd38e0..1d5e70168a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryDeletedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * InventoryEntryDeletedMessagePayload + *

            Generated after a successful Delete InventoryEntry request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class InventoryEntryDeletedMessagePayloadImpl implements InventoryEntryDeletedMessagePayload, ModelBase { @@ -47,7 +47,7 @@ public String getType() { } /** - * + *

            The sku of the InventoryEntry that was deleted.

            */ public String getSku() { @@ -55,7 +55,7 @@ public String getSku() { } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry was deleted.

            */ public com.commercetools.api.models.channel.ChannelReference getSupplyChannel() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessage.java index 36c00f5b174..83cbd0242ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * InventoryEntryQuantitySetMessage + *

            Generated after a successful Add Quantity, Remove Quantity or Change Quantity update action. Inventory changes as a result of Order creation do not trigger this message.

            * *
            * Example to create an instance using the builder pattern @@ -44,35 +44,35 @@ public interface InventoryEntryQuantitySetMessage extends Message { String INVENTORY_ENTRY_QUANTITY_SET = "InventoryEntryQuantitySet"; /** - * + *

            Quantity on stock for the InventoryEntry before the quantity was updated.

            */ @NotNull @JsonProperty("oldQuantityOnStock") public Long getOldQuantityOnStock(); /** - * + *

            Quantity on stock for the InventoryEntry after the quantity was updated.

            */ @NotNull @JsonProperty("newQuantityOnStock") public Long getNewQuantityOnStock(); /** - * + *

            Available quantity for the InventoryEntry before the quantity was updated.

            */ @NotNull @JsonProperty("oldAvailableQuantity") public Long getOldAvailableQuantity(); /** - * + *

            Available quantity for the InventoryEntry after the quantity was updated.

            */ @NotNull @JsonProperty("newAvailableQuantity") public Long getNewAvailableQuantity(); /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry quantity was set.

            */ @Valid @JsonProperty("supplyChannel") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessageBuilder.java index c3bc3b10aaa..a1d4511da69 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessageBuilder.java @@ -69,7 +69,7 @@ public class InventoryEntryQuantitySetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public InventoryEntryQuantitySetMessageBuilder id(final String id) { @@ -78,7 +78,7 @@ public InventoryEntryQuantitySetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public InventoryEntryQuantitySetMessageBuilder version(final Long version) { @@ -87,7 +87,7 @@ public InventoryEntryQuantitySetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public InventoryEntryQuantitySetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -96,7 +96,7 @@ public InventoryEntryQuantitySetMessageBuilder createdAt(final java.time.ZonedDa } /** - * + *

            Value of createdAt.

            */ public InventoryEntryQuantitySetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -105,7 +105,7 @@ public InventoryEntryQuantitySetMessageBuilder lastModifiedAt(final java.time.Zo } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public InventoryEntryQuantitySetMessageBuilder lastModifiedBy( @@ -115,7 +115,7 @@ public InventoryEntryQuantitySetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public InventoryEntryQuantitySetMessageBuilder lastModifiedBy( @@ -145,7 +145,7 @@ public InventoryEntryQuantitySetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public InventoryEntryQuantitySetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -154,7 +154,7 @@ public InventoryEntryQuantitySetMessageBuilder sequenceNumber(final Long sequenc } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public InventoryEntryQuantitySetMessageBuilder resource( @@ -164,7 +164,7 @@ public InventoryEntryQuantitySetMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public InventoryEntryQuantitySetMessageBuilder resource( @@ -174,7 +174,7 @@ public InventoryEntryQuantitySetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public InventoryEntryQuantitySetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -183,7 +183,7 @@ public InventoryEntryQuantitySetMessageBuilder resourceVersion(final Long resour } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public InventoryEntryQuantitySetMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public InventoryEntryQuantitySetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public InventoryEntryQuantitySetMessageBuilder resourceUserProvidedIdentifiers( @@ -205,7 +205,7 @@ public InventoryEntryQuantitySetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Quantity on stock for the InventoryEntry before the quantity was updated.

            */ public InventoryEntryQuantitySetMessageBuilder oldQuantityOnStock(final Long oldQuantityOnStock) { @@ -214,7 +214,7 @@ public InventoryEntryQuantitySetMessageBuilder oldQuantityOnStock(final Long old } /** - * + *

            Quantity on stock for the InventoryEntry after the quantity was updated.

            */ public InventoryEntryQuantitySetMessageBuilder newQuantityOnStock(final Long newQuantityOnStock) { @@ -223,7 +223,7 @@ public InventoryEntryQuantitySetMessageBuilder newQuantityOnStock(final Long new } /** - * + *

            Available quantity for the InventoryEntry before the quantity was updated.

            */ public InventoryEntryQuantitySetMessageBuilder oldAvailableQuantity(final Long oldAvailableQuantity) { @@ -232,7 +232,7 @@ public InventoryEntryQuantitySetMessageBuilder oldAvailableQuantity(final Long o } /** - * + *

            Available quantity for the InventoryEntry after the quantity was updated.

            */ public InventoryEntryQuantitySetMessageBuilder newAvailableQuantity(final Long newAvailableQuantity) { @@ -241,7 +241,7 @@ public InventoryEntryQuantitySetMessageBuilder newAvailableQuantity(final Long n } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry quantity was set.

            */ public InventoryEntryQuantitySetMessageBuilder supplyChannel( @@ -251,7 +251,7 @@ public InventoryEntryQuantitySetMessageBuilder supplyChannel( } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry quantity was set.

            */ public InventoryEntryQuantitySetMessageBuilder supplyChannel( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessageImpl.java index 2fe2e04e131..f525c93c6c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * InventoryEntryQuantitySetMessage + *

            Generated after a successful Add Quantity, Remove Quantity or Change Quantity update action. Inventory changes as a result of Order creation do not trigger this message.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class InventoryEntryQuantitySetMessageImpl implements InventoryEntryQuantitySetMessage, ModelBase { @@ -91,7 +91,7 @@ public InventoryEntryQuantitySetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -99,7 +99,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -107,7 +107,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -115,7 +115,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -123,7 +123,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -147,7 +147,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -155,7 +155,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -163,7 +163,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -171,7 +171,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -179,7 +179,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Quantity on stock for the InventoryEntry before the quantity was updated.

            */ public Long getOldQuantityOnStock() { @@ -187,7 +187,7 @@ public Long getOldQuantityOnStock() { } /** - * + *

            Quantity on stock for the InventoryEntry after the quantity was updated.

            */ public Long getNewQuantityOnStock() { @@ -195,7 +195,7 @@ public Long getNewQuantityOnStock() { } /** - * + *

            Available quantity for the InventoryEntry before the quantity was updated.

            */ public Long getOldAvailableQuantity() { @@ -203,7 +203,7 @@ public Long getOldAvailableQuantity() { } /** - * + *

            Available quantity for the InventoryEntry after the quantity was updated.

            */ public Long getNewAvailableQuantity() { @@ -211,7 +211,7 @@ public Long getNewAvailableQuantity() { } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry quantity was set.

            */ public com.commercetools.api.models.channel.ChannelReference getSupplyChannel() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayload.java index 64190b297b1..5853daada5f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * InventoryEntryQuantitySetMessagePayload + *

            Generated after a successful Add Quantity, Remove Quantity or Change Quantity update action. Inventory changes as a result of Order creation do not trigger this message.

            * *
            * Example to create an instance using the builder pattern @@ -37,35 +37,35 @@ public interface InventoryEntryQuantitySetMessagePayload extends MessagePayload String INVENTORY_ENTRY_QUANTITY_SET = "InventoryEntryQuantitySet"; /** - * + *

            Quantity on stock for the InventoryEntry before the quantity was updated.

            */ @NotNull @JsonProperty("oldQuantityOnStock") public Long getOldQuantityOnStock(); /** - * + *

            Quantity on stock for the InventoryEntry after the quantity was updated.

            */ @NotNull @JsonProperty("newQuantityOnStock") public Long getNewQuantityOnStock(); /** - * + *

            Available quantity for the InventoryEntry before the quantity was updated.

            */ @NotNull @JsonProperty("oldAvailableQuantity") public Long getOldAvailableQuantity(); /** - * + *

            Available quantity for the InventoryEntry after the quantity was updated.

            */ @NotNull @JsonProperty("newAvailableQuantity") public Long getNewAvailableQuantity(); /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry quantity was set.

            */ @Valid @JsonProperty("supplyChannel") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayloadBuilder.java index 80a2d0e3d7c..cf0001ddfb7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayloadBuilder.java @@ -40,7 +40,7 @@ public class InventoryEntryQuantitySetMessagePayloadBuilder private com.commercetools.api.models.channel.ChannelReference supplyChannel; /** - * + *

            Quantity on stock for the InventoryEntry before the quantity was updated.

            */ public InventoryEntryQuantitySetMessagePayloadBuilder oldQuantityOnStock(final Long oldQuantityOnStock) { @@ -49,7 +49,7 @@ public InventoryEntryQuantitySetMessagePayloadBuilder oldQuantityOnStock(final L } /** - * + *

            Quantity on stock for the InventoryEntry after the quantity was updated.

            */ public InventoryEntryQuantitySetMessagePayloadBuilder newQuantityOnStock(final Long newQuantityOnStock) { @@ -58,7 +58,7 @@ public InventoryEntryQuantitySetMessagePayloadBuilder newQuantityOnStock(final L } /** - * + *

            Available quantity for the InventoryEntry before the quantity was updated.

            */ public InventoryEntryQuantitySetMessagePayloadBuilder oldAvailableQuantity(final Long oldAvailableQuantity) { @@ -67,7 +67,7 @@ public InventoryEntryQuantitySetMessagePayloadBuilder oldAvailableQuantity(final } /** - * + *

            Available quantity for the InventoryEntry after the quantity was updated.

            */ public InventoryEntryQuantitySetMessagePayloadBuilder newAvailableQuantity(final Long newAvailableQuantity) { @@ -76,7 +76,7 @@ public InventoryEntryQuantitySetMessagePayloadBuilder newAvailableQuantity(final } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry quantity was set.

            */ public InventoryEntryQuantitySetMessagePayloadBuilder supplyChannel( @@ -86,7 +86,7 @@ public InventoryEntryQuantitySetMessagePayloadBuilder supplyChannel( } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry quantity was set.

            */ public InventoryEntryQuantitySetMessagePayloadBuilder supplyChannel( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayloadImpl.java index e2384a7957c..3a49838be9c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/InventoryEntryQuantitySetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * InventoryEntryQuantitySetMessagePayload + *

            Generated after a successful Add Quantity, Remove Quantity or Change Quantity update action. Inventory changes as a result of Order creation do not trigger this message.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class InventoryEntryQuantitySetMessagePayloadImpl implements InventoryEntryQuantitySetMessagePayload, ModelBase { @@ -59,7 +59,7 @@ public String getType() { } /** - * + *

            Quantity on stock for the InventoryEntry before the quantity was updated.

            */ public Long getOldQuantityOnStock() { @@ -67,7 +67,7 @@ public Long getOldQuantityOnStock() { } /** - * + *

            Quantity on stock for the InventoryEntry after the quantity was updated.

            */ public Long getNewQuantityOnStock() { @@ -75,7 +75,7 @@ public Long getNewQuantityOnStock() { } /** - * + *

            Available quantity for the InventoryEntry before the quantity was updated.

            */ public Long getOldAvailableQuantity() { @@ -83,7 +83,7 @@ public Long getOldAvailableQuantity() { } /** - * + *

            Available quantity for the InventoryEntry after the quantity was updated.

            */ public Long getNewAvailableQuantity() { @@ -91,7 +91,7 @@ public Long getNewAvailableQuantity() { } /** - *

            Reference to a Channel.

            + *

            Reference to the Channel where the InventoryEntry quantity was set.

            */ public com.commercetools.api.models.channel.ChannelReference getSupplyChannel() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessage.java index 5897e463e5d..bd08dd06a27 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * LineItemStateTransitionMessage + *

            Generated after a successful Transition Line Item State update action.

            * *
            * Example to create an instance using the builder pattern @@ -46,28 +46,28 @@ public interface LineItemStateTransitionMessage extends OrderMessage { String LINE_ITEM_STATE_TRANSITION = "LineItemStateTransition"; /** - * + *

            Unique identifier of the Line Item.

            */ @NotNull @JsonProperty("lineItemId") public String getLineItemId(); /** - * + *

            Date and time (UTC) when the transition of the Line Item State was performed.

            */ @NotNull @JsonProperty("transitionDate") public ZonedDateTime getTransitionDate(); /** - * + *

            Number of Line Items for which the State was transitioned.

            */ @NotNull @JsonProperty("quantity") public Long getQuantity(); /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned from.

            */ @NotNull @Valid @@ -75,7 +75,7 @@ public interface LineItemStateTransitionMessage extends OrderMessage { public StateReference getFromState(); /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned to.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessageBuilder.java index 418610ea299..d23184f9bdb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessageBuilder.java @@ -69,7 +69,7 @@ public class LineItemStateTransitionMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public LineItemStateTransitionMessageBuilder id(final String id) { @@ -78,7 +78,7 @@ public LineItemStateTransitionMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public LineItemStateTransitionMessageBuilder version(final Long version) { @@ -87,7 +87,7 @@ public LineItemStateTransitionMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public LineItemStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -96,7 +96,7 @@ public LineItemStateTransitionMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *

            Value of createdAt.

            */ public LineItemStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -105,7 +105,7 @@ public LineItemStateTransitionMessageBuilder lastModifiedAt(final java.time.Zone } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public LineItemStateTransitionMessageBuilder lastModifiedBy( @@ -115,7 +115,7 @@ public LineItemStateTransitionMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public LineItemStateTransitionMessageBuilder lastModifiedBy( @@ -145,7 +145,7 @@ public LineItemStateTransitionMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public LineItemStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -154,7 +154,7 @@ public LineItemStateTransitionMessageBuilder sequenceNumber(final Long sequenceN } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public LineItemStateTransitionMessageBuilder resource( @@ -164,7 +164,7 @@ public LineItemStateTransitionMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public LineItemStateTransitionMessageBuilder resource( @@ -174,7 +174,7 @@ public LineItemStateTransitionMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public LineItemStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { @@ -183,7 +183,7 @@ public LineItemStateTransitionMessageBuilder resourceVersion(final Long resource } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public LineItemStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public LineItemStateTransitionMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public LineItemStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -205,7 +205,7 @@ public LineItemStateTransitionMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Unique identifier of the Line Item.

            */ public LineItemStateTransitionMessageBuilder lineItemId(final String lineItemId) { @@ -214,7 +214,7 @@ public LineItemStateTransitionMessageBuilder lineItemId(final String lineItemId) } /** - * + *

            Date and time (UTC) when the transition of the Line Item State was performed.

            */ public LineItemStateTransitionMessageBuilder transitionDate(final java.time.ZonedDateTime transitionDate) { @@ -223,7 +223,7 @@ public LineItemStateTransitionMessageBuilder transitionDate(final java.time.Zone } /** - * + *

            Number of Line Items for which the State was transitioned.

            */ public LineItemStateTransitionMessageBuilder quantity(final Long quantity) { @@ -232,7 +232,7 @@ public LineItemStateTransitionMessageBuilder quantity(final Long quantity) { } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned from.

            */ public LineItemStateTransitionMessageBuilder fromState( @@ -242,7 +242,7 @@ public LineItemStateTransitionMessageBuilder fromState( } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned from.

            */ public LineItemStateTransitionMessageBuilder fromState( @@ -252,7 +252,7 @@ public LineItemStateTransitionMessageBuilder fromState( } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned to.

            */ public LineItemStateTransitionMessageBuilder toState( @@ -262,7 +262,7 @@ public LineItemStateTransitionMessageBuilder toState( } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned to.

            */ public LineItemStateTransitionMessageBuilder toState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessageImpl.java index 161c7f89fdf..098ba52ecdb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * LineItemStateTransitionMessage + *

            Generated after a successful Transition Line Item State update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class LineItemStateTransitionMessageImpl implements LineItemStateTransitionMessage, ModelBase { @@ -90,7 +90,7 @@ public LineItemStateTransitionMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -98,7 +98,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -106,7 +106,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -114,7 +114,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -122,7 +122,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -146,7 +146,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -154,7 +154,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -162,7 +162,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -170,7 +170,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -178,7 +178,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Unique identifier of the Line Item.

            */ public String getLineItemId() { @@ -186,7 +186,7 @@ public String getLineItemId() { } /** - * + *

            Date and time (UTC) when the transition of the Line Item State was performed.

            */ public java.time.ZonedDateTime getTransitionDate() { @@ -194,7 +194,7 @@ public java.time.ZonedDateTime getTransitionDate() { } /** - * + *

            Number of Line Items for which the State was transitioned.

            */ public Long getQuantity() { @@ -202,7 +202,7 @@ public Long getQuantity() { } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned from.

            */ public com.commercetools.api.models.state.StateReference getFromState() { @@ -210,7 +210,7 @@ public com.commercetools.api.models.state.StateReference getFromState() { } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned to.

            */ public com.commercetools.api.models.state.StateReference getToState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayload.java index 9ff81f96781..c00eeb97648 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * LineItemStateTransitionMessagePayload + *

            Generated after a successful Transition Line Item State update action.

            * *
            * Example to create an instance using the builder pattern @@ -39,28 +39,28 @@ public interface LineItemStateTransitionMessagePayload extends OrderMessagePaylo String LINE_ITEM_STATE_TRANSITION = "LineItemStateTransition"; /** - * + *

            Unique identifier of the Line Item.

            */ @NotNull @JsonProperty("lineItemId") public String getLineItemId(); /** - * + *

            Date and time (UTC) when the transition of the Line Item State was performed.

            */ @NotNull @JsonProperty("transitionDate") public ZonedDateTime getTransitionDate(); /** - * + *

            Number of Line Items for which the State was transitioned.

            */ @NotNull @JsonProperty("quantity") public Long getQuantity(); /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned from.

            */ @NotNull @Valid @@ -68,7 +68,7 @@ public interface LineItemStateTransitionMessagePayload extends OrderMessagePaylo public StateReference getFromState(); /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned to.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayloadBuilder.java index 83f57e41ca1..a5ca2f66c31 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayloadBuilder.java @@ -37,7 +37,7 @@ public class LineItemStateTransitionMessagePayloadBuilder implements BuilderUnique identifier of the Line Item.

            */ public LineItemStateTransitionMessagePayloadBuilder lineItemId(final String lineItemId) { @@ -46,7 +46,7 @@ public LineItemStateTransitionMessagePayloadBuilder lineItemId(final String line } /** - * + *

            Date and time (UTC) when the transition of the Line Item State was performed.

            */ public LineItemStateTransitionMessagePayloadBuilder transitionDate(final java.time.ZonedDateTime transitionDate) { @@ -55,7 +55,7 @@ public LineItemStateTransitionMessagePayloadBuilder transitionDate(final java.ti } /** - * + *

            Number of Line Items for which the State was transitioned.

            */ public LineItemStateTransitionMessagePayloadBuilder quantity(final Long quantity) { @@ -64,7 +64,7 @@ public LineItemStateTransitionMessagePayloadBuilder quantity(final Long quantity } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned from.

            */ public LineItemStateTransitionMessagePayloadBuilder fromState( @@ -74,7 +74,7 @@ public LineItemStateTransitionMessagePayloadBuilder fromState( } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned from.

            */ public LineItemStateTransitionMessagePayloadBuilder fromState( @@ -84,7 +84,7 @@ public LineItemStateTransitionMessagePayloadBuilder fromState( } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned to.

            */ public LineItemStateTransitionMessagePayloadBuilder toState( @@ -94,7 +94,7 @@ public LineItemStateTransitionMessagePayloadBuilder toState( } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned to.

            */ public LineItemStateTransitionMessagePayloadBuilder toState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayloadImpl.java index 6d22ad46284..f4007562a84 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/LineItemStateTransitionMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * LineItemStateTransitionMessagePayload + *

            Generated after a successful Transition Line Item State update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class LineItemStateTransitionMessagePayloadImpl implements LineItemStateTransitionMessagePayload, ModelBase { @@ -59,7 +59,7 @@ public String getType() { } /** - * + *

            Unique identifier of the Line Item.

            */ public String getLineItemId() { @@ -67,7 +67,7 @@ public String getLineItemId() { } /** - * + *

            Date and time (UTC) when the transition of the Line Item State was performed.

            */ public java.time.ZonedDateTime getTransitionDate() { @@ -75,7 +75,7 @@ public java.time.ZonedDateTime getTransitionDate() { } /** - * + *

            Number of Line Items for which the State was transitioned.

            */ public Long getQuantity() { @@ -83,7 +83,7 @@ public Long getQuantity() { } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned from.

            */ public com.commercetools.api.models.state.StateReference getFromState() { @@ -91,7 +91,7 @@ public com.commercetools.api.models.state.StateReference getFromState() { } /** - *

            Reference to a State.

            + *

            State the Line Item was transitioned to.

            */ public com.commercetools.api.models.state.StateReference getToState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/Message.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/Message.java index 8da13ce3f70..30d0730d305 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/Message.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/Message.java @@ -19,7 +19,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * Message + *

            Base representation of a Message containing common fields to all Message Types.

            * *
            * Example to create a subtype instance using the builder pattern @@ -85,8 +85,6 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderLineItemRemovedMessageImpl.class, name = OrderLineItemRemovedMessage.ORDER_LINE_ITEM_REMOVED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderPaymentAddedMessageImpl.class, name = OrderPaymentAddedMessage.ORDER_PAYMENT_ADDED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderPaymentStateChangedMessageImpl.class, name = OrderPaymentStateChangedMessage.ORDER_PAYMENT_STATE_CHANGED), - @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderReturnInfoAddedMessageImpl.class, name = OrderReturnInfoAddedMessage.RETURN_INFO_ADDED), - @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderReturnInfoSetMessageImpl.class, name = OrderReturnInfoSetMessage.RETURN_INFO_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessageImpl.class, name = OrderReturnShipmentStateChangedMessage.ORDER_RETURN_SHIPMENT_STATE_CHANGED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderShipmentStateChangedMessageImpl.class, name = OrderShipmentStateChangedMessage.ORDER_SHIPMENT_STATE_CHANGED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderShippingAddressSetMessageImpl.class, name = OrderShippingAddressSetMessage.ORDER_SHIPPING_ADDRESS_SET), @@ -130,7 +128,11 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteRequestCreatedMessageImpl.class, name = QuoteRequestCreatedMessage.QUOTE_REQUEST_CREATED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteRequestDeletedMessageImpl.class, name = QuoteRequestDeletedMessage.QUOTE_REQUEST_DELETED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteRequestStateChangedMessageImpl.class, name = QuoteRequestStateChangedMessage.QUOTE_REQUEST_STATE_CHANGED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteRequestStateTransitionMessageImpl.class, name = QuoteRequestStateTransitionMessage.QUOTE_REQUEST_STATE_TRANSITION), @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteStateChangedMessageImpl.class, name = QuoteStateChangedMessage.QUOTE_STATE_CHANGED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteStateTransitionMessageImpl.class, name = QuoteStateTransitionMessage.QUOTE_STATE_TRANSITION), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReturnInfoAddedMessageImpl.class, name = ReturnInfoAddedMessage.RETURN_INFO_ADDED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReturnInfoSetMessageImpl.class, name = ReturnInfoSetMessage.RETURN_INFO_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReviewCreatedMessageImpl.class, name = ReviewCreatedMessage.REVIEW_CREATED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReviewRatingSetMessageImpl.class, name = ReviewRatingSetMessage.REVIEW_RATING_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReviewStateTransitionMessageImpl.class, name = ReviewStateTransitionMessage.REVIEW_STATE_TRANSITION), @@ -138,15 +140,18 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteDeletedMessageImpl.class, name = StagedQuoteDeletedMessage.STAGED_QUOTE_DELETED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteSellerCommentSetMessageImpl.class, name = StagedQuoteSellerCommentSetMessage.STAGED_QUOTE_SELLER_COMMENT_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteStateChangedMessageImpl.class, name = StagedQuoteStateChangedMessage.STAGED_QUOTE_STATE_CHANGED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteStateTransitionMessageImpl.class, name = StagedQuoteStateTransitionMessage.STAGED_QUOTE_STATE_TRANSITION), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteValidToSetMessageImpl.class, name = StagedQuoteValidToSetMessage.STAGED_QUOTE_VALID_TO_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceCreatedMessageImpl.class, name = StandalonePriceCreatedMessage.STANDALONE_PRICE_CREATED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceDeletedMessageImpl.class, name = StandalonePriceDeletedMessage.STANDALONE_PRICE_DELETED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceDiscountSetMessageImpl.class, name = StandalonePriceDiscountSetMessage.STANDALONE_PRICE_DISCOUNT_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceExternalDiscountSetMessageImpl.class, name = StandalonePriceExternalDiscountSetMessage.STANDALONE_PRICE_EXTERNAL_DISCOUNT_SET), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessageImpl.class, name = StandalonePriceStagedChangesAppliedMessage.STANDALONE_PRICE_STAGED_CHANGES_APPLIED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceValueChangedMessageImpl.class, name = StandalonePriceValueChangedMessage.STANDALONE_PRICE_VALUE_CHANGED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreCreatedMessageImpl.class, name = StoreCreatedMessage.STORE_CREATED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreDeletedMessageImpl.class, name = StoreDeletedMessage.STORE_DELETED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreDistributionChannelsChangedMessageImpl.class, name = StoreDistributionChannelsChangedMessage.STORE_DISTRIBUTION_CHANNELS_CHANGED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreLanguagesChangedMessageImpl.class, name = StoreLanguagesChangedMessage.STORE_LANGUAGES_CHANGED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreProductSelectionsChangedMessageImpl.class, name = StoreProductSelectionsChangedMessage.STORE_PRODUCT_SELECTIONS_CHANGED) }) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "type", defaultImpl = MessageImpl.class, visible = true) @JsonDeserialize(as = MessageImpl.class) @@ -154,35 +159,35 @@ public interface Message extends BaseResource, com.commercetools.api.models.DomainResource { /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ @NotNull @JsonProperty("id") public String getId(); /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ @NotNull @JsonProperty("version") public Long getVersion(); /** - * + *

            Date and time (UTC) the Message was generated.

            */ @NotNull @JsonProperty("createdAt") public ZonedDateTime getCreatedAt(); /** - * + *

            Value of createdAt.

            */ @NotNull @JsonProperty("lastModifiedAt") public ZonedDateTime getLastModifiedAt(); /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ @Valid @JsonProperty("lastModifiedBy") @@ -196,14 +201,14 @@ public interface Message extends BaseResource, com.commercetools.api.models.Doma public CreatedBy getCreatedBy(); /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ @NotNull @JsonProperty("sequenceNumber") public Long getSequenceNumber(); /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ @NotNull @Valid @@ -211,21 +216,21 @@ public interface Message extends BaseResource, com.commercetools.api.models.Doma public Reference getResource(); /** - * + *

            Version of the resource on which the change or action was performed.

            */ @NotNull @JsonProperty("resourceVersion") public Long getResourceVersion(); /** - * + *

            Message Type of the Message.

            */ @NotNull @JsonProperty("type") public String getType(); /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ @Valid @JsonProperty("resourceUserProvidedIdentifiers") @@ -435,14 +440,6 @@ public static com.commercetools.api.models.message.OrderPaymentStateChangedMessa return com.commercetools.api.models.message.OrderPaymentStateChangedMessageBuilder.of(); } - public static com.commercetools.api.models.message.OrderReturnInfoAddedMessageBuilder returnInfoAddedBuilder() { - return com.commercetools.api.models.message.OrderReturnInfoAddedMessageBuilder.of(); - } - - public static com.commercetools.api.models.message.OrderReturnInfoSetMessageBuilder returnInfoSetBuilder() { - return com.commercetools.api.models.message.OrderReturnInfoSetMessageBuilder.of(); - } - public static com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessageBuilder orderReturnShipmentStateChangedBuilder() { return com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessageBuilder.of(); } @@ -615,10 +612,26 @@ public static com.commercetools.api.models.message.QuoteRequestStateChangedMessa return com.commercetools.api.models.message.QuoteRequestStateChangedMessageBuilder.of(); } + public static com.commercetools.api.models.message.QuoteRequestStateTransitionMessageBuilder quoteRequestStateTransitionBuilder() { + return com.commercetools.api.models.message.QuoteRequestStateTransitionMessageBuilder.of(); + } + public static com.commercetools.api.models.message.QuoteStateChangedMessageBuilder quoteStateChangedBuilder() { return com.commercetools.api.models.message.QuoteStateChangedMessageBuilder.of(); } + public static com.commercetools.api.models.message.QuoteStateTransitionMessageBuilder quoteStateTransitionBuilder() { + return com.commercetools.api.models.message.QuoteStateTransitionMessageBuilder.of(); + } + + public static com.commercetools.api.models.message.ReturnInfoAddedMessageBuilder returnInfoAddedBuilder() { + return com.commercetools.api.models.message.ReturnInfoAddedMessageBuilder.of(); + } + + public static com.commercetools.api.models.message.ReturnInfoSetMessageBuilder returnInfoSetBuilder() { + return com.commercetools.api.models.message.ReturnInfoSetMessageBuilder.of(); + } + public static com.commercetools.api.models.message.ReviewCreatedMessageBuilder reviewCreatedBuilder() { return com.commercetools.api.models.message.ReviewCreatedMessageBuilder.of(); } @@ -647,6 +660,10 @@ public static com.commercetools.api.models.message.StagedQuoteStateChangedMessag return com.commercetools.api.models.message.StagedQuoteStateChangedMessageBuilder.of(); } + public static com.commercetools.api.models.message.StagedQuoteStateTransitionMessageBuilder stagedQuoteStateTransitionBuilder() { + return com.commercetools.api.models.message.StagedQuoteStateTransitionMessageBuilder.of(); + } + public static com.commercetools.api.models.message.StagedQuoteValidToSetMessageBuilder stagedQuoteValidToSetBuilder() { return com.commercetools.api.models.message.StagedQuoteValidToSetMessageBuilder.of(); } @@ -667,6 +684,10 @@ public static com.commercetools.api.models.message.StandalonePriceExternalDiscou return com.commercetools.api.models.message.StandalonePriceExternalDiscountSetMessageBuilder.of(); } + public static com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessageBuilder standalonePriceStagedChangesAppliedBuilder() { + return com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessageBuilder.of(); + } + public static com.commercetools.api.models.message.StandalonePriceValueChangedMessageBuilder standalonePriceValueChangedBuilder() { return com.commercetools.api.models.message.StandalonePriceValueChangedMessageBuilder.of(); } @@ -683,6 +704,10 @@ public static com.commercetools.api.models.message.StoreDistributionChannelsChan return com.commercetools.api.models.message.StoreDistributionChannelsChangedMessageBuilder.of(); } + public static com.commercetools.api.models.message.StoreLanguagesChangedMessageBuilder storeLanguagesChangedBuilder() { + return com.commercetools.api.models.message.StoreLanguagesChangedMessageBuilder.of(); + } + public static com.commercetools.api.models.message.StoreProductSelectionsChangedMessageBuilder storeProductSelectionsChangedBuilder() { return com.commercetools.api.models.message.StoreProductSelectionsChangedMessageBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageBuilder.java index e5e895c8909..e70e5fa7777 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageBuilder.java @@ -195,14 +195,6 @@ public com.commercetools.api.models.message.OrderPaymentStateChangedMessageBuild return com.commercetools.api.models.message.OrderPaymentStateChangedMessageBuilder.of(); } - public com.commercetools.api.models.message.OrderReturnInfoAddedMessageBuilder returnInfoAddedBuilder() { - return com.commercetools.api.models.message.OrderReturnInfoAddedMessageBuilder.of(); - } - - public com.commercetools.api.models.message.OrderReturnInfoSetMessageBuilder returnInfoSetBuilder() { - return com.commercetools.api.models.message.OrderReturnInfoSetMessageBuilder.of(); - } - public com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessageBuilder orderReturnShipmentStateChangedBuilder() { return com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessageBuilder.of(); } @@ -375,10 +367,26 @@ public com.commercetools.api.models.message.QuoteRequestStateChangedMessageBuild return com.commercetools.api.models.message.QuoteRequestStateChangedMessageBuilder.of(); } + public com.commercetools.api.models.message.QuoteRequestStateTransitionMessageBuilder quoteRequestStateTransitionBuilder() { + return com.commercetools.api.models.message.QuoteRequestStateTransitionMessageBuilder.of(); + } + public com.commercetools.api.models.message.QuoteStateChangedMessageBuilder quoteStateChangedBuilder() { return com.commercetools.api.models.message.QuoteStateChangedMessageBuilder.of(); } + public com.commercetools.api.models.message.QuoteStateTransitionMessageBuilder quoteStateTransitionBuilder() { + return com.commercetools.api.models.message.QuoteStateTransitionMessageBuilder.of(); + } + + public com.commercetools.api.models.message.ReturnInfoAddedMessageBuilder returnInfoAddedBuilder() { + return com.commercetools.api.models.message.ReturnInfoAddedMessageBuilder.of(); + } + + public com.commercetools.api.models.message.ReturnInfoSetMessageBuilder returnInfoSetBuilder() { + return com.commercetools.api.models.message.ReturnInfoSetMessageBuilder.of(); + } + public com.commercetools.api.models.message.ReviewCreatedMessageBuilder reviewCreatedBuilder() { return com.commercetools.api.models.message.ReviewCreatedMessageBuilder.of(); } @@ -407,6 +415,10 @@ public com.commercetools.api.models.message.StagedQuoteStateChangedMessageBuilde return com.commercetools.api.models.message.StagedQuoteStateChangedMessageBuilder.of(); } + public com.commercetools.api.models.message.StagedQuoteStateTransitionMessageBuilder stagedQuoteStateTransitionBuilder() { + return com.commercetools.api.models.message.StagedQuoteStateTransitionMessageBuilder.of(); + } + public com.commercetools.api.models.message.StagedQuoteValidToSetMessageBuilder stagedQuoteValidToSetBuilder() { return com.commercetools.api.models.message.StagedQuoteValidToSetMessageBuilder.of(); } @@ -427,6 +439,10 @@ public com.commercetools.api.models.message.StandalonePriceExternalDiscountSetMe return com.commercetools.api.models.message.StandalonePriceExternalDiscountSetMessageBuilder.of(); } + public com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessageBuilder standalonePriceStagedChangesAppliedBuilder() { + return com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessageBuilder.of(); + } + public com.commercetools.api.models.message.StandalonePriceValueChangedMessageBuilder standalonePriceValueChangedBuilder() { return com.commercetools.api.models.message.StandalonePriceValueChangedMessageBuilder.of(); } @@ -443,6 +459,10 @@ public com.commercetools.api.models.message.StoreDistributionChannelsChangedMess return com.commercetools.api.models.message.StoreDistributionChannelsChangedMessageBuilder.of(); } + public com.commercetools.api.models.message.StoreLanguagesChangedMessageBuilder storeLanguagesChangedBuilder() { + return com.commercetools.api.models.message.StoreLanguagesChangedMessageBuilder.of(); + } + public com.commercetools.api.models.message.StoreProductSelectionsChangedMessageBuilder storeProductSelectionsChangedBuilder() { return com.commercetools.api.models.message.StoreProductSelectionsChangedMessageBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageImpl.java index c0297ead7c6..1c1a3daa985 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * Message + *

            Base representation of a Message containing common fields to all Message Types.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class MessageImpl implements Message, ModelBase { @@ -69,7 +69,7 @@ public MessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -77,7 +77,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -85,7 +85,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -93,7 +93,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -101,7 +101,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -117,7 +117,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -125,7 +125,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -133,7 +133,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -141,7 +141,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -149,7 +149,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponse.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponse.java index 4f124c9a91f..a00d26f5267 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponse.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponse.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * MessagePagedQueryResponse + *

            PagedQueryResult with results containing an array of Message.

            * *
            * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface MessagePagedQueryResponse extends com.commercetools.api.models. public Long getLimit(); /** - * + *

            Actual number of results returned.

            */ @NotNull @JsonProperty("count") public Long getCount(); /** - * + *

            Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

            */ @JsonProperty("total") @@ -62,7 +62,7 @@ public interface MessagePagedQueryResponse extends com.commercetools.api.models. public Long getOffset(); /** - * + *

            Messages matching the query.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponseBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponseBuilder.java index b8ffc1e4c15..96b5dc38e7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponseBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponseBuilder.java @@ -48,7 +48,7 @@ public MessagePagedQueryResponseBuilder limit(final Long limit) { } /** - * + *

            Actual number of results returned.

            */ public MessagePagedQueryResponseBuilder count(final Long count) { @@ -57,7 +57,7 @@ public MessagePagedQueryResponseBuilder count(final Long count) { } /** - * + *

            Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

            */ public MessagePagedQueryResponseBuilder total(@Nullable final Long total) { @@ -75,7 +75,7 @@ public MessagePagedQueryResponseBuilder offset(final Long offset) { } /** - * + *

            Messages matching the query.

            */ public MessagePagedQueryResponseBuilder results(final com.commercetools.api.models.message.Message... results) { @@ -84,7 +84,7 @@ public MessagePagedQueryResponseBuilder results(final com.commercetools.api.mode } /** - * + *

            Messages matching the query.

            */ public MessagePagedQueryResponseBuilder results( @@ -94,7 +94,7 @@ public MessagePagedQueryResponseBuilder results( } /** - * + *

            Messages matching the query.

            */ public MessagePagedQueryResponseBuilder plusResults(final com.commercetools.api.models.message.Message... results) { @@ -106,7 +106,7 @@ public MessagePagedQueryResponseBuilder plusResults(final com.commercetools.api. } /** - * + *

            Messages matching the query.

            */ public MessagePagedQueryResponseBuilder plusResults( @@ -119,7 +119,7 @@ public MessagePagedQueryResponseBuilder plusResults( } /** - * + *

            Messages matching the query.

            */ public MessagePagedQueryResponseBuilder withResults( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponseImpl.java index 0c78491f4b7..e2be8adfb94 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePagedQueryResponseImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * MessagePagedQueryResponse + *

            PagedQueryResult with results containing an array of Message.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class MessagePagedQueryResponseImpl implements MessagePagedQueryResponse, ModelBase { @@ -53,7 +53,7 @@ public Long getLimit() { } /** - * + *

            Actual number of results returned.

            */ public Long getCount() { @@ -61,7 +61,7 @@ public Long getCount() { } /** - * + *

            Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

            */ public Long getTotal() { @@ -77,7 +77,7 @@ public Long getOffset() { } /** - * + *

            Messages matching the query.

            */ public java.util.List getResults() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayload.java index 5fd01859987..deafa64f3f5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayload.java @@ -72,8 +72,6 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderLineItemRemovedMessagePayloadImpl.class, name = OrderLineItemRemovedMessagePayload.ORDER_LINE_ITEM_REMOVED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderPaymentAddedMessagePayloadImpl.class, name = OrderPaymentAddedMessagePayload.ORDER_PAYMENT_ADDED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderPaymentStateChangedMessagePayloadImpl.class, name = OrderPaymentStateChangedMessagePayload.ORDER_PAYMENT_STATE_CHANGED), - @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderReturnInfoAddedMessagePayloadImpl.class, name = OrderReturnInfoAddedMessagePayload.RETURN_INFO_ADDED), - @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderReturnInfoSetMessagePayloadImpl.class, name = OrderReturnInfoSetMessagePayload.RETURN_INFO_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessagePayloadImpl.class, name = OrderReturnShipmentStateChangedMessagePayload.ORDER_RETURN_SHIPMENT_STATE_CHANGED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderShipmentStateChangedMessagePayloadImpl.class, name = OrderShipmentStateChangedMessagePayload.ORDER_SHIPMENT_STATE_CHANGED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.OrderShippingAddressSetMessagePayloadImpl.class, name = OrderShippingAddressSetMessagePayload.ORDER_SHIPPING_ADDRESS_SET), @@ -117,7 +115,11 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteRequestCreatedMessagePayloadImpl.class, name = QuoteRequestCreatedMessagePayload.QUOTE_REQUEST_CREATED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteRequestDeletedMessagePayloadImpl.class, name = QuoteRequestDeletedMessagePayload.QUOTE_REQUEST_DELETED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteRequestStateChangedMessagePayloadImpl.class, name = QuoteRequestStateChangedMessagePayload.QUOTE_REQUEST_STATE_CHANGED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteRequestStateTransitionMessagePayloadImpl.class, name = QuoteRequestStateTransitionMessagePayload.QUOTE_REQUEST_STATE_TRANSITION), @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteStateChangedMessagePayloadImpl.class, name = QuoteStateChangedMessagePayload.QUOTE_STATE_CHANGED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.QuoteStateTransitionMessagePayloadImpl.class, name = QuoteStateTransitionMessagePayload.QUOTE_STATE_TRANSITION), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReturnInfoAddedMessagePayloadImpl.class, name = ReturnInfoAddedMessagePayload.RETURN_INFO_ADDED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReturnInfoSetMessagePayloadImpl.class, name = ReturnInfoSetMessagePayload.RETURN_INFO_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReviewCreatedMessagePayloadImpl.class, name = ReviewCreatedMessagePayload.REVIEW_CREATED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReviewRatingSetMessagePayloadImpl.class, name = ReviewRatingSetMessagePayload.REVIEW_RATING_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.ReviewStateTransitionMessagePayloadImpl.class, name = ReviewStateTransitionMessagePayload.REVIEW_STATE_TRANSITION), @@ -126,15 +128,18 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteDeletedMessagePayloadImpl.class, name = StagedQuoteDeletedMessagePayload.STAGED_QUOTE_DELETED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteSellerCommentSetMessagePayloadImpl.class, name = StagedQuoteSellerCommentSetMessagePayload.STAGED_QUOTE_SELLER_COMMENT_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteStateChangedMessagePayloadImpl.class, name = StagedQuoteStateChangedMessagePayload.STAGED_QUOTE_STATE_CHANGED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteStateTransitionMessagePayloadImpl.class, name = StagedQuoteStateTransitionMessagePayload.STAGED_QUOTE_STATE_TRANSITION), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StagedQuoteValidToSetMessagePayloadImpl.class, name = StagedQuoteValidToSetMessagePayload.STAGED_QUOTE_VALID_TO_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceCreatedMessagePayloadImpl.class, name = StandalonePriceCreatedMessagePayload.STANDALONE_PRICE_CREATED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceDeletedMessagePayloadImpl.class, name = StandalonePriceDeletedMessagePayload.STANDALONE_PRICE_DELETED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceDiscountSetMessagePayloadImpl.class, name = StandalonePriceDiscountSetMessagePayload.STANDALONE_PRICE_DISCOUNT_SET), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceExternalDiscountSetMessagePayloadImpl.class, name = StandalonePriceExternalDiscountSetMessagePayload.STANDALONE_PRICE_EXTERNAL_DISCOUNT_SET), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessagePayloadImpl.class, name = StandalonePriceStagedChangesAppliedMessagePayload.STANDALONE_PRICE_STAGED_CHANGES_APPLIED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StandalonePriceValueChangedMessagePayloadImpl.class, name = StandalonePriceValueChangedMessagePayload.STANDALONE_PRICE_VALUE_CHANGED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreCreatedMessagePayloadImpl.class, name = StoreCreatedMessagePayload.STORE_CREATED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreDeletedMessagePayloadImpl.class, name = StoreDeletedMessagePayload.STORE_DELETED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreDistributionChannelsChangedMessagePayloadImpl.class, name = StoreDistributionChannelsChangedMessagePayload.STORE_DISTRIBUTION_CHANNELS_CHANGED), + @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreLanguagesChangedMessagePayloadImpl.class, name = StoreLanguagesChangedMessagePayload.STORE_LANGUAGES_CHANGED), @JsonSubTypes.Type(value = com.commercetools.api.models.message.StoreProductSelectionsChangedMessagePayloadImpl.class, name = StoreProductSelectionsChangedMessagePayload.STORE_PRODUCT_SELECTIONS_CHANGED) }) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "type", defaultImpl = MessagePayloadImpl.class, visible = true) @JsonDeserialize(as = MessagePayloadImpl.class) @@ -332,14 +337,6 @@ public static com.commercetools.api.models.message.OrderPaymentStateChangedMessa return com.commercetools.api.models.message.OrderPaymentStateChangedMessagePayloadBuilder.of(); } - public static com.commercetools.api.models.message.OrderReturnInfoAddedMessagePayloadBuilder returnInfoAddedBuilder() { - return com.commercetools.api.models.message.OrderReturnInfoAddedMessagePayloadBuilder.of(); - } - - public static com.commercetools.api.models.message.OrderReturnInfoSetMessagePayloadBuilder returnInfoSetBuilder() { - return com.commercetools.api.models.message.OrderReturnInfoSetMessagePayloadBuilder.of(); - } - public static com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessagePayloadBuilder orderReturnShipmentStateChangedBuilder() { return com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessagePayloadBuilder.of(); } @@ -512,10 +509,26 @@ public static com.commercetools.api.models.message.QuoteRequestStateChangedMessa return com.commercetools.api.models.message.QuoteRequestStateChangedMessagePayloadBuilder.of(); } + public static com.commercetools.api.models.message.QuoteRequestStateTransitionMessagePayloadBuilder quoteRequestStateTransitionBuilder() { + return com.commercetools.api.models.message.QuoteRequestStateTransitionMessagePayloadBuilder.of(); + } + public static com.commercetools.api.models.message.QuoteStateChangedMessagePayloadBuilder quoteStateChangedBuilder() { return com.commercetools.api.models.message.QuoteStateChangedMessagePayloadBuilder.of(); } + public static com.commercetools.api.models.message.QuoteStateTransitionMessagePayloadBuilder quoteStateTransitionBuilder() { + return com.commercetools.api.models.message.QuoteStateTransitionMessagePayloadBuilder.of(); + } + + public static com.commercetools.api.models.message.ReturnInfoAddedMessagePayloadBuilder returnInfoAddedBuilder() { + return com.commercetools.api.models.message.ReturnInfoAddedMessagePayloadBuilder.of(); + } + + public static com.commercetools.api.models.message.ReturnInfoSetMessagePayloadBuilder returnInfoSetBuilder() { + return com.commercetools.api.models.message.ReturnInfoSetMessagePayloadBuilder.of(); + } + public static com.commercetools.api.models.message.ReviewCreatedMessagePayloadBuilder reviewCreatedBuilder() { return com.commercetools.api.models.message.ReviewCreatedMessagePayloadBuilder.of(); } @@ -548,6 +561,10 @@ public static com.commercetools.api.models.message.StagedQuoteStateChangedMessag return com.commercetools.api.models.message.StagedQuoteStateChangedMessagePayloadBuilder.of(); } + public static com.commercetools.api.models.message.StagedQuoteStateTransitionMessagePayloadBuilder stagedQuoteStateTransitionBuilder() { + return com.commercetools.api.models.message.StagedQuoteStateTransitionMessagePayloadBuilder.of(); + } + public static com.commercetools.api.models.message.StagedQuoteValidToSetMessagePayloadBuilder stagedQuoteValidToSetBuilder() { return com.commercetools.api.models.message.StagedQuoteValidToSetMessagePayloadBuilder.of(); } @@ -568,6 +585,10 @@ public static com.commercetools.api.models.message.StandalonePriceExternalDiscou return com.commercetools.api.models.message.StandalonePriceExternalDiscountSetMessagePayloadBuilder.of(); } + public static com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessagePayloadBuilder standalonePriceStagedChangesAppliedBuilder() { + return com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessagePayloadBuilder.of(); + } + public static com.commercetools.api.models.message.StandalonePriceValueChangedMessagePayloadBuilder standalonePriceValueChangedBuilder() { return com.commercetools.api.models.message.StandalonePriceValueChangedMessagePayloadBuilder.of(); } @@ -584,6 +605,10 @@ public static com.commercetools.api.models.message.StoreDistributionChannelsChan return com.commercetools.api.models.message.StoreDistributionChannelsChangedMessagePayloadBuilder.of(); } + public static com.commercetools.api.models.message.StoreLanguagesChangedMessagePayloadBuilder storeLanguagesChangedBuilder() { + return com.commercetools.api.models.message.StoreLanguagesChangedMessagePayloadBuilder.of(); + } + public static com.commercetools.api.models.message.StoreProductSelectionsChangedMessagePayloadBuilder storeProductSelectionsChangedBuilder() { return com.commercetools.api.models.message.StoreProductSelectionsChangedMessagePayloadBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadBuilder.java index 8d4f1c8df96..63cbf1520eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadBuilder.java @@ -195,14 +195,6 @@ public com.commercetools.api.models.message.OrderPaymentStateChangedMessagePaylo return com.commercetools.api.models.message.OrderPaymentStateChangedMessagePayloadBuilder.of(); } - public com.commercetools.api.models.message.OrderReturnInfoAddedMessagePayloadBuilder returnInfoAddedBuilder() { - return com.commercetools.api.models.message.OrderReturnInfoAddedMessagePayloadBuilder.of(); - } - - public com.commercetools.api.models.message.OrderReturnInfoSetMessagePayloadBuilder returnInfoSetBuilder() { - return com.commercetools.api.models.message.OrderReturnInfoSetMessagePayloadBuilder.of(); - } - public com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessagePayloadBuilder orderReturnShipmentStateChangedBuilder() { return com.commercetools.api.models.message.OrderReturnShipmentStateChangedMessagePayloadBuilder.of(); } @@ -375,10 +367,26 @@ public com.commercetools.api.models.message.QuoteRequestStateChangedMessagePaylo return com.commercetools.api.models.message.QuoteRequestStateChangedMessagePayloadBuilder.of(); } + public com.commercetools.api.models.message.QuoteRequestStateTransitionMessagePayloadBuilder quoteRequestStateTransitionBuilder() { + return com.commercetools.api.models.message.QuoteRequestStateTransitionMessagePayloadBuilder.of(); + } + public com.commercetools.api.models.message.QuoteStateChangedMessagePayloadBuilder quoteStateChangedBuilder() { return com.commercetools.api.models.message.QuoteStateChangedMessagePayloadBuilder.of(); } + public com.commercetools.api.models.message.QuoteStateTransitionMessagePayloadBuilder quoteStateTransitionBuilder() { + return com.commercetools.api.models.message.QuoteStateTransitionMessagePayloadBuilder.of(); + } + + public com.commercetools.api.models.message.ReturnInfoAddedMessagePayloadBuilder returnInfoAddedBuilder() { + return com.commercetools.api.models.message.ReturnInfoAddedMessagePayloadBuilder.of(); + } + + public com.commercetools.api.models.message.ReturnInfoSetMessagePayloadBuilder returnInfoSetBuilder() { + return com.commercetools.api.models.message.ReturnInfoSetMessagePayloadBuilder.of(); + } + public com.commercetools.api.models.message.ReviewCreatedMessagePayloadBuilder reviewCreatedBuilder() { return com.commercetools.api.models.message.ReviewCreatedMessagePayloadBuilder.of(); } @@ -411,6 +419,10 @@ public com.commercetools.api.models.message.StagedQuoteStateChangedMessagePayloa return com.commercetools.api.models.message.StagedQuoteStateChangedMessagePayloadBuilder.of(); } + public com.commercetools.api.models.message.StagedQuoteStateTransitionMessagePayloadBuilder stagedQuoteStateTransitionBuilder() { + return com.commercetools.api.models.message.StagedQuoteStateTransitionMessagePayloadBuilder.of(); + } + public com.commercetools.api.models.message.StagedQuoteValidToSetMessagePayloadBuilder stagedQuoteValidToSetBuilder() { return com.commercetools.api.models.message.StagedQuoteValidToSetMessagePayloadBuilder.of(); } @@ -431,6 +443,10 @@ public com.commercetools.api.models.message.StandalonePriceExternalDiscountSetMe return com.commercetools.api.models.message.StandalonePriceExternalDiscountSetMessagePayloadBuilder.of(); } + public com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessagePayloadBuilder standalonePriceStagedChangesAppliedBuilder() { + return com.commercetools.api.models.message.StandalonePriceStagedChangesAppliedMessagePayloadBuilder.of(); + } + public com.commercetools.api.models.message.StandalonePriceValueChangedMessagePayloadBuilder standalonePriceValueChangedBuilder() { return com.commercetools.api.models.message.StandalonePriceValueChangedMessagePayloadBuilder.of(); } @@ -447,6 +463,10 @@ public com.commercetools.api.models.message.StoreDistributionChannelsChangedMess return com.commercetools.api.models.message.StoreDistributionChannelsChangedMessagePayloadBuilder.of(); } + public com.commercetools.api.models.message.StoreLanguagesChangedMessagePayloadBuilder storeLanguagesChangedBuilder() { + return com.commercetools.api.models.message.StoreLanguagesChangedMessagePayloadBuilder.of(); + } + public com.commercetools.api.models.message.StoreProductSelectionsChangedMessagePayloadBuilder storeProductSelectionsChangedBuilder() { return com.commercetools.api.models.message.StoreProductSelectionsChangedMessagePayloadBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessage.java index 29474d735be..2996a425ea7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderBillingAddressSetMessage + *

            Generated after a successful Set Billing Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -39,14 +39,14 @@ public interface OrderBillingAddressSetMessage extends OrderMessage { String ORDER_BILLING_ADDRESS_SET = "OrderBillingAddressSet"; /** - * + *

            Billing address on the Order after the Set Billing Address update action.

            */ @Valid @JsonProperty("address") public Address getAddress(); /** - * + *

            Billing address on the Order before the Set Billing Address update action.

            */ @Valid @JsonProperty("oldAddress") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessageBuilder.java index b7ec02048f5..f7363a5d6e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderBillingAddressSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderBillingAddressSetMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderBillingAddressSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderBillingAddressSetMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderBillingAddressSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderBillingAddressSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderBillingAddressSetMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

            Value of createdAt.

            */ public OrderBillingAddressSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderBillingAddressSetMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderBillingAddressSetMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderBillingAddressSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderBillingAddressSetMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderBillingAddressSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderBillingAddressSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderBillingAddressSetMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderBillingAddressSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public OrderBillingAddressSetMessageBuilder resource(final com.commercetools.api } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderBillingAddressSetMessageBuilder resource( @@ -164,7 +164,7 @@ public OrderBillingAddressSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderBillingAddressSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public OrderBillingAddressSetMessageBuilder resourceVersion(final Long resourceV } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderBillingAddressSetMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public OrderBillingAddressSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderBillingAddressSetMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public OrderBillingAddressSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Billing address on the Order after the Set Billing Address update action.

            */ public OrderBillingAddressSetMessageBuilder address( @@ -205,7 +205,7 @@ public OrderBillingAddressSetMessageBuilder address( } /** - * + *

            Billing address on the Order after the Set Billing Address update action.

            */ public OrderBillingAddressSetMessageBuilder address( @@ -215,7 +215,7 @@ public OrderBillingAddressSetMessageBuilder address( } /** - * + *

            Billing address on the Order before the Set Billing Address update action.

            */ public OrderBillingAddressSetMessageBuilder oldAddress( @@ -225,7 +225,7 @@ public OrderBillingAddressSetMessageBuilder oldAddress( } /** - * + *

            Billing address on the Order before the Set Billing Address update action.

            */ public OrderBillingAddressSetMessageBuilder oldAddress( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessageImpl.java index 6a74b30e584..6411725eb6b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderBillingAddressSetMessage + *

            Generated after a successful Set Billing Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderBillingAddressSetMessageImpl implements OrderBillingAddressSetMessage, ModelBase { @@ -78,7 +78,7 @@ public OrderBillingAddressSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Billing address on the Order after the Set Billing Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.common.Address getAddress() { } /** - * + *

            Billing address on the Order before the Set Billing Address update action.

            */ public com.commercetools.api.models.common.Address getOldAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayload.java index 04a3aea326b..f28f031e31e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderBillingAddressSetMessagePayload + *

            Generated after a successful Set Billing Address update action.

            * *
            * Example to create an instance using the builder pattern @@ -32,14 +32,14 @@ public interface OrderBillingAddressSetMessagePayload extends OrderMessagePayloa String ORDER_BILLING_ADDRESS_SET = "OrderBillingAddressSet"; /** - * + *

            Billing address on the Order after the Set Billing Address update action.

            */ @Valid @JsonProperty("address") public Address getAddress(); /** - * + *

            Billing address on the Order before the Set Billing Address update action.

            */ @Valid @JsonProperty("oldAddress") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayloadBuilder.java index 67480b6186a..04c46adef32 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayloadBuilder.java @@ -30,7 +30,7 @@ public class OrderBillingAddressSetMessagePayloadBuilder implements BuilderBilling address on the Order after the Set Billing Address update action.

            */ public OrderBillingAddressSetMessagePayloadBuilder address( @@ -40,7 +40,7 @@ public OrderBillingAddressSetMessagePayloadBuilder address( } /** - * + *

            Billing address on the Order after the Set Billing Address update action.

            */ public OrderBillingAddressSetMessagePayloadBuilder address( @@ -50,7 +50,7 @@ public OrderBillingAddressSetMessagePayloadBuilder address( } /** - * + *

            Billing address on the Order before the Set Billing Address update action.

            */ public OrderBillingAddressSetMessagePayloadBuilder oldAddress( @@ -60,7 +60,7 @@ public OrderBillingAddressSetMessagePayloadBuilder oldAddress( } /** - * + *

            Billing address on the Order before the Set Billing Address update action.

            */ public OrderBillingAddressSetMessagePayloadBuilder oldAddress( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayloadImpl.java index 78d82eaf81a..cf9b69ad103 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderBillingAddressSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderBillingAddressSetMessagePayload + *

            Generated after a successful Set Billing Address update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderBillingAddressSetMessagePayloadImpl implements OrderBillingAddressSetMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

            Billing address on the Order after the Set Billing Address update action.

            */ public com.commercetools.api.models.common.Address getAddress() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.Address getAddress() { } /** - * + *

            Billing address on the Order before the Set Billing Address update action.

            */ public com.commercetools.api.models.common.Address getOldAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessage.java index 1c0f13d191e..b50e7f1ef15 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCreatedMessage + *

            Generated after a successful Create Order request.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface OrderCreatedMessage extends OrderMessage { String ORDER_CREATED = "OrderCreated"; /** - * + *

            Order that was created.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessageBuilder.java index 091a74d70f9..45fa0990e23 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class OrderCreatedMessageBuilder implements Builder private com.commercetools.api.models.order.Order order; /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public OrderCreatedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public OrderCreatedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public OrderCreatedMessageBuilder createdAt(final java.time.ZonedDateTime create } /** - * + *

            Value of createdAt.

            */ public OrderCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public OrderCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime l } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public OrderCreatedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public OrderCreatedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public OrderCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public OrderCreatedMessageBuilder resource(final com.commercetools.api.models.co } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public OrderCreatedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public OrderCreatedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public OrderCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public OrderCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Order that was created.

            */ public OrderCreatedMessageBuilder order( @@ -202,7 +202,7 @@ public OrderCreatedMessageBuilder order( } /** - * + *

            Order that was created.

            */ public OrderCreatedMessageBuilder order(final com.commercetools.api.models.order.Order order) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessageImpl.java index ef0a3a80824..cd9c1f7ac97 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCreatedMessage + *

            Generated after a successful Create Order request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCreatedMessageImpl implements OrderCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public OrderCreatedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Order that was created.

            */ public com.commercetools.api.models.order.Order getOrder() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayload.java index 3489575b97b..1340d26f0ec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCreatedMessagePayload + *

            Generated after a successful Create Order request.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface OrderCreatedMessagePayload extends OrderMessagePayload { String ORDER_CREATED = "OrderCreated"; /** - * + *

            Order that was created.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayloadBuilder.java index 5c08a1c3421..b5900209065 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class OrderCreatedMessagePayloadBuilder implements BuilderOrder that was created.

            */ public OrderCreatedMessagePayloadBuilder order( @@ -35,7 +35,7 @@ public OrderCreatedMessagePayloadBuilder order( } /** - * + *

            Order that was created.

            */ public OrderCreatedMessagePayloadBuilder order(final com.commercetools.api.models.order.Order order) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayloadImpl.java index 47fc85f8cd8..b664158453e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCreatedMessagePayload + *

            Generated after a successful Create Order request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCreatedMessagePayloadImpl implements OrderCreatedMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            Order that was created.

            */ public com.commercetools.api.models.order.Order getOrder() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessage.java index 3f5a22e52dc..89dd8be8a0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomLineItemAddedMessage + *

            Generated after a successful Add Custom Line Item update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface OrderCustomLineItemAddedMessage extends OrderMessage { String ORDER_CUSTOM_LINE_ITEM_ADDED = "OrderCustomLineItemAdded"; /** - * + *

            Custom Line Item that was added to the Order.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessageBuilder.java index 96100cc1a08..20c96238c76 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessageBuilder.java @@ -57,7 +57,7 @@ public class OrderCustomLineItemAddedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderCustomLineItemAddedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public OrderCustomLineItemAddedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderCustomLineItemAddedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public OrderCustomLineItemAddedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderCustomLineItemAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public OrderCustomLineItemAddedMessageBuilder createdAt(final java.time.ZonedDat } /** - * + *

            Value of createdAt.

            */ public OrderCustomLineItemAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public OrderCustomLineItemAddedMessageBuilder lastModifiedAt(final java.time.Zon } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomLineItemAddedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public OrderCustomLineItemAddedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomLineItemAddedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public OrderCustomLineItemAddedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderCustomLineItemAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public OrderCustomLineItemAddedMessageBuilder sequenceNumber(final Long sequence } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomLineItemAddedMessageBuilder resource( @@ -152,7 +152,7 @@ public OrderCustomLineItemAddedMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomLineItemAddedMessageBuilder resource( @@ -162,7 +162,7 @@ public OrderCustomLineItemAddedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderCustomLineItemAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public OrderCustomLineItemAddedMessageBuilder resourceVersion(final Long resourc } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomLineItemAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public OrderCustomLineItemAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomLineItemAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public OrderCustomLineItemAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Custom Line Item that was added to the Order.

            */ public OrderCustomLineItemAddedMessageBuilder customLineItem( @@ -203,7 +203,7 @@ public OrderCustomLineItemAddedMessageBuilder customLineItem( } /** - * + *

            Custom Line Item that was added to the Order.

            */ public OrderCustomLineItemAddedMessageBuilder customLineItem( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessageImpl.java index 8d851b1c931..863cec63ee8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomLineItemAddedMessage + *

            Generated after a successful Add Custom Line Item update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomLineItemAddedMessageImpl implements OrderCustomLineItemAddedMessage, ModelBase { @@ -75,7 +75,7 @@ public OrderCustomLineItemAddedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -83,7 +83,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -91,7 +91,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -99,7 +99,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -123,7 +123,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -131,7 +131,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -147,7 +147,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -155,7 +155,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -163,7 +163,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Custom Line Item that was added to the Order.

            */ public com.commercetools.api.models.cart.CustomLineItem getCustomLineItem() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayload.java index 07ef81f958a..8147ab217fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomLineItemAddedMessagePayload + *

            Generated after a successful Add Custom Line Item update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface OrderCustomLineItemAddedMessagePayload extends OrderMessagePayl String ORDER_CUSTOM_LINE_ITEM_ADDED = "OrderCustomLineItemAdded"; /** - * + *

            Custom Line Item that was added to the Order.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayloadBuilder.java index 0bac2ed4834..ca438abd7ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class OrderCustomLineItemAddedMessagePayloadBuilder implements BuilderCustom Line Item that was added to the Order.

            */ public OrderCustomLineItemAddedMessagePayloadBuilder customLineItem( @@ -35,7 +35,7 @@ public OrderCustomLineItemAddedMessagePayloadBuilder customLineItem( } /** - * + *

            Custom Line Item that was added to the Order.

            */ public OrderCustomLineItemAddedMessagePayloadBuilder customLineItem( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayloadImpl.java index 4ec5af562fb..c7e2ef53bd5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomLineItemAddedMessagePayload + *

            Generated after a successful Add Custom Line Item update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomLineItemAddedMessagePayloadImpl implements OrderCustomLineItemAddedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

            Custom Line Item that was added to the Order.

            */ public com.commercetools.api.models.cart.CustomLineItem getCustomLineItem() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessage.java index 2d5e6f4328a..b98bc74dc28 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomLineItemDiscountSetMessage + *

            Generated after a successful recalculation of a Discount on a Custom Line Item.

            * *
            * Example to create an instance using the builder pattern @@ -43,14 +43,14 @@ public interface OrderCustomLineItemDiscountSetMessage extends OrderMessage { String ORDER_CUSTOM_LINE_ITEM_DISCOUNT_SET = "OrderCustomLineItemDiscountSet"; /** - * + *

            Unique identifier for the Custom Line Item.

            */ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ @NotNull @Valid @@ -58,7 +58,7 @@ public interface OrderCustomLineItemDiscountSetMessage extends OrderMessage { public List getDiscountedPricePerQuantity(); /** - * + *

            TaxedItemPrice of the Custom Line Item after the Discount recalculation.

            */ @Valid @JsonProperty("taxedPrice") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessageBuilder.java index 0fbffe4f81b..aa4d0f28fbb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessageBuilder.java @@ -63,7 +63,7 @@ public class OrderCustomLineItemDiscountSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderCustomLineItemDiscountSetMessageBuilder id(final String id) { @@ -72,7 +72,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderCustomLineItemDiscountSetMessageBuilder version(final Long version) { @@ -81,7 +81,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder version(final Long version) } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderCustomLineItemDiscountSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +90,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder createdAt(final java.time.Zo } /** - * + *

            Value of createdAt.

            */ public OrderCustomLineItemDiscountSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +99,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder lastModifiedAt(final java.ti } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomLineItemDiscountSetMessageBuilder lastModifiedBy( @@ -109,7 +109,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomLineItemDiscountSetMessageBuilder lastModifiedBy( @@ -139,7 +139,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderCustomLineItemDiscountSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +148,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder sequenceNumber(final Long se } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomLineItemDiscountSetMessageBuilder resource( @@ -158,7 +158,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomLineItemDiscountSetMessageBuilder resource( @@ -168,7 +168,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderCustomLineItemDiscountSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -177,7 +177,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder resourceVersion(final Long r } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomLineItemDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -189,7 +189,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder resourceUserProvidedIdentifi } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomLineItemDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -199,7 +199,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder resourceUserProvidedIdentifi } /** - * + *

            Unique identifier for the Custom Line Item.

            */ public OrderCustomLineItemDiscountSetMessageBuilder customLineItemId(final String customLineItemId) { @@ -208,7 +208,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder customLineItemId(final Strin } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessageBuilder discountedPricePerQuantity( @@ -218,7 +218,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder discountedPricePerQuantity( } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessageBuilder discountedPricePerQuantity( @@ -228,7 +228,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder discountedPricePerQuantity( } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessageBuilder plusDiscountedPricePerQuantity( @@ -241,7 +241,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder plusDiscountedPricePerQuanti } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessageBuilder plusDiscountedPricePerQuantity( @@ -255,7 +255,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder plusDiscountedPricePerQuanti } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessageBuilder withDiscountedPricePerQuantity( @@ -267,7 +267,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder withDiscountedPricePerQuanti } /** - * + *

            TaxedItemPrice of the Custom Line Item after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessageBuilder taxedPrice( @@ -277,7 +277,7 @@ public OrderCustomLineItemDiscountSetMessageBuilder taxedPrice( } /** - * + *

            TaxedItemPrice of the Custom Line Item after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessageBuilder taxedPrice( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessageImpl.java index 503cd023487..60356be45a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomLineItemDiscountSetMessage + *

            Generated after a successful recalculation of a Discount on a Custom Line Item.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomLineItemDiscountSetMessageImpl implements OrderCustomLineItemDiscountSetMessage, ModelBase { @@ -83,7 +83,7 @@ public OrderCustomLineItemDiscountSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -91,7 +91,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -99,7 +99,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -115,7 +115,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -131,7 +131,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -139,7 +139,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -147,7 +147,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -155,7 +155,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -163,7 +163,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -171,7 +171,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Unique identifier for the Custom Line Item.

            */ public String getCustomLineItemId() { @@ -179,7 +179,7 @@ public String getCustomLineItemId() { } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public java.util.List getDiscountedPricePerQuantity() { @@ -187,7 +187,7 @@ public java.util.ListTaxedItemPrice of the Custom Line Item after the Discount recalculation.

            */ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayload.java index 1bae612583d..ef023538c57 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomLineItemDiscountSetMessagePayload + *

            Generated after a successful recalculation of a Discount on a Custom Line Item.

            * *
            * Example to create an instance using the builder pattern @@ -36,14 +36,14 @@ public interface OrderCustomLineItemDiscountSetMessagePayload extends OrderMessa String ORDER_CUSTOM_LINE_ITEM_DISCOUNT_SET = "OrderCustomLineItemDiscountSet"; /** - * + *

            Unique identifier for the Custom Line Item.

            */ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ @NotNull @Valid @@ -51,7 +51,7 @@ public interface OrderCustomLineItemDiscountSetMessagePayload extends OrderMessa public List getDiscountedPricePerQuantity(); /** - * + *

            TaxedItemPrice of the Custom Line Item after the Discount recalculation.

            */ @Valid @JsonProperty("taxedPrice") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayloadBuilder.java index 370730b5cb4..8757fafd973 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayloadBuilder.java @@ -34,7 +34,7 @@ public class OrderCustomLineItemDiscountSetMessagePayloadBuilder private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice; /** - * + *

            Unique identifier for the Custom Line Item.

            */ public OrderCustomLineItemDiscountSetMessagePayloadBuilder customLineItemId(final String customLineItemId) { @@ -43,7 +43,7 @@ public OrderCustomLineItemDiscountSetMessagePayloadBuilder customLineItemId(fina } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessagePayloadBuilder discountedPricePerQuantity( @@ -53,7 +53,7 @@ public OrderCustomLineItemDiscountSetMessagePayloadBuilder discountedPricePerQua } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessagePayloadBuilder discountedPricePerQuantity( @@ -63,7 +63,7 @@ public OrderCustomLineItemDiscountSetMessagePayloadBuilder discountedPricePerQua } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessagePayloadBuilder plusDiscountedPricePerQuantity( @@ -76,7 +76,7 @@ public OrderCustomLineItemDiscountSetMessagePayloadBuilder plusDiscountedPricePe } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessagePayloadBuilder plusDiscountedPricePerQuantity( @@ -90,7 +90,7 @@ public OrderCustomLineItemDiscountSetMessagePayloadBuilder plusDiscountedPricePe } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessagePayloadBuilder withDiscountedPricePerQuantity( @@ -102,7 +102,7 @@ public OrderCustomLineItemDiscountSetMessagePayloadBuilder withDiscountedPricePe } /** - * + *

            TaxedItemPrice of the Custom Line Item after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessagePayloadBuilder taxedPrice( @@ -112,7 +112,7 @@ public OrderCustomLineItemDiscountSetMessagePayloadBuilder taxedPrice( } /** - * + *

            TaxedItemPrice of the Custom Line Item after the Discount recalculation.

            */ public OrderCustomLineItemDiscountSetMessagePayloadBuilder taxedPrice( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayloadImpl.java index b33c94b7787..fa352cf3a74 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemDiscountSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomLineItemDiscountSetMessagePayload + *

            Generated after a successful recalculation of a Discount on a Custom Line Item.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomLineItemDiscountSetMessagePayloadImpl @@ -52,7 +52,7 @@ public String getType() { } /** - * + *

            Unique identifier for the Custom Line Item.

            */ public String getCustomLineItemId() { @@ -60,7 +60,7 @@ public String getCustomLineItemId() { } /** - * + *

            Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

            */ public java.util.List getDiscountedPricePerQuantity() { @@ -68,7 +68,7 @@ public java.util.ListTaxedItemPrice of the Custom Line Item after the Discount recalculation.

            */ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessage.java index 6af62387946..73174171c0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessage.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomLineItemQuantityChangedMessage + *

            Generated after a successful Change Custom Line Item Quantity update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,21 +41,21 @@ public interface OrderCustomLineItemQuantityChangedMessage extends OrderMessage String ORDER_CUSTOM_LINE_ITEM_QUANTITY_CHANGED = "OrderCustomLineItemQuantityChanged"; /** - * + *

            Unique identifier of the Custom Line Item.

            */ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *

            Custom Line Item quantity after the Change Custom Line Item Quantity update action.

            */ @NotNull @JsonProperty("quantity") public Long getQuantity(); /** - * + *

            Custom Line Item quantity before the Change Custom Line Item Quantity update action.

            */ @NotNull @JsonProperty("oldQuantity") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessageBuilder.java index 5b19f07a25e..6650ecb82b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessageBuilder.java @@ -64,7 +64,7 @@ public class OrderCustomLineItemQuantityChangedMessageBuilder private Long oldQuantity; /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder id(final String id) { @@ -73,7 +73,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder version(final Long version) { @@ -82,7 +82,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder version(final Long versi } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -91,7 +91,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder createdAt(final java.tim } /** - * + *

            Value of createdAt.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder lastModifiedAt( @@ -101,7 +101,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder lastModifiedAt( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder lastModifiedBy( @@ -111,7 +111,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder lastModifiedBy( @@ -141,7 +141,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -150,7 +150,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder sequenceNumber(final Lon } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder resource( @@ -160,7 +160,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder resource( @@ -170,7 +170,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -179,7 +179,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder resourceVersion(final Lo } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -191,7 +191,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder resourceUserProvidedIden } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -201,7 +201,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder resourceUserProvidedIden } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder customLineItemId(final String customLineItemId) { @@ -210,7 +210,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder customLineItemId(final S } /** - * + *

            Custom Line Item quantity after the Change Custom Line Item Quantity update action.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder quantity(final Long quantity) { @@ -219,7 +219,7 @@ public OrderCustomLineItemQuantityChangedMessageBuilder quantity(final Long quan } /** - * + *

            Custom Line Item quantity before the Change Custom Line Item Quantity update action.

            */ public OrderCustomLineItemQuantityChangedMessageBuilder oldQuantity(final Long oldQuantity) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessageImpl.java index 837f539d87e..eb95a2669a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomLineItemQuantityChangedMessage + *

            Generated after a successful Change Custom Line Item Quantity update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomLineItemQuantityChangedMessageImpl @@ -83,7 +83,7 @@ public OrderCustomLineItemQuantityChangedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -91,7 +91,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -99,7 +99,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -115,7 +115,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -131,7 +131,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -139,7 +139,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -147,7 +147,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -155,7 +155,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -163,7 +163,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -171,7 +171,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public String getCustomLineItemId() { @@ -179,7 +179,7 @@ public String getCustomLineItemId() { } /** - * + *

            Custom Line Item quantity after the Change Custom Line Item Quantity update action.

            */ public Long getQuantity() { @@ -187,7 +187,7 @@ public Long getQuantity() { } /** - * + *

            Custom Line Item quantity before the Change Custom Line Item Quantity update action.

            */ public Long getOldQuantity() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayload.java index f9645e95ff9..32b229735cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayload.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomLineItemQuantityChangedMessagePayload + *

            Generated after a successful Change Custom Line Item Quantity update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,21 +34,21 @@ public interface OrderCustomLineItemQuantityChangedMessagePayload extends OrderM String ORDER_CUSTOM_LINE_ITEM_QUANTITY_CHANGED = "OrderCustomLineItemQuantityChanged"; /** - * + *

            Unique identifier of the Custom Line Item.

            */ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *

            Custom Line Item quantity after the Change Custom Line Item Quantity update action.

            */ @NotNull @JsonProperty("quantity") public Long getQuantity(); /** - * + *

            Custom Line Item quantity before the Change Custom Line Item Quantity update action.

            */ @NotNull @JsonProperty("oldQuantity") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayloadBuilder.java index b6b705ece78..865c1b8714e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayloadBuilder.java @@ -31,7 +31,7 @@ public class OrderCustomLineItemQuantityChangedMessagePayloadBuilder private Long oldQuantity; /** - * + *

            Unique identifier of the Custom Line Item.

            */ public OrderCustomLineItemQuantityChangedMessagePayloadBuilder customLineItemId(final String customLineItemId) { @@ -40,7 +40,7 @@ public OrderCustomLineItemQuantityChangedMessagePayloadBuilder customLineItemId( } /** - * + *

            Custom Line Item quantity after the Change Custom Line Item Quantity update action.

            */ public OrderCustomLineItemQuantityChangedMessagePayloadBuilder quantity(final Long quantity) { @@ -49,7 +49,7 @@ public OrderCustomLineItemQuantityChangedMessagePayloadBuilder quantity(final Lo } /** - * + *

            Custom Line Item quantity before the Change Custom Line Item Quantity update action.

            */ public OrderCustomLineItemQuantityChangedMessagePayloadBuilder oldQuantity(final Long oldQuantity) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayloadImpl.java index a31d8ffadd0..51f96fab919 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemQuantityChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomLineItemQuantityChangedMessagePayload + *

            Generated after a successful Change Custom Line Item Quantity update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomLineItemQuantityChangedMessagePayloadImpl @@ -52,7 +52,7 @@ public String getType() { } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public String getCustomLineItemId() { @@ -60,7 +60,7 @@ public String getCustomLineItemId() { } /** - * + *

            Custom Line Item quantity after the Change Custom Line Item Quantity update action.

            */ public Long getQuantity() { @@ -68,7 +68,7 @@ public Long getQuantity() { } /** - * + *

            Custom Line Item quantity before the Change Custom Line Item Quantity update action.

            */ public Long getOldQuantity() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessage.java index bfa73c13e70..0f44120b40a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomLineItemRemovedMessage + *

            Generated after a successful Remove Custom Line Item update action.

            * *
            * Example to create an instance using the builder pattern @@ -42,14 +42,14 @@ public interface OrderCustomLineItemRemovedMessage extends OrderMessage { String ORDER_CUSTOM_LINE_ITEM_REMOVED = "OrderCustomLineItemRemoved"; /** - * + *

            Unique identifier of the Custom Line Item.

            */ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *

            Custom Line Item that was removed from the Order.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessageBuilder.java index 14f5e5a4dfb..15fd2735ab6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderCustomLineItemRemovedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderCustomLineItemRemovedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderCustomLineItemRemovedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderCustomLineItemRemovedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderCustomLineItemRemovedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderCustomLineItemRemovedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderCustomLineItemRemovedMessageBuilder createdAt(final java.time.ZonedD } /** - * + *

            Value of createdAt.

            */ public OrderCustomLineItemRemovedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderCustomLineItemRemovedMessageBuilder lastModifiedAt(final java.time.Z } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomLineItemRemovedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderCustomLineItemRemovedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomLineItemRemovedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderCustomLineItemRemovedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderCustomLineItemRemovedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderCustomLineItemRemovedMessageBuilder sequenceNumber(final Long sequen } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomLineItemRemovedMessageBuilder resource( @@ -155,7 +155,7 @@ public OrderCustomLineItemRemovedMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomLineItemRemovedMessageBuilder resource( @@ -165,7 +165,7 @@ public OrderCustomLineItemRemovedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderCustomLineItemRemovedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public OrderCustomLineItemRemovedMessageBuilder resourceVersion(final Long resou } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomLineItemRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public OrderCustomLineItemRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomLineItemRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public OrderCustomLineItemRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public OrderCustomLineItemRemovedMessageBuilder customLineItemId(final String customLineItemId) { @@ -205,7 +205,7 @@ public OrderCustomLineItemRemovedMessageBuilder customLineItemId(final String cu } /** - * + *

            Custom Line Item that was removed from the Order.

            */ public OrderCustomLineItemRemovedMessageBuilder customLineItem( @@ -215,7 +215,7 @@ public OrderCustomLineItemRemovedMessageBuilder customLineItem( } /** - * + *

            Custom Line Item that was removed from the Order.

            */ public OrderCustomLineItemRemovedMessageBuilder customLineItem( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessageImpl.java index c7222450ff5..4e25a9716a4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomLineItemRemovedMessage + *

            Generated after a successful Remove Custom Line Item update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomLineItemRemovedMessageImpl implements OrderCustomLineItemRemovedMessage, ModelBase { @@ -79,7 +79,7 @@ public OrderCustomLineItemRemovedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public String getCustomLineItemId() { @@ -175,7 +175,7 @@ public String getCustomLineItemId() { } /** - * + *

            Custom Line Item that was removed from the Order.

            */ public com.commercetools.api.models.cart.CustomLineItem getCustomLineItem() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayload.java index c2d751e0c6f..c8a7be5d04b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomLineItemRemovedMessagePayload + *

            Generated after a successful Remove Custom Line Item update action.

            * *
            * Example to create an instance using the builder pattern @@ -35,14 +35,14 @@ public interface OrderCustomLineItemRemovedMessagePayload extends OrderMessagePa String ORDER_CUSTOM_LINE_ITEM_REMOVED = "OrderCustomLineItemRemoved"; /** - * + *

            Unique identifier of the Custom Line Item.

            */ @NotNull @JsonProperty("customLineItemId") public String getCustomLineItemId(); /** - * + *

            Custom Line Item that was removed from the Order.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayloadBuilder.java index 0896ab0fc0c..33957a36e36 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayloadBuilder.java @@ -29,7 +29,7 @@ public class OrderCustomLineItemRemovedMessagePayloadBuilder private com.commercetools.api.models.cart.CustomLineItem customLineItem; /** - * + *

            Unique identifier of the Custom Line Item.

            */ public OrderCustomLineItemRemovedMessagePayloadBuilder customLineItemId(final String customLineItemId) { @@ -38,7 +38,7 @@ public OrderCustomLineItemRemovedMessagePayloadBuilder customLineItemId(final St } /** - * + *

            Custom Line Item that was removed from the Order.

            */ public OrderCustomLineItemRemovedMessagePayloadBuilder customLineItem( @@ -48,7 +48,7 @@ public OrderCustomLineItemRemovedMessagePayloadBuilder customLineItem( } /** - * + *

            Custom Line Item that was removed from the Order.

            */ public OrderCustomLineItemRemovedMessagePayloadBuilder customLineItem( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayloadImpl.java index de910ff5025..cfb5cc56705 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomLineItemRemovedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomLineItemRemovedMessagePayload + *

            Generated after a successful Remove Custom Line Item update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomLineItemRemovedMessagePayloadImpl @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

            Unique identifier of the Custom Line Item.

            */ public String getCustomLineItemId() { @@ -56,7 +56,7 @@ public String getCustomLineItemId() { } /** - * + *

            Custom Line Item that was removed from the Order.

            */ public com.commercetools.api.models.cart.CustomLineItem getCustomLineItem() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessage.java index 6f407292c28..5a6452d5c9b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomerEmailSetMessage + *

            Generated after a successful Set Customer Email update action.

            * *
            * Example to create an instance using the builder pattern @@ -36,14 +36,14 @@ public interface OrderCustomerEmailSetMessage extends OrderMessage { String ORDER_CUSTOMER_EMAIL_SET = "OrderCustomerEmailSet"; /** - * + *

            Email address on the Order after the Set Customer Email update action.

            */ @JsonProperty("email") public String getEmail(); /** - * + *

            Email address on the Order before the Set Customer Email update action.

            */ @JsonProperty("oldEmail") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessageBuilder.java index 1ad713e01b0..149cd20bae4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderCustomerEmailSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderCustomerEmailSetMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderCustomerEmailSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderCustomerEmailSetMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderCustomerEmailSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderCustomerEmailSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderCustomerEmailSetMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

            Value of createdAt.

            */ public OrderCustomerEmailSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderCustomerEmailSetMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomerEmailSetMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderCustomerEmailSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomerEmailSetMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderCustomerEmailSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderCustomerEmailSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderCustomerEmailSetMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomerEmailSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public OrderCustomerEmailSetMessageBuilder resource(final com.commercetools.api. } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomerEmailSetMessageBuilder resource( @@ -164,7 +164,7 @@ public OrderCustomerEmailSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderCustomerEmailSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public OrderCustomerEmailSetMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomerEmailSetMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public OrderCustomerEmailSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomerEmailSetMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public OrderCustomerEmailSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Email address on the Order after the Set Customer Email update action.

            */ public OrderCustomerEmailSetMessageBuilder email(@Nullable final String email) { @@ -204,7 +204,7 @@ public OrderCustomerEmailSetMessageBuilder email(@Nullable final String email) { } /** - * + *

            Email address on the Order before the Set Customer Email update action.

            */ public OrderCustomerEmailSetMessageBuilder oldEmail(@Nullable final String oldEmail) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessageImpl.java index 61512e82221..44a1ba50f68 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomerEmailSetMessage + *

            Generated after a successful Set Customer Email update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomerEmailSetMessageImpl implements OrderCustomerEmailSetMessage, ModelBase { @@ -77,7 +77,7 @@ public OrderCustomerEmailSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -85,7 +85,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -93,7 +93,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -101,7 +101,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -109,7 +109,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -125,7 +125,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -133,7 +133,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -141,7 +141,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -149,7 +149,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -157,7 +157,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -165,7 +165,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Email address on the Order after the Set Customer Email update action.

            */ public String getEmail() { @@ -173,7 +173,7 @@ public String getEmail() { } /** - * + *

            Email address on the Order before the Set Customer Email update action.

            */ public String getOldEmail() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayload.java index c177f94cb15..a3bb2a11019 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomerEmailSetMessagePayload + *

            Generated after a successful Set Customer Email update action.

            * *
            * Example to create an instance using the builder pattern @@ -29,14 +29,14 @@ public interface OrderCustomerEmailSetMessagePayload extends OrderMessagePayload String ORDER_CUSTOMER_EMAIL_SET = "OrderCustomerEmailSet"; /** - * + *

            Email address on the Order after the Set Customer Email update action.

            */ @JsonProperty("email") public String getEmail(); /** - * + *

            Email address on the Order before the Set Customer Email update action.

            */ @JsonProperty("oldEmail") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayloadBuilder.java index 6a58c5df82e..858f017f6e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayloadBuilder.java @@ -29,7 +29,7 @@ public class OrderCustomerEmailSetMessagePayloadBuilder implements BuilderEmail address on the Order after the Set Customer Email update action.

            */ public OrderCustomerEmailSetMessagePayloadBuilder email(@Nullable final String email) { @@ -38,7 +38,7 @@ public OrderCustomerEmailSetMessagePayloadBuilder email(@Nullable final String e } /** - * + *

            Email address on the Order before the Set Customer Email update action.

            */ public OrderCustomerEmailSetMessagePayloadBuilder oldEmail(@Nullable final String oldEmail) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayloadImpl.java index 10ceaea8f2b..de7f7a20507 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerEmailSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomerEmailSetMessagePayload + *

            Generated after a successful Set Customer Email update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomerEmailSetMessagePayloadImpl implements OrderCustomerEmailSetMessagePayload, ModelBase { @@ -47,7 +47,7 @@ public String getType() { } /** - * + *

            Email address on the Order after the Set Customer Email update action.

            */ public String getEmail() { @@ -55,7 +55,7 @@ public String getEmail() { } /** - * + *

            Email address on the Order before the Set Customer Email update action.

            */ public String getOldEmail() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessage.java index 9f434a7d085..8310896c405 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomerGroupSetMessage + *

            Generated after a successful Set Customer Group update action.

            * *
            * Example to create an instance using the builder pattern @@ -39,14 +39,14 @@ public interface OrderCustomerGroupSetMessage extends OrderMessage { String ORDER_CUSTOMER_GROUP_SET = "OrderCustomerGroupSet"; /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Group update action.

            */ @Valid @JsonProperty("customerGroup") public CustomerGroupReference getCustomerGroup(); /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Group update action.

            */ @Valid @JsonProperty("oldCustomerGroup") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessageBuilder.java index c0f03471c6e..5e0565d0fa7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderCustomerGroupSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderCustomerGroupSetMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderCustomerGroupSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderCustomerGroupSetMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderCustomerGroupSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderCustomerGroupSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderCustomerGroupSetMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

            Value of createdAt.

            */ public OrderCustomerGroupSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderCustomerGroupSetMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomerGroupSetMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderCustomerGroupSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomerGroupSetMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderCustomerGroupSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderCustomerGroupSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderCustomerGroupSetMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomerGroupSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public OrderCustomerGroupSetMessageBuilder resource(final com.commercetools.api. } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomerGroupSetMessageBuilder resource( @@ -164,7 +164,7 @@ public OrderCustomerGroupSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderCustomerGroupSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public OrderCustomerGroupSetMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomerGroupSetMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public OrderCustomerGroupSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomerGroupSetMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public OrderCustomerGroupSetMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Group update action.

            */ public OrderCustomerGroupSetMessageBuilder customerGroup( @@ -207,7 +207,7 @@ public OrderCustomerGroupSetMessageBuilder customerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Group update action.

            */ public OrderCustomerGroupSetMessageBuilder customerGroup( @@ -217,7 +217,7 @@ public OrderCustomerGroupSetMessageBuilder customerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Group update action.

            */ public OrderCustomerGroupSetMessageBuilder oldCustomerGroup( @@ -229,7 +229,7 @@ public OrderCustomerGroupSetMessageBuilder oldCustomerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Group update action.

            */ public OrderCustomerGroupSetMessageBuilder oldCustomerGroup( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessageImpl.java index 2f254e1e7c0..ebdf3f4e56a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomerGroupSetMessage + *

            Generated after a successful Set Customer Group update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomerGroupSetMessageImpl implements OrderCustomerGroupSetMessage, ModelBase { @@ -78,7 +78,7 @@ public OrderCustomerGroupSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Group update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getCustomerGroup() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.customer_group.CustomerGroupReference getCus } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Group update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getOldCustomerGroup() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayload.java index e6e390e8b53..b7d0403622f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomerGroupSetMessagePayload + *

            Generated after a successful Set Customer Group update action.

            * *
            * Example to create an instance using the builder pattern @@ -32,14 +32,14 @@ public interface OrderCustomerGroupSetMessagePayload extends OrderMessagePayload String ORDER_CUSTOMER_GROUP_SET = "OrderCustomerGroupSet"; /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Group update action.

            */ @Valid @JsonProperty("customerGroup") public CustomerGroupReference getCustomerGroup(); /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Group update action.

            */ @Valid @JsonProperty("oldCustomerGroup") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayloadBuilder.java index 161b7ed3765..816a7c0807a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayloadBuilder.java @@ -30,7 +30,7 @@ public class OrderCustomerGroupSetMessagePayloadBuilder implements BuilderReference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Group update action.

            */ public OrderCustomerGroupSetMessagePayloadBuilder customerGroup( @@ -42,7 +42,7 @@ public OrderCustomerGroupSetMessagePayloadBuilder customerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Group update action.

            */ public OrderCustomerGroupSetMessagePayloadBuilder customerGroup( @@ -52,7 +52,7 @@ public OrderCustomerGroupSetMessagePayloadBuilder customerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Group update action.

            */ public OrderCustomerGroupSetMessagePayloadBuilder oldCustomerGroup( @@ -64,7 +64,7 @@ public OrderCustomerGroupSetMessagePayloadBuilder oldCustomerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Group update action.

            */ public OrderCustomerGroupSetMessagePayloadBuilder oldCustomerGroup( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayloadImpl.java index 030d711a113..968cd280162 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerGroupSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomerGroupSetMessagePayload + *

            Generated after a successful Set Customer Group update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomerGroupSetMessagePayloadImpl implements OrderCustomerGroupSetMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Group update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getCustomerGroup() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.customer_group.CustomerGroupReference getCus } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Group update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getOldCustomerGroup() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessage.java index 502d0b6be08..5c8a78a4dda 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomerSetMessage + *

            Generated after a successful Set Customer Id update action.

            * *
            * Example to create an instance using the builder pattern @@ -40,28 +40,28 @@ public interface OrderCustomerSetMessage extends OrderMessage { String ORDER_CUSTOMER_SET = "OrderCustomerSet"; /** - *

            Reference to a Customer.

            + *

            Customer on the Order after the Set Customer Id update action.

            */ @Valid @JsonProperty("customer") public CustomerReference getCustomer(); /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Id update action.

            */ @Valid @JsonProperty("customerGroup") public CustomerGroupReference getCustomerGroup(); /** - *

            Reference to a Customer.

            + *

            Customer on the Order before the Set Customer Id update action.

            */ @Valid @JsonProperty("oldCustomer") public CustomerReference getOldCustomer(); /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Id update action.

            */ @Valid @JsonProperty("oldCustomerGroup") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessageBuilder.java index 023dd9c722c..4a79774fd39 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessageBuilder.java @@ -66,7 +66,7 @@ public class OrderCustomerSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderCustomerSetMessageBuilder id(final String id) { @@ -75,7 +75,7 @@ public OrderCustomerSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderCustomerSetMessageBuilder version(final Long version) { @@ -84,7 +84,7 @@ public OrderCustomerSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderCustomerSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -93,7 +93,7 @@ public OrderCustomerSetMessageBuilder createdAt(final java.time.ZonedDateTime cr } /** - * + *

            Value of createdAt.

            */ public OrderCustomerSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -102,7 +102,7 @@ public OrderCustomerSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTi } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomerSetMessageBuilder lastModifiedBy( @@ -112,7 +112,7 @@ public OrderCustomerSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderCustomerSetMessageBuilder lastModifiedBy( @@ -142,7 +142,7 @@ public OrderCustomerSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderCustomerSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -151,7 +151,7 @@ public OrderCustomerSetMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomerSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -160,7 +160,7 @@ public OrderCustomerSetMessageBuilder resource(final com.commercetools.api.model } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderCustomerSetMessageBuilder resource( @@ -170,7 +170,7 @@ public OrderCustomerSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderCustomerSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -179,7 +179,7 @@ public OrderCustomerSetMessageBuilder resourceVersion(final Long resourceVersion } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomerSetMessageBuilder resourceUserProvidedIdentifiers( @@ -191,7 +191,7 @@ public OrderCustomerSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderCustomerSetMessageBuilder resourceUserProvidedIdentifiers( @@ -201,7 +201,7 @@ public OrderCustomerSetMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            Reference to a Customer.

            + *

            Customer on the Order after the Set Customer Id update action.

            */ public OrderCustomerSetMessageBuilder customer( @@ -211,7 +211,7 @@ public OrderCustomerSetMessageBuilder customer( } /** - *

            Reference to a Customer.

            + *

            Customer on the Order after the Set Customer Id update action.

            */ public OrderCustomerSetMessageBuilder customer( @@ -221,7 +221,7 @@ public OrderCustomerSetMessageBuilder customer( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Id update action.

            */ public OrderCustomerSetMessageBuilder customerGroup( @@ -233,7 +233,7 @@ public OrderCustomerSetMessageBuilder customerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Id update action.

            */ public OrderCustomerSetMessageBuilder customerGroup( @@ -243,7 +243,7 @@ public OrderCustomerSetMessageBuilder customerGroup( } /** - *

            Reference to a Customer.

            + *

            Customer on the Order before the Set Customer Id update action.

            */ public OrderCustomerSetMessageBuilder oldCustomer( @@ -253,7 +253,7 @@ public OrderCustomerSetMessageBuilder oldCustomer( } /** - *

            Reference to a Customer.

            + *

            Customer on the Order before the Set Customer Id update action.

            */ public OrderCustomerSetMessageBuilder oldCustomer( @@ -263,7 +263,7 @@ public OrderCustomerSetMessageBuilder oldCustomer( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Id update action.

            */ public OrderCustomerSetMessageBuilder oldCustomerGroup( @@ -275,7 +275,7 @@ public OrderCustomerSetMessageBuilder oldCustomerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Id update action.

            */ public OrderCustomerSetMessageBuilder oldCustomerGroup( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessageImpl.java index 8ca44ebbc4e..f2ccd25e18a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomerSetMessage + *

            Generated after a successful Set Customer Id update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomerSetMessageImpl implements OrderCustomerSetMessage, ModelBase { @@ -86,7 +86,7 @@ public OrderCustomerSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -94,7 +94,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -102,7 +102,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -118,7 +118,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -142,7 +142,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -150,7 +150,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -158,7 +158,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -166,7 +166,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            Reference to a Customer.

            + *

            Customer on the Order after the Set Customer Id update action.

            */ public com.commercetools.api.models.customer.CustomerReference getCustomer() { @@ -182,7 +182,7 @@ public com.commercetools.api.models.customer.CustomerReference getCustomer() { } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Id update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getCustomerGroup() { @@ -190,7 +190,7 @@ public com.commercetools.api.models.customer_group.CustomerGroupReference getCus } /** - *

            Reference to a Customer.

            + *

            Customer on the Order before the Set Customer Id update action.

            */ public com.commercetools.api.models.customer.CustomerReference getOldCustomer() { @@ -198,7 +198,7 @@ public com.commercetools.api.models.customer.CustomerReference getOldCustomer() } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Id update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getOldCustomerGroup() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayload.java index 0331019b055..b2f881bcaff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderCustomerSetMessagePayload + *

            Generated after a successful Set Customer Id update action.

            * *
            * Example to create an instance using the builder pattern @@ -33,28 +33,28 @@ public interface OrderCustomerSetMessagePayload extends OrderMessagePayload { String ORDER_CUSTOMER_SET = "OrderCustomerSet"; /** - *

            Reference to a Customer.

            + *

            Customer on the Order after the Set Customer Id update action.

            */ @Valid @JsonProperty("customer") public CustomerReference getCustomer(); /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Id update action.

            */ @Valid @JsonProperty("customerGroup") public CustomerGroupReference getCustomerGroup(); /** - *

            Reference to a Customer.

            + *

            Customer on the Order before the Set Customer Id update action.

            */ @Valid @JsonProperty("oldCustomer") public CustomerReference getOldCustomer(); /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Id update action.

            */ @Valid @JsonProperty("oldCustomerGroup") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayloadBuilder.java index e90ac3bd608..2fa34817da7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayloadBuilder.java @@ -36,7 +36,7 @@ public class OrderCustomerSetMessagePayloadBuilder implements BuilderReference to a Customer.

            + *

            Customer on the Order after the Set Customer Id update action.

            */ public OrderCustomerSetMessagePayloadBuilder customer( @@ -46,7 +46,7 @@ public OrderCustomerSetMessagePayloadBuilder customer( } /** - *

            Reference to a Customer.

            + *

            Customer on the Order after the Set Customer Id update action.

            */ public OrderCustomerSetMessagePayloadBuilder customer( @@ -56,7 +56,7 @@ public OrderCustomerSetMessagePayloadBuilder customer( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Id update action.

            */ public OrderCustomerSetMessagePayloadBuilder customerGroup( @@ -68,7 +68,7 @@ public OrderCustomerSetMessagePayloadBuilder customerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Id update action.

            */ public OrderCustomerSetMessagePayloadBuilder customerGroup( @@ -78,7 +78,7 @@ public OrderCustomerSetMessagePayloadBuilder customerGroup( } /** - *

            Reference to a Customer.

            + *

            Customer on the Order before the Set Customer Id update action.

            */ public OrderCustomerSetMessagePayloadBuilder oldCustomer( @@ -88,7 +88,7 @@ public OrderCustomerSetMessagePayloadBuilder oldCustomer( } /** - *

            Reference to a Customer.

            + *

            Customer on the Order before the Set Customer Id update action.

            */ public OrderCustomerSetMessagePayloadBuilder oldCustomer( @@ -98,7 +98,7 @@ public OrderCustomerSetMessagePayloadBuilder oldCustomer( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Id update action.

            */ public OrderCustomerSetMessagePayloadBuilder oldCustomerGroup( @@ -110,7 +110,7 @@ public OrderCustomerSetMessagePayloadBuilder oldCustomerGroup( } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Id update action.

            */ public OrderCustomerSetMessagePayloadBuilder oldCustomerGroup( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayloadImpl.java index d8b626875d5..92e1ce798de 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomerSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderCustomerSetMessagePayload + *

            Generated after a successful Set Customer Id update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderCustomerSetMessagePayloadImpl implements OrderCustomerSetMessagePayload, ModelBase { @@ -56,7 +56,7 @@ public String getType() { } /** - *

            Reference to a Customer.

            + *

            Customer on the Order after the Set Customer Id update action.

            */ public com.commercetools.api.models.customer.CustomerReference getCustomer() { @@ -64,7 +64,7 @@ public com.commercetools.api.models.customer.CustomerReference getCustomer() { } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order after the Set Customer Id update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getCustomerGroup() { @@ -72,7 +72,7 @@ public com.commercetools.api.models.customer_group.CustomerGroupReference getCus } /** - *

            Reference to a Customer.

            + *

            Customer on the Order before the Set Customer Id update action.

            */ public com.commercetools.api.models.customer.CustomerReference getOldCustomer() { @@ -80,7 +80,7 @@ public com.commercetools.api.models.customer.CustomerReference getOldCustomer() } /** - *

            Reference to a CustomerGroup.

            + *

            CustomerGroup on the Order before the Set Customer Id update action.

            */ public com.commercetools.api.models.customer_group.CustomerGroupReference getOldCustomerGroup() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessage.java index e8338c92db4..1d37e519d2f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderDeletedMessage + *

            Generated after a successful Delete Order request.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface OrderDeletedMessage extends OrderMessage { String ORDER_DELETED = "OrderDeleted"; /** - * + *

            Order that has been deleted.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessageBuilder.java index 204f935dab6..744a8fa7c04 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessageBuilder.java @@ -57,7 +57,7 @@ public class OrderDeletedMessageBuilder implements Builder private com.commercetools.api.models.order.Order order; /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderDeletedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public OrderDeletedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderDeletedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public OrderDeletedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public OrderDeletedMessageBuilder createdAt(final java.time.ZonedDateTime create } /** - * + *

            Value of createdAt.

            */ public OrderDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public OrderDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime l } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderDeletedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public OrderDeletedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderDeletedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public OrderDeletedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public OrderDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public OrderDeletedMessageBuilder resource(final com.commercetools.api.models.co } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderDeletedMessageBuilder resource( @@ -161,7 +161,7 @@ public OrderDeletedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public OrderDeletedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public OrderDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public OrderDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Order that has been deleted.

            */ public OrderDeletedMessageBuilder order( @@ -202,7 +202,7 @@ public OrderDeletedMessageBuilder order( } /** - * + *

            Order that has been deleted.

            */ public OrderDeletedMessageBuilder order(final com.commercetools.api.models.order.Order order) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessageImpl.java index 941f4779d03..5fdfc96bd1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderDeletedMessage + *

            Generated after a successful Delete Order request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderDeletedMessageImpl implements OrderDeletedMessage, ModelBase { @@ -74,7 +74,7 @@ public OrderDeletedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Order that has been deleted.

            */ public com.commercetools.api.models.order.Order getOrder() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayload.java index d8f535ca130..1d1cb4a5aad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderDeletedMessagePayload + *

            Generated after a successful Delete Order request.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface OrderDeletedMessagePayload extends OrderMessagePayload { String ORDER_DELETED = "OrderDeleted"; /** - * + *

            Order that has been deleted.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayloadBuilder.java index ffff702d319..34cda208373 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class OrderDeletedMessagePayloadBuilder implements BuilderOrder that has been deleted.

            */ public OrderDeletedMessagePayloadBuilder order( @@ -35,7 +35,7 @@ public OrderDeletedMessagePayloadBuilder order( } /** - * + *

            Order that has been deleted.

            */ public OrderDeletedMessagePayloadBuilder order(final com.commercetools.api.models.order.Order order) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayloadImpl.java index c8fa6b30205..f4b1b32479b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDeletedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderDeletedMessagePayload + *

            Generated after a successful Delete Order request.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderDeletedMessagePayloadImpl implements OrderDeletedMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            Order that has been deleted.

            */ public com.commercetools.api.models.order.Order getOrder() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessage.java index 79232f3412f..14e9970f4c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderDiscountCodeAddedMessage + *

            Generated after a successful Add Discount Code update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface OrderDiscountCodeAddedMessage extends OrderMessage { String ORDER_DISCOUNT_CODE_ADDED = "OrderDiscountCodeAdded"; /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was added.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessageBuilder.java index dfdc7766e65..c2f90f321a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessageBuilder.java @@ -57,7 +57,7 @@ public class OrderDiscountCodeAddedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderDiscountCodeAddedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public OrderDiscountCodeAddedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderDiscountCodeAddedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public OrderDiscountCodeAddedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderDiscountCodeAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public OrderDiscountCodeAddedMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

            Value of createdAt.

            */ public OrderDiscountCodeAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public OrderDiscountCodeAddedMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderDiscountCodeAddedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public OrderDiscountCodeAddedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderDiscountCodeAddedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public OrderDiscountCodeAddedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderDiscountCodeAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public OrderDiscountCodeAddedMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderDiscountCodeAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public OrderDiscountCodeAddedMessageBuilder resource(final com.commercetools.api } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderDiscountCodeAddedMessageBuilder resource( @@ -161,7 +161,7 @@ public OrderDiscountCodeAddedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderDiscountCodeAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public OrderDiscountCodeAddedMessageBuilder resourceVersion(final Long resourceV } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderDiscountCodeAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public OrderDiscountCodeAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderDiscountCodeAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public OrderDiscountCodeAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was added.

            */ public OrderDiscountCodeAddedMessageBuilder discountCode( @@ -203,7 +203,7 @@ public OrderDiscountCodeAddedMessageBuilder discountCode( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was added.

            */ public OrderDiscountCodeAddedMessageBuilder discountCode( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessageImpl.java index 96777ef0fe6..a4b27980c6f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderDiscountCodeAddedMessage + *

            Generated after a successful Add Discount Code update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderDiscountCodeAddedMessageImpl implements OrderDiscountCodeAddedMessage, ModelBase { @@ -74,7 +74,7 @@ public OrderDiscountCodeAddedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was added.

            */ public com.commercetools.api.models.discount_code.DiscountCodeReference getDiscountCode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayload.java index f07bbff93cc..7ce73c214a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderDiscountCodeAddedMessagePayload + *

            Generated after a successful Add Discount Code update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface OrderDiscountCodeAddedMessagePayload extends OrderMessagePayloa String ORDER_DISCOUNT_CODE_ADDED = "OrderDiscountCodeAdded"; /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was added.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayloadBuilder.java index 73b8da51418..2939ca41997 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class OrderDiscountCodeAddedMessagePayloadBuilder implements BuilderReference to a DiscountCode.

            + *

            DiscountCode that was added.

            */ public OrderDiscountCodeAddedMessagePayloadBuilder discountCode( @@ -36,7 +36,7 @@ public OrderDiscountCodeAddedMessagePayloadBuilder discountCode( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was added.

            */ public OrderDiscountCodeAddedMessagePayloadBuilder discountCode( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayloadImpl.java index 988fc29b1e7..40591011148 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderDiscountCodeAddedMessagePayload + *

            Generated after a successful Add Discount Code update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderDiscountCodeAddedMessagePayloadImpl implements OrderDiscountCodeAddedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was added.

            */ public com.commercetools.api.models.discount_code.DiscountCodeReference getDiscountCode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessage.java index 569d3312476..04295059a3e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderDiscountCodeRemovedMessage + *

            Generated after a successful Remove Discount Code update action.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface OrderDiscountCodeRemovedMessage extends OrderMessage { String ORDER_DISCOUNT_CODE_REMOVED = "OrderDiscountCodeRemoved"; /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was removed.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessageBuilder.java index b94b201f19d..c42aa9a9273 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessageBuilder.java @@ -57,7 +57,7 @@ public class OrderDiscountCodeRemovedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderDiscountCodeRemovedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public OrderDiscountCodeRemovedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderDiscountCodeRemovedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public OrderDiscountCodeRemovedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderDiscountCodeRemovedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public OrderDiscountCodeRemovedMessageBuilder createdAt(final java.time.ZonedDat } /** - * + *

            Value of createdAt.

            */ public OrderDiscountCodeRemovedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public OrderDiscountCodeRemovedMessageBuilder lastModifiedAt(final java.time.Zon } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderDiscountCodeRemovedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public OrderDiscountCodeRemovedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderDiscountCodeRemovedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public OrderDiscountCodeRemovedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderDiscountCodeRemovedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public OrderDiscountCodeRemovedMessageBuilder sequenceNumber(final Long sequence } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderDiscountCodeRemovedMessageBuilder resource( @@ -152,7 +152,7 @@ public OrderDiscountCodeRemovedMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderDiscountCodeRemovedMessageBuilder resource( @@ -162,7 +162,7 @@ public OrderDiscountCodeRemovedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderDiscountCodeRemovedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public OrderDiscountCodeRemovedMessageBuilder resourceVersion(final Long resourc } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderDiscountCodeRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public OrderDiscountCodeRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderDiscountCodeRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public OrderDiscountCodeRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was removed.

            */ public OrderDiscountCodeRemovedMessageBuilder discountCode( @@ -204,7 +204,7 @@ public OrderDiscountCodeRemovedMessageBuilder discountCode( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was removed.

            */ public OrderDiscountCodeRemovedMessageBuilder discountCode( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessageImpl.java index 17146d3be75..645b2274ff0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderDiscountCodeRemovedMessage + *

            Generated after a successful Remove Discount Code update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderDiscountCodeRemovedMessageImpl implements OrderDiscountCodeRemovedMessage, ModelBase { @@ -75,7 +75,7 @@ public OrderDiscountCodeRemovedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -83,7 +83,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -91,7 +91,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -99,7 +99,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -123,7 +123,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -131,7 +131,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -147,7 +147,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -155,7 +155,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -163,7 +163,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was removed.

            */ public com.commercetools.api.models.discount_code.DiscountCodeReference getDiscountCode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayload.java index 91ff1492635..36f53a89da2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderDiscountCodeRemovedMessagePayload + *

            Generated after a successful Remove Discount Code update action.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface OrderDiscountCodeRemovedMessagePayload extends OrderMessagePayl String ORDER_DISCOUNT_CODE_REMOVED = "OrderDiscountCodeRemoved"; /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was removed.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayloadBuilder.java index b3c9feddd56..c60365b088d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class OrderDiscountCodeRemovedMessagePayloadBuilder implements BuilderReference to a DiscountCode.

            + *

            DiscountCode that was removed.

            */ public OrderDiscountCodeRemovedMessagePayloadBuilder discountCode( @@ -36,7 +36,7 @@ public OrderDiscountCodeRemovedMessagePayloadBuilder discountCode( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was removed.

            */ public OrderDiscountCodeRemovedMessagePayloadBuilder discountCode( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayloadImpl.java index a567e63db73..6f22d568737 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeRemovedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderDiscountCodeRemovedMessagePayload + *

            Generated after a successful Remove Discount Code update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderDiscountCodeRemovedMessagePayloadImpl implements OrderDiscountCodeRemovedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that was removed.

            */ public com.commercetools.api.models.discount_code.DiscountCodeReference getDiscountCode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessage.java index 13c3bbc3669..12fb3001a66 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderDiscountCodeStateSetMessage + *

            Generated after the DiscountCodeState changes due to a recalculation.

            * *
            * Example to create an instance using the builder pattern @@ -43,7 +43,7 @@ public interface OrderDiscountCodeStateSetMessage extends OrderMessage { String ORDER_DISCOUNT_CODE_STATE_SET = "OrderDiscountCodeStateSet"; /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that changed due to the recalculation.

            */ @NotNull @Valid @@ -51,14 +51,14 @@ public interface OrderDiscountCodeStateSetMessage extends OrderMessage { public DiscountCodeReference getDiscountCode(); /** - * + *

            DiscountCodeState after the recalculation.

            */ @NotNull @JsonProperty("state") public DiscountCodeState getState(); /** - * + *

            DiscountCodeState before the recalculation.

            */ @JsonProperty("oldState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessageBuilder.java index b8c7c55e587..342102a3a44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessageBuilder.java @@ -63,7 +63,7 @@ public class OrderDiscountCodeStateSetMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderDiscountCodeStateSetMessageBuilder id(final String id) { @@ -72,7 +72,7 @@ public OrderDiscountCodeStateSetMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderDiscountCodeStateSetMessageBuilder version(final Long version) { @@ -81,7 +81,7 @@ public OrderDiscountCodeStateSetMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderDiscountCodeStateSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +90,7 @@ public OrderDiscountCodeStateSetMessageBuilder createdAt(final java.time.ZonedDa } /** - * + *

            Value of createdAt.

            */ public OrderDiscountCodeStateSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +99,7 @@ public OrderDiscountCodeStateSetMessageBuilder lastModifiedAt(final java.time.Zo } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderDiscountCodeStateSetMessageBuilder lastModifiedBy( @@ -109,7 +109,7 @@ public OrderDiscountCodeStateSetMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderDiscountCodeStateSetMessageBuilder lastModifiedBy( @@ -139,7 +139,7 @@ public OrderDiscountCodeStateSetMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderDiscountCodeStateSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +148,7 @@ public OrderDiscountCodeStateSetMessageBuilder sequenceNumber(final Long sequenc } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderDiscountCodeStateSetMessageBuilder resource( @@ -158,7 +158,7 @@ public OrderDiscountCodeStateSetMessageBuilder resource( } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderDiscountCodeStateSetMessageBuilder resource( @@ -168,7 +168,7 @@ public OrderDiscountCodeStateSetMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderDiscountCodeStateSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -177,7 +177,7 @@ public OrderDiscountCodeStateSetMessageBuilder resourceVersion(final Long resour } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderDiscountCodeStateSetMessageBuilder resourceUserProvidedIdentifiers( @@ -189,7 +189,7 @@ public OrderDiscountCodeStateSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderDiscountCodeStateSetMessageBuilder resourceUserProvidedIdentifiers( @@ -199,7 +199,7 @@ public OrderDiscountCodeStateSetMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that changed due to the recalculation.

            */ public OrderDiscountCodeStateSetMessageBuilder discountCode( @@ -210,7 +210,7 @@ public OrderDiscountCodeStateSetMessageBuilder discountCode( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that changed due to the recalculation.

            */ public OrderDiscountCodeStateSetMessageBuilder discountCode( @@ -220,7 +220,7 @@ public OrderDiscountCodeStateSetMessageBuilder discountCode( } /** - * + *

            DiscountCodeState after the recalculation.

            */ public OrderDiscountCodeStateSetMessageBuilder state( @@ -230,7 +230,7 @@ public OrderDiscountCodeStateSetMessageBuilder state( } /** - * + *

            DiscountCodeState before the recalculation.

            */ public OrderDiscountCodeStateSetMessageBuilder oldState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessageImpl.java index a0f75a803d8..b14a2327def 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderDiscountCodeStateSetMessage + *

            Generated after the DiscountCodeState changes due to a recalculation.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderDiscountCodeStateSetMessageImpl implements OrderDiscountCodeStateSetMessage, ModelBase { @@ -83,7 +83,7 @@ public OrderDiscountCodeStateSetMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -91,7 +91,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -99,7 +99,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -115,7 +115,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -131,7 +131,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -139,7 +139,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -147,7 +147,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -155,7 +155,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -163,7 +163,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -171,7 +171,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that changed due to the recalculation.

            */ public com.commercetools.api.models.discount_code.DiscountCodeReference getDiscountCode() { @@ -179,7 +179,7 @@ public com.commercetools.api.models.discount_code.DiscountCodeReference getDisco } /** - * + *

            DiscountCodeState after the recalculation.

            */ public com.commercetools.api.models.cart.DiscountCodeState getState() { @@ -187,7 +187,7 @@ public com.commercetools.api.models.cart.DiscountCodeState getState() { } /** - * + *

            DiscountCodeState before the recalculation.

            */ public com.commercetools.api.models.cart.DiscountCodeState getOldState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayload.java index b2eaddabc20..91cb6050d45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderDiscountCodeStateSetMessagePayload + *

            Generated after the DiscountCodeState changes due to a recalculation.

            * *
            * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface OrderDiscountCodeStateSetMessagePayload extends OrderMessagePay String ORDER_DISCOUNT_CODE_STATE_SET = "OrderDiscountCodeStateSet"; /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that changed due to the recalculation.

            */ @NotNull @Valid @@ -44,14 +44,14 @@ public interface OrderDiscountCodeStateSetMessagePayload extends OrderMessagePay public DiscountCodeReference getDiscountCode(); /** - * + *

            DiscountCodeState after the recalculation.

            */ @NotNull @JsonProperty("state") public DiscountCodeState getState(); /** - * + *

            DiscountCodeState before the recalculation.

            */ @JsonProperty("oldState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayloadBuilder.java index 007e5e1fbd3..a38825fdd40 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayloadBuilder.java @@ -34,7 +34,7 @@ public class OrderDiscountCodeStateSetMessagePayloadBuilder private com.commercetools.api.models.cart.DiscountCodeState oldState; /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that changed due to the recalculation.

            */ public OrderDiscountCodeStateSetMessagePayloadBuilder discountCode( @@ -45,7 +45,7 @@ public OrderDiscountCodeStateSetMessagePayloadBuilder discountCode( } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that changed due to the recalculation.

            */ public OrderDiscountCodeStateSetMessagePayloadBuilder discountCode( @@ -55,7 +55,7 @@ public OrderDiscountCodeStateSetMessagePayloadBuilder discountCode( } /** - * + *

            DiscountCodeState after the recalculation.

            */ public OrderDiscountCodeStateSetMessagePayloadBuilder state( @@ -65,7 +65,7 @@ public OrderDiscountCodeStateSetMessagePayloadBuilder state( } /** - * + *

            DiscountCodeState before the recalculation.

            */ public OrderDiscountCodeStateSetMessagePayloadBuilder oldState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayloadImpl.java index f7700b8dd5d..55b68348a8c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderDiscountCodeStateSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderDiscountCodeStateSetMessagePayload + *

            Generated after the DiscountCodeState changes due to a recalculation.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderDiscountCodeStateSetMessagePayloadImpl implements OrderDiscountCodeStateSetMessagePayload, ModelBase { @@ -52,7 +52,7 @@ public String getType() { } /** - *

            Reference to a DiscountCode.

            + *

            DiscountCode that changed due to the recalculation.

            */ public com.commercetools.api.models.discount_code.DiscountCodeReference getDiscountCode() { @@ -60,7 +60,7 @@ public com.commercetools.api.models.discount_code.DiscountCodeReference getDisco } /** - * + *

            DiscountCodeState after the recalculation.

            */ public com.commercetools.api.models.cart.DiscountCodeState getState() { @@ -68,7 +68,7 @@ public com.commercetools.api.models.cart.DiscountCodeState getState() { } /** - * + *

            DiscountCodeState before the recalculation.

            */ public com.commercetools.api.models.cart.DiscountCodeState getOldState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessage.java index 686b836882a..981afb6ce35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessage.java @@ -8,15 +8,15 @@ import javax.validation.Valid; import javax.validation.constraints.NotNull; +import com.commercetools.api.models.order_edit.OrderEdit; import com.commercetools.api.models.order_edit.OrderEditApplied; -import com.commercetools.api.models.order_edit.OrderEditReference; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * OrderEditAppliedMessage + *

            Generated after a successfully applying an OrderEdit.

            * *
            * Example to create an instance using the builder pattern @@ -43,22 +43,22 @@ public interface OrderEditAppliedMessage extends OrderMessage { String ORDER_EDIT_APPLIED = "OrderEditApplied"; /** - *

            Reference to an OrderEdit.

            + *

            OrderEdit that was applied.

            */ @NotNull @Valid @JsonProperty("edit") - public OrderEditReference getEdit(); + public OrderEdit getEdit(); /** - * + *

            Information about a successfully applied OrderEdit.

            */ @NotNull @Valid @JsonProperty("result") public OrderEditApplied getResult(); - public void setEdit(final OrderEditReference edit); + public void setEdit(final OrderEdit edit); public void setResult(final OrderEditApplied result); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessageBuilder.java index aeb9bbc6d6c..d704a24bead 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessageBuilder.java @@ -55,12 +55,12 @@ public class OrderEditAppliedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderEditAppliedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderEditAppliedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderEditAppliedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderEditAppliedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderEditAppliedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderEditAppliedMessageBuilder createdAt(final java.time.ZonedDateTime cr } /** - * + *

            Value of createdAt.

            */ public OrderEditAppliedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderEditAppliedMessageBuilder lastModifiedAt(final java.time.ZonedDateTi } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderEditAppliedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderEditAppliedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderEditAppliedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderEditAppliedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderEditAppliedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderEditAppliedMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderEditAppliedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public OrderEditAppliedMessageBuilder resource(final com.commercetools.api.model } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderEditAppliedMessageBuilder resource( @@ -164,7 +164,7 @@ public OrderEditAppliedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderEditAppliedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public OrderEditAppliedMessageBuilder resourceVersion(final Long resourceVersion } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderEditAppliedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public OrderEditAppliedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderEditAppliedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,26 +195,26 @@ public OrderEditAppliedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

            Reference to an OrderEdit.

            + *

            OrderEdit that was applied.

            */ public OrderEditAppliedMessageBuilder edit( - Function builder) { - this.edit = builder.apply(com.commercetools.api.models.order_edit.OrderEditReferenceBuilder.of()).build(); + Function builder) { + this.edit = builder.apply(com.commercetools.api.models.order_edit.OrderEditBuilder.of()).build(); return this; } /** - *

            Reference to an OrderEdit.

            + *

            OrderEdit that was applied.

            */ - public OrderEditAppliedMessageBuilder edit(final com.commercetools.api.models.order_edit.OrderEditReference edit) { + public OrderEditAppliedMessageBuilder edit(final com.commercetools.api.models.order_edit.OrderEdit edit) { this.edit = edit; return this; } /** - * + *

            Information about a successfully applied OrderEdit.

            */ public OrderEditAppliedMessageBuilder result( @@ -224,7 +224,7 @@ public OrderEditAppliedMessageBuilder result( } /** - * + *

            Information about a successfully applied OrderEdit.

            */ public OrderEditAppliedMessageBuilder result( @@ -276,7 +276,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } - public com.commercetools.api.models.order_edit.OrderEditReference getEdit() { + public com.commercetools.api.models.order_edit.OrderEdit getEdit() { return this.edit; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessageImpl.java index 44f573e7170..8928e8925fe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderEditAppliedMessage + *

            Generated after a successfully applying an OrderEdit.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderEditAppliedMessageImpl implements OrderEditAppliedMessage, ModelBase { @@ -42,7 +42,7 @@ public class OrderEditAppliedMessageImpl implements OrderEditAppliedMessage, Mod private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; - private com.commercetools.api.models.order_edit.OrderEditReference edit; + private com.commercetools.api.models.order_edit.OrderEdit edit; private com.commercetools.api.models.order_edit.OrderEditApplied result; @@ -56,7 +56,7 @@ public class OrderEditAppliedMessageImpl implements OrderEditAppliedMessage, Mod @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, - @JsonProperty("edit") final com.commercetools.api.models.order_edit.OrderEditReference edit, + @JsonProperty("edit") final com.commercetools.api.models.order_edit.OrderEdit edit, @JsonProperty("result") final com.commercetools.api.models.order_edit.OrderEditApplied result) { this.id = id; this.version = version; @@ -78,7 +78,7 @@ public OrderEditAppliedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,15 +166,15 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

            Reference to an OrderEdit.

            + *

            OrderEdit that was applied.

            */ - public com.commercetools.api.models.order_edit.OrderEditReference getEdit() { + public com.commercetools.api.models.order_edit.OrderEdit getEdit() { return this.edit; } /** - * + *

            Information about a successfully applied OrderEdit.

            */ public com.commercetools.api.models.order_edit.OrderEditApplied getResult() { @@ -222,7 +222,7 @@ public void setResourceUserProvidedIdentifiers( this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; } - public void setEdit(final com.commercetools.api.models.order_edit.OrderEditReference edit) { + public void setEdit(final com.commercetools.api.models.order_edit.OrderEdit edit) { this.edit = edit; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayload.java index 33cdabe9812..a7515e441c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayload.java @@ -8,15 +8,15 @@ import javax.validation.Valid; import javax.validation.constraints.NotNull; +import com.commercetools.api.models.order_edit.OrderEdit; import com.commercetools.api.models.order_edit.OrderEditApplied; -import com.commercetools.api.models.order_edit.OrderEditReference; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * OrderEditAppliedMessagePayload + *

            Generated after a successfully applying an OrderEdit.

            * *
            * Example to create an instance using the builder pattern @@ -36,22 +36,22 @@ public interface OrderEditAppliedMessagePayload extends OrderMessagePayload { String ORDER_EDIT_APPLIED = "OrderEditApplied"; /** - *

            Reference to an OrderEdit.

            + *

            OrderEdit that was applied.

            */ @NotNull @Valid @JsonProperty("edit") - public OrderEditReference getEdit(); + public OrderEdit getEdit(); /** - * + *

            Information about a successfully applied OrderEdit.

            */ @NotNull @Valid @JsonProperty("result") public OrderEditApplied getResult(); - public void setEdit(final OrderEditReference edit); + public void setEdit(final OrderEdit edit); public void setResult(final OrderEditApplied result); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayloadBuilder.java index c256753dee6..00f5b3afa80 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayloadBuilder.java @@ -23,32 +23,31 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderEditAppliedMessagePayloadBuilder implements Builder { - private com.commercetools.api.models.order_edit.OrderEditReference edit; + private com.commercetools.api.models.order_edit.OrderEdit edit; private com.commercetools.api.models.order_edit.OrderEditApplied result; /** - *

            Reference to an OrderEdit.

            + *

            OrderEdit that was applied.

            */ public OrderEditAppliedMessagePayloadBuilder edit( - Function builder) { - this.edit = builder.apply(com.commercetools.api.models.order_edit.OrderEditReferenceBuilder.of()).build(); + Function builder) { + this.edit = builder.apply(com.commercetools.api.models.order_edit.OrderEditBuilder.of()).build(); return this; } /** - *

            Reference to an OrderEdit.

            + *

            OrderEdit that was applied.

            */ - public OrderEditAppliedMessagePayloadBuilder edit( - final com.commercetools.api.models.order_edit.OrderEditReference edit) { + public OrderEditAppliedMessagePayloadBuilder edit(final com.commercetools.api.models.order_edit.OrderEdit edit) { this.edit = edit; return this; } /** - * + *

            Information about a successfully applied OrderEdit.

            */ public OrderEditAppliedMessagePayloadBuilder result( @@ -58,7 +57,7 @@ public OrderEditAppliedMessagePayloadBuilder result( } /** - * + *

            Information about a successfully applied OrderEdit.

            */ public OrderEditAppliedMessagePayloadBuilder result( @@ -67,7 +66,7 @@ public OrderEditAppliedMessagePayloadBuilder result( return this; } - public com.commercetools.api.models.order_edit.OrderEditReference getEdit() { + public com.commercetools.api.models.order_edit.OrderEdit getEdit() { return this.edit; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayloadImpl.java index dc81ff127f5..3761e8fda6b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderEditAppliedMessagePayloadImpl.java @@ -15,20 +15,20 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderEditAppliedMessagePayload + *

            Generated after a successfully applying an OrderEdit.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderEditAppliedMessagePayloadImpl implements OrderEditAppliedMessagePayload, ModelBase { private String type; - private com.commercetools.api.models.order_edit.OrderEditReference edit; + private com.commercetools.api.models.order_edit.OrderEdit edit; private com.commercetools.api.models.order_edit.OrderEditApplied result; @JsonCreator OrderEditAppliedMessagePayloadImpl( - @JsonProperty("edit") final com.commercetools.api.models.order_edit.OrderEditReference edit, + @JsonProperty("edit") final com.commercetools.api.models.order_edit.OrderEdit edit, @JsonProperty("result") final com.commercetools.api.models.order_edit.OrderEditApplied result) { this.edit = edit; this.result = result; @@ -48,22 +48,22 @@ public String getType() { } /** - *

            Reference to an OrderEdit.

            + *

            OrderEdit that was applied.

            */ - public com.commercetools.api.models.order_edit.OrderEditReference getEdit() { + public com.commercetools.api.models.order_edit.OrderEdit getEdit() { return this.edit; } /** - * + *

            Information about a successfully applied OrderEdit.

            */ public com.commercetools.api.models.order_edit.OrderEditApplied getResult() { return this.result; } - public void setEdit(final com.commercetools.api.models.order_edit.OrderEditReference edit) { + public void setEdit(final com.commercetools.api.models.order_edit.OrderEdit edit) { this.edit = edit; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessage.java index eca6db1f382..0863fc0b05e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderImportedMessage + *

            Generated after a successful Order Import.

            * *
            * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface OrderImportedMessage extends OrderMessage { String ORDER_IMPORTED = "OrderImported"; /** - * + *

            Order that was imported.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessageBuilder.java index b4579bd9007..b911ad15a6c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessageBuilder.java @@ -57,7 +57,7 @@ public class OrderImportedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderImportedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public OrderImportedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderImportedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public OrderImportedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderImportedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public OrderImportedMessageBuilder createdAt(final java.time.ZonedDateTime creat } /** - * + *

            Value of createdAt.

            */ public OrderImportedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public OrderImportedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderImportedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public OrderImportedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderImportedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public OrderImportedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderImportedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public OrderImportedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderImportedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public OrderImportedMessageBuilder resource(final com.commercetools.api.models.c } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderImportedMessageBuilder resource( @@ -161,7 +161,7 @@ public OrderImportedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderImportedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public OrderImportedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderImportedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public OrderImportedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderImportedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public OrderImportedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Order that was imported.

            */ public OrderImportedMessageBuilder order( @@ -202,7 +202,7 @@ public OrderImportedMessageBuilder order( } /** - * + *

            Order that was imported.

            */ public OrderImportedMessageBuilder order(final com.commercetools.api.models.order.Order order) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessageImpl.java index 69f99065e35..88fe887a0ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderImportedMessage + *

            Generated after a successful Order Import.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderImportedMessageImpl implements OrderImportedMessage, ModelBase { @@ -74,7 +74,7 @@ public OrderImportedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Order that was imported.

            */ public com.commercetools.api.models.order.Order getOrder() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayload.java index 1055ed2c36f..1de58c84553 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderImportedMessagePayload + *

            Generated after a successful Order Import.

            * *
            * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface OrderImportedMessagePayload extends OrderMessagePayload { String ORDER_IMPORTED = "OrderImported"; /** - * + *

            Order that was imported.

            */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayloadBuilder.java index 7189f8349d5..2afc3ad389c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class OrderImportedMessagePayloadBuilder implements BuilderOrder that was imported.

            */ public OrderImportedMessagePayloadBuilder order( @@ -35,7 +35,7 @@ public OrderImportedMessagePayloadBuilder order( } /** - * + *

            Order that was imported.

            */ public OrderImportedMessagePayloadBuilder order(final com.commercetools.api.models.order.Order order) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayloadImpl.java index eaf49bb4d41..38e4e278aff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderImportedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderImportedMessagePayload + *

            Generated after a successful Order Import.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderImportedMessagePayloadImpl implements OrderImportedMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

            Order that was imported.

            */ public com.commercetools.api.models.order.Order getOrder() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessage.java index 1d020dc002f..0b7889d8631 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderLineItemAddedMessage + *

            Generated after a successful Add Line Item update action.

            * *
            * Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface OrderLineItemAddedMessage extends OrderMessage { String ORDER_LINE_ITEM_ADDED = "OrderLineItemAdded"; /** - * + *

            Line Item that was added to the Order.

            */ @NotNull @Valid @@ -50,7 +50,7 @@ public interface OrderLineItemAddedMessage extends OrderMessage { public LineItem getLineItem(); /** - * + *

            Quantity of Line Items that were added to the Order.

            */ @NotNull @JsonProperty("addedQuantity") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessageBuilder.java index 3e05b8f34f9..fe57f904f71 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderLineItemAddedMessageBuilder implements BuilderUnique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public OrderLineItemAddedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderLineItemAddedMessageBuilder id(final String id) { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public OrderLineItemAddedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderLineItemAddedMessageBuilder version(final Long version) { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public OrderLineItemAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderLineItemAddedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

            Value of createdAt.

            */ public OrderLineItemAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderLineItemAddedMessageBuilder lastModifiedAt(final java.time.ZonedDate } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderLineItemAddedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderLineItemAddedMessageBuilder lastModifiedBy( } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public OrderLineItemAddedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderLineItemAddedMessageBuilder createdBy( } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public OrderLineItemAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderLineItemAddedMessageBuilder sequenceNumber(final Long sequenceNumber } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderLineItemAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public OrderLineItemAddedMessageBuilder resource(final com.commercetools.api.mod } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public OrderLineItemAddedMessageBuilder resource( @@ -164,7 +164,7 @@ public OrderLineItemAddedMessageBuilder resource( } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public OrderLineItemAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public OrderLineItemAddedMessageBuilder resourceVersion(final Long resourceVersi } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderLineItemAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public OrderLineItemAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public OrderLineItemAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public OrderLineItemAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

            Line Item that was added to the Order.

            */ public OrderLineItemAddedMessageBuilder lineItem( @@ -205,7 +205,7 @@ public OrderLineItemAddedMessageBuilder lineItem( } /** - * + *

            Line Item that was added to the Order.

            */ public OrderLineItemAddedMessageBuilder lineItem(final com.commercetools.api.models.cart.LineItem lineItem) { @@ -214,7 +214,7 @@ public OrderLineItemAddedMessageBuilder lineItem(final com.commercetools.api.mod } /** - * + *

            Quantity of Line Items that were added to the Order.

            */ public OrderLineItemAddedMessageBuilder addedQuantity(final Long addedQuantity) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessageImpl.java index 8b1ca0c9dee..041d16b3edf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderLineItemAddedMessage + *

            Generated after a successful Add Line Item update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderLineItemAddedMessageImpl implements OrderLineItemAddedMessage, ModelBase { @@ -78,7 +78,7 @@ public OrderLineItemAddedMessageImpl() { } /** - *

            Unique identifier of the Message.

            + *

            Unique identifier of the Message. Can be used to track which Messages have been processed.

            */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

            Version of a resource. In case of Messages, this is always 1.

            */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

            Date and time (UTC) the Message was generated.

            */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

            Value of createdAt.

            */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

            Present on resources created after 1 February 2019 except for events not tracked.

            + *

            Value of createdBy.

            */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

            Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

            */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

            A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

            + *

            Reference to the resource on which the change or action was performed.

            */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

            Version of the resource on which the change or action was performed.

            */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

            Message Type of the Message.

            */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

            User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

            */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

            Line Item that was added to the Order.

            */ public com.commercetools.api.models.cart.LineItem getLineItem() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.cart.LineItem getLineItem() { } /** - * + *

            Quantity of Line Items that were added to the Order.

            */ public Long getAddedQuantity() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayload.java index c8075c100b5..b6116f18d88 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderLineItemAddedMessagePayload + *

            Generated after a successful Add Line Item update action.

            * *
            * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface OrderLineItemAddedMessagePayload extends OrderMessagePayload { String ORDER_LINE_ITEM_ADDED = "OrderLineItemAdded"; /** - * + *

            Line Item that was added to the Order.

            */ @NotNull @Valid @@ -43,7 +43,7 @@ public interface OrderLineItemAddedMessagePayload extends OrderMessagePayload { public LineItem getLineItem(); /** - * + *

            Quantity of Line Items that were added to the Order.

            */ @NotNull @JsonProperty("addedQuantity") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayloadBuilder.java index ec1530abb68..10cd08b30e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayloadBuilder.java @@ -28,7 +28,7 @@ public class OrderLineItemAddedMessagePayloadBuilder implements BuilderLine Item that was added to the Order.

            */ public OrderLineItemAddedMessagePayloadBuilder lineItem( @@ -38,7 +38,7 @@ public OrderLineItemAddedMessagePayloadBuilder lineItem( } /** - * + *

            Line Item that was added to the Order.

            */ public OrderLineItemAddedMessagePayloadBuilder lineItem(final com.commercetools.api.models.cart.LineItem lineItem) { @@ -47,7 +47,7 @@ public OrderLineItemAddedMessagePayloadBuilder lineItem(final com.commercetools. } /** - * + *

            Quantity of Line Items that were added to the Order.

            */ public OrderLineItemAddedMessagePayloadBuilder addedQuantity(final Long addedQuantity) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayloadImpl.java index 020090be86f..ee98491a79f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderLineItemAddedMessagePayload + *

            Generated after a successful Add Line Item update action.

            */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderLineItemAddedMessagePayloadImpl implements OrderLineItemAddedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

            Line Item that was added to the Order.

            */ public com.commercetools.api.models.cart.LineItem getLineItem() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.cart.LineItem getLineItem() { } /** - * + *

            Quantity of Line Items that were added to the Order.

            */ public Long getAddedQuantity() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessage.java index 29e8134dd8e..fa506f3dec1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessage.java @@ -9,6 +9,7 @@ import javax.validation.constraints.NotNull; import com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity; +import com.commercetools.api.models.cart.MethodTaxedPrice; import com.commercetools.api.models.cart.TaxedItemPrice; import com.commercetools.api.models.common.Money; import com.fasterxml.jackson.annotation.*; @@ -17,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderLineItemDiscountSetMessage + *

            Generated after a successful recalculation of a Discount on a Line Item.

            * *
            * Example to create an instance using the builder pattern @@ -34,6 +35,7 @@ * .lineItemId("{lineItemId}") * .plusDiscountedPricePerQuantity(discountedPricePerQuantityBuilder -> discountedPricePerQuantityBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) + * .plusTaxedPricePortions(taxedPricePortionsBuilder -> taxedPricePortionsBuilder) * .build() * *
    @@ -45,14 +47,14 @@ public interface OrderLineItemDiscountSetMessage extends OrderMessage { String ORDER_LINE_ITEM_DISCOUNT_SET = "OrderLineItemDiscountSet"; /** - * + *

    Unique identifier for the Line Item.

    */ @NotNull @JsonProperty("lineItemId") public String getLineItemId(); /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ @NotNull @Valid @@ -60,8 +62,7 @@ public interface OrderLineItemDiscountSetMessage extends OrderMessage { public List getDiscountedPricePerQuantity(); /** - *

    Draft type that stores amounts in cent precision for the specified currency.

    - *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    + *

    Total Price of the Line Item after the Discount recalculation.

    */ @NotNull @Valid @@ -69,12 +70,20 @@ public interface OrderLineItemDiscountSetMessage extends OrderMessage { public Money getTotalPrice(); /** - * + *

    TaxedItemPrice of the Line Item after the Discount recalculation.

    */ @Valid @JsonProperty("taxedPrice") public TaxedItemPrice getTaxedPrice(); + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + @NotNull + @Valid + @JsonProperty("taxedPricePortions") + public List getTaxedPricePortions(); + public void setLineItemId(final String lineItemId); @JsonIgnore @@ -87,6 +96,11 @@ public void setDiscountedPricePerQuantity( public void setTaxedPrice(final TaxedItemPrice taxedPrice); + @JsonIgnore + public void setTaxedPricePortions(final MethodTaxedPrice... taxedPricePortions); + + public void setTaxedPricePortions(final List taxedPricePortions); + public static OrderLineItemDiscountSetMessage of() { return new OrderLineItemDiscountSetMessageImpl(); } @@ -107,6 +121,7 @@ public static OrderLineItemDiscountSetMessage of(final OrderLineItemDiscountSetM instance.setDiscountedPricePerQuantity(template.getDiscountedPricePerQuantity()); instance.setTotalPrice(template.getTotalPrice()); instance.setTaxedPrice(template.getTaxedPrice()); + instance.setTaxedPricePortions(template.getTaxedPricePortions()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageBuilder.java index 44701866f03..5fd9c21da1b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageBuilder.java @@ -26,6 +26,7 @@ * .lineItemId("{lineItemId}") * .plusDiscountedPricePerQuantity(discountedPricePerQuantityBuilder -> discountedPricePerQuantityBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) + * .plusTaxedPricePortions(taxedPricePortionsBuilder -> taxedPricePortionsBuilder) * .build() * *
    @@ -65,8 +66,10 @@ public class OrderLineItemDiscountSetMessageBuilder implements Builder taxedPricePortions; + /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderLineItemDiscountSetMessageBuilder id(final String id) { @@ -75,7 +78,7 @@ public OrderLineItemDiscountSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderLineItemDiscountSetMessageBuilder version(final Long version) { @@ -84,7 +87,7 @@ public OrderLineItemDiscountSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderLineItemDiscountSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -93,7 +96,7 @@ public OrderLineItemDiscountSetMessageBuilder createdAt(final java.time.ZonedDat } /** - * + *

    Value of createdAt.

    */ public OrderLineItemDiscountSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -102,7 +105,7 @@ public OrderLineItemDiscountSetMessageBuilder lastModifiedAt(final java.time.Zon } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderLineItemDiscountSetMessageBuilder lastModifiedBy( @@ -112,7 +115,7 @@ public OrderLineItemDiscountSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderLineItemDiscountSetMessageBuilder lastModifiedBy( @@ -142,7 +145,7 @@ public OrderLineItemDiscountSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderLineItemDiscountSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -151,7 +154,7 @@ public OrderLineItemDiscountSetMessageBuilder sequenceNumber(final Long sequence } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderLineItemDiscountSetMessageBuilder resource( @@ -161,7 +164,7 @@ public OrderLineItemDiscountSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderLineItemDiscountSetMessageBuilder resource( @@ -171,7 +174,7 @@ public OrderLineItemDiscountSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderLineItemDiscountSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -180,7 +183,7 @@ public OrderLineItemDiscountSetMessageBuilder resourceVersion(final Long resourc } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderLineItemDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +195,7 @@ public OrderLineItemDiscountSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderLineItemDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -202,7 +205,7 @@ public OrderLineItemDiscountSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier for the Line Item.

    */ public OrderLineItemDiscountSetMessageBuilder lineItemId(final String lineItemId) { @@ -211,7 +214,7 @@ public OrderLineItemDiscountSetMessageBuilder lineItemId(final String lineItemId } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder discountedPricePerQuantity( @@ -221,7 +224,7 @@ public OrderLineItemDiscountSetMessageBuilder discountedPricePerQuantity( } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder discountedPricePerQuantity( @@ -231,7 +234,7 @@ public OrderLineItemDiscountSetMessageBuilder discountedPricePerQuantity( } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder plusDiscountedPricePerQuantity( @@ -244,7 +247,7 @@ public OrderLineItemDiscountSetMessageBuilder plusDiscountedPricePerQuantity( } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder plusDiscountedPricePerQuantity( @@ -258,7 +261,7 @@ public OrderLineItemDiscountSetMessageBuilder plusDiscountedPricePerQuantity( } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder withDiscountedPricePerQuantity( @@ -270,8 +273,7 @@ public OrderLineItemDiscountSetMessageBuilder withDiscountedPricePerQuantity( } /** - *

    Draft type that stores amounts in cent precision for the specified currency.

    - *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    + *

    Total Price of the Line Item after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder totalPrice( @@ -281,8 +283,7 @@ public OrderLineItemDiscountSetMessageBuilder totalPrice( } /** - *

    Draft type that stores amounts in cent precision for the specified currency.

    - *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    + *

    Total Price of the Line Item after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder totalPrice( @@ -292,7 +293,7 @@ public OrderLineItemDiscountSetMessageBuilder totalPrice( } /** - * + *

    TaxedItemPrice of the Line Item after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder taxedPrice( @@ -302,7 +303,7 @@ public OrderLineItemDiscountSetMessageBuilder taxedPrice( } /** - * + *

    TaxedItemPrice of the Line Item after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessageBuilder taxedPrice( @@ -311,6 +312,65 @@ public OrderLineItemDiscountSetMessageBuilder taxedPrice( return this; } + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessageBuilder taxedPricePortions( + final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + this.taxedPricePortions = new ArrayList<>(Arrays.asList(taxedPricePortions)); + return this; + } + + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessageBuilder taxedPricePortions( + final java.util.List taxedPricePortions) { + this.taxedPricePortions = taxedPricePortions; + return this; + } + + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessageBuilder plusTaxedPricePortions( + final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + if (this.taxedPricePortions == null) { + this.taxedPricePortions = new ArrayList<>(); + } + this.taxedPricePortions.addAll(Arrays.asList(taxedPricePortions)); + return this; + } + + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessageBuilder plusTaxedPricePortions( + Function builder) { + if (this.taxedPricePortions == null) { + this.taxedPricePortions = new ArrayList<>(); + } + this.taxedPricePortions + .add(builder.apply(com.commercetools.api.models.cart.MethodTaxedPriceBuilder.of()).build()); + return this; + } + + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessageBuilder withTaxedPricePortions( + Function builder) { + this.taxedPricePortions = new ArrayList<>(); + this.taxedPricePortions + .add(builder.apply(com.commercetools.api.models.cart.MethodTaxedPriceBuilder.of()).build()); + return this; + } + public String getId() { return this.id; } @@ -371,6 +431,10 @@ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { return this.taxedPrice; } + public java.util.List getTaxedPricePortions() { + return this.taxedPricePortions; + } + public OrderLineItemDiscountSetMessage build() { Objects.requireNonNull(id, OrderLineItemDiscountSetMessage.class + ": id is missing"); Objects.requireNonNull(version, OrderLineItemDiscountSetMessage.class + ": version is missing"); @@ -383,9 +447,11 @@ public OrderLineItemDiscountSetMessage build() { Objects.requireNonNull(discountedPricePerQuantity, OrderLineItemDiscountSetMessage.class + ": discountedPricePerQuantity is missing"); Objects.requireNonNull(totalPrice, OrderLineItemDiscountSetMessage.class + ": totalPrice is missing"); + Objects.requireNonNull(taxedPricePortions, + OrderLineItemDiscountSetMessage.class + ": taxedPricePortions is missing"); return new OrderLineItemDiscountSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, lineItemId, - discountedPricePerQuantity, totalPrice, taxedPrice); + discountedPricePerQuantity, totalPrice, taxedPrice, taxedPricePortions); } /** @@ -394,7 +460,7 @@ public OrderLineItemDiscountSetMessage build() { public OrderLineItemDiscountSetMessage buildUnchecked() { return new OrderLineItemDiscountSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, lineItemId, - discountedPricePerQuantity, totalPrice, taxedPrice); + discountedPricePerQuantity, totalPrice, taxedPrice, taxedPricePortions); } public static OrderLineItemDiscountSetMessageBuilder of() { @@ -417,6 +483,7 @@ public static OrderLineItemDiscountSetMessageBuilder of(final OrderLineItemDisco builder.discountedPricePerQuantity = template.getDiscountedPricePerQuantity(); builder.totalPrice = template.getTotalPrice(); builder.taxedPrice = template.getTaxedPrice(); + builder.taxedPricePortions = template.getTaxedPricePortions(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageImpl.java index 092184d7886..c05eb5769e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderLineItemDiscountSetMessage + *

    Generated after a successful recalculation of a Discount on a Line Item.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderLineItemDiscountSetMessageImpl implements OrderLineItemDiscountSetMessage, ModelBase { @@ -50,6 +50,8 @@ public class OrderLineItemDiscountSetMessageImpl implements OrderLineItemDiscoun private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice; + private java.util.List taxedPricePortions; + @JsonCreator OrderLineItemDiscountSetMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @@ -64,7 +66,8 @@ public class OrderLineItemDiscountSetMessageImpl implements OrderLineItemDiscoun @JsonProperty("lineItemId") final String lineItemId, @JsonProperty("discountedPricePerQuantity") final java.util.List discountedPricePerQuantity, @JsonProperty("totalPrice") final com.commercetools.api.models.common.Money totalPrice, - @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice) { + @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice, + @JsonProperty("taxedPricePortions") final java.util.List taxedPricePortions) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -79,6 +82,7 @@ public class OrderLineItemDiscountSetMessageImpl implements OrderLineItemDiscoun this.discountedPricePerQuantity = discountedPricePerQuantity; this.totalPrice = totalPrice; this.taxedPrice = taxedPrice; + this.taxedPricePortions = taxedPricePortions; this.type = ORDER_LINE_ITEM_DISCOUNT_SET; } @@ -87,7 +91,7 @@ public OrderLineItemDiscountSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -95,7 +99,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -103,7 +107,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -111,7 +115,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -119,7 +123,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -135,7 +139,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -143,7 +147,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -151,7 +155,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -159,7 +163,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -167,7 +171,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -175,7 +179,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier for the Line Item.

    */ public String getLineItemId() { @@ -183,7 +187,7 @@ public String getLineItemId() { } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public java.util.List getDiscountedPricePerQuantity() { @@ -191,8 +195,7 @@ public java.util.ListDraft type that stores amounts in cent precision for the specified currency.

    - *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    + *

    Total Price of the Line Item after the Discount recalculation.

    */ public com.commercetools.api.models.common.Money getTotalPrice() { @@ -200,13 +203,21 @@ public com.commercetools.api.models.common.Money getTotalPrice() { } /** - * + *

    TaxedItemPrice of the Line Item after the Discount recalculation.

    */ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { return this.taxedPrice; } + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public java.util.List getTaxedPricePortions() { + return this.taxedPricePortions; + } + public void setId(final String id) { this.id = id; } @@ -270,6 +281,15 @@ public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedItemPrice this.taxedPrice = taxedPrice; } + public void setTaxedPricePortions(final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + this.taxedPricePortions = new ArrayList<>(Arrays.asList(taxedPricePortions)); + } + + public void setTaxedPricePortions( + final java.util.List taxedPricePortions) { + this.taxedPricePortions = taxedPricePortions; + } + @Override public boolean equals(Object o) { if (this == o) @@ -295,6 +315,7 @@ public boolean equals(Object o) { .append(discountedPricePerQuantity, that.discountedPricePerQuantity) .append(totalPrice, that.totalPrice) .append(taxedPrice, that.taxedPrice) + .append(taxedPricePortions, that.taxedPricePortions) .isEquals(); } @@ -315,6 +336,7 @@ public int hashCode() { .append(discountedPricePerQuantity) .append(totalPrice) .append(taxedPrice) + .append(taxedPricePortions) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayload.java index 7b6f6ffc56a..a26d98fbda5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayload.java @@ -9,6 +9,7 @@ import javax.validation.constraints.NotNull; import com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity; +import com.commercetools.api.models.cart.MethodTaxedPrice; import com.commercetools.api.models.cart.TaxedItemPrice; import com.commercetools.api.models.common.Money; import com.fasterxml.jackson.annotation.*; @@ -17,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderLineItemDiscountSetMessagePayload + *

    Generated after a successful recalculation of a Discount on a Line Item.

    * *
    * Example to create an instance using the builder pattern @@ -27,6 +28,7 @@ * .lineItemId("{lineItemId}") * .plusDiscountedPricePerQuantity(discountedPricePerQuantityBuilder -> discountedPricePerQuantityBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) + * .plusTaxedPricePortions(taxedPricePortionsBuilder -> taxedPricePortionsBuilder) * .build() * *
    @@ -38,14 +40,14 @@ public interface OrderLineItemDiscountSetMessagePayload extends OrderMessagePayl String ORDER_LINE_ITEM_DISCOUNT_SET = "OrderLineItemDiscountSet"; /** - * + *

    Unique identifier for the Line Item.

    */ @NotNull @JsonProperty("lineItemId") public String getLineItemId(); /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ @NotNull @Valid @@ -53,8 +55,7 @@ public interface OrderLineItemDiscountSetMessagePayload extends OrderMessagePayl public List getDiscountedPricePerQuantity(); /** - *

    Draft type that stores amounts in cent precision for the specified currency.

    - *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    + *

    Total Price of the Line Item after the Discount recalculation.

    */ @NotNull @Valid @@ -62,12 +63,20 @@ public interface OrderLineItemDiscountSetMessagePayload extends OrderMessagePayl public Money getTotalPrice(); /** - * + *

    TaxedItemPrice of the Line Item after the Discount recalculation.

    */ @Valid @JsonProperty("taxedPrice") public TaxedItemPrice getTaxedPrice(); + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + @NotNull + @Valid + @JsonProperty("taxedPricePortions") + public List getTaxedPricePortions(); + public void setLineItemId(final String lineItemId); @JsonIgnore @@ -80,6 +89,11 @@ public void setDiscountedPricePerQuantity( public void setTaxedPrice(final TaxedItemPrice taxedPrice); + @JsonIgnore + public void setTaxedPricePortions(final MethodTaxedPrice... taxedPricePortions); + + public void setTaxedPricePortions(final List taxedPricePortions); + public static OrderLineItemDiscountSetMessagePayload of() { return new OrderLineItemDiscountSetMessagePayloadImpl(); } @@ -90,6 +104,7 @@ public static OrderLineItemDiscountSetMessagePayload of(final OrderLineItemDisco instance.setDiscountedPricePerQuantity(template.getDiscountedPricePerQuantity()); instance.setTotalPrice(template.getTotalPrice()); instance.setTaxedPrice(template.getTaxedPrice()); + instance.setTaxedPricePortions(template.getTaxedPricePortions()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadBuilder.java index bc26c83eb2c..b7622b2e412 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadBuilder.java @@ -19,6 +19,7 @@ * .lineItemId("{lineItemId}") * .plusDiscountedPricePerQuantity(discountedPricePerQuantityBuilder -> discountedPricePerQuantityBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) + * .plusTaxedPricePortions(taxedPricePortionsBuilder -> taxedPricePortionsBuilder) * .build() * *
    @@ -35,8 +36,10 @@ public class OrderLineItemDiscountSetMessagePayloadBuilder implements Builder taxedPricePortions; + /** - * + *

    Unique identifier for the Line Item.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder lineItemId(final String lineItemId) { @@ -45,7 +48,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder lineItemId(final String lin } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder discountedPricePerQuantity( @@ -55,7 +58,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder discountedPricePerQuantity( } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder discountedPricePerQuantity( @@ -65,7 +68,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder discountedPricePerQuantity( } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder plusDiscountedPricePerQuantity( @@ -78,7 +81,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder plusDiscountedPricePerQuant } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder plusDiscountedPricePerQuantity( @@ -92,7 +95,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder plusDiscountedPricePerQuant } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder withDiscountedPricePerQuantity( @@ -104,8 +107,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder withDiscountedPricePerQuant } /** - *

    Draft type that stores amounts in cent precision for the specified currency.

    - *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    + *

    Total Price of the Line Item after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder totalPrice( @@ -115,8 +117,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder totalPrice( } /** - *

    Draft type that stores amounts in cent precision for the specified currency.

    - *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    + *

    Total Price of the Line Item after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder totalPrice( @@ -126,7 +127,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder totalPrice( } /** - * + *

    TaxedItemPrice of the Line Item after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder taxedPrice( @@ -136,7 +137,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder taxedPrice( } /** - * + *

    TaxedItemPrice of the Line Item after the Discount recalculation.

    */ public OrderLineItemDiscountSetMessagePayloadBuilder taxedPrice( @@ -145,6 +146,65 @@ public OrderLineItemDiscountSetMessagePayloadBuilder taxedPrice( return this; } + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessagePayloadBuilder taxedPricePortions( + final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + this.taxedPricePortions = new ArrayList<>(Arrays.asList(taxedPricePortions)); + return this; + } + + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessagePayloadBuilder taxedPricePortions( + final java.util.List taxedPricePortions) { + this.taxedPricePortions = taxedPricePortions; + return this; + } + + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessagePayloadBuilder plusTaxedPricePortions( + final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + if (this.taxedPricePortions == null) { + this.taxedPricePortions = new ArrayList<>(); + } + this.taxedPricePortions.addAll(Arrays.asList(taxedPricePortions)); + return this; + } + + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessagePayloadBuilder plusTaxedPricePortions( + Function builder) { + if (this.taxedPricePortions == null) { + this.taxedPricePortions = new ArrayList<>(); + } + this.taxedPricePortions + .add(builder.apply(com.commercetools.api.models.cart.MethodTaxedPriceBuilder.of()).build()); + return this; + } + + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public OrderLineItemDiscountSetMessagePayloadBuilder withTaxedPricePortions( + Function builder) { + this.taxedPricePortions = new ArrayList<>(); + this.taxedPricePortions + .add(builder.apply(com.commercetools.api.models.cart.MethodTaxedPriceBuilder.of()).build()); + return this; + } + public String getLineItemId() { return this.lineItemId; } @@ -162,13 +222,19 @@ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { return this.taxedPrice; } + public java.util.List getTaxedPricePortions() { + return this.taxedPricePortions; + } + public OrderLineItemDiscountSetMessagePayload build() { Objects.requireNonNull(lineItemId, OrderLineItemDiscountSetMessagePayload.class + ": lineItemId is missing"); Objects.requireNonNull(discountedPricePerQuantity, OrderLineItemDiscountSetMessagePayload.class + ": discountedPricePerQuantity is missing"); Objects.requireNonNull(totalPrice, OrderLineItemDiscountSetMessagePayload.class + ": totalPrice is missing"); + Objects.requireNonNull(taxedPricePortions, + OrderLineItemDiscountSetMessagePayload.class + ": taxedPricePortions is missing"); return new OrderLineItemDiscountSetMessagePayloadImpl(lineItemId, discountedPricePerQuantity, totalPrice, - taxedPrice); + taxedPrice, taxedPricePortions); } /** @@ -176,7 +242,7 @@ public OrderLineItemDiscountSetMessagePayload build() { */ public OrderLineItemDiscountSetMessagePayload buildUnchecked() { return new OrderLineItemDiscountSetMessagePayloadImpl(lineItemId, discountedPricePerQuantity, totalPrice, - taxedPrice); + taxedPrice, taxedPricePortions); } public static OrderLineItemDiscountSetMessagePayloadBuilder of() { @@ -190,6 +256,7 @@ public static OrderLineItemDiscountSetMessagePayloadBuilder of( builder.discountedPricePerQuantity = template.getDiscountedPricePerQuantity(); builder.totalPrice = template.getTotalPrice(); builder.taxedPrice = template.getTaxedPrice(); + builder.taxedPricePortions = template.getTaxedPricePortions(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadImpl.java index 7d4cefef707..fd0bf2690f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderLineItemDiscountSetMessagePayload + *

    Generated after a successful recalculation of a Discount on a Line Item.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderLineItemDiscountSetMessagePayloadImpl implements OrderLineItemDiscountSetMessagePayload, ModelBase { @@ -30,15 +30,19 @@ public class OrderLineItemDiscountSetMessagePayloadImpl implements OrderLineItem private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice; + private java.util.List taxedPricePortions; + @JsonCreator OrderLineItemDiscountSetMessagePayloadImpl(@JsonProperty("lineItemId") final String lineItemId, @JsonProperty("discountedPricePerQuantity") final java.util.List discountedPricePerQuantity, @JsonProperty("totalPrice") final com.commercetools.api.models.common.Money totalPrice, - @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice) { + @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice, + @JsonProperty("taxedPricePortions") final java.util.List taxedPricePortions) { this.lineItemId = lineItemId; this.discountedPricePerQuantity = discountedPricePerQuantity; this.totalPrice = totalPrice; this.taxedPrice = taxedPrice; + this.taxedPricePortions = taxedPricePortions; this.type = ORDER_LINE_ITEM_DISCOUNT_SET; } @@ -55,7 +59,7 @@ public String getType() { } /** - * + *

    Unique identifier for the Line Item.

    */ public String getLineItemId() { @@ -63,7 +67,7 @@ public String getLineItemId() { } /** - * + *

    Array of DiscountedLineItemPriceForQuantity after the Discount recalculation.

    */ public java.util.List getDiscountedPricePerQuantity() { @@ -71,8 +75,7 @@ public java.util.ListDraft type that stores amounts in cent precision for the specified currency.

    - *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    + *

    Total Price of the Line Item after the Discount recalculation.

    */ public com.commercetools.api.models.common.Money getTotalPrice() { @@ -80,13 +83,21 @@ public com.commercetools.api.models.common.Money getTotalPrice() { } /** - * + *

    TaxedItemPrice of the Line Item after the Discount recalculation.

    */ public com.commercetools.api.models.cart.TaxedItemPrice getTaxedPrice() { return this.taxedPrice; } + /** + *

    Taxed price of the Shipping Methods in a Cart with Multi ShippingMode..

    + */ + + public java.util.List getTaxedPricePortions() { + return this.taxedPricePortions; + } + public void setLineItemId(final String lineItemId) { this.lineItemId = lineItemId; } @@ -109,6 +120,15 @@ public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedItemPrice this.taxedPrice = taxedPrice; } + public void setTaxedPricePortions(final com.commercetools.api.models.cart.MethodTaxedPrice... taxedPricePortions) { + this.taxedPricePortions = new ArrayList<>(Arrays.asList(taxedPricePortions)); + } + + public void setTaxedPricePortions( + final java.util.List taxedPricePortions) { + this.taxedPricePortions = taxedPricePortions; + } + @Override public boolean equals(Object o) { if (this == o) @@ -124,6 +144,7 @@ public boolean equals(Object o) { .append(discountedPricePerQuantity, that.discountedPricePerQuantity) .append(totalPrice, that.totalPrice) .append(taxedPrice, that.taxedPrice) + .append(taxedPricePortions, that.taxedPricePortions) .isEquals(); } @@ -134,6 +155,7 @@ public int hashCode() { .append(discountedPricePerQuantity) .append(totalPrice) .append(taxedPrice) + .append(taxedPricePortions) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessage.java index 6b5b78edd56..a0f3ff0bf38 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderLineItemDistributionChannelSetMessage + *

    Generated after a successful Set Line Item Distribution Channel update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface OrderLineItemDistributionChannelSetMessage extends OrderMessage String ORDER_LINE_ITEM_DISTRIBUTION_CHANNEL_SET = "OrderLineItemDistributionChannelSet"; /** - * + *

    Unique identifier of the Line Item.

    */ @NotNull @JsonProperty("lineItemId") public String getLineItemId(); /** - *

    Reference to a Channel.

    + *

    Distribution Channel that was set.

    */ @Valid @JsonProperty("distributionChannel") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessageBuilder.java index 02fa1eb39f4..c81921570a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessageBuilder.java @@ -61,7 +61,7 @@ public class OrderLineItemDistributionChannelSetMessageBuilder private com.commercetools.api.models.channel.ChannelReference distributionChannel; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderLineItemDistributionChannelSetMessageBuilder id(final String id) { @@ -70,7 +70,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderLineItemDistributionChannelSetMessageBuilder version(final Long version) { @@ -79,7 +79,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder version(final Long vers } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderLineItemDistributionChannelSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -88,7 +88,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder createdAt(final java.ti } /** - * + *

    Value of createdAt.

    */ public OrderLineItemDistributionChannelSetMessageBuilder lastModifiedAt( @@ -98,7 +98,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder lastModifiedAt( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderLineItemDistributionChannelSetMessageBuilder lastModifiedBy( @@ -108,7 +108,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderLineItemDistributionChannelSetMessageBuilder lastModifiedBy( @@ -138,7 +138,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderLineItemDistributionChannelSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -147,7 +147,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder sequenceNumber(final Lo } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderLineItemDistributionChannelSetMessageBuilder resource( @@ -157,7 +157,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderLineItemDistributionChannelSetMessageBuilder resource( @@ -167,7 +167,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderLineItemDistributionChannelSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -176,7 +176,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder resourceVersion(final L } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderLineItemDistributionChannelSetMessageBuilder resourceUserProvidedIdentifiers( @@ -188,7 +188,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder resourceUserProvidedIde } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderLineItemDistributionChannelSetMessageBuilder resourceUserProvidedIdentifiers( @@ -198,7 +198,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder resourceUserProvidedIde } /** - * + *

    Unique identifier of the Line Item.

    */ public OrderLineItemDistributionChannelSetMessageBuilder lineItemId(final String lineItemId) { @@ -207,7 +207,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder lineItemId(final String } /** - *

    Reference to a Channel.

    + *

    Distribution Channel that was set.

    */ public OrderLineItemDistributionChannelSetMessageBuilder distributionChannel( @@ -218,7 +218,7 @@ public OrderLineItemDistributionChannelSetMessageBuilder distributionChannel( } /** - *

    Reference to a Channel.

    + *

    Distribution Channel that was set.

    */ public OrderLineItemDistributionChannelSetMessageBuilder distributionChannel( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessageImpl.java index 219d4e2f4e2..3765d05cc04 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderLineItemDistributionChannelSetMessage + *

    Generated after a successful Set Line Item Distribution Channel update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderLineItemDistributionChannelSetMessageImpl @@ -80,7 +80,7 @@ public OrderLineItemDistributionChannelSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -88,7 +88,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -96,7 +96,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -104,7 +104,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -112,7 +112,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -128,7 +128,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -136,7 +136,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -144,7 +144,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -152,7 +152,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -160,7 +160,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -168,7 +168,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Line Item.

    */ public String getLineItemId() { @@ -176,7 +176,7 @@ public String getLineItemId() { } /** - *

    Reference to a Channel.

    + *

    Distribution Channel that was set.

    */ public com.commercetools.api.models.channel.ChannelReference getDistributionChannel() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayload.java index 840a26c2dfe..bf6037916e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderLineItemDistributionChannelSetMessagePayload + *

    Generated after a successful Set Line Item Distribution Channel update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface OrderLineItemDistributionChannelSetMessagePayload extends Order String ORDER_LINE_ITEM_DISTRIBUTION_CHANNEL_SET = "OrderLineItemDistributionChannelSet"; /** - * + *

    Unique identifier of the Line Item.

    */ @NotNull @JsonProperty("lineItemId") public String getLineItemId(); /** - *

    Reference to a Channel.

    + *

    Distribution Channel that was set.

    */ @Valid @JsonProperty("distributionChannel") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayloadBuilder.java index 5f067d567a6..7edd7bcf9e5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayloadBuilder.java @@ -31,7 +31,7 @@ public class OrderLineItemDistributionChannelSetMessagePayloadBuilder private com.commercetools.api.models.channel.ChannelReference distributionChannel; /** - * + *

    Unique identifier of the Line Item.

    */ public OrderLineItemDistributionChannelSetMessagePayloadBuilder lineItemId(final String lineItemId) { @@ -40,7 +40,7 @@ public OrderLineItemDistributionChannelSetMessagePayloadBuilder lineItemId(final } /** - *

    Reference to a Channel.

    + *

    Distribution Channel that was set.

    */ public OrderLineItemDistributionChannelSetMessagePayloadBuilder distributionChannel( @@ -51,7 +51,7 @@ public OrderLineItemDistributionChannelSetMessagePayloadBuilder distributionChan } /** - *

    Reference to a Channel.

    + *

    Distribution Channel that was set.

    */ public OrderLineItemDistributionChannelSetMessagePayloadBuilder distributionChannel( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayloadImpl.java index 02d344bc2bd..e44a8fc6e86 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDistributionChannelSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderLineItemDistributionChannelSetMessagePayload + *

    Generated after a successful Set Line Item Distribution Channel update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderLineItemDistributionChannelSetMessagePayloadImpl @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Line Item.

    */ public String getLineItemId() { @@ -56,7 +56,7 @@ public String getLineItemId() { } /** - *

    Reference to a Channel.

    + *

    Distribution Channel that was set.

    */ public com.commercetools.api.models.channel.ChannelReference getDistributionChannel() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessage.java index a8ebe63c1f5..9d32f0a77a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessage.java @@ -10,8 +10,8 @@ import com.commercetools.api.models.cart.ItemShippingDetails; import com.commercetools.api.models.cart.TaxedItemPrice; +import com.commercetools.api.models.common.CentPrecisionMoney; import com.commercetools.api.models.common.Price; -import com.commercetools.api.models.common.TypedMoney; import com.commercetools.api.models.order.ItemState; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -19,7 +19,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderLineItemRemovedMessage + *

    Generated after a successful Remove Line Item update action.

    * *
    * Example to create an instance using the builder pattern @@ -49,28 +49,28 @@ public interface OrderLineItemRemovedMessage extends OrderMessage { String ORDER_LINE_ITEM_REMOVED = "OrderLineItemRemoved"; /** - * + *

    Unique identifier of the Line Item.

    */ @NotNull @JsonProperty("lineItemId") public String getLineItemId(); /** - * + *

    Quantity of Line Items that were removed during the Remove Line Item update action.

    */ @NotNull @JsonProperty("removedQuantity") public Long getRemovedQuantity(); /** - * + *

    Line Item quantity after the Remove Line Item update action.

    */ @NotNull @JsonProperty("newQuantity") public Long getNewQuantity(); /** - * + *

    ItemStates after the Remove Line Item update action.

    */ @NotNull @Valid @@ -78,29 +78,29 @@ public interface OrderLineItemRemovedMessage extends OrderMessage { public List getNewState(); /** - *

    Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

    + *

    totalPrice of the Order after the Remove Line Item update action.

    */ @NotNull @Valid @JsonProperty("newTotalPrice") - public TypedMoney getNewTotalPrice(); + public CentPrecisionMoney getNewTotalPrice(); /** - * + *

    TaxedItemPrice of the Order after the Remove Line Item update action.

    */ @Valid @JsonProperty("newTaxedPrice") public TaxedItemPrice getNewTaxedPrice(); /** - * + *

    Price of the Order after the Remove Line Item update action.

    */ @Valid @JsonProperty("newPrice") public Price getNewPrice(); /** - * + *

    Shipping Details of the Order after the Remove Line Item update action.

    */ @Valid @JsonProperty("newShippingDetail") @@ -117,7 +117,7 @@ public interface OrderLineItemRemovedMessage extends OrderMessage { public void setNewState(final List newState); - public void setNewTotalPrice(final TypedMoney newTotalPrice); + public void setNewTotalPrice(final CentPrecisionMoney newTotalPrice); public void setNewTaxedPrice(final TaxedItemPrice newTaxedPrice); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessageBuilder.java index acebce6175d..47ff94b7999 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessageBuilder.java @@ -66,7 +66,7 @@ public class OrderLineItemRemovedMessageBuilder implements Builder newState; - private com.commercetools.api.models.common.TypedMoney newTotalPrice; + private com.commercetools.api.models.common.CentPrecisionMoney newTotalPrice; @Nullable private com.commercetools.api.models.cart.TaxedItemPrice newTaxedPrice; @@ -78,7 +78,7 @@ public class OrderLineItemRemovedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderLineItemRemovedMessageBuilder id(final String id) { @@ -87,7 +87,7 @@ public OrderLineItemRemovedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderLineItemRemovedMessageBuilder version(final Long version) { @@ -96,7 +96,7 @@ public OrderLineItemRemovedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderLineItemRemovedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -105,7 +105,7 @@ public OrderLineItemRemovedMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *

    Value of createdAt.

    */ public OrderLineItemRemovedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -114,7 +114,7 @@ public OrderLineItemRemovedMessageBuilder lastModifiedAt(final java.time.ZonedDa } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderLineItemRemovedMessageBuilder lastModifiedBy( @@ -124,7 +124,7 @@ public OrderLineItemRemovedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderLineItemRemovedMessageBuilder lastModifiedBy( @@ -154,7 +154,7 @@ public OrderLineItemRemovedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderLineItemRemovedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -163,7 +163,7 @@ public OrderLineItemRemovedMessageBuilder sequenceNumber(final Long sequenceNumb } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderLineItemRemovedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -172,7 +172,7 @@ public OrderLineItemRemovedMessageBuilder resource(final com.commercetools.api.m } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderLineItemRemovedMessageBuilder resource( @@ -182,7 +182,7 @@ public OrderLineItemRemovedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderLineItemRemovedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -191,7 +191,7 @@ public OrderLineItemRemovedMessageBuilder resourceVersion(final Long resourceVer } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderLineItemRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -203,7 +203,7 @@ public OrderLineItemRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderLineItemRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -213,7 +213,7 @@ public OrderLineItemRemovedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Line Item.

    */ public OrderLineItemRemovedMessageBuilder lineItemId(final String lineItemId) { @@ -222,7 +222,7 @@ public OrderLineItemRemovedMessageBuilder lineItemId(final String lineItemId) { } /** - * + *

    Quantity of Line Items that were removed during the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder removedQuantity(final Long removedQuantity) { @@ -231,7 +231,7 @@ public OrderLineItemRemovedMessageBuilder removedQuantity(final Long removedQuan } /** - * + *

    Line Item quantity after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newQuantity(final Long newQuantity) { @@ -240,7 +240,7 @@ public OrderLineItemRemovedMessageBuilder newQuantity(final Long newQuantity) { } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newState(final com.commercetools.api.models.order.ItemState... newState) { @@ -249,7 +249,7 @@ public OrderLineItemRemovedMessageBuilder newState(final com.commercetools.api.m } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newState( @@ -259,7 +259,7 @@ public OrderLineItemRemovedMessageBuilder newState( } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder plusNewState( @@ -272,7 +272,7 @@ public OrderLineItemRemovedMessageBuilder plusNewState( } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder plusNewState( @@ -285,7 +285,7 @@ public OrderLineItemRemovedMessageBuilder plusNewState( } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder withNewState( @@ -296,27 +296,27 @@ public OrderLineItemRemovedMessageBuilder withNewState( } /** - *

    Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

    + *

    totalPrice of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newTotalPrice( - final com.commercetools.api.models.common.TypedMoney newTotalPrice) { - this.newTotalPrice = newTotalPrice; + Function builder) { + this.newTotalPrice = builder.apply(com.commercetools.api.models.common.CentPrecisionMoneyBuilder.of()).build(); return this; } /** - *

    Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

    + *

    totalPrice of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newTotalPrice( - Function> builder) { - this.newTotalPrice = builder.apply(com.commercetools.api.models.common.TypedMoneyBuilder.of()).build(); + final com.commercetools.api.models.common.CentPrecisionMoney newTotalPrice) { + this.newTotalPrice = newTotalPrice; return this; } /** - * + *

    TaxedItemPrice of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newTaxedPrice( @@ -326,7 +326,7 @@ public OrderLineItemRemovedMessageBuilder newTaxedPrice( } /** - * + *

    TaxedItemPrice of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newTaxedPrice( @@ -336,7 +336,7 @@ public OrderLineItemRemovedMessageBuilder newTaxedPrice( } /** - * + *

    Price of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newPrice( @@ -346,7 +346,7 @@ public OrderLineItemRemovedMessageBuilder newPrice( } /** - * + *

    Price of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newPrice( @@ -356,7 +356,7 @@ public OrderLineItemRemovedMessageBuilder newPrice( } /** - * + *

    Shipping Details of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newShippingDetail( @@ -367,7 +367,7 @@ public OrderLineItemRemovedMessageBuilder newShippingDetail( } /** - * + *

    Shipping Details of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessageBuilder newShippingDetail( @@ -435,7 +435,7 @@ public java.util.List getNewState( return this.newState; } - public com.commercetools.api.models.common.TypedMoney getNewTotalPrice() { + public com.commercetools.api.models.common.CentPrecisionMoney getNewTotalPrice() { return this.newTotalPrice; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessageImpl.java index e35d323801a..79443c12b79 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderLineItemRemovedMessage + *

    Generated after a successful Remove Line Item update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderLineItemRemovedMessageImpl implements OrderLineItemRemovedMessage, ModelBase { @@ -50,7 +50,7 @@ public class OrderLineItemRemovedMessageImpl implements OrderLineItemRemovedMess private java.util.List newState; - private com.commercetools.api.models.common.TypedMoney newTotalPrice; + private com.commercetools.api.models.common.CentPrecisionMoney newTotalPrice; private com.commercetools.api.models.cart.TaxedItemPrice newTaxedPrice; @@ -72,7 +72,7 @@ public class OrderLineItemRemovedMessageImpl implements OrderLineItemRemovedMess @JsonProperty("removedQuantity") final Long removedQuantity, @JsonProperty("newQuantity") final Long newQuantity, @JsonProperty("newState") final java.util.List newState, - @JsonProperty("newTotalPrice") final com.commercetools.api.models.common.TypedMoney newTotalPrice, + @JsonProperty("newTotalPrice") final com.commercetools.api.models.common.CentPrecisionMoney newTotalPrice, @JsonProperty("newTaxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice newTaxedPrice, @JsonProperty("newPrice") final com.commercetools.api.models.common.Price newPrice, @JsonProperty("newShippingDetail") final com.commercetools.api.models.cart.ItemShippingDetails newShippingDetail) { @@ -102,7 +102,7 @@ public OrderLineItemRemovedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -110,7 +110,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -118,7 +118,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -126,7 +126,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -134,7 +134,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -150,7 +150,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -158,7 +158,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -174,7 +174,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -182,7 +182,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -190,7 +190,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Line Item.

    */ public String getLineItemId() { @@ -198,7 +198,7 @@ public String getLineItemId() { } /** - * + *

    Quantity of Line Items that were removed during the Remove Line Item update action.

    */ public Long getRemovedQuantity() { @@ -206,7 +206,7 @@ public Long getRemovedQuantity() { } /** - * + *

    Line Item quantity after the Remove Line Item update action.

    */ public Long getNewQuantity() { @@ -214,7 +214,7 @@ public Long getNewQuantity() { } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public java.util.List getNewState() { @@ -222,15 +222,15 @@ public java.util.List getNewState( } /** - *

    Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

    + *

    totalPrice of the Order after the Remove Line Item update action.

    */ - public com.commercetools.api.models.common.TypedMoney getNewTotalPrice() { + public com.commercetools.api.models.common.CentPrecisionMoney getNewTotalPrice() { return this.newTotalPrice; } /** - * + *

    TaxedItemPrice of the Order after the Remove Line Item update action.

    */ public com.commercetools.api.models.cart.TaxedItemPrice getNewTaxedPrice() { @@ -238,7 +238,7 @@ public com.commercetools.api.models.cart.TaxedItemPrice getNewTaxedPrice() { } /** - * + *

    Price of the Order after the Remove Line Item update action.

    */ public com.commercetools.api.models.common.Price getNewPrice() { @@ -246,7 +246,7 @@ public com.commercetools.api.models.common.Price getNewPrice() { } /** - * + *

    Shipping Details of the Order after the Remove Line Item update action.

    */ public com.commercetools.api.models.cart.ItemShippingDetails getNewShippingDetail() { @@ -314,7 +314,7 @@ public void setNewState(final java.util.ListGenerated after a successful Remove Line Item update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,28 +42,28 @@ public interface OrderLineItemRemovedMessagePayload extends OrderMessagePayload String ORDER_LINE_ITEM_REMOVED = "OrderLineItemRemoved"; /** - * + *

    Unique identifier of the Line Item.

    */ @NotNull @JsonProperty("lineItemId") public String getLineItemId(); /** - * + *

    Quantity of Line Items that were removed during the Remove Line Item update action.

    */ @NotNull @JsonProperty("removedQuantity") public Long getRemovedQuantity(); /** - * + *

    Line Item quantity after the Remove Line Item update action.

    */ @NotNull @JsonProperty("newQuantity") public Long getNewQuantity(); /** - * + *

    ItemStates after the Remove Line Item update action.

    */ @NotNull @Valid @@ -71,29 +71,29 @@ public interface OrderLineItemRemovedMessagePayload extends OrderMessagePayload public List getNewState(); /** - *

    Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

    + *

    totalPrice of the Order after the Remove Line Item update action.

    */ @NotNull @Valid @JsonProperty("newTotalPrice") - public TypedMoney getNewTotalPrice(); + public CentPrecisionMoney getNewTotalPrice(); /** - * + *

    TaxedItemPrice of the Order after the Remove Line Item update action.

    */ @Valid @JsonProperty("newTaxedPrice") public TaxedItemPrice getNewTaxedPrice(); /** - * + *

    Price of the Order after the Remove Line Item update action.

    */ @Valid @JsonProperty("newPrice") public Price getNewPrice(); /** - * + *

    Shipping Details of the Order after the Remove Line Item update action.

    */ @Valid @JsonProperty("newShippingDetail") @@ -110,7 +110,7 @@ public interface OrderLineItemRemovedMessagePayload extends OrderMessagePayload public void setNewState(final List newState); - public void setNewTotalPrice(final TypedMoney newTotalPrice); + public void setNewTotalPrice(final CentPrecisionMoney newTotalPrice); public void setNewTaxedPrice(final TaxedItemPrice newTaxedPrice); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessagePayloadBuilder.java index b23b3a03b14..a26d1a4e209 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessagePayloadBuilder.java @@ -36,7 +36,7 @@ public class OrderLineItemRemovedMessagePayloadBuilder implements Builder newState; - private com.commercetools.api.models.common.TypedMoney newTotalPrice; + private com.commercetools.api.models.common.CentPrecisionMoney newTotalPrice; @Nullable private com.commercetools.api.models.cart.TaxedItemPrice newTaxedPrice; @@ -48,7 +48,7 @@ public class OrderLineItemRemovedMessagePayloadBuilder implements BuilderUnique identifier of the Line Item.

    */ public OrderLineItemRemovedMessagePayloadBuilder lineItemId(final String lineItemId) { @@ -57,7 +57,7 @@ public OrderLineItemRemovedMessagePayloadBuilder lineItemId(final String lineIte } /** - * + *

    Quantity of Line Items that were removed during the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder removedQuantity(final Long removedQuantity) { @@ -66,7 +66,7 @@ public OrderLineItemRemovedMessagePayloadBuilder removedQuantity(final Long remo } /** - * + *

    Line Item quantity after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newQuantity(final Long newQuantity) { @@ -75,7 +75,7 @@ public OrderLineItemRemovedMessagePayloadBuilder newQuantity(final Long newQuant } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newState( @@ -85,7 +85,7 @@ public OrderLineItemRemovedMessagePayloadBuilder newState( } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newState( @@ -95,7 +95,7 @@ public OrderLineItemRemovedMessagePayloadBuilder newState( } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder plusNewState( @@ -108,7 +108,7 @@ public OrderLineItemRemovedMessagePayloadBuilder plusNewState( } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder plusNewState( @@ -121,7 +121,7 @@ public OrderLineItemRemovedMessagePayloadBuilder plusNewState( } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder withNewState( @@ -132,27 +132,27 @@ public OrderLineItemRemovedMessagePayloadBuilder withNewState( } /** - *

    Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

    + *

    totalPrice of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newTotalPrice( - final com.commercetools.api.models.common.TypedMoney newTotalPrice) { - this.newTotalPrice = newTotalPrice; + Function builder) { + this.newTotalPrice = builder.apply(com.commercetools.api.models.common.CentPrecisionMoneyBuilder.of()).build(); return this; } /** - *

    Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

    + *

    totalPrice of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newTotalPrice( - Function> builder) { - this.newTotalPrice = builder.apply(com.commercetools.api.models.common.TypedMoneyBuilder.of()).build(); + final com.commercetools.api.models.common.CentPrecisionMoney newTotalPrice) { + this.newTotalPrice = newTotalPrice; return this; } /** - * + *

    TaxedItemPrice of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newTaxedPrice( @@ -162,7 +162,7 @@ public OrderLineItemRemovedMessagePayloadBuilder newTaxedPrice( } /** - * + *

    TaxedItemPrice of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newTaxedPrice( @@ -172,7 +172,7 @@ public OrderLineItemRemovedMessagePayloadBuilder newTaxedPrice( } /** - * + *

    Price of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newPrice( @@ -182,7 +182,7 @@ public OrderLineItemRemovedMessagePayloadBuilder newPrice( } /** - * + *

    Price of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newPrice( @@ -192,7 +192,7 @@ public OrderLineItemRemovedMessagePayloadBuilder newPrice( } /** - * + *

    Shipping Details of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newShippingDetail( @@ -203,7 +203,7 @@ public OrderLineItemRemovedMessagePayloadBuilder newShippingDetail( } /** - * + *

    Shipping Details of the Order after the Remove Line Item update action.

    */ public OrderLineItemRemovedMessagePayloadBuilder newShippingDetail( @@ -228,7 +228,7 @@ public java.util.List getNewState( return this.newState; } - public com.commercetools.api.models.common.TypedMoney getNewTotalPrice() { + public com.commercetools.api.models.common.CentPrecisionMoney getNewTotalPrice() { return this.newTotalPrice; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessagePayloadImpl.java index a03ba22c5f7..21866175311 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemRemovedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderLineItemRemovedMessagePayload + *

    Generated after a successful Remove Line Item update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderLineItemRemovedMessagePayloadImpl implements OrderLineItemRemovedMessagePayload, ModelBase { @@ -30,7 +30,7 @@ public class OrderLineItemRemovedMessagePayloadImpl implements OrderLineItemRemo private java.util.List newState; - private com.commercetools.api.models.common.TypedMoney newTotalPrice; + private com.commercetools.api.models.common.CentPrecisionMoney newTotalPrice; private com.commercetools.api.models.cart.TaxedItemPrice newTaxedPrice; @@ -43,7 +43,7 @@ public class OrderLineItemRemovedMessagePayloadImpl implements OrderLineItemRemo @JsonProperty("removedQuantity") final Long removedQuantity, @JsonProperty("newQuantity") final Long newQuantity, @JsonProperty("newState") final java.util.List newState, - @JsonProperty("newTotalPrice") final com.commercetools.api.models.common.TypedMoney newTotalPrice, + @JsonProperty("newTotalPrice") final com.commercetools.api.models.common.CentPrecisionMoney newTotalPrice, @JsonProperty("newTaxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice newTaxedPrice, @JsonProperty("newPrice") final com.commercetools.api.models.common.Price newPrice, @JsonProperty("newShippingDetail") final com.commercetools.api.models.cart.ItemShippingDetails newShippingDetail) { @@ -71,7 +71,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Line Item.

    */ public String getLineItemId() { @@ -79,7 +79,7 @@ public String getLineItemId() { } /** - * + *

    Quantity of Line Items that were removed during the Remove Line Item update action.

    */ public Long getRemovedQuantity() { @@ -87,7 +87,7 @@ public Long getRemovedQuantity() { } /** - * + *

    Line Item quantity after the Remove Line Item update action.

    */ public Long getNewQuantity() { @@ -95,7 +95,7 @@ public Long getNewQuantity() { } /** - * + *

    ItemStates after the Remove Line Item update action.

    */ public java.util.List getNewState() { @@ -103,15 +103,15 @@ public java.util.List getNewState( } /** - *

    Base polymorphic read-only Money type which is stored in cent precision or high precision. The actual type is determined by the type field.

    + *

    totalPrice of the Order after the Remove Line Item update action.

    */ - public com.commercetools.api.models.common.TypedMoney getNewTotalPrice() { + public com.commercetools.api.models.common.CentPrecisionMoney getNewTotalPrice() { return this.newTotalPrice; } /** - * + *

    TaxedItemPrice of the Order after the Remove Line Item update action.

    */ public com.commercetools.api.models.cart.TaxedItemPrice getNewTaxedPrice() { @@ -119,7 +119,7 @@ public com.commercetools.api.models.cart.TaxedItemPrice getNewTaxedPrice() { } /** - * + *

    Price of the Order after the Remove Line Item update action.

    */ public com.commercetools.api.models.common.Price getNewPrice() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.Price getNewPrice() { } /** - * + *

    Shipping Details of the Order after the Remove Line Item update action.

    */ public com.commercetools.api.models.cart.ItemShippingDetails getNewShippingDetail() { @@ -154,7 +154,7 @@ public void setNewState(final java.util.ListUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -77,7 +77,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -85,7 +85,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -93,7 +93,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -101,7 +101,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -117,7 +117,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -125,7 +125,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -133,7 +133,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -141,7 +141,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -149,7 +149,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessage.java index df18d334920..4e4139d3692 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderPaymentAddedMessage + *

    Generated after a successful Add Payment update action or when a Payment is added via Order Edits.

    * *
    * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface OrderPaymentAddedMessage extends Message { String ORDER_PAYMENT_ADDED = "OrderPaymentAdded"; /** - *

    Reference to a Payment.

    + *

    Payment that was added to the Order.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessageBuilder.java index a85737ec264..825e807f6fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessageBuilder.java @@ -57,7 +57,7 @@ public class OrderPaymentAddedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderPaymentAddedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public OrderPaymentAddedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderPaymentAddedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public OrderPaymentAddedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderPaymentAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public OrderPaymentAddedMessageBuilder createdAt(final java.time.ZonedDateTime c } /** - * + *

    Value of createdAt.

    */ public OrderPaymentAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public OrderPaymentAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateT } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderPaymentAddedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public OrderPaymentAddedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderPaymentAddedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public OrderPaymentAddedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderPaymentAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public OrderPaymentAddedMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderPaymentAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public OrderPaymentAddedMessageBuilder resource(final com.commercetools.api.mode } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderPaymentAddedMessageBuilder resource( @@ -161,7 +161,7 @@ public OrderPaymentAddedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderPaymentAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public OrderPaymentAddedMessageBuilder resourceVersion(final Long resourceVersio } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderPaymentAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public OrderPaymentAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderPaymentAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public OrderPaymentAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Reference to a Payment.

    + *

    Payment that was added to the Order.

    */ public OrderPaymentAddedMessageBuilder payment( @@ -202,7 +202,7 @@ public OrderPaymentAddedMessageBuilder payment( } /** - *

    Reference to a Payment.

    + *

    Payment that was added to the Order.

    */ public OrderPaymentAddedMessageBuilder payment( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessageImpl.java index d6121583d8c..09e49366de9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderPaymentAddedMessage + *

    Generated after a successful Add Payment update action or when a Payment is added via Order Edits.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderPaymentAddedMessageImpl implements OrderPaymentAddedMessage, ModelBase { @@ -74,7 +74,7 @@ public OrderPaymentAddedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a Payment.

    + *

    Payment that was added to the Order.

    */ public com.commercetools.api.models.payment.PaymentReference getPayment() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayload.java index 5753c31d350..b4b244d10a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderPaymentAddedMessagePayload + *

    Generated after a successful Add Payment update action or when a Payment is added via Order Edits.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface OrderPaymentAddedMessagePayload extends MessagePayload { String ORDER_PAYMENT_ADDED = "OrderPaymentAdded"; /** - *

    Reference to a Payment.

    + *

    Payment that was added to the Order.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayloadBuilder.java index a21e1c9772e..52b36ef695b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class OrderPaymentAddedMessagePayloadBuilder implements BuilderReference to a Payment.

    + *

    Payment that was added to the Order.

    */ public OrderPaymentAddedMessagePayloadBuilder payment( @@ -35,7 +35,7 @@ public OrderPaymentAddedMessagePayloadBuilder payment( } /** - *

    Reference to a Payment.

    + *

    Payment that was added to the Order.

    */ public OrderPaymentAddedMessagePayloadBuilder payment( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayloadImpl.java index 5a78af68525..c3291ac640c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderPaymentAddedMessagePayload + *

    Generated after a successful Add Payment update action or when a Payment is added via Order Edits.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderPaymentAddedMessagePayloadImpl implements OrderPaymentAddedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - *

    Reference to a Payment.

    + *

    Payment that was added to the Order.

    */ public com.commercetools.api.models.payment.PaymentReference getPayment() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessage.java index 5c49f7a5eec..a086f020c64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderPaymentStateChangedMessage + *

    Generated after a successful Change Payment State update action.

    * *
    * Example to create an instance using the builder pattern @@ -40,14 +40,14 @@ public interface OrderPaymentStateChangedMessage extends OrderMessage { String ORDER_PAYMENT_STATE_CHANGED = "OrderPaymentStateChanged"; /** - * + *

    PaymentState after the Change Payment State update action.

    */ @NotNull @JsonProperty("paymentState") public PaymentState getPaymentState(); /** - * + *

    PaymentState before the Change Payment State update action.

    */ @JsonProperty("oldPaymentState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessageBuilder.java index 3eec32f894d..5c5460e11b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderPaymentStateChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderPaymentStateChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderPaymentStateChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderPaymentStateChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderPaymentStateChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderPaymentStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderPaymentStateChangedMessageBuilder createdAt(final java.time.ZonedDat } /** - * + *

    Value of createdAt.

    */ public OrderPaymentStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderPaymentStateChangedMessageBuilder lastModifiedAt(final java.time.Zon } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderPaymentStateChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderPaymentStateChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderPaymentStateChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderPaymentStateChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderPaymentStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderPaymentStateChangedMessageBuilder sequenceNumber(final Long sequence } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderPaymentStateChangedMessageBuilder resource( @@ -155,7 +155,7 @@ public OrderPaymentStateChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderPaymentStateChangedMessageBuilder resource( @@ -165,7 +165,7 @@ public OrderPaymentStateChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderPaymentStateChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public OrderPaymentStateChangedMessageBuilder resourceVersion(final Long resourc } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderPaymentStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public OrderPaymentStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderPaymentStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public OrderPaymentStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    PaymentState after the Change Payment State update action.

    */ public OrderPaymentStateChangedMessageBuilder paymentState( @@ -206,7 +206,7 @@ public OrderPaymentStateChangedMessageBuilder paymentState( } /** - * + *

    PaymentState before the Change Payment State update action.

    */ public OrderPaymentStateChangedMessageBuilder oldPaymentState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessageImpl.java index 69eaad6e657..70b9a72ba25 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderPaymentStateChangedMessage + *

    Generated after a successful Change Payment State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderPaymentStateChangedMessageImpl implements OrderPaymentStateChangedMessage, ModelBase { @@ -79,7 +79,7 @@ public OrderPaymentStateChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    PaymentState after the Change Payment State update action.

    */ public com.commercetools.api.models.order.PaymentState getPaymentState() { @@ -175,7 +175,7 @@ public com.commercetools.api.models.order.PaymentState getPaymentState() { } /** - * + *

    PaymentState before the Change Payment State update action.

    */ public com.commercetools.api.models.order.PaymentState getOldPaymentState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayload.java index 33083e68617..2e71d4b5ef5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderPaymentStateChangedMessagePayload + *

    Generated after a successful Change Payment State update action.

    * *
    * Example to create an instance using the builder pattern @@ -33,14 +33,14 @@ public interface OrderPaymentStateChangedMessagePayload extends OrderMessagePayl String ORDER_PAYMENT_STATE_CHANGED = "OrderPaymentStateChanged"; /** - * + *

    PaymentState after the Change Payment State update action.

    */ @NotNull @JsonProperty("paymentState") public PaymentState getPaymentState(); /** - * + *

    PaymentState before the Change Payment State update action.

    */ @JsonProperty("oldPaymentState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayloadBuilder.java index 60d8b827112..66e00baf780 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayloadBuilder.java @@ -29,7 +29,7 @@ public class OrderPaymentStateChangedMessagePayloadBuilder implements BuilderPaymentState after the Change Payment State update action.

    */ public OrderPaymentStateChangedMessagePayloadBuilder paymentState( @@ -39,7 +39,7 @@ public OrderPaymentStateChangedMessagePayloadBuilder paymentState( } /** - * + *

    PaymentState before the Change Payment State update action.

    */ public OrderPaymentStateChangedMessagePayloadBuilder oldPaymentState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayloadImpl.java index 86f0feeb49a..96baa819271 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPaymentStateChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderPaymentStateChangedMessagePayload + *

    Generated after a successful Change Payment State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderPaymentStateChangedMessagePayloadImpl implements OrderPaymentStateChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    PaymentState after the Change Payment State update action.

    */ public com.commercetools.api.models.order.PaymentState getPaymentState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.order.PaymentState getPaymentState() { } /** - * + *

    PaymentState before the Change Payment State update action.

    */ public com.commercetools.api.models.order.PaymentState getOldPaymentState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessage.java index 58c38714996..6615e00f779 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnShipmentStateChangedMessage + *

    Generated after a successful Set Return Shipment State update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface OrderReturnShipmentStateChangedMessage extends OrderMessage { String ORDER_RETURN_SHIPMENT_STATE_CHANGED = "OrderReturnShipmentStateChanged"; /** - * + *

    Unique identifier of the ReturnItem.

    */ @NotNull @JsonProperty("returnItemId") public String getReturnItemId(); /** - * + *

    State of the ReturnItem after the Set Return Shipment State update action.

    */ @NotNull @JsonProperty("returnShipmentState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessageBuilder.java index d58cb120f44..ad8182362af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderReturnShipmentStateChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderReturnShipmentStateChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderReturnShipmentStateChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderReturnShipmentStateChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderReturnShipmentStateChangedMessageBuilder version(final Long version) } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderReturnShipmentStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderReturnShipmentStateChangedMessageBuilder createdAt(final java.time.Z } /** - * + *

    Value of createdAt.

    */ public OrderReturnShipmentStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderReturnShipmentStateChangedMessageBuilder lastModifiedAt(final java.t } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderReturnShipmentStateChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderReturnShipmentStateChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderReturnShipmentStateChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderReturnShipmentStateChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderReturnShipmentStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderReturnShipmentStateChangedMessageBuilder sequenceNumber(final Long s } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderReturnShipmentStateChangedMessageBuilder resource( @@ -155,7 +155,7 @@ public OrderReturnShipmentStateChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderReturnShipmentStateChangedMessageBuilder resource( @@ -165,7 +165,7 @@ public OrderReturnShipmentStateChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderReturnShipmentStateChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public OrderReturnShipmentStateChangedMessageBuilder resourceVersion(final Long } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderReturnShipmentStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public OrderReturnShipmentStateChangedMessageBuilder resourceUserProvidedIdentif } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderReturnShipmentStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public OrderReturnShipmentStateChangedMessageBuilder resourceUserProvidedIdentif } /** - * + *

    Unique identifier of the ReturnItem.

    */ public OrderReturnShipmentStateChangedMessageBuilder returnItemId(final String returnItemId) { @@ -205,7 +205,7 @@ public OrderReturnShipmentStateChangedMessageBuilder returnItemId(final String r } /** - * + *

    State of the ReturnItem after the Set Return Shipment State update action.

    */ public OrderReturnShipmentStateChangedMessageBuilder returnShipmentState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessageImpl.java index 2c3e564ac87..cff2385bf68 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderReturnShipmentStateChangedMessage + *

    Generated after a successful Set Return Shipment State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderReturnShipmentStateChangedMessageImpl implements OrderReturnShipmentStateChangedMessage, ModelBase { @@ -79,7 +79,7 @@ public OrderReturnShipmentStateChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the ReturnItem.

    */ public String getReturnItemId() { @@ -175,7 +175,7 @@ public String getReturnItemId() { } /** - * + *

    State of the ReturnItem after the Set Return Shipment State update action.

    */ public com.commercetools.api.models.order.ReturnShipmentState getReturnShipmentState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayload.java index a11f0b9c83d..5ac69cbdec8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnShipmentStateChangedMessagePayload + *

    Generated after a successful Set Return Shipment State update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface OrderReturnShipmentStateChangedMessagePayload extends OrderMess String ORDER_RETURN_SHIPMENT_STATE_CHANGED = "OrderReturnShipmentStateChanged"; /** - * + *

    Unique identifier of the ReturnItem.

    */ @NotNull @JsonProperty("returnItemId") public String getReturnItemId(); /** - * + *

    State of the ReturnItem after the Set Return Shipment State update action.

    */ @NotNull @JsonProperty("returnShipmentState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayloadBuilder.java index e708e79ffaa..20fe5f1203c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayloadBuilder.java @@ -28,7 +28,7 @@ public class OrderReturnShipmentStateChangedMessagePayloadBuilder private com.commercetools.api.models.order.ReturnShipmentState returnShipmentState; /** - * + *

    Unique identifier of the ReturnItem.

    */ public OrderReturnShipmentStateChangedMessagePayloadBuilder returnItemId(final String returnItemId) { @@ -37,7 +37,7 @@ public OrderReturnShipmentStateChangedMessagePayloadBuilder returnItemId(final S } /** - * + *

    State of the ReturnItem after the Set Return Shipment State update action.

    */ public OrderReturnShipmentStateChangedMessagePayloadBuilder returnShipmentState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayloadImpl.java index 75f31e77668..82774053e8f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnShipmentStateChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderReturnShipmentStateChangedMessagePayload + *

    Generated after a successful Set Return Shipment State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderReturnShipmentStateChangedMessagePayloadImpl @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    Unique identifier of the ReturnItem.

    */ public String getReturnItemId() { @@ -56,7 +56,7 @@ public String getReturnItemId() { } /** - * + *

    State of the ReturnItem after the Set Return Shipment State update action.

    */ public com.commercetools.api.models.order.ReturnShipmentState getReturnShipmentState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessage.java index 748dd2ad54b..32f3718b99b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderShipmentStateChangedMessage + *

    Generated after a successful Change Shipment State update action.

    * *
    * Example to create an instance using the builder pattern @@ -29,6 +29,7 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .shipmentState(ShipmentState.SHIPPED) + * .oldShipmentState(ShipmentState.SHIPPED) * .build() * *
    @@ -40,16 +41,16 @@ public interface OrderShipmentStateChangedMessage extends OrderMessage { String ORDER_SHIPMENT_STATE_CHANGED = "OrderShipmentStateChanged"; /** - * + *

    ShipmentState after the Change Shipment State update action.

    */ @NotNull @JsonProperty("shipmentState") public ShipmentState getShipmentState(); /** - * + *

    ShipmentState before the Change Shipment State update action.

    */ - + @NotNull @JsonProperty("oldShipmentState") public ShipmentState getOldShipmentState(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessageBuilder.java index c0204e734f9..e5381821a63 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessageBuilder.java @@ -24,6 +24,7 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .shipmentState(ShipmentState.SHIPPED) + * .oldShipmentState(ShipmentState.SHIPPED) * .build() * *
    @@ -56,11 +57,10 @@ public class OrderShipmentStateChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderShipmentStateChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderShipmentStateChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderShipmentStateChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderShipmentStateChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderShipmentStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderShipmentStateChangedMessageBuilder createdAt(final java.time.ZonedDa } /** - * + *

    Value of createdAt.

    */ public OrderShipmentStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderShipmentStateChangedMessageBuilder lastModifiedAt(final java.time.Zo } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderShipmentStateChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderShipmentStateChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderShipmentStateChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderShipmentStateChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderShipmentStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderShipmentStateChangedMessageBuilder sequenceNumber(final Long sequenc } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderShipmentStateChangedMessageBuilder resource( @@ -155,7 +155,7 @@ public OrderShipmentStateChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderShipmentStateChangedMessageBuilder resource( @@ -165,7 +165,7 @@ public OrderShipmentStateChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderShipmentStateChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public OrderShipmentStateChangedMessageBuilder resourceVersion(final Long resour } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderShipmentStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public OrderShipmentStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderShipmentStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public OrderShipmentStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    ShipmentState after the Change Shipment State update action.

    */ public OrderShipmentStateChangedMessageBuilder shipmentState( @@ -206,11 +206,11 @@ public OrderShipmentStateChangedMessageBuilder shipmentState( } /** - * + *

    ShipmentState before the Change Shipment State update action.

    */ public OrderShipmentStateChangedMessageBuilder oldShipmentState( - @Nullable final com.commercetools.api.models.order.ShipmentState oldShipmentState) { + final com.commercetools.api.models.order.ShipmentState oldShipmentState) { this.oldShipmentState = oldShipmentState; return this; } @@ -262,7 +262,6 @@ public com.commercetools.api.models.order.ShipmentState getShipmentState() { return this.shipmentState; } - @Nullable public com.commercetools.api.models.order.ShipmentState getOldShipmentState() { return this.oldShipmentState; } @@ -277,6 +276,8 @@ public OrderShipmentStateChangedMessage build() { Objects.requireNonNull(resourceVersion, OrderShipmentStateChangedMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(shipmentState, OrderShipmentStateChangedMessage.class + ": shipmentState is missing"); + Objects.requireNonNull(oldShipmentState, + OrderShipmentStateChangedMessage.class + ": oldShipmentState is missing"); return new OrderShipmentStateChangedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, shipmentState, oldShipmentState); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessageImpl.java index becdb728132..8d493a7390a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderShipmentStateChangedMessage + *

    Generated after a successful Change Shipment State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderShipmentStateChangedMessageImpl implements OrderShipmentStateChangedMessage, ModelBase { @@ -79,7 +79,7 @@ public OrderShipmentStateChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    ShipmentState after the Change Shipment State update action.

    */ public com.commercetools.api.models.order.ShipmentState getShipmentState() { @@ -175,7 +175,7 @@ public com.commercetools.api.models.order.ShipmentState getShipmentState() { } /** - * + *

    ShipmentState before the Change Shipment State update action.

    */ public com.commercetools.api.models.order.ShipmentState getOldShipmentState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayload.java index f06ef2c566a..07d79f5c445 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderShipmentStateChangedMessagePayload + *

    Generated after a successful Change Shipment State update action.

    * *
    * Example to create an instance using the builder pattern @@ -22,6 +22,7 @@ *
    
      *     OrderShipmentStateChangedMessagePayload orderShipmentStateChangedMessagePayload = OrderShipmentStateChangedMessagePayload.builder()
      *             .shipmentState(ShipmentState.SHIPPED)
    + *             .oldShipmentState(ShipmentState.SHIPPED)
      *             .build()
      * 
    *
    @@ -33,16 +34,16 @@ public interface OrderShipmentStateChangedMessagePayload extends OrderMessagePay String ORDER_SHIPMENT_STATE_CHANGED = "OrderShipmentStateChanged"; /** - * + *

    ShipmentState after the Change Shipment State update action.

    */ @NotNull @JsonProperty("shipmentState") public ShipmentState getShipmentState(); /** - * + *

    ShipmentState before the Change Shipment State update action.

    */ - + @NotNull @JsonProperty("oldShipmentState") public ShipmentState getOldShipmentState(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayloadBuilder.java index a5e9b09853f..9ea9ede579c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayloadBuilder.java @@ -3,8 +3,6 @@ import java.util.*; -import javax.annotation.Nullable; - import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -16,6 +14,7 @@ *
    
      *     OrderShipmentStateChangedMessagePayload orderShipmentStateChangedMessagePayload = OrderShipmentStateChangedMessagePayload.builder()
      *             .shipmentState(ShipmentState.SHIPPED)
    + *             .oldShipmentState(ShipmentState.SHIPPED)
      *             .build()
      * 
    *
    @@ -26,11 +25,10 @@ public class OrderShipmentStateChangedMessagePayloadBuilder private com.commercetools.api.models.order.ShipmentState shipmentState; - @Nullable private com.commercetools.api.models.order.ShipmentState oldShipmentState; /** - * + *

    ShipmentState after the Change Shipment State update action.

    */ public OrderShipmentStateChangedMessagePayloadBuilder shipmentState( @@ -40,11 +38,11 @@ public OrderShipmentStateChangedMessagePayloadBuilder shipmentState( } /** - * + *

    ShipmentState before the Change Shipment State update action.

    */ public OrderShipmentStateChangedMessagePayloadBuilder oldShipmentState( - @Nullable final com.commercetools.api.models.order.ShipmentState oldShipmentState) { + final com.commercetools.api.models.order.ShipmentState oldShipmentState) { this.oldShipmentState = oldShipmentState; return this; } @@ -53,7 +51,6 @@ public com.commercetools.api.models.order.ShipmentState getShipmentState() { return this.shipmentState; } - @Nullable public com.commercetools.api.models.order.ShipmentState getOldShipmentState() { return this.oldShipmentState; } @@ -61,6 +58,8 @@ public com.commercetools.api.models.order.ShipmentState getOldShipmentState() { public OrderShipmentStateChangedMessagePayload build() { Objects.requireNonNull(shipmentState, OrderShipmentStateChangedMessagePayload.class + ": shipmentState is missing"); + Objects.requireNonNull(oldShipmentState, + OrderShipmentStateChangedMessagePayload.class + ": oldShipmentState is missing"); return new OrderShipmentStateChangedMessagePayloadImpl(shipmentState, oldShipmentState); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayloadImpl.java index ba64dd4c9d0..d22826ce153 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShipmentStateChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderShipmentStateChangedMessagePayload + *

    Generated after a successful Change Shipment State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderShipmentStateChangedMessagePayloadImpl implements OrderShipmentStateChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    ShipmentState after the Change Shipment State update action.

    */ public com.commercetools.api.models.order.ShipmentState getShipmentState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.order.ShipmentState getShipmentState() { } /** - * + *

    ShipmentState before the Change Shipment State update action.

    */ public com.commercetools.api.models.order.ShipmentState getOldShipmentState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessage.java index 433ac1e24b0..7cba55209fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderShippingAddressSetMessage + *

    Generated after a successful Set Shipping Address update action.

    * *
    * Example to create an instance using the builder pattern @@ -39,14 +39,14 @@ public interface OrderShippingAddressSetMessage extends OrderMessage { String ORDER_SHIPPING_ADDRESS_SET = "OrderShippingAddressSet"; /** - * + *

    Shipping address on the Order after the Set Shipping Address update action.

    */ @Valid @JsonProperty("address") public Address getAddress(); /** - * + *

    Shipping address on the Order before the Set Shipping Address update action.

    */ @Valid @JsonProperty("oldAddress") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessageBuilder.java index 0dbc3124961..73b7ffe381d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderShippingAddressSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderShippingAddressSetMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderShippingAddressSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderShippingAddressSetMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderShippingAddressSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderShippingAddressSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderShippingAddressSetMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *

    Value of createdAt.

    */ public OrderShippingAddressSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderShippingAddressSetMessageBuilder lastModifiedAt(final java.time.Zone } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderShippingAddressSetMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderShippingAddressSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderShippingAddressSetMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderShippingAddressSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderShippingAddressSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderShippingAddressSetMessageBuilder sequenceNumber(final Long sequenceN } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderShippingAddressSetMessageBuilder resource( @@ -155,7 +155,7 @@ public OrderShippingAddressSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderShippingAddressSetMessageBuilder resource( @@ -165,7 +165,7 @@ public OrderShippingAddressSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderShippingAddressSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public OrderShippingAddressSetMessageBuilder resourceVersion(final Long resource } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderShippingAddressSetMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public OrderShippingAddressSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderShippingAddressSetMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public OrderShippingAddressSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Shipping address on the Order after the Set Shipping Address update action.

    */ public OrderShippingAddressSetMessageBuilder address( @@ -206,7 +206,7 @@ public OrderShippingAddressSetMessageBuilder address( } /** - * + *

    Shipping address on the Order after the Set Shipping Address update action.

    */ public OrderShippingAddressSetMessageBuilder address( @@ -216,7 +216,7 @@ public OrderShippingAddressSetMessageBuilder address( } /** - * + *

    Shipping address on the Order before the Set Shipping Address update action.

    */ public OrderShippingAddressSetMessageBuilder oldAddress( @@ -226,7 +226,7 @@ public OrderShippingAddressSetMessageBuilder oldAddress( } /** - * + *

    Shipping address on the Order before the Set Shipping Address update action.

    */ public OrderShippingAddressSetMessageBuilder oldAddress( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessageImpl.java index 2febf0f9c5d..6fb803dca2c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderShippingAddressSetMessage + *

    Generated after a successful Set Shipping Address update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderShippingAddressSetMessageImpl implements OrderShippingAddressSetMessage, ModelBase { @@ -78,7 +78,7 @@ public OrderShippingAddressSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Shipping address on the Order after the Set Shipping Address update action.

    */ public com.commercetools.api.models.common.Address getAddress() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.common.Address getAddress() { } /** - * + *

    Shipping address on the Order before the Set Shipping Address update action.

    */ public com.commercetools.api.models.common.Address getOldAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayload.java index 8944f0163f8..c4c22a624a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderShippingAddressSetMessagePayload + *

    Generated after a successful Set Shipping Address update action.

    * *
    * Example to create an instance using the builder pattern @@ -32,14 +32,14 @@ public interface OrderShippingAddressSetMessagePayload extends OrderMessagePaylo String ORDER_SHIPPING_ADDRESS_SET = "OrderShippingAddressSet"; /** - * + *

    Shipping address on the Order after the Set Shipping Address update action.

    */ @Valid @JsonProperty("address") public Address getAddress(); /** - * + *

    Shipping address on the Order before the Set Shipping Address update action.

    */ @Valid @JsonProperty("oldAddress") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayloadBuilder.java index f105915a37c..41169566f6e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayloadBuilder.java @@ -30,7 +30,7 @@ public class OrderShippingAddressSetMessagePayloadBuilder implements BuilderShipping address on the Order after the Set Shipping Address update action.

    */ public OrderShippingAddressSetMessagePayloadBuilder address( @@ -40,7 +40,7 @@ public OrderShippingAddressSetMessagePayloadBuilder address( } /** - * + *

    Shipping address on the Order after the Set Shipping Address update action.

    */ public OrderShippingAddressSetMessagePayloadBuilder address( @@ -50,7 +50,7 @@ public OrderShippingAddressSetMessagePayloadBuilder address( } /** - * + *

    Shipping address on the Order before the Set Shipping Address update action.

    */ public OrderShippingAddressSetMessagePayloadBuilder oldAddress( @@ -60,7 +60,7 @@ public OrderShippingAddressSetMessagePayloadBuilder oldAddress( } /** - * + *

    Shipping address on the Order before the Set Shipping Address update action.

    */ public OrderShippingAddressSetMessagePayloadBuilder oldAddress( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayloadImpl.java index 16055622953..59d09c123f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingAddressSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderShippingAddressSetMessagePayload + *

    Generated after a successful Set Shipping Address update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderShippingAddressSetMessagePayloadImpl implements OrderShippingAddressSetMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    Shipping address on the Order after the Set Shipping Address update action.

    */ public com.commercetools.api.models.common.Address getAddress() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.Address getAddress() { } /** - * + *

    Shipping address on the Order before the Set Shipping Address update action.

    */ public com.commercetools.api.models.common.Address getOldAddress() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessage.java index 1e7e525b146..1f8bdacc393 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderShippingInfoSetMessage + *

    Generated after a successful Set Shipping Method and Set Custom Shipping Method update actions.

    * *
    * Example to create an instance using the builder pattern @@ -39,14 +39,14 @@ public interface OrderShippingInfoSetMessage extends OrderMessage { String ORDER_SHIPPING_INFO_SET = "OrderShippingInfoSet"; /** - * + *

    ShippingInfo after the Set Shipping Method or Set Custom Shipping Method update action.

    */ @Valid @JsonProperty("shippingInfo") public ShippingInfo getShippingInfo(); /** - * + *

    ShippingInfo before the Set Shipping Method or Set Custom Shipping Method update action.

    */ @Valid @JsonProperty("oldShippingInfo") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessageBuilder.java index 45a18a64a8b..43404bf1edf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderShippingInfoSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderShippingInfoSetMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderShippingInfoSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderShippingInfoSetMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderShippingInfoSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderShippingInfoSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderShippingInfoSetMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *

    Value of createdAt.

    */ public OrderShippingInfoSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderShippingInfoSetMessageBuilder lastModifiedAt(final java.time.ZonedDa } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderShippingInfoSetMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderShippingInfoSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderShippingInfoSetMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderShippingInfoSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderShippingInfoSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderShippingInfoSetMessageBuilder sequenceNumber(final Long sequenceNumb } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderShippingInfoSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public OrderShippingInfoSetMessageBuilder resource(final com.commercetools.api.m } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderShippingInfoSetMessageBuilder resource( @@ -164,7 +164,7 @@ public OrderShippingInfoSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderShippingInfoSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public OrderShippingInfoSetMessageBuilder resourceVersion(final Long resourceVer } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderShippingInfoSetMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public OrderShippingInfoSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderShippingInfoSetMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public OrderShippingInfoSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    ShippingInfo after the Set Shipping Method or Set Custom Shipping Method update action.

    */ public OrderShippingInfoSetMessageBuilder shippingInfo( @@ -205,7 +205,7 @@ public OrderShippingInfoSetMessageBuilder shippingInfo( } /** - * + *

    ShippingInfo after the Set Shipping Method or Set Custom Shipping Method update action.

    */ public OrderShippingInfoSetMessageBuilder shippingInfo( @@ -215,7 +215,7 @@ public OrderShippingInfoSetMessageBuilder shippingInfo( } /** - * + *

    ShippingInfo before the Set Shipping Method or Set Custom Shipping Method update action.

    */ public OrderShippingInfoSetMessageBuilder oldShippingInfo( @@ -225,7 +225,7 @@ public OrderShippingInfoSetMessageBuilder oldShippingInfo( } /** - * + *

    ShippingInfo before the Set Shipping Method or Set Custom Shipping Method update action.

    */ public OrderShippingInfoSetMessageBuilder oldShippingInfo( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessageImpl.java index 98cba02d87a..56a6d9b532f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderShippingInfoSetMessage + *

    Generated after a successful Set Shipping Method and Set Custom Shipping Method update actions.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderShippingInfoSetMessageImpl implements OrderShippingInfoSetMessage, ModelBase { @@ -78,7 +78,7 @@ public OrderShippingInfoSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    ShippingInfo after the Set Shipping Method or Set Custom Shipping Method update action.

    */ public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { } /** - * + *

    ShippingInfo before the Set Shipping Method or Set Custom Shipping Method update action.

    */ public com.commercetools.api.models.cart.ShippingInfo getOldShippingInfo() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayload.java index a160eb0b71b..ecf566782f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderShippingInfoSetMessagePayload + *

    Generated after a successful Set Shipping Method and Set Custom Shipping Method update actions.

    * *
    * Example to create an instance using the builder pattern @@ -32,14 +32,14 @@ public interface OrderShippingInfoSetMessagePayload extends OrderMessagePayload String ORDER_SHIPPING_INFO_SET = "OrderShippingInfoSet"; /** - * + *

    ShippingInfo after the Set Shipping Method or Set Custom Shipping Method update action.

    */ @Valid @JsonProperty("shippingInfo") public ShippingInfo getShippingInfo(); /** - * + *

    ShippingInfo before the Set Shipping Method or Set Custom Shipping Method update action.

    */ @Valid @JsonProperty("oldShippingInfo") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayloadBuilder.java index cd7fca877a8..662f8fa8f1b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayloadBuilder.java @@ -30,7 +30,7 @@ public class OrderShippingInfoSetMessagePayloadBuilder implements BuilderShippingInfo after the Set Shipping Method or Set Custom Shipping Method update action.

    */ public OrderShippingInfoSetMessagePayloadBuilder shippingInfo( @@ -40,7 +40,7 @@ public OrderShippingInfoSetMessagePayloadBuilder shippingInfo( } /** - * + *

    ShippingInfo after the Set Shipping Method or Set Custom Shipping Method update action.

    */ public OrderShippingInfoSetMessagePayloadBuilder shippingInfo( @@ -50,7 +50,7 @@ public OrderShippingInfoSetMessagePayloadBuilder shippingInfo( } /** - * + *

    ShippingInfo before the Set Shipping Method or Set Custom Shipping Method update action.

    */ public OrderShippingInfoSetMessagePayloadBuilder oldShippingInfo( @@ -60,7 +60,7 @@ public OrderShippingInfoSetMessagePayloadBuilder oldShippingInfo( } /** - * + *

    ShippingInfo before the Set Shipping Method or Set Custom Shipping Method update action.

    */ public OrderShippingInfoSetMessagePayloadBuilder oldShippingInfo( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayloadImpl.java index c5622ca3437..9059fc96bf6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingInfoSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderShippingInfoSetMessagePayload + *

    Generated after a successful Set Shipping Method and Set Custom Shipping Method update actions.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderShippingInfoSetMessagePayloadImpl implements OrderShippingInfoSetMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    ShippingInfo after the Set Shipping Method or Set Custom Shipping Method update action.

    */ public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { } /** - * + *

    ShippingInfo before the Set Shipping Method or Set Custom Shipping Method update action.

    */ public com.commercetools.api.models.cart.ShippingInfo getOldShippingInfo() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessage.java index 37b817d0d41..b8b3570f00b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderShippingRateInputSetMessage + *

    Generated after a successful Set ShippingRateInput update action.

    * *
    * Example to create an instance using the builder pattern @@ -39,14 +39,14 @@ public interface OrderShippingRateInputSetMessage extends OrderMessage { String ORDER_SHIPPING_RATE_INPUT_SET = "OrderShippingRateInputSet"; /** - * + *

    ShippingRateInput after the Set ShippingRateInput update action.

    */ @Valid @JsonProperty("shippingRateInput") public ShippingRateInput getShippingRateInput(); /** - * + *

    ShippingRateInput before the Set ShippingRateInput update action.

    */ @Valid @JsonProperty("oldShippingRateInput") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessageBuilder.java index 12c561bea2b..4bfc25fc1cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderShippingRateInputSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderShippingRateInputSetMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderShippingRateInputSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderShippingRateInputSetMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderShippingRateInputSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderShippingRateInputSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderShippingRateInputSetMessageBuilder createdAt(final java.time.ZonedDa } /** - * + *

    Value of createdAt.

    */ public OrderShippingRateInputSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderShippingRateInputSetMessageBuilder lastModifiedAt(final java.time.Zo } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderShippingRateInputSetMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderShippingRateInputSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderShippingRateInputSetMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderShippingRateInputSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderShippingRateInputSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderShippingRateInputSetMessageBuilder sequenceNumber(final Long sequenc } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderShippingRateInputSetMessageBuilder resource( @@ -155,7 +155,7 @@ public OrderShippingRateInputSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderShippingRateInputSetMessageBuilder resource( @@ -165,7 +165,7 @@ public OrderShippingRateInputSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderShippingRateInputSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public OrderShippingRateInputSetMessageBuilder resourceVersion(final Long resour } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderShippingRateInputSetMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public OrderShippingRateInputSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderShippingRateInputSetMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public OrderShippingRateInputSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    ShippingRateInput after the Set ShippingRateInput update action.

    */ public OrderShippingRateInputSetMessageBuilder shippingRateInput( @@ -206,7 +206,7 @@ public OrderShippingRateInputSetMessageBuilder shippingRateInput( } /** - * + *

    ShippingRateInput after the Set ShippingRateInput update action.

    */ public OrderShippingRateInputSetMessageBuilder shippingRateInput( @@ -216,7 +216,7 @@ public OrderShippingRateInputSetMessageBuilder shippingRateInput( } /** - * + *

    ShippingRateInput before the Set ShippingRateInput update action.

    */ public OrderShippingRateInputSetMessageBuilder oldShippingRateInput( @@ -226,7 +226,7 @@ public OrderShippingRateInputSetMessageBuilder oldShippingRateInput( } /** - * + *

    ShippingRateInput before the Set ShippingRateInput update action.

    */ public OrderShippingRateInputSetMessageBuilder oldShippingRateInput( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessageImpl.java index 0e0bc6478f5..30a0a3c3f19 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderShippingRateInputSetMessage + *

    Generated after a successful Set ShippingRateInput update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderShippingRateInputSetMessageImpl implements OrderShippingRateInputSetMessage, ModelBase { @@ -79,7 +79,7 @@ public OrderShippingRateInputSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    ShippingRateInput after the Set ShippingRateInput update action.

    */ public com.commercetools.api.models.cart.ShippingRateInput getShippingRateInput() { @@ -175,7 +175,7 @@ public com.commercetools.api.models.cart.ShippingRateInput getShippingRateInput( } /** - * + *

    ShippingRateInput before the Set ShippingRateInput update action.

    */ public com.commercetools.api.models.cart.ShippingRateInput getOldShippingRateInput() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayload.java index 91d0a3a1a9c..795e5a20623 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderShippingRateInputSetMessagePayload + *

    Generated after a successful Set ShippingRateInput update action.

    * *
    * Example to create an instance using the builder pattern @@ -32,14 +32,14 @@ public interface OrderShippingRateInputSetMessagePayload extends OrderMessagePay String ORDER_SHIPPING_RATE_INPUT_SET = "OrderShippingRateInputSet"; /** - * + *

    ShippingRateInput after the Set ShippingRateInput update action.

    */ @Valid @JsonProperty("shippingRateInput") public ShippingRateInput getShippingRateInput(); /** - * + *

    ShippingRateInput before the Set ShippingRateInput update action.

    */ @Valid @JsonProperty("oldShippingRateInput") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayloadBuilder.java index 8b83fae93a4..108bdf722c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayloadBuilder.java @@ -31,7 +31,7 @@ public class OrderShippingRateInputSetMessagePayloadBuilder private com.commercetools.api.models.cart.ShippingRateInput oldShippingRateInput; /** - * + *

    ShippingRateInput after the Set ShippingRateInput update action.

    */ public OrderShippingRateInputSetMessagePayloadBuilder shippingRateInput( @@ -41,7 +41,7 @@ public OrderShippingRateInputSetMessagePayloadBuilder shippingRateInput( } /** - * + *

    ShippingRateInput after the Set ShippingRateInput update action.

    */ public OrderShippingRateInputSetMessagePayloadBuilder shippingRateInput( @@ -51,7 +51,7 @@ public OrderShippingRateInputSetMessagePayloadBuilder shippingRateInput( } /** - * + *

    ShippingRateInput before the Set ShippingRateInput update action.

    */ public OrderShippingRateInputSetMessagePayloadBuilder oldShippingRateInput( @@ -61,7 +61,7 @@ public OrderShippingRateInputSetMessagePayloadBuilder oldShippingRateInput( } /** - * + *

    ShippingRateInput before the Set ShippingRateInput update action.

    */ public OrderShippingRateInputSetMessagePayloadBuilder oldShippingRateInput( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayloadImpl.java index 90e075a497a..760d0b697bb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderShippingRateInputSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderShippingRateInputSetMessagePayload + *

    Generated after a successful Set ShippingRateInput update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderShippingRateInputSetMessagePayloadImpl implements OrderShippingRateInputSetMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    ShippingRateInput after the Set ShippingRateInput update action.

    */ public com.commercetools.api.models.cart.ShippingRateInput getShippingRateInput() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.cart.ShippingRateInput getShippingRateInput( } /** - * + *

    ShippingRateInput before the Set ShippingRateInput update action.

    */ public com.commercetools.api.models.cart.ShippingRateInput getOldShippingRateInput() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessage.java index b15623808e9..9423becf614 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderStateChangedMessage + *

    Generated after a successful Change Order State update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface OrderStateChangedMessage extends OrderMessage { String ORDER_STATE_CHANGED = "OrderStateChanged"; /** - * + *

    OrderState after the Change Order State update action.

    */ @NotNull @JsonProperty("orderState") public OrderState getOrderState(); /** - * + *

    OrderState before the Change Order State update action.

    */ @NotNull @JsonProperty("oldOrderState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessageBuilder.java index 92f3cfb58c0..8a728597dcf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class OrderStateChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderStateChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public OrderStateChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderStateChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public OrderStateChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public OrderStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime c } /** - * + *

    Value of createdAt.

    */ public OrderStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public OrderStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateT } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderStateChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public OrderStateChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderStateChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public OrderStateChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public OrderStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderStateChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public OrderStateChangedMessageBuilder resource(final com.commercetools.api.mode } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderStateChangedMessageBuilder resource( @@ -164,7 +164,7 @@ public OrderStateChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderStateChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public OrderStateChangedMessageBuilder resourceVersion(final Long resourceVersio } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public OrderStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public OrderStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    OrderState after the Change Order State update action.

    */ public OrderStateChangedMessageBuilder orderState(final com.commercetools.api.models.order.OrderState orderState) { @@ -204,7 +204,7 @@ public OrderStateChangedMessageBuilder orderState(final com.commercetools.api.mo } /** - * + *

    OrderState before the Change Order State update action.

    */ public OrderStateChangedMessageBuilder oldOrderState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessageImpl.java index 7d594d0ee40..4f0c895d396 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderStateChangedMessage + *

    Generated after a successful Change Order State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderStateChangedMessageImpl implements OrderStateChangedMessage, ModelBase { @@ -78,7 +78,7 @@ public OrderStateChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    OrderState after the Change Order State update action.

    */ public com.commercetools.api.models.order.OrderState getOrderState() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.order.OrderState getOrderState() { } /** - * + *

    OrderState before the Change Order State update action.

    */ public com.commercetools.api.models.order.OrderState getOldOrderState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayload.java index 9d3398cccea..59651aa3665 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderStateChangedMessagePayload + *

    Generated after a successful Change Order State update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface OrderStateChangedMessagePayload extends OrderMessagePayload { String ORDER_STATE_CHANGED = "OrderStateChanged"; /** - * + *

    OrderState after the Change Order State update action.

    */ @NotNull @JsonProperty("orderState") public OrderState getOrderState(); /** - * + *

    OrderState before the Change Order State update action.

    */ @NotNull @JsonProperty("oldOrderState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayloadBuilder.java index fc2e6a5f140..fec98fa8179 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayloadBuilder.java @@ -27,7 +27,7 @@ public class OrderStateChangedMessagePayloadBuilder implements BuilderOrderState after the Change Order State update action.

    */ public OrderStateChangedMessagePayloadBuilder orderState( @@ -37,7 +37,7 @@ public OrderStateChangedMessagePayloadBuilder orderState( } /** - * + *

    OrderState before the Change Order State update action.

    */ public OrderStateChangedMessagePayloadBuilder oldOrderState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayloadImpl.java index 7b150ea70a1..059216eda52 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderStateChangedMessagePayload + *

    Generated after a successful Change Order State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderStateChangedMessagePayloadImpl implements OrderStateChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    OrderState after the Change Order State update action.

    */ public com.commercetools.api.models.order.OrderState getOrderState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.order.OrderState getOrderState() { } /** - * + *

    OrderState before the Change Order State update action.

    */ public com.commercetools.api.models.order.OrderState getOldOrderState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessage.java index 1667e54d7da..7192622fc40 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderStateTransitionMessage + *

    Generated after a successful Transition State update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface OrderStateTransitionMessage extends OrderMessage { String ORDER_STATE_TRANSITION = "OrderStateTransition"; /** - *

    Reference to a State.

    + *

    OrderState after the Transition State update action.

    */ @NotNull @Valid @@ -50,14 +50,14 @@ public interface OrderStateTransitionMessage extends OrderMessage { public StateReference getState(); /** - *

    Reference to a State.

    + *

    OrderState before the Transition State update action.

    */ @Valid @JsonProperty("oldState") public StateReference getOldState(); /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ @NotNull @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessageBuilder.java index 6256805bc5e..750f29441f7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessageBuilder.java @@ -63,7 +63,7 @@ public class OrderStateTransitionMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderStateTransitionMessageBuilder id(final String id) { @@ -72,7 +72,7 @@ public OrderStateTransitionMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderStateTransitionMessageBuilder version(final Long version) { @@ -81,7 +81,7 @@ public OrderStateTransitionMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +90,7 @@ public OrderStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTim } /** - * + *

    Value of createdAt.

    */ public OrderStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +99,7 @@ public OrderStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDa } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderStateTransitionMessageBuilder lastModifiedBy( @@ -109,7 +109,7 @@ public OrderStateTransitionMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderStateTransitionMessageBuilder lastModifiedBy( @@ -139,7 +139,7 @@ public OrderStateTransitionMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +148,7 @@ public OrderStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumb } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderStateTransitionMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -157,7 +157,7 @@ public OrderStateTransitionMessageBuilder resource(final com.commercetools.api.m } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderStateTransitionMessageBuilder resource( @@ -167,7 +167,7 @@ public OrderStateTransitionMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { @@ -176,7 +176,7 @@ public OrderStateTransitionMessageBuilder resourceVersion(final Long resourceVer } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -188,7 +188,7 @@ public OrderStateTransitionMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -198,7 +198,7 @@ public OrderStateTransitionMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Reference to a State.

    + *

    OrderState after the Transition State update action.

    */ public OrderStateTransitionMessageBuilder state( @@ -208,7 +208,7 @@ public OrderStateTransitionMessageBuilder state( } /** - *

    Reference to a State.

    + *

    OrderState after the Transition State update action.

    */ public OrderStateTransitionMessageBuilder state(final com.commercetools.api.models.state.StateReference state) { @@ -217,7 +217,7 @@ public OrderStateTransitionMessageBuilder state(final com.commercetools.api.mode } /** - *

    Reference to a State.

    + *

    OrderState before the Transition State update action.

    */ public OrderStateTransitionMessageBuilder oldState( @@ -227,7 +227,7 @@ public OrderStateTransitionMessageBuilder oldState( } /** - *

    Reference to a State.

    + *

    OrderState before the Transition State update action.

    */ public OrderStateTransitionMessageBuilder oldState( @@ -237,7 +237,7 @@ public OrderStateTransitionMessageBuilder oldState( } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public OrderStateTransitionMessageBuilder force(final Boolean force) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessageImpl.java index 9f30481ef75..abf842028c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderStateTransitionMessage + *

    Generated after a successful Transition State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderStateTransitionMessageImpl implements OrderStateTransitionMessage, ModelBase { @@ -82,7 +82,7 @@ public OrderStateTransitionMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -90,7 +90,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -98,7 +98,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -114,7 +114,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -130,7 +130,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -138,7 +138,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +146,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -154,7 +154,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -162,7 +162,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -170,7 +170,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a State.

    + *

    OrderState after the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getState() { @@ -178,7 +178,7 @@ public com.commercetools.api.models.state.StateReference getState() { } /** - *

    Reference to a State.

    + *

    OrderState before the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getOldState() { @@ -186,7 +186,7 @@ public com.commercetools.api.models.state.StateReference getOldState() { } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayload.java index 45ec77332b3..857723bc69c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderStateTransitionMessagePayload + *

    Generated after a successful Transition State update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface OrderStateTransitionMessagePayload extends OrderMessagePayload String ORDER_STATE_TRANSITION = "OrderStateTransition"; /** - *

    Reference to a State.

    + *

    OrderState after the Transition State update action.

    */ @NotNull @Valid @@ -43,14 +43,14 @@ public interface OrderStateTransitionMessagePayload extends OrderMessagePayload public StateReference getState(); /** - *

    Reference to a State.

    + *

    OrderState before the Transition State update action.

    */ @Valid @JsonProperty("oldState") public StateReference getOldState(); /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ @NotNull @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayloadBuilder.java index d674874952a..df9072f1e43 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayloadBuilder.java @@ -33,7 +33,7 @@ public class OrderStateTransitionMessagePayloadBuilder implements BuilderReference to a State.

    + *

    OrderState after the Transition State update action.

    */ public OrderStateTransitionMessagePayloadBuilder state( @@ -43,7 +43,7 @@ public OrderStateTransitionMessagePayloadBuilder state( } /** - *

    Reference to a State.

    + *

    OrderState after the Transition State update action.

    */ public OrderStateTransitionMessagePayloadBuilder state( @@ -53,7 +53,7 @@ public OrderStateTransitionMessagePayloadBuilder state( } /** - *

    Reference to a State.

    + *

    OrderState before the Transition State update action.

    */ public OrderStateTransitionMessagePayloadBuilder oldState( @@ -63,7 +63,7 @@ public OrderStateTransitionMessagePayloadBuilder oldState( } /** - *

    Reference to a State.

    + *

    OrderState before the Transition State update action.

    */ public OrderStateTransitionMessagePayloadBuilder oldState( @@ -73,7 +73,7 @@ public OrderStateTransitionMessagePayloadBuilder oldState( } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public OrderStateTransitionMessagePayloadBuilder force(final Boolean force) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayloadImpl.java index d9fe46aeb58..7247864d3d8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStateTransitionMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderStateTransitionMessagePayload + *

    Generated after a successful Transition State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderStateTransitionMessagePayloadImpl implements OrderStateTransitionMessagePayload, ModelBase { @@ -52,7 +52,7 @@ public String getType() { } /** - *

    Reference to a State.

    + *

    OrderState after the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getState() { @@ -60,7 +60,7 @@ public com.commercetools.api.models.state.StateReference getState() { } /** - *

    Reference to a State.

    + *

    OrderState before the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getOldState() { @@ -68,7 +68,7 @@ public com.commercetools.api.models.state.StateReference getOldState() { } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessage.java index ee7a0212947..c680c4f72f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessage.java @@ -6,7 +6,6 @@ import java.util.function.Function; import javax.validation.Valid; -import javax.validation.constraints.NotNull; import com.commercetools.api.models.store.StoreKeyReference; import com.fasterxml.jackson.annotation.*; @@ -15,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderStoreSetMessage + *

    Generated after a successful Set Store update action.

    * *
    * Example to create an instance using the builder pattern @@ -29,7 +28,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .store(storeBuilder -> storeBuilder) * .build() * *
    @@ -41,9 +39,8 @@ public interface OrderStoreSetMessage extends OrderMessage { String ORDER_STORE_SET = "OrderStoreSet"; /** - *

    Reference to a Store by its key.

    + *

    Store that was set.

    */ - @NotNull @Valid @JsonProperty("store") public StoreKeyReference getStore(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessageBuilder.java index 2e11876b1d0..2e1c436fba2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessageBuilder.java @@ -23,7 +23,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .store(storeBuilder -> storeBuilder) * .build() * *
    @@ -54,10 +53,11 @@ public class OrderStoreSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public OrderStoreSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public OrderStoreSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public OrderStoreSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public OrderStoreSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public OrderStoreSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public OrderStoreSetMessageBuilder createdAt(final java.time.ZonedDateTime creat } /** - * + *

    Value of createdAt.

    */ public OrderStoreSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public OrderStoreSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderStoreSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public OrderStoreSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public OrderStoreSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public OrderStoreSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public OrderStoreSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public OrderStoreSetMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderStoreSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public OrderStoreSetMessageBuilder resource(final com.commercetools.api.models.c } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public OrderStoreSetMessageBuilder resource( @@ -161,7 +161,7 @@ public OrderStoreSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public OrderStoreSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public OrderStoreSetMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderStoreSetMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public OrderStoreSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public OrderStoreSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public OrderStoreSetMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Reference to a Store by its key.

    + *

    Store that was set.

    */ public OrderStoreSetMessageBuilder store( @@ -202,10 +202,11 @@ public OrderStoreSetMessageBuilder store( } /** - *

    Reference to a Store by its key.

    + *

    Store that was set.

    */ - public OrderStoreSetMessageBuilder store(final com.commercetools.api.models.store.StoreKeyReference store) { + public OrderStoreSetMessageBuilder store( + @Nullable final com.commercetools.api.models.store.StoreKeyReference store) { this.store = store; return this; } @@ -253,6 +254,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } + @Nullable public com.commercetools.api.models.store.StoreKeyReference getStore() { return this.store; } @@ -265,7 +267,6 @@ public OrderStoreSetMessage build() { Objects.requireNonNull(sequenceNumber, OrderStoreSetMessage.class + ": sequenceNumber is missing"); Objects.requireNonNull(resource, OrderStoreSetMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, OrderStoreSetMessage.class + ": resourceVersion is missing"); - Objects.requireNonNull(store, OrderStoreSetMessage.class + ": store is missing"); return new OrderStoreSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, store); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessageImpl.java index c3c42206189..f70075d9733 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderStoreSetMessage + *

    Generated after a successful Set Store update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderStoreSetMessageImpl implements OrderStoreSetMessage, ModelBase { @@ -74,7 +74,7 @@ public OrderStoreSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a Store by its key.

    + *

    Store that was set.

    */ public com.commercetools.api.models.store.StoreKeyReference getStore() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayload.java index 4059aa9b9d5..67c1b48a3e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayload.java @@ -6,7 +6,6 @@ import java.util.function.Function; import javax.validation.Valid; -import javax.validation.constraints.NotNull; import com.commercetools.api.models.store.StoreKeyReference; import com.fasterxml.jackson.annotation.*; @@ -15,14 +14,13 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderStoreSetMessagePayload + *

    Generated after a successful Set Store update action.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     OrderStoreSetMessagePayload orderStoreSetMessagePayload = OrderStoreSetMessagePayload.builder()
    - *             .store(storeBuilder -> storeBuilder)
      *             .build()
      * 
    *
    @@ -34,9 +32,8 @@ public interface OrderStoreSetMessagePayload extends OrderMessagePayload { String ORDER_STORE_SET = "OrderStoreSet"; /** - *

    Reference to a Store by its key.

    + *

    Store that was set.

    */ - @NotNull @Valid @JsonProperty("store") public StoreKeyReference getStore(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayloadBuilder.java index 0b21be1f24f..75c9ad4b5d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -14,7 +16,6 @@ *
    *
    
      *     OrderStoreSetMessagePayload orderStoreSetMessagePayload = OrderStoreSetMessagePayload.builder()
    - *             .store(storeBuilder -> storeBuilder)
      *             .build()
      * 
    *
    @@ -22,10 +23,11 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderStoreSetMessagePayloadBuilder implements Builder { + @Nullable private com.commercetools.api.models.store.StoreKeyReference store; /** - *

    Reference to a Store by its key.

    + *

    Store that was set.

    */ public OrderStoreSetMessagePayloadBuilder store( @@ -35,20 +37,21 @@ public OrderStoreSetMessagePayloadBuilder store( } /** - *

    Reference to a Store by its key.

    + *

    Store that was set.

    */ - public OrderStoreSetMessagePayloadBuilder store(final com.commercetools.api.models.store.StoreKeyReference store) { + public OrderStoreSetMessagePayloadBuilder store( + @Nullable final com.commercetools.api.models.store.StoreKeyReference store) { this.store = store; return this; } + @Nullable public com.commercetools.api.models.store.StoreKeyReference getStore() { return this.store; } public OrderStoreSetMessagePayload build() { - Objects.requireNonNull(store, OrderStoreSetMessagePayload.class + ": store is missing"); return new OrderStoreSetMessagePayloadImpl(store); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayloadImpl.java index 70b15e8aa4a..52bc90c73c3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderStoreSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderStoreSetMessagePayload + *

    Generated after a successful Set Store update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderStoreSetMessagePayloadImpl implements OrderStoreSetMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - *

    Reference to a Store by its key.

    + *

    Store that was set.

    */ public com.commercetools.api.models.store.StoreKeyReference getStore() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessage.java index 0b5039dfdad..ca049b1eae5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ParcelAddedToDeliveryMessage + *

    Generated after a successful Add Parcel To Delivery update action.

    * *
    * Example to create an instance using the builder pattern @@ -43,7 +43,7 @@ public interface ParcelAddedToDeliveryMessage extends OrderMessage { String PARCEL_ADDED_TO_DELIVERY = "ParcelAddedToDelivery"; /** - * + *

    Unique identifier of the Delivery.

    */ @NotNull @Valid @@ -51,17 +51,26 @@ public interface ParcelAddedToDeliveryMessage extends OrderMessage { public Delivery getDelivery(); /** - * + *

    Parcel that was added to the Delivery.

    */ @NotNull @Valid @JsonProperty("parcel") public Parcel getParcel(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDelivery(final Delivery delivery); public void setParcel(final Parcel parcel); + public void setShippingKey(final String shippingKey); + public static ParcelAddedToDeliveryMessage of() { return new ParcelAddedToDeliveryMessageImpl(); } @@ -80,6 +89,7 @@ public static ParcelAddedToDeliveryMessage of(final ParcelAddedToDeliveryMessage instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); instance.setDelivery(template.getDelivery()); instance.setParcel(template.getParcel()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessageBuilder.java index 55f64586851..0d97760fe45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessageBuilder.java @@ -59,8 +59,11 @@ public class ParcelAddedToDeliveryMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ParcelAddedToDeliveryMessageBuilder id(final String id) { @@ -69,7 +72,7 @@ public ParcelAddedToDeliveryMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ParcelAddedToDeliveryMessageBuilder version(final Long version) { @@ -78,7 +81,7 @@ public ParcelAddedToDeliveryMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ParcelAddedToDeliveryMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +90,7 @@ public ParcelAddedToDeliveryMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

    Value of createdAt.

    */ public ParcelAddedToDeliveryMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +99,7 @@ public ParcelAddedToDeliveryMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelAddedToDeliveryMessageBuilder lastModifiedBy( @@ -106,7 +109,7 @@ public ParcelAddedToDeliveryMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelAddedToDeliveryMessageBuilder lastModifiedBy( @@ -136,7 +139,7 @@ public ParcelAddedToDeliveryMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ParcelAddedToDeliveryMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +148,7 @@ public ParcelAddedToDeliveryMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelAddedToDeliveryMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +157,7 @@ public ParcelAddedToDeliveryMessageBuilder resource(final com.commercetools.api. } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelAddedToDeliveryMessageBuilder resource( @@ -164,7 +167,7 @@ public ParcelAddedToDeliveryMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ParcelAddedToDeliveryMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +176,7 @@ public ParcelAddedToDeliveryMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelAddedToDeliveryMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +188,7 @@ public ParcelAddedToDeliveryMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelAddedToDeliveryMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +198,7 @@ public ParcelAddedToDeliveryMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelAddedToDeliveryMessageBuilder delivery( @@ -205,7 +208,7 @@ public ParcelAddedToDeliveryMessageBuilder delivery( } /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelAddedToDeliveryMessageBuilder delivery(final com.commercetools.api.models.order.Delivery delivery) { @@ -214,7 +217,7 @@ public ParcelAddedToDeliveryMessageBuilder delivery(final com.commercetools.api. } /** - * + *

    Parcel that was added to the Delivery.

    */ public ParcelAddedToDeliveryMessageBuilder parcel( @@ -224,7 +227,7 @@ public ParcelAddedToDeliveryMessageBuilder parcel( } /** - * + *

    Parcel that was added to the Delivery.

    */ public ParcelAddedToDeliveryMessageBuilder parcel(final com.commercetools.api.models.order.Parcel parcel) { @@ -232,6 +235,15 @@ public ParcelAddedToDeliveryMessageBuilder parcel(final com.commercetools.api.mo return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelAddedToDeliveryMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -283,6 +295,11 @@ public com.commercetools.api.models.order.Parcel getParcel() { return this.parcel; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelAddedToDeliveryMessage build() { Objects.requireNonNull(id, ParcelAddedToDeliveryMessage.class + ": id is missing"); Objects.requireNonNull(version, ParcelAddedToDeliveryMessage.class + ": version is missing"); @@ -294,7 +311,7 @@ public ParcelAddedToDeliveryMessage build() { Objects.requireNonNull(delivery, ParcelAddedToDeliveryMessage.class + ": delivery is missing"); Objects.requireNonNull(parcel, ParcelAddedToDeliveryMessage.class + ": parcel is missing"); return new ParcelAddedToDeliveryMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery, parcel); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery, parcel, shippingKey); } /** @@ -302,7 +319,7 @@ public ParcelAddedToDeliveryMessage build() { */ public ParcelAddedToDeliveryMessage buildUnchecked() { return new ParcelAddedToDeliveryMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery, parcel); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, delivery, parcel, shippingKey); } public static ParcelAddedToDeliveryMessageBuilder of() { @@ -323,6 +340,7 @@ public static ParcelAddedToDeliveryMessageBuilder of(final ParcelAddedToDelivery builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); builder.delivery = template.getDelivery(); builder.parcel = template.getParcel(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessageImpl.java index 16b8ea15b9c..a553679133c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelAddedToDeliveryMessage + *

    Generated after a successful Add Parcel To Delivery update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelAddedToDeliveryMessageImpl implements ParcelAddedToDeliveryMessage, ModelBase { @@ -46,6 +46,8 @@ public class ParcelAddedToDeliveryMessageImpl implements ParcelAddedToDeliveryMe private com.commercetools.api.models.order.Parcel parcel; + private String shippingKey; + @JsonCreator ParcelAddedToDeliveryMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -57,7 +59,8 @@ public class ParcelAddedToDeliveryMessageImpl implements ParcelAddedToDeliveryMe @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery, - @JsonProperty("parcel") final com.commercetools.api.models.order.Parcel parcel) { + @JsonProperty("parcel") final com.commercetools.api.models.order.Parcel parcel, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -70,6 +73,7 @@ public class ParcelAddedToDeliveryMessageImpl implements ParcelAddedToDeliveryMe this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; this.delivery = delivery; this.parcel = parcel; + this.shippingKey = shippingKey; this.type = PARCEL_ADDED_TO_DELIVERY; } @@ -78,7 +82,7 @@ public ParcelAddedToDeliveryMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +90,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +98,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +106,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +114,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +130,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +138,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +146,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +154,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +162,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +170,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Delivery.

    */ public com.commercetools.api.models.order.Delivery getDelivery() { @@ -174,13 +178,21 @@ public com.commercetools.api.models.order.Delivery getDelivery() { } /** - * + *

    Parcel that was added to the Delivery.

    */ public com.commercetools.api.models.order.Parcel getParcel() { return this.parcel; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -230,6 +242,10 @@ public void setParcel(final com.commercetools.api.models.order.Parcel parcel) { this.parcel = parcel; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -253,6 +269,7 @@ public boolean equals(Object o) { .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) .append(delivery, that.delivery) .append(parcel, that.parcel) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -271,6 +288,7 @@ public int hashCode() { .append(resourceUserProvidedIdentifiers) .append(delivery) .append(parcel) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayload.java index b0cb984b1ce..2ed51b132ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ParcelAddedToDeliveryMessagePayload + *

    Generated after a successful Add Parcel To Delivery update action.

    * *
    * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ParcelAddedToDeliveryMessagePayload extends OrderMessagePayload String PARCEL_ADDED_TO_DELIVERY = "ParcelAddedToDelivery"; /** - * + *

    Unique identifier of the Delivery.

    */ @NotNull @Valid @@ -44,17 +44,26 @@ public interface ParcelAddedToDeliveryMessagePayload extends OrderMessagePayload public Delivery getDelivery(); /** - * + *

    Parcel that was added to the Delivery.

    */ @NotNull @Valid @JsonProperty("parcel") public Parcel getParcel(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDelivery(final Delivery delivery); public void setParcel(final Parcel parcel); + public void setShippingKey(final String shippingKey); + public static ParcelAddedToDeliveryMessagePayload of() { return new ParcelAddedToDeliveryMessagePayloadImpl(); } @@ -63,6 +72,7 @@ public static ParcelAddedToDeliveryMessagePayload of(final ParcelAddedToDelivery ParcelAddedToDeliveryMessagePayloadImpl instance = new ParcelAddedToDeliveryMessagePayloadImpl(); instance.setDelivery(template.getDelivery()); instance.setParcel(template.getParcel()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayloadBuilder.java index b77a3548f2b..68af73a3559 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -27,8 +29,11 @@ public class ParcelAddedToDeliveryMessagePayloadBuilder implements BuilderUnique identifier of the Delivery.

    */ public ParcelAddedToDeliveryMessagePayloadBuilder delivery( @@ -38,7 +43,7 @@ public ParcelAddedToDeliveryMessagePayloadBuilder delivery( } /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelAddedToDeliveryMessagePayloadBuilder delivery( @@ -48,7 +53,7 @@ public ParcelAddedToDeliveryMessagePayloadBuilder delivery( } /** - * + *

    Parcel that was added to the Delivery.

    */ public ParcelAddedToDeliveryMessagePayloadBuilder parcel( @@ -58,7 +63,7 @@ public ParcelAddedToDeliveryMessagePayloadBuilder parcel( } /** - * + *

    Parcel that was added to the Delivery.

    */ public ParcelAddedToDeliveryMessagePayloadBuilder parcel(final com.commercetools.api.models.order.Parcel parcel) { @@ -66,6 +71,15 @@ public ParcelAddedToDeliveryMessagePayloadBuilder parcel(final com.commercetools return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelAddedToDeliveryMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public com.commercetools.api.models.order.Delivery getDelivery() { return this.delivery; } @@ -74,17 +88,22 @@ public com.commercetools.api.models.order.Parcel getParcel() { return this.parcel; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelAddedToDeliveryMessagePayload build() { Objects.requireNonNull(delivery, ParcelAddedToDeliveryMessagePayload.class + ": delivery is missing"); Objects.requireNonNull(parcel, ParcelAddedToDeliveryMessagePayload.class + ": parcel is missing"); - return new ParcelAddedToDeliveryMessagePayloadImpl(delivery, parcel); + return new ParcelAddedToDeliveryMessagePayloadImpl(delivery, parcel, shippingKey); } /** * builds ParcelAddedToDeliveryMessagePayload without checking for non null required values */ public ParcelAddedToDeliveryMessagePayload buildUnchecked() { - return new ParcelAddedToDeliveryMessagePayloadImpl(delivery, parcel); + return new ParcelAddedToDeliveryMessagePayloadImpl(delivery, parcel, shippingKey); } public static ParcelAddedToDeliveryMessagePayloadBuilder of() { @@ -95,6 +114,7 @@ public static ParcelAddedToDeliveryMessagePayloadBuilder of(final ParcelAddedToD ParcelAddedToDeliveryMessagePayloadBuilder builder = new ParcelAddedToDeliveryMessagePayloadBuilder(); builder.delivery = template.getDelivery(); builder.parcel = template.getParcel(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayloadImpl.java index ca33297597d..0c2326b6b4e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelAddedToDeliveryMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelAddedToDeliveryMessagePayload + *

    Generated after a successful Add Parcel To Delivery update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelAddedToDeliveryMessagePayloadImpl implements ParcelAddedToDeliveryMessagePayload, ModelBase { @@ -26,12 +26,16 @@ public class ParcelAddedToDeliveryMessagePayloadImpl implements ParcelAddedToDel private com.commercetools.api.models.order.Parcel parcel; + private String shippingKey; + @JsonCreator ParcelAddedToDeliveryMessagePayloadImpl( @JsonProperty("delivery") final com.commercetools.api.models.order.Delivery delivery, - @JsonProperty("parcel") final com.commercetools.api.models.order.Parcel parcel) { + @JsonProperty("parcel") final com.commercetools.api.models.order.Parcel parcel, + @JsonProperty("shippingKey") final String shippingKey) { this.delivery = delivery; this.parcel = parcel; + this.shippingKey = shippingKey; this.type = PARCEL_ADDED_TO_DELIVERY; } @@ -48,7 +52,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Delivery.

    */ public com.commercetools.api.models.order.Delivery getDelivery() { @@ -56,13 +60,21 @@ public com.commercetools.api.models.order.Delivery getDelivery() { } /** - * + *

    Parcel that was added to the Delivery.

    */ public com.commercetools.api.models.order.Parcel getParcel() { return this.parcel; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setDelivery(final com.commercetools.api.models.order.Delivery delivery) { this.delivery = delivery; } @@ -71,6 +83,10 @@ public void setParcel(final com.commercetools.api.models.order.Parcel parcel) { this.parcel = parcel; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -84,12 +100,17 @@ public boolean equals(Object o) { return new EqualsBuilder().append(type, that.type) .append(delivery, that.delivery) .append(parcel, that.parcel) + .append(shippingKey, that.shippingKey) .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).append(delivery).append(parcel).toHashCode(); + return new HashCodeBuilder(17, 37).append(type) + .append(delivery) + .append(parcel) + .append(shippingKey) + .toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessage.java index 38efc42889f..937b92a8acf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ParcelItemsUpdatedMessage + *

    Generated after a successful Set Parcel Items update action.

    * *
    * Example to create an instance using the builder pattern @@ -30,6 +30,7 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .parcelId("{parcelId}") + * .deliveryId("{deliveryId}") * .plusItems(itemsBuilder -> itemsBuilder) * .plusOldItems(oldItemsBuilder -> oldItemsBuilder) * .build() @@ -43,21 +44,21 @@ public interface ParcelItemsUpdatedMessage extends OrderMessage { String PARCEL_ITEMS_UPDATED = "ParcelItemsUpdated"; /** - * + *

    Unique identifier of the Parcel.

    */ @NotNull @JsonProperty("parcelId") public String getParcelId(); /** - * + *

    Unique identifier of the Delivery.

    */ - + @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ @NotNull @Valid @@ -65,13 +66,20 @@ public interface ParcelItemsUpdatedMessage extends OrderMessage { public List getItems(); /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ @NotNull @Valid @JsonProperty("oldItems") public List getOldItems(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setParcelId(final String parcelId); public void setDeliveryId(final String deliveryId); @@ -86,6 +94,8 @@ public interface ParcelItemsUpdatedMessage extends OrderMessage { public void setOldItems(final List oldItems); + public void setShippingKey(final String shippingKey); + public static ParcelItemsUpdatedMessage of() { return new ParcelItemsUpdatedMessageImpl(); } @@ -106,6 +116,7 @@ public static ParcelItemsUpdatedMessage of(final ParcelItemsUpdatedMessage templ instance.setDeliveryId(template.getDeliveryId()); instance.setItems(template.getItems()); instance.setOldItems(template.getOldItems()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessageBuilder.java index bdb29b994e6..739dac862cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessageBuilder.java @@ -24,6 +24,7 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .parcelId("{parcelId}") + * .deliveryId("{deliveryId}") * .plusItems(itemsBuilder -> itemsBuilder) * .plusOldItems(oldItemsBuilder -> oldItemsBuilder) * .build() @@ -58,15 +59,17 @@ public class ParcelItemsUpdatedMessageBuilder implements Builder items; private java.util.List oldItems; + @Nullable + private String shippingKey; + /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ParcelItemsUpdatedMessageBuilder id(final String id) { @@ -75,7 +78,7 @@ public ParcelItemsUpdatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ParcelItemsUpdatedMessageBuilder version(final Long version) { @@ -84,7 +87,7 @@ public ParcelItemsUpdatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ParcelItemsUpdatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -93,7 +96,7 @@ public ParcelItemsUpdatedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

    Value of createdAt.

    */ public ParcelItemsUpdatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -102,7 +105,7 @@ public ParcelItemsUpdatedMessageBuilder lastModifiedAt(final java.time.ZonedDate } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelItemsUpdatedMessageBuilder lastModifiedBy( @@ -112,7 +115,7 @@ public ParcelItemsUpdatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelItemsUpdatedMessageBuilder lastModifiedBy( @@ -142,7 +145,7 @@ public ParcelItemsUpdatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ParcelItemsUpdatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -151,7 +154,7 @@ public ParcelItemsUpdatedMessageBuilder sequenceNumber(final Long sequenceNumber } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelItemsUpdatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -160,7 +163,7 @@ public ParcelItemsUpdatedMessageBuilder resource(final com.commercetools.api.mod } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelItemsUpdatedMessageBuilder resource( @@ -170,7 +173,7 @@ public ParcelItemsUpdatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ParcelItemsUpdatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -179,7 +182,7 @@ public ParcelItemsUpdatedMessageBuilder resourceVersion(final Long resourceVersi } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelItemsUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -191,7 +194,7 @@ public ParcelItemsUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelItemsUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -201,7 +204,7 @@ public ParcelItemsUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Parcel.

    */ public ParcelItemsUpdatedMessageBuilder parcelId(final String parcelId) { @@ -210,16 +213,16 @@ public ParcelItemsUpdatedMessageBuilder parcelId(final String parcelId) { } /** - * + *

    Unique identifier of the Delivery.

    */ - public ParcelItemsUpdatedMessageBuilder deliveryId(@Nullable final String deliveryId) { + public ParcelItemsUpdatedMessageBuilder deliveryId(final String deliveryId) { this.deliveryId = deliveryId; return this; } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder items(final com.commercetools.api.models.order.DeliveryItem... items) { @@ -228,7 +231,7 @@ public ParcelItemsUpdatedMessageBuilder items(final com.commercetools.api.models } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder items( @@ -238,7 +241,7 @@ public ParcelItemsUpdatedMessageBuilder items( } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder plusItems(final com.commercetools.api.models.order.DeliveryItem... items) { @@ -250,7 +253,7 @@ public ParcelItemsUpdatedMessageBuilder plusItems(final com.commercetools.api.mo } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder plusItems( @@ -263,7 +266,7 @@ public ParcelItemsUpdatedMessageBuilder plusItems( } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder withItems( @@ -274,7 +277,7 @@ public ParcelItemsUpdatedMessageBuilder withItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder oldItems( @@ -284,7 +287,7 @@ public ParcelItemsUpdatedMessageBuilder oldItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder oldItems( @@ -294,7 +297,7 @@ public ParcelItemsUpdatedMessageBuilder oldItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder plusOldItems( @@ -307,7 +310,7 @@ public ParcelItemsUpdatedMessageBuilder plusOldItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder plusOldItems( @@ -320,7 +323,7 @@ public ParcelItemsUpdatedMessageBuilder plusOldItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessageBuilder withOldItems( @@ -330,6 +333,15 @@ public ParcelItemsUpdatedMessageBuilder withOldItems( return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelItemsUpdatedMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -377,7 +389,6 @@ public String getParcelId() { return this.parcelId; } - @Nullable public String getDeliveryId() { return this.deliveryId; } @@ -390,6 +401,11 @@ public java.util.List getOldIte return this.oldItems; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelItemsUpdatedMessage build() { Objects.requireNonNull(id, ParcelItemsUpdatedMessage.class + ": id is missing"); Objects.requireNonNull(version, ParcelItemsUpdatedMessage.class + ": version is missing"); @@ -399,11 +415,12 @@ public ParcelItemsUpdatedMessage build() { Objects.requireNonNull(resource, ParcelItemsUpdatedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, ParcelItemsUpdatedMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(parcelId, ParcelItemsUpdatedMessage.class + ": parcelId is missing"); + Objects.requireNonNull(deliveryId, ParcelItemsUpdatedMessage.class + ": deliveryId is missing"); Objects.requireNonNull(items, ParcelItemsUpdatedMessage.class + ": items is missing"); Objects.requireNonNull(oldItems, ParcelItemsUpdatedMessage.class + ": oldItems is missing"); return new ParcelItemsUpdatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, parcelId, deliveryId, items, - oldItems); + oldItems, shippingKey); } /** @@ -412,7 +429,7 @@ public ParcelItemsUpdatedMessage build() { public ParcelItemsUpdatedMessage buildUnchecked() { return new ParcelItemsUpdatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, parcelId, deliveryId, items, - oldItems); + oldItems, shippingKey); } public static ParcelItemsUpdatedMessageBuilder of() { @@ -435,6 +452,7 @@ public static ParcelItemsUpdatedMessageBuilder of(final ParcelItemsUpdatedMessag builder.deliveryId = template.getDeliveryId(); builder.items = template.getItems(); builder.oldItems = template.getOldItems(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessageImpl.java index 23e5462f19d..27d2ecb1cb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelItemsUpdatedMessage + *

    Generated after a successful Set Parcel Items update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelItemsUpdatedMessageImpl implements ParcelItemsUpdatedMessage, ModelBase { @@ -50,6 +50,8 @@ public class ParcelItemsUpdatedMessageImpl implements ParcelItemsUpdatedMessage, private java.util.List oldItems; + private String shippingKey; + @JsonCreator ParcelItemsUpdatedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -62,7 +64,8 @@ public class ParcelItemsUpdatedMessageImpl implements ParcelItemsUpdatedMessage, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, @JsonProperty("parcelId") final String parcelId, @JsonProperty("deliveryId") final String deliveryId, @JsonProperty("items") final java.util.List items, - @JsonProperty("oldItems") final java.util.List oldItems) { + @JsonProperty("oldItems") final java.util.List oldItems, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -77,6 +80,7 @@ public class ParcelItemsUpdatedMessageImpl implements ParcelItemsUpdatedMessage, this.deliveryId = deliveryId; this.items = items; this.oldItems = oldItems; + this.shippingKey = shippingKey; this.type = PARCEL_ITEMS_UPDATED; } @@ -85,7 +89,7 @@ public ParcelItemsUpdatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -93,7 +97,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -101,7 +105,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -109,7 +113,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -117,7 +121,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -133,7 +137,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -141,7 +145,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -149,7 +153,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -157,7 +161,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -165,7 +169,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -173,7 +177,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Parcel.

    */ public String getParcelId() { @@ -181,7 +185,7 @@ public String getParcelId() { } /** - * + *

    Unique identifier of the Delivery.

    */ public String getDeliveryId() { @@ -189,7 +193,7 @@ public String getDeliveryId() { } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public java.util.List getItems() { @@ -197,13 +201,21 @@ public java.util.List getItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public java.util.List getOldItems() { return this.oldItems; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -269,6 +281,10 @@ public void setOldItems(final java.util.ListGenerated after a successful Set Parcel Items update action.

    * *
    * Example to create an instance using the builder pattern @@ -23,6 +23,7 @@ *
    
      *     ParcelItemsUpdatedMessagePayload parcelItemsUpdatedMessagePayload = ParcelItemsUpdatedMessagePayload.builder()
      *             .parcelId("{parcelId}")
    + *             .deliveryId("{deliveryId}")
      *             .plusItems(itemsBuilder -> itemsBuilder)
      *             .plusOldItems(oldItemsBuilder -> oldItemsBuilder)
      *             .build()
    @@ -36,21 +37,21 @@ public interface ParcelItemsUpdatedMessagePayload extends OrderMessagePayload {
         String PARCEL_ITEMS_UPDATED = "ParcelItemsUpdated";
     
         /**
    -     *
    +     *  

    Unique identifier of the Parcel.

    */ @NotNull @JsonProperty("parcelId") public String getParcelId(); /** - * + *

    Unique identifier of the Delivery.

    */ - + @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ @NotNull @Valid @@ -58,13 +59,20 @@ public interface ParcelItemsUpdatedMessagePayload extends OrderMessagePayload { public List getItems(); /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ @NotNull @Valid @JsonProperty("oldItems") public List getOldItems(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setParcelId(final String parcelId); public void setDeliveryId(final String deliveryId); @@ -79,6 +87,8 @@ public interface ParcelItemsUpdatedMessagePayload extends OrderMessagePayload { public void setOldItems(final List oldItems); + public void setShippingKey(final String shippingKey); + public static ParcelItemsUpdatedMessagePayload of() { return new ParcelItemsUpdatedMessagePayloadImpl(); } @@ -89,6 +99,7 @@ public static ParcelItemsUpdatedMessagePayload of(final ParcelItemsUpdatedMessag instance.setDeliveryId(template.getDeliveryId()); instance.setItems(template.getItems()); instance.setOldItems(template.getOldItems()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessagePayloadBuilder.java index 453f771400a..ff5a02ba861 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessagePayloadBuilder.java @@ -17,6 +17,7 @@ *
    
      *     ParcelItemsUpdatedMessagePayload parcelItemsUpdatedMessagePayload = ParcelItemsUpdatedMessagePayload.builder()
      *             .parcelId("{parcelId}")
    + *             .deliveryId("{deliveryId}")
      *             .plusItems(itemsBuilder -> itemsBuilder)
      *             .plusOldItems(oldItemsBuilder -> oldItemsBuilder)
      *             .build()
    @@ -28,15 +29,17 @@ public class ParcelItemsUpdatedMessagePayloadBuilder implements Builder items;
     
         private java.util.List oldItems;
     
    +    @Nullable
    +    private String shippingKey;
    +
         /**
    -     *
    +     *  

    Unique identifier of the Parcel.

    */ public ParcelItemsUpdatedMessagePayloadBuilder parcelId(final String parcelId) { @@ -45,16 +48,16 @@ public ParcelItemsUpdatedMessagePayloadBuilder parcelId(final String parcelId) { } /** - * + *

    Unique identifier of the Delivery.

    */ - public ParcelItemsUpdatedMessagePayloadBuilder deliveryId(@Nullable final String deliveryId) { + public ParcelItemsUpdatedMessagePayloadBuilder deliveryId(final String deliveryId) { this.deliveryId = deliveryId; return this; } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder items( @@ -64,7 +67,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder items( } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder items( @@ -74,7 +77,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder items( } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder plusItems( @@ -87,7 +90,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder plusItems( } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder plusItems( @@ -100,7 +103,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder plusItems( } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder withItems( @@ -111,7 +114,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder withItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder oldItems( @@ -121,7 +124,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder oldItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder oldItems( @@ -131,7 +134,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder oldItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder plusOldItems( @@ -144,7 +147,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder plusOldItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder plusOldItems( @@ -157,7 +160,7 @@ public ParcelItemsUpdatedMessagePayloadBuilder plusOldItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public ParcelItemsUpdatedMessagePayloadBuilder withOldItems( @@ -167,11 +170,19 @@ public ParcelItemsUpdatedMessagePayloadBuilder withOldItems( return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelItemsUpdatedMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getParcelId() { return this.parcelId; } - @Nullable public String getDeliveryId() { return this.deliveryId; } @@ -184,18 +195,24 @@ public java.util.List getOldIte return this.oldItems; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelItemsUpdatedMessagePayload build() { Objects.requireNonNull(parcelId, ParcelItemsUpdatedMessagePayload.class + ": parcelId is missing"); + Objects.requireNonNull(deliveryId, ParcelItemsUpdatedMessagePayload.class + ": deliveryId is missing"); Objects.requireNonNull(items, ParcelItemsUpdatedMessagePayload.class + ": items is missing"); Objects.requireNonNull(oldItems, ParcelItemsUpdatedMessagePayload.class + ": oldItems is missing"); - return new ParcelItemsUpdatedMessagePayloadImpl(parcelId, deliveryId, items, oldItems); + return new ParcelItemsUpdatedMessagePayloadImpl(parcelId, deliveryId, items, oldItems, shippingKey); } /** * builds ParcelItemsUpdatedMessagePayload without checking for non null required values */ public ParcelItemsUpdatedMessagePayload buildUnchecked() { - return new ParcelItemsUpdatedMessagePayloadImpl(parcelId, deliveryId, items, oldItems); + return new ParcelItemsUpdatedMessagePayloadImpl(parcelId, deliveryId, items, oldItems, shippingKey); } public static ParcelItemsUpdatedMessagePayloadBuilder of() { @@ -208,6 +225,7 @@ public static ParcelItemsUpdatedMessagePayloadBuilder of(final ParcelItemsUpdate builder.deliveryId = template.getDeliveryId(); builder.items = template.getItems(); builder.oldItems = template.getOldItems(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessagePayloadImpl.java index 502c028fdc1..8fd52c616b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelItemsUpdatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelItemsUpdatedMessagePayload + *

    Generated after a successful Set Parcel Items update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelItemsUpdatedMessagePayloadImpl implements ParcelItemsUpdatedMessagePayload, ModelBase { @@ -30,15 +30,19 @@ public class ParcelItemsUpdatedMessagePayloadImpl implements ParcelItemsUpdatedM private java.util.List oldItems; + private String shippingKey; + @JsonCreator ParcelItemsUpdatedMessagePayloadImpl(@JsonProperty("parcelId") final String parcelId, @JsonProperty("deliveryId") final String deliveryId, @JsonProperty("items") final java.util.List items, - @JsonProperty("oldItems") final java.util.List oldItems) { + @JsonProperty("oldItems") final java.util.List oldItems, + @JsonProperty("shippingKey") final String shippingKey) { this.parcelId = parcelId; this.deliveryId = deliveryId; this.items = items; this.oldItems = oldItems; + this.shippingKey = shippingKey; this.type = PARCEL_ITEMS_UPDATED; } @@ -55,7 +59,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Parcel.

    */ public String getParcelId() { @@ -63,7 +67,7 @@ public String getParcelId() { } /** - * + *

    Unique identifier of the Delivery.

    */ public String getDeliveryId() { @@ -71,7 +75,7 @@ public String getDeliveryId() { } /** - * + *

    Delivery Items after the Set Parcel Items update action.

    */ public java.util.List getItems() { @@ -79,13 +83,21 @@ public java.util.List getItems( } /** - * + *

    Delivery Items before the Set Parcel Items update action.

    */ public java.util.List getOldItems() { return this.oldItems; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setParcelId(final String parcelId) { this.parcelId = parcelId; } @@ -110,6 +122,10 @@ public void setOldItems(final java.util.ListGenerated after a successful Set Parcel Measurements update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,32 +42,41 @@ public interface ParcelMeasurementsUpdatedMessage extends OrderMessage { String PARCEL_MEASUREMENTS_UPDATED = "ParcelMeasurementsUpdated"; /** - * + *

    Unique identifier of the Delivery.

    */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

    Unique identifier of the Parcel.

    */ @NotNull @JsonProperty("parcelId") public String getParcelId(); /** - * + *

    The Parcel Measurements that were set on the Parcel.

    */ @Valid @JsonProperty("measurements") public ParcelMeasurements getMeasurements(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); public void setParcelId(final String parcelId); public void setMeasurements(final ParcelMeasurements measurements); + public void setShippingKey(final String shippingKey); + public static ParcelMeasurementsUpdatedMessage of() { return new ParcelMeasurementsUpdatedMessageImpl(); } @@ -87,6 +96,7 @@ public static ParcelMeasurementsUpdatedMessage of(final ParcelMeasurementsUpdate instance.setDeliveryId(template.getDeliveryId()); instance.setParcelId(template.getParcelId()); instance.setMeasurements(template.getMeasurements()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessageBuilder.java index 3f5f2c12e11..add3b308433 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessageBuilder.java @@ -62,8 +62,11 @@ public class ParcelMeasurementsUpdatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ParcelMeasurementsUpdatedMessageBuilder id(final String id) { @@ -72,7 +75,7 @@ public ParcelMeasurementsUpdatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ParcelMeasurementsUpdatedMessageBuilder version(final Long version) { @@ -81,7 +84,7 @@ public ParcelMeasurementsUpdatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ParcelMeasurementsUpdatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +93,7 @@ public ParcelMeasurementsUpdatedMessageBuilder createdAt(final java.time.ZonedDa } /** - * + *

    Value of createdAt.

    */ public ParcelMeasurementsUpdatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +102,7 @@ public ParcelMeasurementsUpdatedMessageBuilder lastModifiedAt(final java.time.Zo } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelMeasurementsUpdatedMessageBuilder lastModifiedBy( @@ -109,7 +112,7 @@ public ParcelMeasurementsUpdatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelMeasurementsUpdatedMessageBuilder lastModifiedBy( @@ -139,7 +142,7 @@ public ParcelMeasurementsUpdatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ParcelMeasurementsUpdatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +151,7 @@ public ParcelMeasurementsUpdatedMessageBuilder sequenceNumber(final Long sequenc } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelMeasurementsUpdatedMessageBuilder resource( @@ -158,7 +161,7 @@ public ParcelMeasurementsUpdatedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelMeasurementsUpdatedMessageBuilder resource( @@ -168,7 +171,7 @@ public ParcelMeasurementsUpdatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ParcelMeasurementsUpdatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -177,7 +180,7 @@ public ParcelMeasurementsUpdatedMessageBuilder resourceVersion(final Long resour } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelMeasurementsUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -189,7 +192,7 @@ public ParcelMeasurementsUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelMeasurementsUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -199,7 +202,7 @@ public ParcelMeasurementsUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelMeasurementsUpdatedMessageBuilder deliveryId(final String deliveryId) { @@ -208,7 +211,7 @@ public ParcelMeasurementsUpdatedMessageBuilder deliveryId(final String deliveryI } /** - * + *

    Unique identifier of the Parcel.

    */ public ParcelMeasurementsUpdatedMessageBuilder parcelId(final String parcelId) { @@ -217,7 +220,7 @@ public ParcelMeasurementsUpdatedMessageBuilder parcelId(final String parcelId) { } /** - * + *

    The Parcel Measurements that were set on the Parcel.

    */ public ParcelMeasurementsUpdatedMessageBuilder measurements( @@ -227,7 +230,7 @@ public ParcelMeasurementsUpdatedMessageBuilder measurements( } /** - * + *

    The Parcel Measurements that were set on the Parcel.

    */ public ParcelMeasurementsUpdatedMessageBuilder measurements( @@ -236,6 +239,15 @@ public ParcelMeasurementsUpdatedMessageBuilder measurements( return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelMeasurementsUpdatedMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -292,6 +304,11 @@ public com.commercetools.api.models.order.ParcelMeasurements getMeasurements() { return this.measurements; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelMeasurementsUpdatedMessage build() { Objects.requireNonNull(id, ParcelMeasurementsUpdatedMessage.class + ": id is missing"); Objects.requireNonNull(version, ParcelMeasurementsUpdatedMessage.class + ": version is missing"); @@ -305,7 +322,7 @@ public ParcelMeasurementsUpdatedMessage build() { Objects.requireNonNull(parcelId, ParcelMeasurementsUpdatedMessage.class + ": parcelId is missing"); return new ParcelMeasurementsUpdatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, parcelId, - measurements); + measurements, shippingKey); } /** @@ -314,7 +331,7 @@ public ParcelMeasurementsUpdatedMessage build() { public ParcelMeasurementsUpdatedMessage buildUnchecked() { return new ParcelMeasurementsUpdatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, parcelId, - measurements); + measurements, shippingKey); } public static ParcelMeasurementsUpdatedMessageBuilder of() { @@ -336,6 +353,7 @@ public static ParcelMeasurementsUpdatedMessageBuilder of(final ParcelMeasurement builder.deliveryId = template.getDeliveryId(); builder.parcelId = template.getParcelId(); builder.measurements = template.getMeasurements(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessageImpl.java index d0fc20ad391..daaaf35e0a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelMeasurementsUpdatedMessage + *

    Generated after a successful Set Parcel Measurements update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelMeasurementsUpdatedMessageImpl implements ParcelMeasurementsUpdatedMessage, ModelBase { @@ -48,6 +48,8 @@ public class ParcelMeasurementsUpdatedMessageImpl implements ParcelMeasurementsU private com.commercetools.api.models.order.ParcelMeasurements measurements; + private String shippingKey; + @JsonCreator ParcelMeasurementsUpdatedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @@ -60,7 +62,8 @@ public class ParcelMeasurementsUpdatedMessageImpl implements ParcelMeasurementsU @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, @JsonProperty("deliveryId") final String deliveryId, @JsonProperty("parcelId") final String parcelId, - @JsonProperty("measurements") final com.commercetools.api.models.order.ParcelMeasurements measurements) { + @JsonProperty("measurements") final com.commercetools.api.models.order.ParcelMeasurements measurements, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -74,6 +77,7 @@ public class ParcelMeasurementsUpdatedMessageImpl implements ParcelMeasurementsU this.deliveryId = deliveryId; this.parcelId = parcelId; this.measurements = measurements; + this.shippingKey = shippingKey; this.type = PARCEL_MEASUREMENTS_UPDATED; } @@ -82,7 +86,7 @@ public ParcelMeasurementsUpdatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -90,7 +94,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -98,7 +102,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +110,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -114,7 +118,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -130,7 +134,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -138,7 +142,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +150,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -154,7 +158,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -162,7 +166,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -170,7 +174,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Delivery.

    */ public String getDeliveryId() { @@ -178,7 +182,7 @@ public String getDeliveryId() { } /** - * + *

    Unique identifier of the Parcel.

    */ public String getParcelId() { @@ -186,13 +190,21 @@ public String getParcelId() { } /** - * + *

    The Parcel Measurements that were set on the Parcel.

    */ public com.commercetools.api.models.order.ParcelMeasurements getMeasurements() { return this.measurements; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -246,6 +258,10 @@ public void setMeasurements(final com.commercetools.api.models.order.ParcelMeasu this.measurements = measurements; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -270,6 +286,7 @@ public boolean equals(Object o) { .append(deliveryId, that.deliveryId) .append(parcelId, that.parcelId) .append(measurements, that.measurements) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -289,6 +306,7 @@ public int hashCode() { .append(deliveryId) .append(parcelId) .append(measurements) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayload.java index 6dca788a350..9dcade1bdb0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ParcelMeasurementsUpdatedMessagePayload + *

    Generated after a successful Set Parcel Measurements update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,32 +35,41 @@ public interface ParcelMeasurementsUpdatedMessagePayload extends OrderMessagePay String PARCEL_MEASUREMENTS_UPDATED = "ParcelMeasurementsUpdated"; /** - * + *

    Unique identifier of the Delivery.

    */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

    Unique identifier of the Parcel.

    */ @NotNull @JsonProperty("parcelId") public String getParcelId(); /** - * + *

    The Parcel Measurements that were set on the Parcel.

    */ @Valid @JsonProperty("measurements") public ParcelMeasurements getMeasurements(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); public void setParcelId(final String parcelId); public void setMeasurements(final ParcelMeasurements measurements); + public void setShippingKey(final String shippingKey); + public static ParcelMeasurementsUpdatedMessagePayload of() { return new ParcelMeasurementsUpdatedMessagePayloadImpl(); } @@ -70,6 +79,7 @@ public static ParcelMeasurementsUpdatedMessagePayload of(final ParcelMeasurement instance.setDeliveryId(template.getDeliveryId()); instance.setParcelId(template.getParcelId()); instance.setMeasurements(template.getMeasurements()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayloadBuilder.java index 7dd52d48dbe..3c336a54aad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayloadBuilder.java @@ -33,8 +33,11 @@ public class ParcelMeasurementsUpdatedMessagePayloadBuilder @Nullable private com.commercetools.api.models.order.ParcelMeasurements measurements; + @Nullable + private String shippingKey; + /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelMeasurementsUpdatedMessagePayloadBuilder deliveryId(final String deliveryId) { @@ -43,7 +46,7 @@ public ParcelMeasurementsUpdatedMessagePayloadBuilder deliveryId(final String de } /** - * + *

    Unique identifier of the Parcel.

    */ public ParcelMeasurementsUpdatedMessagePayloadBuilder parcelId(final String parcelId) { @@ -52,7 +55,7 @@ public ParcelMeasurementsUpdatedMessagePayloadBuilder parcelId(final String parc } /** - * + *

    The Parcel Measurements that were set on the Parcel.

    */ public ParcelMeasurementsUpdatedMessagePayloadBuilder measurements( @@ -62,7 +65,7 @@ public ParcelMeasurementsUpdatedMessagePayloadBuilder measurements( } /** - * + *

    The Parcel Measurements that were set on the Parcel.

    */ public ParcelMeasurementsUpdatedMessagePayloadBuilder measurements( @@ -71,6 +74,15 @@ public ParcelMeasurementsUpdatedMessagePayloadBuilder measurements( return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelMeasurementsUpdatedMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getDeliveryId() { return this.deliveryId; } @@ -84,17 +96,22 @@ public com.commercetools.api.models.order.ParcelMeasurements getMeasurements() { return this.measurements; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelMeasurementsUpdatedMessagePayload build() { Objects.requireNonNull(deliveryId, ParcelMeasurementsUpdatedMessagePayload.class + ": deliveryId is missing"); Objects.requireNonNull(parcelId, ParcelMeasurementsUpdatedMessagePayload.class + ": parcelId is missing"); - return new ParcelMeasurementsUpdatedMessagePayloadImpl(deliveryId, parcelId, measurements); + return new ParcelMeasurementsUpdatedMessagePayloadImpl(deliveryId, parcelId, measurements, shippingKey); } /** * builds ParcelMeasurementsUpdatedMessagePayload without checking for non null required values */ public ParcelMeasurementsUpdatedMessagePayload buildUnchecked() { - return new ParcelMeasurementsUpdatedMessagePayloadImpl(deliveryId, parcelId, measurements); + return new ParcelMeasurementsUpdatedMessagePayloadImpl(deliveryId, parcelId, measurements, shippingKey); } public static ParcelMeasurementsUpdatedMessagePayloadBuilder of() { @@ -107,6 +124,7 @@ public static ParcelMeasurementsUpdatedMessagePayloadBuilder of( builder.deliveryId = template.getDeliveryId(); builder.parcelId = template.getParcelId(); builder.measurements = template.getMeasurements(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayloadImpl.java index 431e94a348b..801041f5d2e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelMeasurementsUpdatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelMeasurementsUpdatedMessagePayload + *

    Generated after a successful Set Parcel Measurements update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelMeasurementsUpdatedMessagePayloadImpl implements ParcelMeasurementsUpdatedMessagePayload, ModelBase { @@ -28,13 +28,17 @@ public class ParcelMeasurementsUpdatedMessagePayloadImpl implements ParcelMeasur private com.commercetools.api.models.order.ParcelMeasurements measurements; + private String shippingKey; + @JsonCreator ParcelMeasurementsUpdatedMessagePayloadImpl(@JsonProperty("deliveryId") final String deliveryId, @JsonProperty("parcelId") final String parcelId, - @JsonProperty("measurements") final com.commercetools.api.models.order.ParcelMeasurements measurements) { + @JsonProperty("measurements") final com.commercetools.api.models.order.ParcelMeasurements measurements, + @JsonProperty("shippingKey") final String shippingKey) { this.deliveryId = deliveryId; this.parcelId = parcelId; this.measurements = measurements; + this.shippingKey = shippingKey; this.type = PARCEL_MEASUREMENTS_UPDATED; } @@ -51,7 +55,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Delivery.

    */ public String getDeliveryId() { @@ -59,7 +63,7 @@ public String getDeliveryId() { } /** - * + *

    Unique identifier of the Parcel.

    */ public String getParcelId() { @@ -67,13 +71,21 @@ public String getParcelId() { } /** - * + *

    The Parcel Measurements that were set on the Parcel.

    */ public com.commercetools.api.models.order.ParcelMeasurements getMeasurements() { return this.measurements; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setDeliveryId(final String deliveryId) { this.deliveryId = deliveryId; } @@ -86,6 +98,10 @@ public void setMeasurements(final com.commercetools.api.models.order.ParcelMeasu this.measurements = measurements; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -100,6 +116,7 @@ public boolean equals(Object o) { .append(deliveryId, that.deliveryId) .append(parcelId, that.parcelId) .append(measurements, that.measurements) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -109,6 +126,7 @@ public int hashCode() { .append(deliveryId) .append(parcelId) .append(measurements) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessage.java index 94a92a44211..ca89408a48b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ParcelRemovedFromDeliveryMessage + *

    Generated after a successful Remove Parcel From Delivery update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,24 +42,33 @@ public interface ParcelRemovedFromDeliveryMessage extends OrderMessage { String PARCEL_REMOVED_FROM_DELIVERY = "ParcelRemovedFromDelivery"; /** - * + *

    Unique identifier of the Delivery.

    */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

    Parcel that was removed from the Delivery.

    */ @NotNull @Valid @JsonProperty("parcel") public Parcel getParcel(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); public void setParcel(final Parcel parcel); + public void setShippingKey(final String shippingKey); + public static ParcelRemovedFromDeliveryMessage of() { return new ParcelRemovedFromDeliveryMessageImpl(); } @@ -78,6 +87,7 @@ public static ParcelRemovedFromDeliveryMessage of(final ParcelRemovedFromDeliver instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); instance.setDeliveryId(template.getDeliveryId()); instance.setParcel(template.getParcel()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessageBuilder.java index 0414b993e0c..1be8d2e23db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessageBuilder.java @@ -59,8 +59,11 @@ public class ParcelRemovedFromDeliveryMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ParcelRemovedFromDeliveryMessageBuilder id(final String id) { @@ -69,7 +72,7 @@ public ParcelRemovedFromDeliveryMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ParcelRemovedFromDeliveryMessageBuilder version(final Long version) { @@ -78,7 +81,7 @@ public ParcelRemovedFromDeliveryMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ParcelRemovedFromDeliveryMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +90,7 @@ public ParcelRemovedFromDeliveryMessageBuilder createdAt(final java.time.ZonedDa } /** - * + *

    Value of createdAt.

    */ public ParcelRemovedFromDeliveryMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +99,7 @@ public ParcelRemovedFromDeliveryMessageBuilder lastModifiedAt(final java.time.Zo } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelRemovedFromDeliveryMessageBuilder lastModifiedBy( @@ -106,7 +109,7 @@ public ParcelRemovedFromDeliveryMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelRemovedFromDeliveryMessageBuilder lastModifiedBy( @@ -136,7 +139,7 @@ public ParcelRemovedFromDeliveryMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ParcelRemovedFromDeliveryMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +148,7 @@ public ParcelRemovedFromDeliveryMessageBuilder sequenceNumber(final Long sequenc } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelRemovedFromDeliveryMessageBuilder resource( @@ -155,7 +158,7 @@ public ParcelRemovedFromDeliveryMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelRemovedFromDeliveryMessageBuilder resource( @@ -165,7 +168,7 @@ public ParcelRemovedFromDeliveryMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ParcelRemovedFromDeliveryMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +177,7 @@ public ParcelRemovedFromDeliveryMessageBuilder resourceVersion(final Long resour } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelRemovedFromDeliveryMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +189,7 @@ public ParcelRemovedFromDeliveryMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelRemovedFromDeliveryMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +199,7 @@ public ParcelRemovedFromDeliveryMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelRemovedFromDeliveryMessageBuilder deliveryId(final String deliveryId) { @@ -205,7 +208,7 @@ public ParcelRemovedFromDeliveryMessageBuilder deliveryId(final String deliveryI } /** - * + *

    Parcel that was removed from the Delivery.

    */ public ParcelRemovedFromDeliveryMessageBuilder parcel( @@ -215,7 +218,7 @@ public ParcelRemovedFromDeliveryMessageBuilder parcel( } /** - * + *

    Parcel that was removed from the Delivery.

    */ public ParcelRemovedFromDeliveryMessageBuilder parcel(final com.commercetools.api.models.order.Parcel parcel) { @@ -223,6 +226,15 @@ public ParcelRemovedFromDeliveryMessageBuilder parcel(final com.commercetools.ap return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelRemovedFromDeliveryMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -274,6 +286,11 @@ public com.commercetools.api.models.order.Parcel getParcel() { return this.parcel; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelRemovedFromDeliveryMessage build() { Objects.requireNonNull(id, ParcelRemovedFromDeliveryMessage.class + ": id is missing"); Objects.requireNonNull(version, ParcelRemovedFromDeliveryMessage.class + ": version is missing"); @@ -286,7 +303,8 @@ public ParcelRemovedFromDeliveryMessage build() { Objects.requireNonNull(deliveryId, ParcelRemovedFromDeliveryMessage.class + ": deliveryId is missing"); Objects.requireNonNull(parcel, ParcelRemovedFromDeliveryMessage.class + ": parcel is missing"); return new ParcelRemovedFromDeliveryMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, - createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, parcel); + createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, parcel, + shippingKey); } /** @@ -294,7 +312,8 @@ public ParcelRemovedFromDeliveryMessage build() { */ public ParcelRemovedFromDeliveryMessage buildUnchecked() { return new ParcelRemovedFromDeliveryMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, - createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, parcel); + createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, parcel, + shippingKey); } public static ParcelRemovedFromDeliveryMessageBuilder of() { @@ -315,6 +334,7 @@ public static ParcelRemovedFromDeliveryMessageBuilder of(final ParcelRemovedFrom builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); builder.deliveryId = template.getDeliveryId(); builder.parcel = template.getParcel(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessageImpl.java index 1b5ba84a0f3..be6dd3413f7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelRemovedFromDeliveryMessage + *

    Generated after a successful Remove Parcel From Delivery update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelRemovedFromDeliveryMessageImpl implements ParcelRemovedFromDeliveryMessage, ModelBase { @@ -46,6 +46,8 @@ public class ParcelRemovedFromDeliveryMessageImpl implements ParcelRemovedFromDe private com.commercetools.api.models.order.Parcel parcel; + private String shippingKey; + @JsonCreator ParcelRemovedFromDeliveryMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @@ -58,7 +60,8 @@ public class ParcelRemovedFromDeliveryMessageImpl implements ParcelRemovedFromDe @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, @JsonProperty("deliveryId") final String deliveryId, - @JsonProperty("parcel") final com.commercetools.api.models.order.Parcel parcel) { + @JsonProperty("parcel") final com.commercetools.api.models.order.Parcel parcel, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -71,6 +74,7 @@ public class ParcelRemovedFromDeliveryMessageImpl implements ParcelRemovedFromDe this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; this.deliveryId = deliveryId; this.parcel = parcel; + this.shippingKey = shippingKey; this.type = PARCEL_REMOVED_FROM_DELIVERY; } @@ -79,7 +83,7 @@ public ParcelRemovedFromDeliveryMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +91,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +99,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +107,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +115,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +131,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +139,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +147,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +155,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +163,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +171,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Delivery.

    */ public String getDeliveryId() { @@ -175,13 +179,21 @@ public String getDeliveryId() { } /** - * + *

    Parcel that was removed from the Delivery.

    */ public com.commercetools.api.models.order.Parcel getParcel() { return this.parcel; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -231,6 +243,10 @@ public void setParcel(final com.commercetools.api.models.order.Parcel parcel) { this.parcel = parcel; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -254,6 +270,7 @@ public boolean equals(Object o) { .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) .append(deliveryId, that.deliveryId) .append(parcel, that.parcel) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -272,6 +289,7 @@ public int hashCode() { .append(resourceUserProvidedIdentifiers) .append(deliveryId) .append(parcel) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayload.java index e786c511bef..7abf651dd9c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ParcelRemovedFromDeliveryMessagePayload + *

    Generated after a successful Remove Parcel From Delivery update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,24 +35,33 @@ public interface ParcelRemovedFromDeliveryMessagePayload extends OrderMessagePay String PARCEL_REMOVED_FROM_DELIVERY = "ParcelRemovedFromDelivery"; /** - * + *

    Unique identifier of the Delivery.

    */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

    Parcel that was removed from the Delivery.

    */ @NotNull @Valid @JsonProperty("parcel") public Parcel getParcel(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); public void setParcel(final Parcel parcel); + public void setShippingKey(final String shippingKey); + public static ParcelRemovedFromDeliveryMessagePayload of() { return new ParcelRemovedFromDeliveryMessagePayloadImpl(); } @@ -61,6 +70,7 @@ public static ParcelRemovedFromDeliveryMessagePayload of(final ParcelRemovedFrom ParcelRemovedFromDeliveryMessagePayloadImpl instance = new ParcelRemovedFromDeliveryMessagePayloadImpl(); instance.setDeliveryId(template.getDeliveryId()); instance.setParcel(template.getParcel()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayloadBuilder.java index 9e9dacdecc3..5bcbf4363e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -28,8 +30,11 @@ public class ParcelRemovedFromDeliveryMessagePayloadBuilder private com.commercetools.api.models.order.Parcel parcel; + @Nullable + private String shippingKey; + /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelRemovedFromDeliveryMessagePayloadBuilder deliveryId(final String deliveryId) { @@ -38,7 +43,7 @@ public ParcelRemovedFromDeliveryMessagePayloadBuilder deliveryId(final String de } /** - * + *

    Parcel that was removed from the Delivery.

    */ public ParcelRemovedFromDeliveryMessagePayloadBuilder parcel( @@ -48,7 +53,7 @@ public ParcelRemovedFromDeliveryMessagePayloadBuilder parcel( } /** - * + *

    Parcel that was removed from the Delivery.

    */ public ParcelRemovedFromDeliveryMessagePayloadBuilder parcel( @@ -57,6 +62,15 @@ public ParcelRemovedFromDeliveryMessagePayloadBuilder parcel( return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelRemovedFromDeliveryMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getDeliveryId() { return this.deliveryId; } @@ -65,17 +79,22 @@ public com.commercetools.api.models.order.Parcel getParcel() { return this.parcel; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelRemovedFromDeliveryMessagePayload build() { Objects.requireNonNull(deliveryId, ParcelRemovedFromDeliveryMessagePayload.class + ": deliveryId is missing"); Objects.requireNonNull(parcel, ParcelRemovedFromDeliveryMessagePayload.class + ": parcel is missing"); - return new ParcelRemovedFromDeliveryMessagePayloadImpl(deliveryId, parcel); + return new ParcelRemovedFromDeliveryMessagePayloadImpl(deliveryId, parcel, shippingKey); } /** * builds ParcelRemovedFromDeliveryMessagePayload without checking for non null required values */ public ParcelRemovedFromDeliveryMessagePayload buildUnchecked() { - return new ParcelRemovedFromDeliveryMessagePayloadImpl(deliveryId, parcel); + return new ParcelRemovedFromDeliveryMessagePayloadImpl(deliveryId, parcel, shippingKey); } public static ParcelRemovedFromDeliveryMessagePayloadBuilder of() { @@ -87,6 +106,7 @@ public static ParcelRemovedFromDeliveryMessagePayloadBuilder of( ParcelRemovedFromDeliveryMessagePayloadBuilder builder = new ParcelRemovedFromDeliveryMessagePayloadBuilder(); builder.deliveryId = template.getDeliveryId(); builder.parcel = template.getParcel(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayloadImpl.java index dea56db4408..dd777bb3fdc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelRemovedFromDeliveryMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelRemovedFromDeliveryMessagePayload + *

    Generated after a successful Remove Parcel From Delivery update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelRemovedFromDeliveryMessagePayloadImpl implements ParcelRemovedFromDeliveryMessagePayload, ModelBase { @@ -26,11 +26,15 @@ public class ParcelRemovedFromDeliveryMessagePayloadImpl implements ParcelRemove private com.commercetools.api.models.order.Parcel parcel; + private String shippingKey; + @JsonCreator ParcelRemovedFromDeliveryMessagePayloadImpl(@JsonProperty("deliveryId") final String deliveryId, - @JsonProperty("parcel") final com.commercetools.api.models.order.Parcel parcel) { + @JsonProperty("parcel") final com.commercetools.api.models.order.Parcel parcel, + @JsonProperty("shippingKey") final String shippingKey) { this.deliveryId = deliveryId; this.parcel = parcel; + this.shippingKey = shippingKey; this.type = PARCEL_REMOVED_FROM_DELIVERY; } @@ -47,7 +51,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Delivery.

    */ public String getDeliveryId() { @@ -55,13 +59,21 @@ public String getDeliveryId() { } /** - * + *

    Parcel that was removed from the Delivery.

    */ public com.commercetools.api.models.order.Parcel getParcel() { return this.parcel; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setDeliveryId(final String deliveryId) { this.deliveryId = deliveryId; } @@ -70,6 +82,10 @@ public void setParcel(final com.commercetools.api.models.order.Parcel parcel) { this.parcel = parcel; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -83,12 +99,17 @@ public boolean equals(Object o) { return new EqualsBuilder().append(type, that.type) .append(deliveryId, that.deliveryId) .append(parcel, that.parcel) + .append(shippingKey, that.shippingKey) .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).append(deliveryId).append(parcel).toHashCode(); + return new HashCodeBuilder(17, 37).append(type) + .append(deliveryId) + .append(parcel) + .append(shippingKey) + .toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessage.java index 743ae4343e2..c28a9303814 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ParcelTrackingDataUpdatedMessage + *

    Generated after a successful Set Parcel TrackingData update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,32 +42,41 @@ public interface ParcelTrackingDataUpdatedMessage extends OrderMessage { String PARCEL_TRACKING_DATA_UPDATED = "ParcelTrackingDataUpdated"; /** - * + *

    Unique identifier of the Delivery.

    */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

    Unique identifier of the Parcel.

    */ @NotNull @JsonProperty("parcelId") public String getParcelId(); /** - * + *

    The Tracking Data that was added to the Parcel.

    */ @Valid @JsonProperty("trackingData") public TrackingData getTrackingData(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); public void setParcelId(final String parcelId); public void setTrackingData(final TrackingData trackingData); + public void setShippingKey(final String shippingKey); + public static ParcelTrackingDataUpdatedMessage of() { return new ParcelTrackingDataUpdatedMessageImpl(); } @@ -87,6 +96,7 @@ public static ParcelTrackingDataUpdatedMessage of(final ParcelTrackingDataUpdate instance.setDeliveryId(template.getDeliveryId()); instance.setParcelId(template.getParcelId()); instance.setTrackingData(template.getTrackingData()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessageBuilder.java index 4966f9c5fcd..31dda8977bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessageBuilder.java @@ -62,8 +62,11 @@ public class ParcelTrackingDataUpdatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ParcelTrackingDataUpdatedMessageBuilder id(final String id) { @@ -72,7 +75,7 @@ public ParcelTrackingDataUpdatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ParcelTrackingDataUpdatedMessageBuilder version(final Long version) { @@ -81,7 +84,7 @@ public ParcelTrackingDataUpdatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ParcelTrackingDataUpdatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +93,7 @@ public ParcelTrackingDataUpdatedMessageBuilder createdAt(final java.time.ZonedDa } /** - * + *

    Value of createdAt.

    */ public ParcelTrackingDataUpdatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +102,7 @@ public ParcelTrackingDataUpdatedMessageBuilder lastModifiedAt(final java.time.Zo } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelTrackingDataUpdatedMessageBuilder lastModifiedBy( @@ -109,7 +112,7 @@ public ParcelTrackingDataUpdatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ParcelTrackingDataUpdatedMessageBuilder lastModifiedBy( @@ -139,7 +142,7 @@ public ParcelTrackingDataUpdatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ParcelTrackingDataUpdatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +151,7 @@ public ParcelTrackingDataUpdatedMessageBuilder sequenceNumber(final Long sequenc } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelTrackingDataUpdatedMessageBuilder resource( @@ -158,7 +161,7 @@ public ParcelTrackingDataUpdatedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ParcelTrackingDataUpdatedMessageBuilder resource( @@ -168,7 +171,7 @@ public ParcelTrackingDataUpdatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ParcelTrackingDataUpdatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -177,7 +180,7 @@ public ParcelTrackingDataUpdatedMessageBuilder resourceVersion(final Long resour } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelTrackingDataUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -189,7 +192,7 @@ public ParcelTrackingDataUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ParcelTrackingDataUpdatedMessageBuilder resourceUserProvidedIdentifiers( @@ -199,7 +202,7 @@ public ParcelTrackingDataUpdatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelTrackingDataUpdatedMessageBuilder deliveryId(final String deliveryId) { @@ -208,7 +211,7 @@ public ParcelTrackingDataUpdatedMessageBuilder deliveryId(final String deliveryI } /** - * + *

    Unique identifier of the Parcel.

    */ public ParcelTrackingDataUpdatedMessageBuilder parcelId(final String parcelId) { @@ -217,7 +220,7 @@ public ParcelTrackingDataUpdatedMessageBuilder parcelId(final String parcelId) { } /** - * + *

    The Tracking Data that was added to the Parcel.

    */ public ParcelTrackingDataUpdatedMessageBuilder trackingData( @@ -227,7 +230,7 @@ public ParcelTrackingDataUpdatedMessageBuilder trackingData( } /** - * + *

    The Tracking Data that was added to the Parcel.

    */ public ParcelTrackingDataUpdatedMessageBuilder trackingData( @@ -236,6 +239,15 @@ public ParcelTrackingDataUpdatedMessageBuilder trackingData( return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelTrackingDataUpdatedMessageBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getId() { return this.id; } @@ -292,6 +304,11 @@ public com.commercetools.api.models.order.TrackingData getTrackingData() { return this.trackingData; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelTrackingDataUpdatedMessage build() { Objects.requireNonNull(id, ParcelTrackingDataUpdatedMessage.class + ": id is missing"); Objects.requireNonNull(version, ParcelTrackingDataUpdatedMessage.class + ": version is missing"); @@ -305,7 +322,7 @@ public ParcelTrackingDataUpdatedMessage build() { Objects.requireNonNull(parcelId, ParcelTrackingDataUpdatedMessage.class + ": parcelId is missing"); return new ParcelTrackingDataUpdatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, parcelId, - trackingData); + trackingData, shippingKey); } /** @@ -314,7 +331,7 @@ public ParcelTrackingDataUpdatedMessage build() { public ParcelTrackingDataUpdatedMessage buildUnchecked() { return new ParcelTrackingDataUpdatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, deliveryId, parcelId, - trackingData); + trackingData, shippingKey); } public static ParcelTrackingDataUpdatedMessageBuilder of() { @@ -336,6 +353,7 @@ public static ParcelTrackingDataUpdatedMessageBuilder of(final ParcelTrackingDat builder.deliveryId = template.getDeliveryId(); builder.parcelId = template.getParcelId(); builder.trackingData = template.getTrackingData(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessageImpl.java index 052073e7e07..e1b0a0bef5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelTrackingDataUpdatedMessage + *

    Generated after a successful Set Parcel TrackingData update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelTrackingDataUpdatedMessageImpl implements ParcelTrackingDataUpdatedMessage, ModelBase { @@ -48,6 +48,8 @@ public class ParcelTrackingDataUpdatedMessageImpl implements ParcelTrackingDataU private com.commercetools.api.models.order.TrackingData trackingData; + private String shippingKey; + @JsonCreator ParcelTrackingDataUpdatedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @@ -60,7 +62,8 @@ public class ParcelTrackingDataUpdatedMessageImpl implements ParcelTrackingDataU @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, @JsonProperty("deliveryId") final String deliveryId, @JsonProperty("parcelId") final String parcelId, - @JsonProperty("trackingData") final com.commercetools.api.models.order.TrackingData trackingData) { + @JsonProperty("trackingData") final com.commercetools.api.models.order.TrackingData trackingData, + @JsonProperty("shippingKey") final String shippingKey) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -74,6 +77,7 @@ public class ParcelTrackingDataUpdatedMessageImpl implements ParcelTrackingDataU this.deliveryId = deliveryId; this.parcelId = parcelId; this.trackingData = trackingData; + this.shippingKey = shippingKey; this.type = PARCEL_TRACKING_DATA_UPDATED; } @@ -82,7 +86,7 @@ public ParcelTrackingDataUpdatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -90,7 +94,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -98,7 +102,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +110,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -114,7 +118,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -130,7 +134,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -138,7 +142,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +150,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -154,7 +158,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -162,7 +166,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -170,7 +174,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Delivery.

    */ public String getDeliveryId() { @@ -178,7 +182,7 @@ public String getDeliveryId() { } /** - * + *

    Unique identifier of the Parcel.

    */ public String getParcelId() { @@ -186,13 +190,21 @@ public String getParcelId() { } /** - * + *

    The Tracking Data that was added to the Parcel.

    */ public com.commercetools.api.models.order.TrackingData getTrackingData() { return this.trackingData; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setId(final String id) { this.id = id; } @@ -246,6 +258,10 @@ public void setTrackingData(final com.commercetools.api.models.order.TrackingDat this.trackingData = trackingData; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -270,6 +286,7 @@ public boolean equals(Object o) { .append(deliveryId, that.deliveryId) .append(parcelId, that.parcelId) .append(trackingData, that.trackingData) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -289,6 +306,7 @@ public int hashCode() { .append(deliveryId) .append(parcelId) .append(trackingData) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayload.java index e34a2ec2865..1860a274661 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ParcelTrackingDataUpdatedMessagePayload + *

    Generated after a successful Set Parcel TrackingData update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,32 +35,41 @@ public interface ParcelTrackingDataUpdatedMessagePayload extends OrderMessagePay String PARCEL_TRACKING_DATA_UPDATED = "ParcelTrackingDataUpdated"; /** - * + *

    Unique identifier of the Delivery.

    */ @NotNull @JsonProperty("deliveryId") public String getDeliveryId(); /** - * + *

    Unique identifier of the Parcel.

    */ @NotNull @JsonProperty("parcelId") public String getParcelId(); /** - * + *

    The Tracking Data that was added to the Parcel.

    */ @Valid @JsonProperty("trackingData") public TrackingData getTrackingData(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + public void setDeliveryId(final String deliveryId); public void setParcelId(final String parcelId); public void setTrackingData(final TrackingData trackingData); + public void setShippingKey(final String shippingKey); + public static ParcelTrackingDataUpdatedMessagePayload of() { return new ParcelTrackingDataUpdatedMessagePayloadImpl(); } @@ -70,6 +79,7 @@ public static ParcelTrackingDataUpdatedMessagePayload of(final ParcelTrackingDat instance.setDeliveryId(template.getDeliveryId()); instance.setParcelId(template.getParcelId()); instance.setTrackingData(template.getTrackingData()); + instance.setShippingKey(template.getShippingKey()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayloadBuilder.java index 4e084382679..2bab4fc8aa2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayloadBuilder.java @@ -33,8 +33,11 @@ public class ParcelTrackingDataUpdatedMessagePayloadBuilder @Nullable private com.commercetools.api.models.order.TrackingData trackingData; + @Nullable + private String shippingKey; + /** - * + *

    Unique identifier of the Delivery.

    */ public ParcelTrackingDataUpdatedMessagePayloadBuilder deliveryId(final String deliveryId) { @@ -43,7 +46,7 @@ public ParcelTrackingDataUpdatedMessagePayloadBuilder deliveryId(final String de } /** - * + *

    Unique identifier of the Parcel.

    */ public ParcelTrackingDataUpdatedMessagePayloadBuilder parcelId(final String parcelId) { @@ -52,7 +55,7 @@ public ParcelTrackingDataUpdatedMessagePayloadBuilder parcelId(final String parc } /** - * + *

    The Tracking Data that was added to the Parcel.

    */ public ParcelTrackingDataUpdatedMessagePayloadBuilder trackingData( @@ -62,7 +65,7 @@ public ParcelTrackingDataUpdatedMessagePayloadBuilder trackingData( } /** - * + *

    The Tracking Data that was added to the Parcel.

    */ public ParcelTrackingDataUpdatedMessagePayloadBuilder trackingData( @@ -71,6 +74,15 @@ public ParcelTrackingDataUpdatedMessagePayloadBuilder trackingData( return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public ParcelTrackingDataUpdatedMessagePayloadBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + public String getDeliveryId() { return this.deliveryId; } @@ -84,17 +96,22 @@ public com.commercetools.api.models.order.TrackingData getTrackingData() { return this.trackingData; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + public ParcelTrackingDataUpdatedMessagePayload build() { Objects.requireNonNull(deliveryId, ParcelTrackingDataUpdatedMessagePayload.class + ": deliveryId is missing"); Objects.requireNonNull(parcelId, ParcelTrackingDataUpdatedMessagePayload.class + ": parcelId is missing"); - return new ParcelTrackingDataUpdatedMessagePayloadImpl(deliveryId, parcelId, trackingData); + return new ParcelTrackingDataUpdatedMessagePayloadImpl(deliveryId, parcelId, trackingData, shippingKey); } /** * builds ParcelTrackingDataUpdatedMessagePayload without checking for non null required values */ public ParcelTrackingDataUpdatedMessagePayload buildUnchecked() { - return new ParcelTrackingDataUpdatedMessagePayloadImpl(deliveryId, parcelId, trackingData); + return new ParcelTrackingDataUpdatedMessagePayloadImpl(deliveryId, parcelId, trackingData, shippingKey); } public static ParcelTrackingDataUpdatedMessagePayloadBuilder of() { @@ -107,6 +124,7 @@ public static ParcelTrackingDataUpdatedMessagePayloadBuilder of( builder.deliveryId = template.getDeliveryId(); builder.parcelId = template.getParcelId(); builder.trackingData = template.getTrackingData(); + builder.shippingKey = template.getShippingKey(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayloadImpl.java index e118fd841f7..907c2e00fa0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ParcelTrackingDataUpdatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ParcelTrackingDataUpdatedMessagePayload + *

    Generated after a successful Set Parcel TrackingData update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ParcelTrackingDataUpdatedMessagePayloadImpl implements ParcelTrackingDataUpdatedMessagePayload, ModelBase { @@ -28,13 +28,17 @@ public class ParcelTrackingDataUpdatedMessagePayloadImpl implements ParcelTracki private com.commercetools.api.models.order.TrackingData trackingData; + private String shippingKey; + @JsonCreator ParcelTrackingDataUpdatedMessagePayloadImpl(@JsonProperty("deliveryId") final String deliveryId, @JsonProperty("parcelId") final String parcelId, - @JsonProperty("trackingData") final com.commercetools.api.models.order.TrackingData trackingData) { + @JsonProperty("trackingData") final com.commercetools.api.models.order.TrackingData trackingData, + @JsonProperty("shippingKey") final String shippingKey) { this.deliveryId = deliveryId; this.parcelId = parcelId; this.trackingData = trackingData; + this.shippingKey = shippingKey; this.type = PARCEL_TRACKING_DATA_UPDATED; } @@ -51,7 +55,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Delivery.

    */ public String getDeliveryId() { @@ -59,7 +63,7 @@ public String getDeliveryId() { } /** - * + *

    Unique identifier of the Parcel.

    */ public String getParcelId() { @@ -67,13 +71,21 @@ public String getParcelId() { } /** - * + *

    The Tracking Data that was added to the Parcel.

    */ public com.commercetools.api.models.order.TrackingData getTrackingData() { return this.trackingData; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + public void setDeliveryId(final String deliveryId) { this.deliveryId = deliveryId; } @@ -86,6 +98,10 @@ public void setTrackingData(final com.commercetools.api.models.order.TrackingDat this.trackingData = trackingData; } + public void setShippingKey(final String shippingKey) { + this.shippingKey = shippingKey; + } + @Override public boolean equals(Object o) { if (this == o) @@ -100,6 +116,7 @@ public boolean equals(Object o) { .append(deliveryId, that.deliveryId) .append(parcelId, that.parcelId) .append(trackingData, that.trackingData) + .append(shippingKey, that.shippingKey) .isEquals(); } @@ -109,6 +126,7 @@ public int hashCode() { .append(deliveryId) .append(parcelId) .append(trackingData) + .append(shippingKey) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessage.java index 2828e67a4d6..6538c8574a7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentCreatedMessage + *

    Generated after a successful Create Payment request.

    * *
    * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface PaymentCreatedMessage extends Message { String PAYMENT_CREATED = "PaymentCreated"; /** - * + *

    Payment that was created.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessageBuilder.java index 897c6f2c0e6..1f22cce196f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class PaymentCreatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public PaymentCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public PaymentCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public PaymentCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public PaymentCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public PaymentCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public PaymentCreatedMessageBuilder createdAt(final java.time.ZonedDateTime crea } /** - * + *

    Value of createdAt.

    */ public PaymentCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public PaymentCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public PaymentCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public PaymentCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public PaymentCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public PaymentCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public PaymentCreatedMessageBuilder resource(final com.commercetools.api.models. } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public PaymentCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public PaymentCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public PaymentCreatedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public PaymentCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public PaymentCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Payment that was created.

    */ public PaymentCreatedMessageBuilder payment( @@ -202,7 +202,7 @@ public PaymentCreatedMessageBuilder payment( } /** - * + *

    Payment that was created.

    */ public PaymentCreatedMessageBuilder payment(final com.commercetools.api.models.payment.Payment payment) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessageImpl.java index 5f31c1a92c4..fafe87740ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentCreatedMessage + *

    Generated after a successful Create Payment request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentCreatedMessageImpl implements PaymentCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public PaymentCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Payment that was created.

    */ public com.commercetools.api.models.payment.Payment getPayment() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayload.java index 9aac44b554c..c0705d3ccc3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentCreatedMessagePayload + *

    Generated after a successful Create Payment request.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface PaymentCreatedMessagePayload extends MessagePayload { String PAYMENT_CREATED = "PaymentCreated"; /** - * + *

    Payment that was created.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayloadBuilder.java index e608ba965ac..0263335a27c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class PaymentCreatedMessagePayloadBuilder implements BuilderPayment that was created.

    */ public PaymentCreatedMessagePayloadBuilder payment( @@ -35,7 +35,7 @@ public PaymentCreatedMessagePayloadBuilder payment( } /** - * + *

    Payment that was created.

    */ public PaymentCreatedMessagePayloadBuilder payment(final com.commercetools.api.models.payment.Payment payment) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayloadImpl.java index b5ac92632ec..8b5eea3ff7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentCreatedMessagePayload + *

    Generated after a successful Create Payment request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentCreatedMessagePayloadImpl implements PaymentCreatedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

    Payment that was created.

    */ public com.commercetools.api.models.payment.Payment getPayment() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessage.java index 357903e631f..ba87234dbea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentInteractionAddedMessage + *

    Generated after a successful Add InterfaceInteraction update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface PaymentInteractionAddedMessage extends Message { String PAYMENT_INTERACTION_ADDED = "PaymentInteractionAdded"; /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    The interface interaction that was added to the Payment.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessageBuilder.java index 8ae01db6cea..df81606e247 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessageBuilder.java @@ -57,7 +57,7 @@ public class PaymentInteractionAddedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public PaymentInteractionAddedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public PaymentInteractionAddedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public PaymentInteractionAddedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public PaymentInteractionAddedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public PaymentInteractionAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public PaymentInteractionAddedMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *

    Value of createdAt.

    */ public PaymentInteractionAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public PaymentInteractionAddedMessageBuilder lastModifiedAt(final java.time.Zone } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentInteractionAddedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public PaymentInteractionAddedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentInteractionAddedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public PaymentInteractionAddedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public PaymentInteractionAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public PaymentInteractionAddedMessageBuilder sequenceNumber(final Long sequenceN } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentInteractionAddedMessageBuilder resource( @@ -152,7 +152,7 @@ public PaymentInteractionAddedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentInteractionAddedMessageBuilder resource( @@ -162,7 +162,7 @@ public PaymentInteractionAddedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public PaymentInteractionAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public PaymentInteractionAddedMessageBuilder resourceVersion(final Long resource } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentInteractionAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public PaymentInteractionAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentInteractionAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public PaymentInteractionAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    The interface interaction that was added to the Payment.

    */ public PaymentInteractionAddedMessageBuilder interaction( @@ -203,7 +203,7 @@ public PaymentInteractionAddedMessageBuilder interaction( } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    The interface interaction that was added to the Payment.

    */ public PaymentInteractionAddedMessageBuilder interaction( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessageImpl.java index eaf85fb87d3..e544c0b82b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentInteractionAddedMessage + *

    Generated after a successful Add InterfaceInteraction update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentInteractionAddedMessageImpl implements PaymentInteractionAddedMessage, ModelBase { @@ -74,7 +74,7 @@ public PaymentInteractionAddedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    The interface interaction that was added to the Payment.

    */ public com.commercetools.api.models.type.CustomFields getInteraction() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayload.java index 019210a0cc2..e6468025011 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentInteractionAddedMessagePayload + *

    Generated after a successful Add InterfaceInteraction update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface PaymentInteractionAddedMessagePayload extends MessagePayload { String PAYMENT_INTERACTION_ADDED = "PaymentInteractionAdded"; /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    The interface interaction that was added to the Payment.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayloadBuilder.java index f6b78778647..bfca0237728 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class PaymentInteractionAddedMessagePayloadBuilder implements BuilderServes as value of the custom field on a resource or data type customized with a Type.

    + *

    The interface interaction that was added to the Payment.

    */ public PaymentInteractionAddedMessagePayloadBuilder interaction( @@ -35,7 +35,7 @@ public PaymentInteractionAddedMessagePayloadBuilder interaction( } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    The interface interaction that was added to the Payment.

    */ public PaymentInteractionAddedMessagePayloadBuilder interaction( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayloadImpl.java index 9af0319a30c..ddd33e84d01 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentInteractionAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentInteractionAddedMessagePayload + *

    Generated after a successful Add InterfaceInteraction update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentInteractionAddedMessagePayloadImpl implements PaymentInteractionAddedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    The interface interaction that was added to the Payment.

    */ public com.commercetools.api.models.type.CustomFields getInteraction() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessage.java index 92518ed38b9..c104bfceda8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessage.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentStatusInterfaceCodeSetMessage + *

    Generated after a successful Set StatusInterfaceCode update action.

    * *
    * Example to create an instance using the builder pattern @@ -28,7 +28,6 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .paymentId("{paymentId}") - * .interfaceCode("{interfaceCode}") * .build() *
    *
    @@ -40,16 +39,16 @@ public interface PaymentStatusInterfaceCodeSetMessage extends Message { String PAYMENT_STATUS_INTERFACE_CODE_SET = "PaymentStatusInterfaceCodeSet"; /** - * + *

    Unique identifier for the Payment for which the Set StatusInterfaceCode update action was applied.

    */ @NotNull @JsonProperty("paymentId") public String getPaymentId(); /** - * + *

    The interfaceCode that was set during the Set StatusInterfaceCode update action.

    */ - @NotNull + @JsonProperty("interfaceCode") public String getInterfaceCode(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessageBuilder.java index 5cd51a7f013..305d33f5749 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessageBuilder.java @@ -24,7 +24,6 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .paymentId("{paymentId}") - * .interfaceCode("{interfaceCode}") * .build() *
    *
    @@ -57,10 +56,11 @@ public class PaymentStatusInterfaceCodeSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder createdAt(final java.time.Zon } /** - * + *

    Value of createdAt.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder lastModifiedAt(final java.tim } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder sequenceNumber(final Long seq } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder resource( @@ -155,7 +155,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder resource( @@ -165,7 +165,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder resourceVersion(final Long re } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder resourceUserProvidedIdentifie } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public PaymentStatusInterfaceCodeSetMessageBuilder resourceUserProvidedIdentifie } /** - * + *

    Unique identifier for the Payment for which the Set StatusInterfaceCode update action was applied.

    */ public PaymentStatusInterfaceCodeSetMessageBuilder paymentId(final String paymentId) { @@ -205,10 +205,10 @@ public PaymentStatusInterfaceCodeSetMessageBuilder paymentId(final String paymen } /** - * + *

    The interfaceCode that was set during the Set StatusInterfaceCode update action.

    */ - public PaymentStatusInterfaceCodeSetMessageBuilder interfaceCode(final String interfaceCode) { + public PaymentStatusInterfaceCodeSetMessageBuilder interfaceCode(@Nullable final String interfaceCode) { this.interfaceCode = interfaceCode; return this; } @@ -260,6 +260,7 @@ public String getPaymentId() { return this.paymentId; } + @Nullable public String getInterfaceCode() { return this.interfaceCode; } @@ -276,8 +277,6 @@ public PaymentStatusInterfaceCodeSetMessage build() { Objects.requireNonNull(resourceVersion, PaymentStatusInterfaceCodeSetMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(paymentId, PaymentStatusInterfaceCodeSetMessage.class + ": paymentId is missing"); - Objects.requireNonNull(interfaceCode, - PaymentStatusInterfaceCodeSetMessage.class + ": interfaceCode is missing"); return new PaymentStatusInterfaceCodeSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, paymentId, interfaceCode); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessageImpl.java index 31478bd062e..3bddb02337a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentStatusInterfaceCodeSetMessage + *

    Generated after a successful Set StatusInterfaceCode update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentStatusInterfaceCodeSetMessageImpl implements PaymentStatusInterfaceCodeSetMessage, ModelBase { @@ -79,7 +79,7 @@ public PaymentStatusInterfaceCodeSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier for the Payment for which the Set StatusInterfaceCode update action was applied.

    */ public String getPaymentId() { @@ -175,7 +175,7 @@ public String getPaymentId() { } /** - * + *

    The interfaceCode that was set during the Set StatusInterfaceCode update action.

    */ public String getInterfaceCode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayload.java index cc4fe467cc1..3e213fa4ca9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayload.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentStatusInterfaceCodeSetMessagePayload + *

    Generated after a successful Set StatusInterfaceCode update action.

    * *
    * Example to create an instance using the builder pattern @@ -21,7 +21,6 @@ *
    
      *     PaymentStatusInterfaceCodeSetMessagePayload paymentStatusInterfaceCodeSetMessagePayload = PaymentStatusInterfaceCodeSetMessagePayload.builder()
      *             .paymentId("{paymentId}")
    - *             .interfaceCode("{interfaceCode}")
      *             .build()
      * 
    *
    @@ -33,16 +32,16 @@ public interface PaymentStatusInterfaceCodeSetMessagePayload extends MessagePayl String PAYMENT_STATUS_INTERFACE_CODE_SET = "PaymentStatusInterfaceCodeSet"; /** - * + *

    Unique identifier for the Payment for which the Set StatusInterfaceCode update action was applied.

    */ @NotNull @JsonProperty("paymentId") public String getPaymentId(); /** - * + *

    The interfaceCode that was set during the Set StatusInterfaceCode update action.

    */ - @NotNull + @JsonProperty("interfaceCode") public String getInterfaceCode(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayloadBuilder.java index aa790622edb..a8c67aca426 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayloadBuilder.java @@ -3,6 +3,8 @@ import java.util.*; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -14,7 +16,6 @@ *
    
      *     PaymentStatusInterfaceCodeSetMessagePayload paymentStatusInterfaceCodeSetMessagePayload = PaymentStatusInterfaceCodeSetMessagePayload.builder()
      *             .paymentId("{paymentId}")
    - *             .interfaceCode("{interfaceCode}")
      *             .build()
      * 
    *
    @@ -25,10 +26,11 @@ public class PaymentStatusInterfaceCodeSetMessagePayloadBuilder private String paymentId; + @Nullable private String interfaceCode; /** - * + *

    Unique identifier for the Payment for which the Set StatusInterfaceCode update action was applied.

    */ public PaymentStatusInterfaceCodeSetMessagePayloadBuilder paymentId(final String paymentId) { @@ -37,10 +39,10 @@ public PaymentStatusInterfaceCodeSetMessagePayloadBuilder paymentId(final String } /** - * + *

    The interfaceCode that was set during the Set StatusInterfaceCode update action.

    */ - public PaymentStatusInterfaceCodeSetMessagePayloadBuilder interfaceCode(final String interfaceCode) { + public PaymentStatusInterfaceCodeSetMessagePayloadBuilder interfaceCode(@Nullable final String interfaceCode) { this.interfaceCode = interfaceCode; return this; } @@ -49,14 +51,13 @@ public String getPaymentId() { return this.paymentId; } + @Nullable public String getInterfaceCode() { return this.interfaceCode; } public PaymentStatusInterfaceCodeSetMessagePayload build() { Objects.requireNonNull(paymentId, PaymentStatusInterfaceCodeSetMessagePayload.class + ": paymentId is missing"); - Objects.requireNonNull(interfaceCode, - PaymentStatusInterfaceCodeSetMessagePayload.class + ": interfaceCode is missing"); return new PaymentStatusInterfaceCodeSetMessagePayloadImpl(paymentId, interfaceCode); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayloadImpl.java index 234a22c59eb..4346689f2c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusInterfaceCodeSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentStatusInterfaceCodeSetMessagePayload + *

    Generated after a successful Set StatusInterfaceCode update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentStatusInterfaceCodeSetMessagePayloadImpl @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    Unique identifier for the Payment for which the Set StatusInterfaceCode update action was applied.

    */ public String getPaymentId() { @@ -56,7 +56,7 @@ public String getPaymentId() { } /** - * + *

    The interfaceCode that was set during the Set StatusInterfaceCode update action.

    */ public String getInterfaceCode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessage.java index 89ac3ee84de..43d03b8165a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentStatusStateTransitionMessage + *

    Generated after a successful Transition State update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface PaymentStatusStateTransitionMessage extends Message { String PAYMENT_STATUS_STATE_TRANSITION = "PaymentStatusStateTransition"; /** - *

    Reference to a State.

    + *

    State of the Payment after the Transition State update action.

    */ @NotNull @Valid @@ -50,7 +50,7 @@ public interface PaymentStatusStateTransitionMessage extends Message { public StateReference getState(); /** - * + *

    Whether State transition validations were turned off during the Change Transaction State update action.

    */ @NotNull @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessageBuilder.java index 66c5dbf04ba..0a0f069f799 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessageBuilder.java @@ -60,7 +60,7 @@ public class PaymentStatusStateTransitionMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public PaymentStatusStateTransitionMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public PaymentStatusStateTransitionMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public PaymentStatusStateTransitionMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public PaymentStatusStateTransitionMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public PaymentStatusStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public PaymentStatusStateTransitionMessageBuilder createdAt(final java.time.Zone } /** - * + *

    Value of createdAt.

    */ public PaymentStatusStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public PaymentStatusStateTransitionMessageBuilder lastModifiedAt(final java.time } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentStatusStateTransitionMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public PaymentStatusStateTransitionMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentStatusStateTransitionMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public PaymentStatusStateTransitionMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public PaymentStatusStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public PaymentStatusStateTransitionMessageBuilder sequenceNumber(final Long sequ } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentStatusStateTransitionMessageBuilder resource( @@ -155,7 +155,7 @@ public PaymentStatusStateTransitionMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentStatusStateTransitionMessageBuilder resource( @@ -165,7 +165,7 @@ public PaymentStatusStateTransitionMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public PaymentStatusStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public PaymentStatusStateTransitionMessageBuilder resourceVersion(final Long res } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentStatusStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public PaymentStatusStateTransitionMessageBuilder resourceUserProvidedIdentifier } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentStatusStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public PaymentStatusStateTransitionMessageBuilder resourceUserProvidedIdentifier } /** - *

    Reference to a State.

    + *

    State of the Payment after the Transition State update action.

    */ public PaymentStatusStateTransitionMessageBuilder state( @@ -206,7 +206,7 @@ public PaymentStatusStateTransitionMessageBuilder state( } /** - *

    Reference to a State.

    + *

    State of the Payment after the Transition State update action.

    */ public PaymentStatusStateTransitionMessageBuilder state( @@ -216,7 +216,7 @@ public PaymentStatusStateTransitionMessageBuilder state( } /** - * + *

    Whether State transition validations were turned off during the Change Transaction State update action.

    */ public PaymentStatusStateTransitionMessageBuilder force(final Boolean force) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessageImpl.java index f164c5f292f..7f1d7de2e0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentStatusStateTransitionMessage + *

    Generated after a successful Transition State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentStatusStateTransitionMessageImpl implements PaymentStatusStateTransitionMessage, ModelBase { @@ -79,7 +79,7 @@ public PaymentStatusStateTransitionMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a State.

    + *

    State of the Payment after the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getState() { @@ -175,7 +175,7 @@ public com.commercetools.api.models.state.StateReference getState() { } /** - * + *

    Whether State transition validations were turned off during the Change Transaction State update action.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayload.java index 110104c9391..0e2b5e5ca73 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentStatusStateTransitionMessagePayload + *

    Generated after a successful Transition State update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface PaymentStatusStateTransitionMessagePayload extends MessagePaylo String PAYMENT_STATUS_STATE_TRANSITION = "PaymentStatusStateTransition"; /** - *

    Reference to a State.

    + *

    State of the Payment after the Transition State update action.

    */ @NotNull @Valid @@ -43,7 +43,7 @@ public interface PaymentStatusStateTransitionMessagePayload extends MessagePaylo public StateReference getState(); /** - * + *

    Whether State transition validations were turned off during the Change Transaction State update action.

    */ @NotNull @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayloadBuilder.java index 1f85b762e3f..3b58c4e0077 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayloadBuilder.java @@ -29,7 +29,7 @@ public class PaymentStatusStateTransitionMessagePayloadBuilder private Boolean force; /** - *

    Reference to a State.

    + *

    State of the Payment after the Transition State update action.

    */ public PaymentStatusStateTransitionMessagePayloadBuilder state( @@ -39,7 +39,7 @@ public PaymentStatusStateTransitionMessagePayloadBuilder state( } /** - *

    Reference to a State.

    + *

    State of the Payment after the Transition State update action.

    */ public PaymentStatusStateTransitionMessagePayloadBuilder state( @@ -49,7 +49,7 @@ public PaymentStatusStateTransitionMessagePayloadBuilder state( } /** - * + *

    Whether State transition validations were turned off during the Change Transaction State update action.

    */ public PaymentStatusStateTransitionMessagePayloadBuilder force(final Boolean force) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayloadImpl.java index e2fce026783..769432187c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentStatusStateTransitionMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentStatusStateTransitionMessagePayload + *

    Generated after a successful Transition State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentStatusStateTransitionMessagePayloadImpl @@ -49,7 +49,7 @@ public String getType() { } /** - *

    Reference to a State.

    + *

    State of the Payment after the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getState() { @@ -57,7 +57,7 @@ public com.commercetools.api.models.state.StateReference getState() { } /** - * + *

    Whether State transition validations were turned off during the Change Transaction State update action.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessage.java index bc7ec27647a..f2082ff14c3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentTransactionAddedMessage + *

    Generated after a successful Add Transaction update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface PaymentTransactionAddedMessage extends Message { String PAYMENT_TRANSACTION_ADDED = "PaymentTransactionAdded"; /** - * + *

    Transaction that was added to the Payment.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessageBuilder.java index 8323487513e..f73404532a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessageBuilder.java @@ -57,7 +57,7 @@ public class PaymentTransactionAddedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public PaymentTransactionAddedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public PaymentTransactionAddedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public PaymentTransactionAddedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public PaymentTransactionAddedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public PaymentTransactionAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public PaymentTransactionAddedMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *

    Value of createdAt.

    */ public PaymentTransactionAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public PaymentTransactionAddedMessageBuilder lastModifiedAt(final java.time.Zone } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentTransactionAddedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public PaymentTransactionAddedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentTransactionAddedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public PaymentTransactionAddedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public PaymentTransactionAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public PaymentTransactionAddedMessageBuilder sequenceNumber(final Long sequenceN } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentTransactionAddedMessageBuilder resource( @@ -152,7 +152,7 @@ public PaymentTransactionAddedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentTransactionAddedMessageBuilder resource( @@ -162,7 +162,7 @@ public PaymentTransactionAddedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public PaymentTransactionAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public PaymentTransactionAddedMessageBuilder resourceVersion(final Long resource } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentTransactionAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public PaymentTransactionAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentTransactionAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public PaymentTransactionAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Transaction that was added to the Payment.

    */ public PaymentTransactionAddedMessageBuilder transaction( @@ -203,7 +203,7 @@ public PaymentTransactionAddedMessageBuilder transaction( } /** - * + *

    Transaction that was added to the Payment.

    */ public PaymentTransactionAddedMessageBuilder transaction( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessageImpl.java index 4aef3b3b11f..b52b86aeae9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentTransactionAddedMessage + *

    Generated after a successful Add Transaction update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentTransactionAddedMessageImpl implements PaymentTransactionAddedMessage, ModelBase { @@ -74,7 +74,7 @@ public PaymentTransactionAddedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Transaction that was added to the Payment.

    */ public com.commercetools.api.models.payment.Transaction getTransaction() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayload.java index 59ab2c3c702..8611ce665e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentTransactionAddedMessagePayload + *

    Generated after a successful Add Transaction update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface PaymentTransactionAddedMessagePayload extends MessagePayload { String PAYMENT_TRANSACTION_ADDED = "PaymentTransactionAdded"; /** - * + *

    Transaction that was added to the Payment.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayloadBuilder.java index 02d3aa19312..03b972df1ac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class PaymentTransactionAddedMessagePayloadBuilder implements BuilderTransaction that was added to the Payment.

    */ public PaymentTransactionAddedMessagePayloadBuilder transaction( @@ -35,7 +35,7 @@ public PaymentTransactionAddedMessagePayloadBuilder transaction( } /** - * + *

    Transaction that was added to the Payment.

    */ public PaymentTransactionAddedMessagePayloadBuilder transaction( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayloadImpl.java index 199c448fe08..26ef48dbb35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentTransactionAddedMessagePayload + *

    Generated after a successful Add Transaction update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentTransactionAddedMessagePayloadImpl implements PaymentTransactionAddedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

    Transaction that was added to the Payment.

    */ public com.commercetools.api.models.payment.Transaction getTransaction() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessage.java index c7683e399fa..587ccb767be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentTransactionStateChangedMessage + *

    Generated after a successful Change Transaction State update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface PaymentTransactionStateChangedMessage extends Message { String PAYMENT_TRANSACTION_STATE_CHANGED = "PaymentTransactionStateChanged"; /** - * + *

    Unique identifier for the Transaction for which the Transaction State changed.

    */ @NotNull @JsonProperty("transactionId") public String getTransactionId(); /** - * + *

    Transaction State after the Change Transaction State update action.

    */ @NotNull @JsonProperty("state") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessageBuilder.java index 6d1e0a719fc..59822b7540a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class PaymentTransactionStateChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public PaymentTransactionStateChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public PaymentTransactionStateChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public PaymentTransactionStateChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public PaymentTransactionStateChangedMessageBuilder version(final Long version) } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public PaymentTransactionStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public PaymentTransactionStateChangedMessageBuilder createdAt(final java.time.Zo } /** - * + *

    Value of createdAt.

    */ public PaymentTransactionStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public PaymentTransactionStateChangedMessageBuilder lastModifiedAt(final java.ti } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentTransactionStateChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public PaymentTransactionStateChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public PaymentTransactionStateChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public PaymentTransactionStateChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public PaymentTransactionStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public PaymentTransactionStateChangedMessageBuilder sequenceNumber(final Long se } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentTransactionStateChangedMessageBuilder resource( @@ -155,7 +155,7 @@ public PaymentTransactionStateChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public PaymentTransactionStateChangedMessageBuilder resource( @@ -165,7 +165,7 @@ public PaymentTransactionStateChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public PaymentTransactionStateChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public PaymentTransactionStateChangedMessageBuilder resourceVersion(final Long r } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentTransactionStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public PaymentTransactionStateChangedMessageBuilder resourceUserProvidedIdentifi } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public PaymentTransactionStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public PaymentTransactionStateChangedMessageBuilder resourceUserProvidedIdentifi } /** - * + *

    Unique identifier for the Transaction for which the Transaction State changed.

    */ public PaymentTransactionStateChangedMessageBuilder transactionId(final String transactionId) { @@ -205,7 +205,7 @@ public PaymentTransactionStateChangedMessageBuilder transactionId(final String t } /** - * + *

    Transaction State after the Change Transaction State update action.

    */ public PaymentTransactionStateChangedMessageBuilder state( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessageImpl.java index 3e7cd06e4a6..4c26d66afaa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentTransactionStateChangedMessage + *

    Generated after a successful Change Transaction State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentTransactionStateChangedMessageImpl implements PaymentTransactionStateChangedMessage, ModelBase { @@ -79,7 +79,7 @@ public PaymentTransactionStateChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier for the Transaction for which the Transaction State changed.

    */ public String getTransactionId() { @@ -175,7 +175,7 @@ public String getTransactionId() { } /** - * + *

    Transaction State after the Change Transaction State update action.

    */ public com.commercetools.api.models.payment.TransactionState getState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayload.java index 6167379e232..1adeacfc2ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * PaymentTransactionStateChangedMessagePayload + *

    Generated after a successful Change Transaction State update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface PaymentTransactionStateChangedMessagePayload extends MessagePay String PAYMENT_TRANSACTION_STATE_CHANGED = "PaymentTransactionStateChanged"; /** - * + *

    Unique identifier for the Transaction for which the Transaction State changed.

    */ @NotNull @JsonProperty("transactionId") public String getTransactionId(); /** - * + *

    Transaction State after the Change Transaction State update action.

    */ @NotNull @JsonProperty("state") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayloadBuilder.java index 651f2606ffe..70d7ea9af83 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayloadBuilder.java @@ -28,7 +28,7 @@ public class PaymentTransactionStateChangedMessagePayloadBuilder private com.commercetools.api.models.payment.TransactionState state; /** - * + *

    Unique identifier for the Transaction for which the Transaction State changed.

    */ public PaymentTransactionStateChangedMessagePayloadBuilder transactionId(final String transactionId) { @@ -37,7 +37,7 @@ public PaymentTransactionStateChangedMessagePayloadBuilder transactionId(final S } /** - * + *

    Transaction State after the Change Transaction State update action.

    */ public PaymentTransactionStateChangedMessagePayloadBuilder state( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayloadImpl.java index ea5ceeb614a..fe88a78ba0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/PaymentTransactionStateChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * PaymentTransactionStateChangedMessagePayload + *

    Generated after a successful Change Transaction State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentTransactionStateChangedMessagePayloadImpl @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    Unique identifier for the Transaction for which the Transaction State changed.

    */ public String getTransactionId() { @@ -56,7 +56,7 @@ public String getTransactionId() { } /** - * + *

    Transaction State after the Change Transaction State update action.

    */ public com.commercetools.api.models.payment.TransactionState getState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessage.java index 402ed6dfcf2..6be4f9be1eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductAddedToCategoryMessage + *

    Generated after a successful Add To Category update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface ProductAddedToCategoryMessage extends Message { String PRODUCT_ADDED_TO_CATEGORY = "ProductAddedToCategory"; /** - *

    Reference to a Category.

    + *

    Category the Product was added to.

    */ @NotNull @Valid @@ -50,7 +50,7 @@ public interface ProductAddedToCategoryMessage extends Message { public CategoryReference getCategory(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessageBuilder.java index 719489336e7..b160f7cd6cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessageBuilder.java @@ -60,7 +60,7 @@ public class ProductAddedToCategoryMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductAddedToCategoryMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public ProductAddedToCategoryMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductAddedToCategoryMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public ProductAddedToCategoryMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductAddedToCategoryMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public ProductAddedToCategoryMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

    Value of createdAt.

    */ public ProductAddedToCategoryMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public ProductAddedToCategoryMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductAddedToCategoryMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public ProductAddedToCategoryMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductAddedToCategoryMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public ProductAddedToCategoryMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductAddedToCategoryMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public ProductAddedToCategoryMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductAddedToCategoryMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public ProductAddedToCategoryMessageBuilder resource(final com.commercetools.api } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductAddedToCategoryMessageBuilder resource( @@ -164,7 +164,7 @@ public ProductAddedToCategoryMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductAddedToCategoryMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public ProductAddedToCategoryMessageBuilder resourceVersion(final Long resourceV } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductAddedToCategoryMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public ProductAddedToCategoryMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductAddedToCategoryMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public ProductAddedToCategoryMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Reference to a Category.

    + *

    Category the Product was added to.

    */ public ProductAddedToCategoryMessageBuilder category( @@ -205,7 +205,7 @@ public ProductAddedToCategoryMessageBuilder category( } /** - *

    Reference to a Category.

    + *

    Category the Product was added to.

    */ public ProductAddedToCategoryMessageBuilder category( @@ -215,7 +215,7 @@ public ProductAddedToCategoryMessageBuilder category( } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductAddedToCategoryMessageBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessageImpl.java index 4800f6435d0..d56d57dd7f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductAddedToCategoryMessage + *

    Generated after a successful Add To Category update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductAddedToCategoryMessageImpl implements ProductAddedToCategoryMessage, ModelBase { @@ -78,7 +78,7 @@ public ProductAddedToCategoryMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a Category.

    + *

    Category the Product was added to.

    */ public com.commercetools.api.models.category.CategoryReference getCategory() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.category.CategoryReference getCategory() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayload.java index fa36fe98fcc..ca8d3b92fb7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductAddedToCategoryMessagePayload + *

    Generated after a successful Add To Category update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ProductAddedToCategoryMessagePayload extends MessagePayload { String PRODUCT_ADDED_TO_CATEGORY = "ProductAddedToCategory"; /** - *

    Reference to a Category.

    + *

    Category the Product was added to.

    */ @NotNull @Valid @@ -43,7 +43,7 @@ public interface ProductAddedToCategoryMessagePayload extends MessagePayload { public CategoryReference getCategory(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayloadBuilder.java index 8de85cdc255..782db963de9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayloadBuilder.java @@ -28,7 +28,7 @@ public class ProductAddedToCategoryMessagePayloadBuilder implements BuilderReference to a Category.

    + *

    Category the Product was added to.

    */ public ProductAddedToCategoryMessagePayloadBuilder category( @@ -38,7 +38,7 @@ public ProductAddedToCategoryMessagePayloadBuilder category( } /** - *

    Reference to a Category.

    + *

    Category the Product was added to.

    */ public ProductAddedToCategoryMessagePayloadBuilder category( @@ -48,7 +48,7 @@ public ProductAddedToCategoryMessagePayloadBuilder category( } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductAddedToCategoryMessagePayloadBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayloadImpl.java index 19043d77237..8e91b155553 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductAddedToCategoryMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductAddedToCategoryMessagePayload + *

    Generated after a successful Add To Category update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductAddedToCategoryMessagePayloadImpl implements ProductAddedToCategoryMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *

    Reference to a Category.

    + *

    Category the Product was added to.

    */ public com.commercetools.api.models.category.CategoryReference getCategory() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.category.CategoryReference getCategory() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessage.java index e7b0afa94ff..84807e8f287 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductCreatedMessage + *

    Generated after a successful Create Product request.

    * *
    * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface ProductCreatedMessage extends Message { String PRODUCT_CREATED = "ProductCreated"; /** - * + *

    The staged Product Projection of the Product at the time of creation.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessageBuilder.java index 49062a670b6..79bd7458685 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class ProductCreatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public ProductCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public ProductCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public ProductCreatedMessageBuilder createdAt(final java.time.ZonedDateTime crea } /** - * + *

    Value of createdAt.

    */ public ProductCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public ProductCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public ProductCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public ProductCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public ProductCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public ProductCreatedMessageBuilder resource(final com.commercetools.api.models. } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public ProductCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public ProductCreatedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public ProductCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public ProductCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    The staged Product Projection of the Product at the time of creation.

    */ public ProductCreatedMessageBuilder productProjection( @@ -203,7 +203,7 @@ public ProductCreatedMessageBuilder productProjection( } /** - * + *

    The staged Product Projection of the Product at the time of creation.

    */ public ProductCreatedMessageBuilder productProjection( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessageImpl.java index 4a686e8627d..9b2bf221425 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductCreatedMessage + *

    Generated after a successful Create Product request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductCreatedMessageImpl implements ProductCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public ProductCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    The staged Product Projection of the Product at the time of creation.

    */ public com.commercetools.api.models.product.ProductProjection getProductProjection() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayload.java index 07ed6277725..f44bc215194 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductCreatedMessagePayload + *

    Generated after a successful Create Product request.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ProductCreatedMessagePayload extends MessagePayload { String PRODUCT_CREATED = "ProductCreated"; /** - * + *

    The staged Product Projection of the Product at the time of creation.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayloadBuilder.java index ebcccd3bbcf..3e3b35d8732 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class ProductCreatedMessagePayloadBuilder implements BuilderThe staged Product Projection of the Product at the time of creation.

    */ public ProductCreatedMessagePayloadBuilder productProjection( @@ -36,7 +36,7 @@ public ProductCreatedMessagePayloadBuilder productProjection( } /** - * + *

    The staged Product Projection of the Product at the time of creation.

    */ public ProductCreatedMessagePayloadBuilder productProjection( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayloadImpl.java index 7c7a014a881..2f04c26739a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductCreatedMessagePayload + *

    Generated after a successful Create Product request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductCreatedMessagePayloadImpl implements ProductCreatedMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

    The staged Product Projection of the Product at the time of creation.

    */ public com.commercetools.api.models.product.ProductProjection getProductProjection() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessage.java index d2903e2fa00..26f41b0fc26 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductDeletedMessage + *

    Generated after a successful Delete Product request.

    * *
    * Example to create an instance using the builder pattern @@ -30,7 +30,6 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder) - * .currentProjection(currentProjectionBuilder -> currentProjectionBuilder) * .build() * *
    @@ -42,16 +41,15 @@ public interface ProductDeletedMessage extends Message { String PRODUCT_DELETED = "ProductDeleted"; /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ @NotNull @JsonProperty("removedImageUrls") public List getRemovedImageUrls(); /** - * + *

    Current Product Projection of the deleted Product.

    */ - @NotNull @Valid @JsonProperty("currentProjection") public ProductProjection getCurrentProjection(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessageBuilder.java index 18541235c9d..be5ffdea5f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessageBuilder.java @@ -24,7 +24,6 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder) - * .currentProjection(currentProjectionBuilder -> currentProjectionBuilder) * .build() * *
    @@ -57,10 +56,11 @@ public class ProductDeletedMessageBuilder implements Builder removedImageUrls; + @Nullable private com.commercetools.api.models.product.ProductProjection currentProjection; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductDeletedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public ProductDeletedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductDeletedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public ProductDeletedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public ProductDeletedMessageBuilder createdAt(final java.time.ZonedDateTime crea } /** - * + *

    Value of createdAt.

    */ public ProductDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public ProductDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductDeletedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public ProductDeletedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductDeletedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public ProductDeletedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public ProductDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public ProductDeletedMessageBuilder resource(final com.commercetools.api.models. } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductDeletedMessageBuilder resource( @@ -164,7 +164,7 @@ public ProductDeletedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public ProductDeletedMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public ProductDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public ProductDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ public ProductDeletedMessageBuilder removedImageUrls(final String... removedImageUrls) { @@ -204,7 +204,7 @@ public ProductDeletedMessageBuilder removedImageUrls(final String... removedImag } /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ public ProductDeletedMessageBuilder removedImageUrls(final java.util.List removedImageUrls) { @@ -213,7 +213,7 @@ public ProductDeletedMessageBuilder removedImageUrls(final java.util.ListList of image URLs that were removed during the Delete Product request.

    */ public ProductDeletedMessageBuilder plusRemovedImageUrls(final String... removedImageUrls) { @@ -225,7 +225,7 @@ public ProductDeletedMessageBuilder plusRemovedImageUrls(final String... removed } /** - * + *

    Current Product Projection of the deleted Product.

    */ public ProductDeletedMessageBuilder currentProjection( @@ -236,11 +236,11 @@ public ProductDeletedMessageBuilder currentProjection( } /** - * + *

    Current Product Projection of the deleted Product.

    */ public ProductDeletedMessageBuilder currentProjection( - final com.commercetools.api.models.product.ProductProjection currentProjection) { + @Nullable final com.commercetools.api.models.product.ProductProjection currentProjection) { this.currentProjection = currentProjection; return this; } @@ -292,6 +292,7 @@ public java.util.List getRemovedImageUrls() { return this.removedImageUrls; } + @Nullable public com.commercetools.api.models.product.ProductProjection getCurrentProjection() { return this.currentProjection; } @@ -305,7 +306,6 @@ public ProductDeletedMessage build() { Objects.requireNonNull(resource, ProductDeletedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, ProductDeletedMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(removedImageUrls, ProductDeletedMessage.class + ": removedImageUrls is missing"); - Objects.requireNonNull(currentProjection, ProductDeletedMessage.class + ": currentProjection is missing"); return new ProductDeletedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, removedImageUrls, currentProjection); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessageImpl.java index ac8c3994bc5..7cab91c0c0f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductDeletedMessage + *

    Generated after a successful Delete Product request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductDeletedMessageImpl implements ProductDeletedMessage, ModelBase { @@ -78,7 +78,7 @@ public ProductDeletedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ public java.util.List getRemovedImageUrls() { @@ -174,7 +174,7 @@ public java.util.List getRemovedImageUrls() { } /** - * + *

    Current Product Projection of the deleted Product.

    */ public com.commercetools.api.models.product.ProductProjection getCurrentProjection() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayload.java index ce50c645404..2001e68c7d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductDeletedMessagePayload + *

    Generated after a successful Delete Product request.

    * *
    * Example to create an instance using the builder pattern @@ -23,7 +23,6 @@ *
    
      *     ProductDeletedMessagePayload productDeletedMessagePayload = ProductDeletedMessagePayload.builder()
      *             .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder)
    - *             .currentProjection(currentProjectionBuilder -> currentProjectionBuilder)
      *             .build()
      * 
    * @@ -35,16 +34,15 @@ public interface ProductDeletedMessagePayload extends MessagePayload { String PRODUCT_DELETED = "ProductDeleted"; /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ @NotNull @JsonProperty("removedImageUrls") public List getRemovedImageUrls(); /** - * + *

    Current Product Projection of the deleted Product.

    */ - @NotNull @Valid @JsonProperty("currentProjection") public ProductProjection getCurrentProjection(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayloadBuilder.java index a3022a56588..63a71e0a308 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -15,7 +17,6 @@ *
    
      *     ProductDeletedMessagePayload productDeletedMessagePayload = ProductDeletedMessagePayload.builder()
      *             .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder)
    - *             .currentProjection(currentProjectionBuilder -> currentProjectionBuilder)
      *             .build()
      * 
    * @@ -25,10 +26,11 @@ public class ProductDeletedMessagePayloadBuilder implements Builder removedImageUrls; + @Nullable private com.commercetools.api.models.product.ProductProjection currentProjection; /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ public ProductDeletedMessagePayloadBuilder removedImageUrls(final String... removedImageUrls) { @@ -37,7 +39,7 @@ public ProductDeletedMessagePayloadBuilder removedImageUrls(final String... remo } /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ public ProductDeletedMessagePayloadBuilder removedImageUrls(final java.util.List removedImageUrls) { @@ -46,7 +48,7 @@ public ProductDeletedMessagePayloadBuilder removedImageUrls(final java.util.List } /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ public ProductDeletedMessagePayloadBuilder plusRemovedImageUrls(final String... removedImageUrls) { @@ -58,7 +60,7 @@ public ProductDeletedMessagePayloadBuilder plusRemovedImageUrls(final String... } /** - * + *

    Current Product Projection of the deleted Product.

    */ public ProductDeletedMessagePayloadBuilder currentProjection( @@ -69,11 +71,11 @@ public ProductDeletedMessagePayloadBuilder currentProjection( } /** - * + *

    Current Product Projection of the deleted Product.

    */ public ProductDeletedMessagePayloadBuilder currentProjection( - final com.commercetools.api.models.product.ProductProjection currentProjection) { + @Nullable final com.commercetools.api.models.product.ProductProjection currentProjection) { this.currentProjection = currentProjection; return this; } @@ -82,14 +84,13 @@ public java.util.List getRemovedImageUrls() { return this.removedImageUrls; } + @Nullable public com.commercetools.api.models.product.ProductProjection getCurrentProjection() { return this.currentProjection; } public ProductDeletedMessagePayload build() { Objects.requireNonNull(removedImageUrls, ProductDeletedMessagePayload.class + ": removedImageUrls is missing"); - Objects.requireNonNull(currentProjection, - ProductDeletedMessagePayload.class + ": currentProjection is missing"); return new ProductDeletedMessagePayloadImpl(removedImageUrls, currentProjection); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayloadImpl.java index bc47ace2f25..ba8ed7ba932 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductDeletedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductDeletedMessagePayload + *

    Generated after a successful Delete Product request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductDeletedMessagePayloadImpl implements ProductDeletedMessagePayload, ModelBase { @@ -47,7 +47,7 @@ public String getType() { } /** - * + *

    List of image URLs that were removed during the Delete Product request.

    */ public java.util.List getRemovedImageUrls() { @@ -55,7 +55,7 @@ public java.util.List getRemovedImageUrls() { } /** - * + *

    Current Product Projection of the deleted Product.

    */ public com.commercetools.api.models.product.ProductProjection getCurrentProjection() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessage.java index 8ef6d64e8ee..659afb0b529 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductImageAddedMessage + *

    Generated after a successful Add External Image update action or after the successful upload of an image.

    * *
    * Example to create an instance using the builder pattern @@ -43,14 +43,14 @@ public interface ProductImageAddedMessage extends Message { String PRODUCT_IMAGE_ADDED = "ProductImageAdded"; /** - * + *

    Unique identifier of the Product Variant to which the Image was added.

    */ @NotNull @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    Image that was added.

    */ @NotNull @Valid @@ -58,7 +58,7 @@ public interface ProductImageAddedMessage extends Message { public Image getImage(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessageBuilder.java index 6b9ff1aa056..1edcce6509a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessageBuilder.java @@ -63,7 +63,7 @@ public class ProductImageAddedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductImageAddedMessageBuilder id(final String id) { @@ -72,7 +72,7 @@ public ProductImageAddedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductImageAddedMessageBuilder version(final Long version) { @@ -81,7 +81,7 @@ public ProductImageAddedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductImageAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +90,7 @@ public ProductImageAddedMessageBuilder createdAt(final java.time.ZonedDateTime c } /** - * + *

    Value of createdAt.

    */ public ProductImageAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +99,7 @@ public ProductImageAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateT } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductImageAddedMessageBuilder lastModifiedBy( @@ -109,7 +109,7 @@ public ProductImageAddedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductImageAddedMessageBuilder lastModifiedBy( @@ -139,7 +139,7 @@ public ProductImageAddedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductImageAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +148,7 @@ public ProductImageAddedMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductImageAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -157,7 +157,7 @@ public ProductImageAddedMessageBuilder resource(final com.commercetools.api.mode } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductImageAddedMessageBuilder resource( @@ -167,7 +167,7 @@ public ProductImageAddedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductImageAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -176,7 +176,7 @@ public ProductImageAddedMessageBuilder resourceVersion(final Long resourceVersio } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductImageAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -188,7 +188,7 @@ public ProductImageAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductImageAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -198,7 +198,7 @@ public ProductImageAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Product Variant to which the Image was added.

    */ public ProductImageAddedMessageBuilder variantId(final Long variantId) { @@ -207,7 +207,7 @@ public ProductImageAddedMessageBuilder variantId(final Long variantId) { } /** - * + *

    Image that was added.

    */ public ProductImageAddedMessageBuilder image( @@ -217,7 +217,7 @@ public ProductImageAddedMessageBuilder image( } /** - * + *

    Image that was added.

    */ public ProductImageAddedMessageBuilder image(final com.commercetools.api.models.common.Image image) { @@ -226,7 +226,7 @@ public ProductImageAddedMessageBuilder image(final com.commercetools.api.models. } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductImageAddedMessageBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessageImpl.java index 07ad1b71672..85cd28e1ca1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductImageAddedMessage + *

    Generated after a successful Add External Image update action or after the successful upload of an image.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductImageAddedMessageImpl implements ProductImageAddedMessage, ModelBase { @@ -82,7 +82,7 @@ public ProductImageAddedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -90,7 +90,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -98,7 +98,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -114,7 +114,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -130,7 +130,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -138,7 +138,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +146,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -154,7 +154,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -162,7 +162,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -170,7 +170,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Product Variant to which the Image was added.

    */ public Long getVariantId() { @@ -178,7 +178,7 @@ public Long getVariantId() { } /** - * + *

    Image that was added.

    */ public com.commercetools.api.models.common.Image getImage() { @@ -186,7 +186,7 @@ public com.commercetools.api.models.common.Image getImage() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayload.java index 1709cb1d978..e29ad68f73b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductImageAddedMessagePayload + *

    Generated after a successful Add External Image update action or after the successful upload of an image.

    * *
    * Example to create an instance using the builder pattern @@ -36,14 +36,14 @@ public interface ProductImageAddedMessagePayload extends MessagePayload { String PRODUCT_IMAGE_ADDED = "ProductImageAdded"; /** - * + *

    Unique identifier of the Product Variant to which the Image was added.

    */ @NotNull @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    Image that was added.

    */ @NotNull @Valid @@ -51,7 +51,7 @@ public interface ProductImageAddedMessagePayload extends MessagePayload { public Image getImage(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayloadBuilder.java index 14ed896f406..aa0f5396966 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayloadBuilder.java @@ -31,7 +31,7 @@ public class ProductImageAddedMessagePayloadBuilder implements BuilderUnique identifier of the Product Variant to which the Image was added.

    */ public ProductImageAddedMessagePayloadBuilder variantId(final Long variantId) { @@ -40,7 +40,7 @@ public ProductImageAddedMessagePayloadBuilder variantId(final Long variantId) { } /** - * + *

    Image that was added.

    */ public ProductImageAddedMessagePayloadBuilder image( @@ -50,7 +50,7 @@ public ProductImageAddedMessagePayloadBuilder image( } /** - * + *

    Image that was added.

    */ public ProductImageAddedMessagePayloadBuilder image(final com.commercetools.api.models.common.Image image) { @@ -59,7 +59,7 @@ public ProductImageAddedMessagePayloadBuilder image(final com.commercetools.api. } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductImageAddedMessagePayloadBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayloadImpl.java index f49607e1ffb..1d156d6ba00 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductImageAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductImageAddedMessagePayload + *

    Generated after a successful Add External Image update action or after the successful upload of an image.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductImageAddedMessagePayloadImpl implements ProductImageAddedMessagePayload, ModelBase { @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Product Variant to which the Image was added.

    */ public Long getVariantId() { @@ -59,7 +59,7 @@ public Long getVariantId() { } /** - * + *

    Image that was added.

    */ public com.commercetools.api.models.common.Image getImage() { @@ -67,7 +67,7 @@ public com.commercetools.api.models.common.Image getImage() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessage.java index 8ff76c9508b..00c3227631e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPriceDiscountsSetMessage + *

    Generated after a Price is updated due to a Product Discount.

    * *
    * Example to create an instance using the builder pattern @@ -40,7 +40,7 @@ public interface ProductPriceDiscountsSetMessage extends Message { String PRODUCT_PRICE_DISCOUNTS_SET = "ProductPriceDiscountsSet"; /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessageBuilder.java index 9fc933517e1..5b40f85e3d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessageBuilder.java @@ -57,7 +57,7 @@ public class ProductPriceDiscountsSetMessageBuilder implements Builder updatedPrices; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductPriceDiscountsSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public ProductPriceDiscountsSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductPriceDiscountsSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public ProductPriceDiscountsSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductPriceDiscountsSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public ProductPriceDiscountsSetMessageBuilder createdAt(final java.time.ZonedDat } /** - * + *

    Value of createdAt.

    */ public ProductPriceDiscountsSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public ProductPriceDiscountsSetMessageBuilder lastModifiedAt(final java.time.Zon } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductPriceDiscountsSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public ProductPriceDiscountsSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductPriceDiscountsSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public ProductPriceDiscountsSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductPriceDiscountsSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public ProductPriceDiscountsSetMessageBuilder sequenceNumber(final Long sequence } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductPriceDiscountsSetMessageBuilder resource( @@ -152,7 +152,7 @@ public ProductPriceDiscountsSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductPriceDiscountsSetMessageBuilder resource( @@ -162,7 +162,7 @@ public ProductPriceDiscountsSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductPriceDiscountsSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public ProductPriceDiscountsSetMessageBuilder resourceVersion(final Long resourc } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductPriceDiscountsSetMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public ProductPriceDiscountsSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductPriceDiscountsSetMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public ProductPriceDiscountsSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessageBuilder updatedPrices( @@ -203,7 +203,7 @@ public ProductPriceDiscountsSetMessageBuilder updatedPrices( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessageBuilder updatedPrices( @@ -213,7 +213,7 @@ public ProductPriceDiscountsSetMessageBuilder updatedPrices( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessageBuilder plusUpdatedPrices( @@ -226,7 +226,7 @@ public ProductPriceDiscountsSetMessageBuilder plusUpdatedPrices( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessageBuilder plusUpdatedPrices( @@ -241,7 +241,7 @@ public ProductPriceDiscountsSetMessageBuilder plusUpdatedPrices( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessageBuilder withUpdatedPrices( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessageImpl.java index 489e50e51a8..5bc2688c233 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPriceDiscountsSetMessage + *

    Generated after a Price is updated due to a Product Discount.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPriceDiscountsSetMessageImpl implements ProductPriceDiscountsSetMessage, ModelBase { @@ -75,7 +75,7 @@ public ProductPriceDiscountsSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -83,7 +83,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -91,7 +91,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -99,7 +99,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -123,7 +123,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -131,7 +131,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -147,7 +147,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -155,7 +155,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -163,7 +163,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public java.util.List getUpdatedPrices() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayload.java index e3b06722840..4a53cefd803 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPriceDiscountsSetMessagePayload + *

    Generated after a Price is updated due to a Product Discount.

    * *
    * Example to create an instance using the builder pattern @@ -33,7 +33,7 @@ public interface ProductPriceDiscountsSetMessagePayload extends MessagePayload { String PRODUCT_PRICE_DISCOUNTS_SET = "ProductPriceDiscountsSet"; /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayloadBuilder.java index bac53475aed..08daa7d45a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class ProductPriceDiscountsSetMessagePayloadBuilder implements Builder updatedPrices; /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessagePayloadBuilder updatedPrices( @@ -35,7 +35,7 @@ public ProductPriceDiscountsSetMessagePayloadBuilder updatedPrices( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessagePayloadBuilder updatedPrices( @@ -45,7 +45,7 @@ public ProductPriceDiscountsSetMessagePayloadBuilder updatedPrices( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessagePayloadBuilder plusUpdatedPrices( @@ -58,7 +58,7 @@ public ProductPriceDiscountsSetMessagePayloadBuilder plusUpdatedPrices( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessagePayloadBuilder plusUpdatedPrices( @@ -73,7 +73,7 @@ public ProductPriceDiscountsSetMessagePayloadBuilder plusUpdatedPrices( } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public ProductPriceDiscountsSetMessagePayloadBuilder withUpdatedPrices( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayloadImpl.java index 49fbf8321bf..24e9acea970 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPriceDiscountsSetMessagePayload + *

    Generated after a Price is updated due to a Product Discount.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPriceDiscountsSetMessagePayloadImpl implements ProductPriceDiscountsSetMessagePayload, ModelBase { @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

    Array containing details about the Embedded Prices that were updated.

    */ public java.util.List getUpdatedPrices() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPrice.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPrice.java index 202ff8c6978..39d365363a8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPrice.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPrice.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPriceDiscountsSetUpdatedPrice + *

    Details about a Embedded Price that was updated due to a Discount. Specific to ProductPriceDiscountsSet Message.

    * *
    * Example to create an instance using the builder pattern @@ -34,42 +34,42 @@ public interface ProductPriceDiscountsSetUpdatedPrice { /** - * + *

    Unique identifier of the ProductVariant for which the Discount was set.

    */ @NotNull @JsonProperty("variantId") public Integer getVariantId(); /** - * + *

    Key of the ProductVariant for which Discount was set.

    */ @JsonProperty("variantKey") public String getVariantKey(); /** - * + *

    SKU of the ProductVariant for which Discount was set.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    Unique identifier of the Embedded Price.

    */ @NotNull @JsonProperty("priceId") public String getPriceId(); /** - * + *

    Discounted Price for the ProductVariant for which Discount was set.

    */ @Valid @JsonProperty("discounted") public DiscountedPrice getDiscounted(); /** - * + *

    Whether the update was only applied to the staged ProductProjection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPriceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPriceBuilder.java index 88e22d76220..2f37b363590 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPriceBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPriceBuilder.java @@ -42,7 +42,7 @@ public class ProductPriceDiscountsSetUpdatedPriceBuilder implements BuilderUnique identifier of the ProductVariant for which the Discount was set.

    */ public ProductPriceDiscountsSetUpdatedPriceBuilder variantId(final Integer variantId) { @@ -51,7 +51,7 @@ public ProductPriceDiscountsSetUpdatedPriceBuilder variantId(final Integer varia } /** - * + *

    Key of the ProductVariant for which Discount was set.

    */ public ProductPriceDiscountsSetUpdatedPriceBuilder variantKey(@Nullable final String variantKey) { @@ -60,7 +60,7 @@ public ProductPriceDiscountsSetUpdatedPriceBuilder variantKey(@Nullable final St } /** - * + *

    SKU of the ProductVariant for which Discount was set.

    */ public ProductPriceDiscountsSetUpdatedPriceBuilder sku(@Nullable final String sku) { @@ -69,7 +69,7 @@ public ProductPriceDiscountsSetUpdatedPriceBuilder sku(@Nullable final String sk } /** - * + *

    Unique identifier of the Embedded Price.

    */ public ProductPriceDiscountsSetUpdatedPriceBuilder priceId(final String priceId) { @@ -78,7 +78,7 @@ public ProductPriceDiscountsSetUpdatedPriceBuilder priceId(final String priceId) } /** - * + *

    Discounted Price for the ProductVariant for which Discount was set.

    */ public ProductPriceDiscountsSetUpdatedPriceBuilder discounted( @@ -88,7 +88,7 @@ public ProductPriceDiscountsSetUpdatedPriceBuilder discounted( } /** - * + *

    Discounted Price for the ProductVariant for which Discount was set.

    */ public ProductPriceDiscountsSetUpdatedPriceBuilder discounted( @@ -98,7 +98,7 @@ public ProductPriceDiscountsSetUpdatedPriceBuilder discounted( } /** - * + *

    Whether the update was only applied to the staged ProductProjection.

    */ public ProductPriceDiscountsSetUpdatedPriceBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPriceImpl.java index 4ec85d2ce89..94224f35a2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceDiscountsSetUpdatedPriceImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPriceDiscountsSetUpdatedPrice + *

    Details about a Embedded Price that was updated due to a Discount. Specific to ProductPriceDiscountsSet Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPriceDiscountsSetUpdatedPriceImpl implements ProductPriceDiscountsSetUpdatedPrice, ModelBase { @@ -50,7 +50,7 @@ public ProductPriceDiscountsSetUpdatedPriceImpl() { } /** - * + *

    Unique identifier of the ProductVariant for which the Discount was set.

    */ public Integer getVariantId() { @@ -58,7 +58,7 @@ public Integer getVariantId() { } /** - * + *

    Key of the ProductVariant for which Discount was set.

    */ public String getVariantKey() { @@ -66,7 +66,7 @@ public String getVariantKey() { } /** - * + *

    SKU of the ProductVariant for which Discount was set.

    */ public String getSku() { @@ -74,7 +74,7 @@ public String getSku() { } /** - * + *

    Unique identifier of the Embedded Price.

    */ public String getPriceId() { @@ -82,7 +82,7 @@ public String getPriceId() { } /** - * + *

    Discounted Price for the ProductVariant for which Discount was set.

    */ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { @@ -90,7 +90,7 @@ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { } /** - * + *

    Whether the update was only applied to the staged ProductProjection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessage.java index fab8447bdec..c9468f5b2f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPriceExternalDiscountSetMessage + *

    Generated after a successful Set Discounted Embedded Price update action.

    * *
    * Example to create an instance using the builder pattern @@ -43,42 +43,42 @@ public interface ProductPriceExternalDiscountSetMessage extends Message { String PRODUCT_PRICE_EXTERNAL_DISCOUNT_SET = "ProductPriceExternalDiscountSet"; /** - * + *

    Unique identifier of the Product Variant for which the Discount was set.

    */ @NotNull @JsonProperty("variantId") public Integer getVariantId(); /** - * + *

    Key of the Product Variant for which the Discount was set.

    */ @JsonProperty("variantKey") public String getVariantKey(); /** - * + *

    SKU of the Product Variant for which Discount was set.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    Unique identifier of the Embedded Price.

    */ @NotNull @JsonProperty("priceId") public String getPriceId(); /** - * + *

    Discounted Price for the Product Variant for which Discount was set.

    */ @Valid @JsonProperty("discounted") public DiscountedPrice getDiscounted(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessageBuilder.java index 0b6dfd50412..bf722bb919c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessageBuilder.java @@ -72,7 +72,7 @@ public class ProductPriceExternalDiscountSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductPriceExternalDiscountSetMessageBuilder id(final String id) { @@ -81,7 +81,7 @@ public ProductPriceExternalDiscountSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductPriceExternalDiscountSetMessageBuilder version(final Long version) { @@ -90,7 +90,7 @@ public ProductPriceExternalDiscountSetMessageBuilder version(final Long version) } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductPriceExternalDiscountSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -99,7 +99,7 @@ public ProductPriceExternalDiscountSetMessageBuilder createdAt(final java.time.Z } /** - * + *

    Value of createdAt.

    */ public ProductPriceExternalDiscountSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -108,7 +108,7 @@ public ProductPriceExternalDiscountSetMessageBuilder lastModifiedAt(final java.t } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductPriceExternalDiscountSetMessageBuilder lastModifiedBy( @@ -118,7 +118,7 @@ public ProductPriceExternalDiscountSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductPriceExternalDiscountSetMessageBuilder lastModifiedBy( @@ -148,7 +148,7 @@ public ProductPriceExternalDiscountSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductPriceExternalDiscountSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -157,7 +157,7 @@ public ProductPriceExternalDiscountSetMessageBuilder sequenceNumber(final Long s } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductPriceExternalDiscountSetMessageBuilder resource( @@ -167,7 +167,7 @@ public ProductPriceExternalDiscountSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductPriceExternalDiscountSetMessageBuilder resource( @@ -177,7 +177,7 @@ public ProductPriceExternalDiscountSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductPriceExternalDiscountSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -186,7 +186,7 @@ public ProductPriceExternalDiscountSetMessageBuilder resourceVersion(final Long } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductPriceExternalDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -198,7 +198,7 @@ public ProductPriceExternalDiscountSetMessageBuilder resourceUserProvidedIdentif } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductPriceExternalDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -208,7 +208,7 @@ public ProductPriceExternalDiscountSetMessageBuilder resourceUserProvidedIdentif } /** - * + *

    Unique identifier of the Product Variant for which the Discount was set.

    */ public ProductPriceExternalDiscountSetMessageBuilder variantId(final Integer variantId) { @@ -217,7 +217,7 @@ public ProductPriceExternalDiscountSetMessageBuilder variantId(final Integer var } /** - * + *

    Key of the Product Variant for which the Discount was set.

    */ public ProductPriceExternalDiscountSetMessageBuilder variantKey(@Nullable final String variantKey) { @@ -226,7 +226,7 @@ public ProductPriceExternalDiscountSetMessageBuilder variantKey(@Nullable final } /** - * + *

    SKU of the Product Variant for which Discount was set.

    */ public ProductPriceExternalDiscountSetMessageBuilder sku(@Nullable final String sku) { @@ -235,7 +235,7 @@ public ProductPriceExternalDiscountSetMessageBuilder sku(@Nullable final String } /** - * + *

    Unique identifier of the Embedded Price.

    */ public ProductPriceExternalDiscountSetMessageBuilder priceId(final String priceId) { @@ -244,7 +244,7 @@ public ProductPriceExternalDiscountSetMessageBuilder priceId(final String priceI } /** - * + *

    Discounted Price for the Product Variant for which Discount was set.

    */ public ProductPriceExternalDiscountSetMessageBuilder discounted( @@ -254,7 +254,7 @@ public ProductPriceExternalDiscountSetMessageBuilder discounted( } /** - * + *

    Discounted Price for the Product Variant for which Discount was set.

    */ public ProductPriceExternalDiscountSetMessageBuilder discounted( @@ -264,7 +264,7 @@ public ProductPriceExternalDiscountSetMessageBuilder discounted( } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductPriceExternalDiscountSetMessageBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessageImpl.java index ccd0760ecea..26a9c463800 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPriceExternalDiscountSetMessage + *

    Generated after a successful Set Discounted Embedded Price update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPriceExternalDiscountSetMessageImpl implements ProductPriceExternalDiscountSetMessage, ModelBase { @@ -93,7 +93,7 @@ public ProductPriceExternalDiscountSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -101,7 +101,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -109,7 +109,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -117,7 +117,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -125,7 +125,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -141,7 +141,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -149,7 +149,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -157,7 +157,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -165,7 +165,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -173,7 +173,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -181,7 +181,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Product Variant for which the Discount was set.

    */ public Integer getVariantId() { @@ -189,7 +189,7 @@ public Integer getVariantId() { } /** - * + *

    Key of the Product Variant for which the Discount was set.

    */ public String getVariantKey() { @@ -197,7 +197,7 @@ public String getVariantKey() { } /** - * + *

    SKU of the Product Variant for which Discount was set.

    */ public String getSku() { @@ -205,7 +205,7 @@ public String getSku() { } /** - * + *

    Unique identifier of the Embedded Price.

    */ public String getPriceId() { @@ -213,7 +213,7 @@ public String getPriceId() { } /** - * + *

    Discounted Price for the Product Variant for which Discount was set.

    */ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { @@ -221,7 +221,7 @@ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayload.java index da364fcb795..85d5ce6fb5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPriceExternalDiscountSetMessagePayload + *

    Generated after a successful Set Discounted Embedded Price update action.

    * *
    * Example to create an instance using the builder pattern @@ -36,42 +36,42 @@ public interface ProductPriceExternalDiscountSetMessagePayload extends MessagePa String PRODUCT_PRICE_EXTERNAL_DISCOUNT_SET = "ProductPriceExternalDiscountSet"; /** - * + *

    Unique identifier of the Product Variant for which the Discount was set.

    */ @NotNull @JsonProperty("variantId") public Integer getVariantId(); /** - * + *

    Key of the Product Variant for which the Discount was set.

    */ @JsonProperty("variantKey") public String getVariantKey(); /** - * + *

    SKU of the Product Variant for which Discount was set.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    Unique identifier of the Embedded Price.

    */ @NotNull @JsonProperty("priceId") public String getPriceId(); /** - * + *

    Discounted Price for the Product Variant for which Discount was set.

    */ @Valid @JsonProperty("discounted") public DiscountedPrice getDiscounted(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayloadBuilder.java index a7ab691ceda..c1d6cd5a713 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayloadBuilder.java @@ -43,7 +43,7 @@ public class ProductPriceExternalDiscountSetMessagePayloadBuilder private Boolean staged; /** - * + *

    Unique identifier of the Product Variant for which the Discount was set.

    */ public ProductPriceExternalDiscountSetMessagePayloadBuilder variantId(final Integer variantId) { @@ -52,7 +52,7 @@ public ProductPriceExternalDiscountSetMessagePayloadBuilder variantId(final Inte } /** - * + *

    Key of the Product Variant for which the Discount was set.

    */ public ProductPriceExternalDiscountSetMessagePayloadBuilder variantKey(@Nullable final String variantKey) { @@ -61,7 +61,7 @@ public ProductPriceExternalDiscountSetMessagePayloadBuilder variantKey(@Nullable } /** - * + *

    SKU of the Product Variant for which Discount was set.

    */ public ProductPriceExternalDiscountSetMessagePayloadBuilder sku(@Nullable final String sku) { @@ -70,7 +70,7 @@ public ProductPriceExternalDiscountSetMessagePayloadBuilder sku(@Nullable final } /** - * + *

    Unique identifier of the Embedded Price.

    */ public ProductPriceExternalDiscountSetMessagePayloadBuilder priceId(final String priceId) { @@ -79,7 +79,7 @@ public ProductPriceExternalDiscountSetMessagePayloadBuilder priceId(final String } /** - * + *

    Discounted Price for the Product Variant for which Discount was set.

    */ public ProductPriceExternalDiscountSetMessagePayloadBuilder discounted( @@ -89,7 +89,7 @@ public ProductPriceExternalDiscountSetMessagePayloadBuilder discounted( } /** - * + *

    Discounted Price for the Product Variant for which Discount was set.

    */ public ProductPriceExternalDiscountSetMessagePayloadBuilder discounted( @@ -99,7 +99,7 @@ public ProductPriceExternalDiscountSetMessagePayloadBuilder discounted( } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductPriceExternalDiscountSetMessagePayloadBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayloadImpl.java index 8f9803ef2b4..87392aec211 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceExternalDiscountSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPriceExternalDiscountSetMessagePayload + *

    Generated after a successful Set Discounted Embedded Price update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPriceExternalDiscountSetMessagePayloadImpl @@ -63,7 +63,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Product Variant for which the Discount was set.

    */ public Integer getVariantId() { @@ -71,7 +71,7 @@ public Integer getVariantId() { } /** - * + *

    Key of the Product Variant for which the Discount was set.

    */ public String getVariantKey() { @@ -79,7 +79,7 @@ public String getVariantKey() { } /** - * + *

    SKU of the Product Variant for which Discount was set.

    */ public String getSku() { @@ -87,7 +87,7 @@ public String getSku() { } /** - * + *

    Unique identifier of the Embedded Price.

    */ public String getPriceId() { @@ -95,7 +95,7 @@ public String getPriceId() { } /** - * + *

    Discounted Price for the Product Variant for which Discount was set.

    */ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { @@ -103,7 +103,7 @@ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessage.java index 137fcc76e54..79de3b863aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPublishedMessage + *

    Generated after a successful Publish update action.

    * *
    * Example to create an instance using the builder pattern @@ -44,14 +44,14 @@ public interface ProductPublishedMessage extends Message { String PRODUCT_PUBLISHED = "ProductPublished"; /** - * + *

    List of image URLs which were removed during the Publish update action.

    */ @NotNull @JsonProperty("removedImageUrls") public List getRemovedImageUrls(); /** - * + *

    Current Product Projection of the Product at the time of creation.

    */ @NotNull @Valid @@ -59,7 +59,7 @@ public interface ProductPublishedMessage extends Message { public ProductProjection getProductProjection(); /** - * + *

    Publishing Scope that was used during the Publish update action.

    */ @NotNull @JsonProperty("scope") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessageBuilder.java index cb4fc00511c..3af94aeff46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessageBuilder.java @@ -63,7 +63,7 @@ public class ProductPublishedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductPublishedMessageBuilder id(final String id) { @@ -72,7 +72,7 @@ public ProductPublishedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductPublishedMessageBuilder version(final Long version) { @@ -81,7 +81,7 @@ public ProductPublishedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductPublishedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +90,7 @@ public ProductPublishedMessageBuilder createdAt(final java.time.ZonedDateTime cr } /** - * + *

    Value of createdAt.

    */ public ProductPublishedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +99,7 @@ public ProductPublishedMessageBuilder lastModifiedAt(final java.time.ZonedDateTi } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductPublishedMessageBuilder lastModifiedBy( @@ -109,7 +109,7 @@ public ProductPublishedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductPublishedMessageBuilder lastModifiedBy( @@ -139,7 +139,7 @@ public ProductPublishedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductPublishedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +148,7 @@ public ProductPublishedMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductPublishedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -157,7 +157,7 @@ public ProductPublishedMessageBuilder resource(final com.commercetools.api.model } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductPublishedMessageBuilder resource( @@ -167,7 +167,7 @@ public ProductPublishedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductPublishedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -176,7 +176,7 @@ public ProductPublishedMessageBuilder resourceVersion(final Long resourceVersion } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductPublishedMessageBuilder resourceUserProvidedIdentifiers( @@ -188,7 +188,7 @@ public ProductPublishedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductPublishedMessageBuilder resourceUserProvidedIdentifiers( @@ -198,7 +198,7 @@ public ProductPublishedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    List of image URLs which were removed during the Publish update action.

    */ public ProductPublishedMessageBuilder removedImageUrls(final String... removedImageUrls) { @@ -207,7 +207,7 @@ public ProductPublishedMessageBuilder removedImageUrls(final String... removedIm } /** - * + *

    List of image URLs which were removed during the Publish update action.

    */ public ProductPublishedMessageBuilder removedImageUrls(final java.util.List removedImageUrls) { @@ -216,7 +216,7 @@ public ProductPublishedMessageBuilder removedImageUrls(final java.util.ListList of image URLs which were removed during the Publish update action.

    */ public ProductPublishedMessageBuilder plusRemovedImageUrls(final String... removedImageUrls) { @@ -228,7 +228,7 @@ public ProductPublishedMessageBuilder plusRemovedImageUrls(final String... remov } /** - * + *

    Current Product Projection of the Product at the time of creation.

    */ public ProductPublishedMessageBuilder productProjection( @@ -239,7 +239,7 @@ public ProductPublishedMessageBuilder productProjection( } /** - * + *

    Current Product Projection of the Product at the time of creation.

    */ public ProductPublishedMessageBuilder productProjection( @@ -249,7 +249,7 @@ public ProductPublishedMessageBuilder productProjection( } /** - * + *

    Publishing Scope that was used during the Publish update action.

    */ public ProductPublishedMessageBuilder scope(final com.commercetools.api.models.cart.ProductPublishScope scope) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessageImpl.java index 133154cf514..348e9e7f926 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPublishedMessage + *

    Generated after a successful Publish update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPublishedMessageImpl implements ProductPublishedMessage, ModelBase { @@ -82,7 +82,7 @@ public ProductPublishedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -90,7 +90,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -98,7 +98,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -114,7 +114,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -130,7 +130,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -138,7 +138,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -146,7 +146,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -154,7 +154,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -162,7 +162,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -170,7 +170,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    List of image URLs which were removed during the Publish update action.

    */ public java.util.List getRemovedImageUrls() { @@ -178,7 +178,7 @@ public java.util.List getRemovedImageUrls() { } /** - * + *

    Current Product Projection of the Product at the time of creation.

    */ public com.commercetools.api.models.product.ProductProjection getProductProjection() { @@ -186,7 +186,7 @@ public com.commercetools.api.models.product.ProductProjection getProductProjecti } /** - * + *

    Publishing Scope that was used during the Publish update action.

    */ public com.commercetools.api.models.cart.ProductPublishScope getScope() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayload.java index f962a0372d8..f110216ce7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPublishedMessagePayload + *

    Generated after a successful Publish update action.

    * *
    * Example to create an instance using the builder pattern @@ -37,14 +37,14 @@ public interface ProductPublishedMessagePayload extends MessagePayload { String PRODUCT_PUBLISHED = "ProductPublished"; /** - * + *

    List of image URLs which were removed during the Publish update action.

    */ @NotNull @JsonProperty("removedImageUrls") public List getRemovedImageUrls(); /** - * + *

    Current Product Projection of the Product at the time of creation.

    */ @NotNull @Valid @@ -52,7 +52,7 @@ public interface ProductPublishedMessagePayload extends MessagePayload { public ProductProjection getProductProjection(); /** - * + *

    Publishing Scope that was used during the Publish update action.

    */ @NotNull @JsonProperty("scope") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayloadBuilder.java index ec6415a5449..c20c7754230 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayloadBuilder.java @@ -31,7 +31,7 @@ public class ProductPublishedMessagePayloadBuilder implements BuilderList of image URLs which were removed during the Publish update action.

    */ public ProductPublishedMessagePayloadBuilder removedImageUrls(final String... removedImageUrls) { @@ -40,7 +40,7 @@ public ProductPublishedMessagePayloadBuilder removedImageUrls(final String... re } /** - * + *

    List of image URLs which were removed during the Publish update action.

    */ public ProductPublishedMessagePayloadBuilder removedImageUrls(final java.util.List removedImageUrls) { @@ -49,7 +49,7 @@ public ProductPublishedMessagePayloadBuilder removedImageUrls(final java.util.Li } /** - * + *

    List of image URLs which were removed during the Publish update action.

    */ public ProductPublishedMessagePayloadBuilder plusRemovedImageUrls(final String... removedImageUrls) { @@ -61,7 +61,7 @@ public ProductPublishedMessagePayloadBuilder plusRemovedImageUrls(final String.. } /** - * + *

    Current Product Projection of the Product at the time of creation.

    */ public ProductPublishedMessagePayloadBuilder productProjection( @@ -72,7 +72,7 @@ public ProductPublishedMessagePayloadBuilder productProjection( } /** - * + *

    Current Product Projection of the Product at the time of creation.

    */ public ProductPublishedMessagePayloadBuilder productProjection( @@ -82,7 +82,7 @@ public ProductPublishedMessagePayloadBuilder productProjection( } /** - * + *

    Publishing Scope that was used during the Publish update action.

    */ public ProductPublishedMessagePayloadBuilder scope( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayloadImpl.java index f923b97815d..648108d5625 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPublishedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPublishedMessagePayload + *

    Generated after a successful Publish update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPublishedMessagePayloadImpl implements ProductPublishedMessagePayload, ModelBase { @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

    List of image URLs which were removed during the Publish update action.

    */ public java.util.List getRemovedImageUrls() { @@ -59,7 +59,7 @@ public java.util.List getRemovedImageUrls() { } /** - * + *

    Current Product Projection of the Product at the time of creation.

    */ public com.commercetools.api.models.product.ProductProjection getProductProjection() { @@ -67,7 +67,7 @@ public com.commercetools.api.models.product.ProductProjection getProductProjecti } /** - * + *

    Publishing Scope that was used during the Publish update action.

    */ public com.commercetools.api.models.cart.ProductPublishScope getScope() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessage.java index 4953af13989..bfc99f29331 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRemovedFromCategoryMessage + *

    Generated after a successful Remove From Category update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface ProductRemovedFromCategoryMessage extends Message { String PRODUCT_REMOVED_FROM_CATEGORY = "ProductRemovedFromCategory"; /** - *

    Reference to a Category.

    + *

    Category the Product was removed from.

    */ @NotNull @Valid @@ -50,7 +50,7 @@ public interface ProductRemovedFromCategoryMessage extends Message { public CategoryReference getCategory(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessageBuilder.java index b43efb60a66..3f26087fecc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessageBuilder.java @@ -60,7 +60,7 @@ public class ProductRemovedFromCategoryMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductRemovedFromCategoryMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public ProductRemovedFromCategoryMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductRemovedFromCategoryMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public ProductRemovedFromCategoryMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductRemovedFromCategoryMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public ProductRemovedFromCategoryMessageBuilder createdAt(final java.time.ZonedD } /** - * + *

    Value of createdAt.

    */ public ProductRemovedFromCategoryMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public ProductRemovedFromCategoryMessageBuilder lastModifiedAt(final java.time.Z } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductRemovedFromCategoryMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public ProductRemovedFromCategoryMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductRemovedFromCategoryMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public ProductRemovedFromCategoryMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductRemovedFromCategoryMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public ProductRemovedFromCategoryMessageBuilder sequenceNumber(final Long sequen } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductRemovedFromCategoryMessageBuilder resource( @@ -155,7 +155,7 @@ public ProductRemovedFromCategoryMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductRemovedFromCategoryMessageBuilder resource( @@ -165,7 +165,7 @@ public ProductRemovedFromCategoryMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductRemovedFromCategoryMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public ProductRemovedFromCategoryMessageBuilder resourceVersion(final Long resou } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductRemovedFromCategoryMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public ProductRemovedFromCategoryMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductRemovedFromCategoryMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public ProductRemovedFromCategoryMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Reference to a Category.

    + *

    Category the Product was removed from.

    */ public ProductRemovedFromCategoryMessageBuilder category( @@ -206,7 +206,7 @@ public ProductRemovedFromCategoryMessageBuilder category( } /** - *

    Reference to a Category.

    + *

    Category the Product was removed from.

    */ public ProductRemovedFromCategoryMessageBuilder category( @@ -216,7 +216,7 @@ public ProductRemovedFromCategoryMessageBuilder category( } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductRemovedFromCategoryMessageBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessageImpl.java index f7e0af0b292..4314bafbe85 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRemovedFromCategoryMessage + *

    Generated after a successful Remove From Category update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRemovedFromCategoryMessageImpl implements ProductRemovedFromCategoryMessage, ModelBase { @@ -79,7 +79,7 @@ public ProductRemovedFromCategoryMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a Category.

    + *

    Category the Product was removed from.

    */ public com.commercetools.api.models.category.CategoryReference getCategory() { @@ -175,7 +175,7 @@ public com.commercetools.api.models.category.CategoryReference getCategory() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayload.java index c9bcc8ca98b..80f930c5c94 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRemovedFromCategoryMessagePayload + *

    Generated after a successful Remove From Category update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ProductRemovedFromCategoryMessagePayload extends MessagePayload String PRODUCT_REMOVED_FROM_CATEGORY = "ProductRemovedFromCategory"; /** - *

    Reference to a Category.

    + *

    Category the Product was removed from.

    */ @NotNull @Valid @@ -43,7 +43,7 @@ public interface ProductRemovedFromCategoryMessagePayload extends MessagePayload public CategoryReference getCategory(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayloadBuilder.java index be5512e027f..e372106c515 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayloadBuilder.java @@ -29,7 +29,7 @@ public class ProductRemovedFromCategoryMessagePayloadBuilder private Boolean staged; /** - *

    Reference to a Category.

    + *

    Category the Product was removed from.

    */ public ProductRemovedFromCategoryMessagePayloadBuilder category( @@ -39,7 +39,7 @@ public ProductRemovedFromCategoryMessagePayloadBuilder category( } /** - *

    Reference to a Category.

    + *

    Category the Product was removed from.

    */ public ProductRemovedFromCategoryMessagePayloadBuilder category( @@ -49,7 +49,7 @@ public ProductRemovedFromCategoryMessagePayloadBuilder category( } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductRemovedFromCategoryMessagePayloadBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayloadImpl.java index cafa0d551de..f9555bc18d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRemovedFromCategoryMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRemovedFromCategoryMessagePayload + *

    Generated after a successful Remove From Category update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRemovedFromCategoryMessagePayloadImpl @@ -49,7 +49,7 @@ public String getType() { } /** - *

    Reference to a Category.

    + *

    Category the Product was removed from.

    */ public com.commercetools.api.models.category.CategoryReference getCategory() { @@ -57,7 +57,7 @@ public com.commercetools.api.models.category.CategoryReference getCategory() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessage.java index 4f3c7029549..57fa18b137b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessage.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRevertedStagedChangesMessage + *

    Generated after a successful Revert Staged Changes update action.

    * *
    * Example to create an instance using the builder pattern @@ -39,7 +39,7 @@ public interface ProductRevertedStagedChangesMessage extends Message { String PRODUCT_REVERTED_STAGED_CHANGES = "ProductRevertedStagedChanges"; /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ @NotNull @JsonProperty("removedImageUrls") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessageBuilder.java index 819595ea7f4..a8969b2aa5b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessageBuilder.java @@ -57,7 +57,7 @@ public class ProductRevertedStagedChangesMessageBuilder implements Builder removedImageUrls; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductRevertedStagedChangesMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public ProductRevertedStagedChangesMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductRevertedStagedChangesMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public ProductRevertedStagedChangesMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductRevertedStagedChangesMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public ProductRevertedStagedChangesMessageBuilder createdAt(final java.time.Zone } /** - * + *

    Value of createdAt.

    */ public ProductRevertedStagedChangesMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public ProductRevertedStagedChangesMessageBuilder lastModifiedAt(final java.time } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductRevertedStagedChangesMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public ProductRevertedStagedChangesMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductRevertedStagedChangesMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public ProductRevertedStagedChangesMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductRevertedStagedChangesMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public ProductRevertedStagedChangesMessageBuilder sequenceNumber(final Long sequ } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductRevertedStagedChangesMessageBuilder resource( @@ -152,7 +152,7 @@ public ProductRevertedStagedChangesMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductRevertedStagedChangesMessageBuilder resource( @@ -162,7 +162,7 @@ public ProductRevertedStagedChangesMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductRevertedStagedChangesMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public ProductRevertedStagedChangesMessageBuilder resourceVersion(final Long res } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductRevertedStagedChangesMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public ProductRevertedStagedChangesMessageBuilder resourceUserProvidedIdentifier } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductRevertedStagedChangesMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public ProductRevertedStagedChangesMessageBuilder resourceUserProvidedIdentifier } /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ public ProductRevertedStagedChangesMessageBuilder removedImageUrls(final String... removedImageUrls) { @@ -202,7 +202,7 @@ public ProductRevertedStagedChangesMessageBuilder removedImageUrls(final String. } /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ public ProductRevertedStagedChangesMessageBuilder removedImageUrls(final java.util.List removedImageUrls) { @@ -211,7 +211,7 @@ public ProductRevertedStagedChangesMessageBuilder removedImageUrls(final java.ut } /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ public ProductRevertedStagedChangesMessageBuilder plusRemovedImageUrls(final String... removedImageUrls) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessageImpl.java index 44ae971ef25..2348edf93e6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRevertedStagedChangesMessage + *

    Generated after a successful Revert Staged Changes update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRevertedStagedChangesMessageImpl implements ProductRevertedStagedChangesMessage, ModelBase { @@ -75,7 +75,7 @@ public ProductRevertedStagedChangesMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -83,7 +83,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -91,7 +91,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -99,7 +99,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -123,7 +123,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -131,7 +131,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -147,7 +147,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -155,7 +155,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -163,7 +163,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ public java.util.List getRemovedImageUrls() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayload.java index 65687b58ee7..a57850d4d1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayload.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRevertedStagedChangesMessagePayload + *

    Generated after a successful Revert Staged Changes update action.

    * *
    * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface ProductRevertedStagedChangesMessagePayload extends MessagePaylo String PRODUCT_REVERTED_STAGED_CHANGES = "ProductRevertedStagedChanges"; /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ @NotNull @JsonProperty("removedImageUrls") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayloadBuilder.java index ff474eb7a16..b11cf4dd0b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class ProductRevertedStagedChangesMessagePayloadBuilder private java.util.List removedImageUrls; /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ public ProductRevertedStagedChangesMessagePayloadBuilder removedImageUrls(final String... removedImageUrls) { @@ -34,7 +34,7 @@ public ProductRevertedStagedChangesMessagePayloadBuilder removedImageUrls(final } /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ public ProductRevertedStagedChangesMessagePayloadBuilder removedImageUrls( @@ -44,7 +44,7 @@ public ProductRevertedStagedChangesMessagePayloadBuilder removedImageUrls( } /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ public ProductRevertedStagedChangesMessagePayloadBuilder plusRemovedImageUrls(final String... removedImageUrls) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayloadImpl.java index 266b974428d..83158a571ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductRevertedStagedChangesMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRevertedStagedChangesMessagePayload + *

    Generated after a successful Revert Staged Changes update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRevertedStagedChangesMessagePayloadImpl @@ -45,7 +45,7 @@ public String getType() { } /** - * + *

    List of image URLs that were removed during the Revert Staged Changes update action.

    */ public java.util.List getRemovedImageUrls() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessage.java index 24e430dea08..5d273168fb0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessage.java @@ -8,14 +8,14 @@ import javax.validation.Valid; import javax.validation.constraints.NotNull; -import com.commercetools.api.models.product_selection.ProductSelectionType; +import com.commercetools.api.models.product_selection.IndividualProductSelectionType; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionCreatedMessage + *

    Generated after a successful Create Product Selection request.

    * *
    * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface ProductSelectionCreatedMessage extends Message { String PRODUCT_SELECTION_CREATED = "ProductSelectionCreated"; /** - * + *

    The type and name of the individual Product Selection.

    */ @NotNull @Valid @JsonProperty("productSelection") - public ProductSelectionType getProductSelection(); + public IndividualProductSelectionType getProductSelection(); - public void setProductSelection(final ProductSelectionType productSelection); + public void setProductSelection(final IndividualProductSelectionType productSelection); public static ProductSelectionCreatedMessage of() { return new ProductSelectionCreatedMessageImpl(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessageBuilder.java index 84f3eef284f..16eae6d965b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessageBuilder.java @@ -54,10 +54,10 @@ public class ProductSelectionCreatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductSelectionCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public ProductSelectionCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductSelectionCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public ProductSelectionCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductSelectionCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public ProductSelectionCreatedMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *

    Value of createdAt.

    */ public ProductSelectionCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public ProductSelectionCreatedMessageBuilder lastModifiedAt(final java.time.Zone } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public ProductSelectionCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public ProductSelectionCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductSelectionCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public ProductSelectionCreatedMessageBuilder sequenceNumber(final Long sequenceN } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionCreatedMessageBuilder resource( @@ -152,7 +152,7 @@ public ProductSelectionCreatedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionCreatedMessageBuilder resource( @@ -162,7 +162,7 @@ public ProductSelectionCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductSelectionCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public ProductSelectionCreatedMessageBuilder resourceVersion(final Long resource } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public ProductSelectionCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -193,24 +193,24 @@ public ProductSelectionCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    The type and name of the individual Product Selection.

    */ public ProductSelectionCreatedMessageBuilder productSelection( - final com.commercetools.api.models.product_selection.ProductSelectionType productSelection) { - this.productSelection = productSelection; + Function builder) { + this.productSelection = builder + .apply(com.commercetools.api.models.product_selection.IndividualProductSelectionTypeBuilder.of()) + .build(); return this; } /** - * + *

    The type and name of the individual Product Selection.

    */ public ProductSelectionCreatedMessageBuilder productSelection( - Function> builder) { - this.productSelection = builder - .apply(com.commercetools.api.models.product_selection.ProductSelectionTypeBuilder.of()) - .build(); + final com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection) { + this.productSelection = productSelection; return this; } @@ -257,7 +257,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } - public com.commercetools.api.models.product_selection.ProductSelectionType getProductSelection() { + public com.commercetools.api.models.product_selection.IndividualProductSelectionType getProductSelection() { return this.productSelection; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessageImpl.java index 30ada566328..739607676ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionCreatedMessage + *

    Generated after a successful Create Product Selection request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionCreatedMessageImpl implements ProductSelectionCreatedMessage, ModelBase { @@ -42,7 +42,7 @@ public class ProductSelectionCreatedMessageImpl implements ProductSelectionCreat private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; - private com.commercetools.api.models.product_selection.ProductSelectionType productSelection; + private com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection; @JsonCreator ProductSelectionCreatedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @@ -54,7 +54,7 @@ public class ProductSelectionCreatedMessageImpl implements ProductSelectionCreat @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, - @JsonProperty("productSelection") final com.commercetools.api.models.product_selection.ProductSelectionType productSelection) { + @JsonProperty("productSelection") final com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -74,7 +74,7 @@ public ProductSelectionCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,10 +162,10 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    The type and name of the individual Product Selection.

    */ - public com.commercetools.api.models.product_selection.ProductSelectionType getProductSelection() { + public com.commercetools.api.models.product_selection.IndividualProductSelectionType getProductSelection() { return this.productSelection; } @@ -211,7 +211,7 @@ public void setResourceUserProvidedIdentifiers( } public void setProductSelection( - final com.commercetools.api.models.product_selection.ProductSelectionType productSelection) { + final com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection) { this.productSelection = productSelection; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayload.java index 084dd5969a6..22df47f823b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayload.java @@ -8,14 +8,14 @@ import javax.validation.Valid; import javax.validation.constraints.NotNull; -import com.commercetools.api.models.product_selection.ProductSelectionType; +import com.commercetools.api.models.product_selection.IndividualProductSelectionType; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionCreatedMessagePayload + *

    Generated after a successful Create Product Selection request.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface ProductSelectionCreatedMessagePayload extends MessagePayload { String PRODUCT_SELECTION_CREATED = "ProductSelectionCreated"; /** - * + *

    The type and name of the individual Product Selection.

    */ @NotNull @Valid @JsonProperty("productSelection") - public ProductSelectionType getProductSelection(); + public IndividualProductSelectionType getProductSelection(); - public void setProductSelection(final ProductSelectionType productSelection); + public void setProductSelection(final IndividualProductSelectionType productSelection); public static ProductSelectionCreatedMessagePayload of() { return new ProductSelectionCreatedMessagePayloadImpl(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayloadBuilder.java index 6a37e90335d..4bd4c91a355 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayloadBuilder.java @@ -22,31 +22,31 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionCreatedMessagePayloadBuilder implements Builder { - private com.commercetools.api.models.product_selection.ProductSelectionType productSelection; + private com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection; /** - * + *

    The type and name of the individual Product Selection.

    */ public ProductSelectionCreatedMessagePayloadBuilder productSelection( - final com.commercetools.api.models.product_selection.ProductSelectionType productSelection) { - this.productSelection = productSelection; + Function builder) { + this.productSelection = builder + .apply(com.commercetools.api.models.product_selection.IndividualProductSelectionTypeBuilder.of()) + .build(); return this; } /** - * + *

    The type and name of the individual Product Selection.

    */ public ProductSelectionCreatedMessagePayloadBuilder productSelection( - Function> builder) { - this.productSelection = builder - .apply(com.commercetools.api.models.product_selection.ProductSelectionTypeBuilder.of()) - .build(); + final com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection) { + this.productSelection = productSelection; return this; } - public com.commercetools.api.models.product_selection.ProductSelectionType getProductSelection() { + public com.commercetools.api.models.product_selection.IndividualProductSelectionType getProductSelection() { return this.productSelection; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayloadImpl.java index fe245bc895f..8fe790f6dea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionCreatedMessagePayloadImpl.java @@ -15,18 +15,18 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionCreatedMessagePayload + *

    Generated after a successful Create Product Selection request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionCreatedMessagePayloadImpl implements ProductSelectionCreatedMessagePayload, ModelBase { private String type; - private com.commercetools.api.models.product_selection.ProductSelectionType productSelection; + private com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection; @JsonCreator ProductSelectionCreatedMessagePayloadImpl( - @JsonProperty("productSelection") final com.commercetools.api.models.product_selection.ProductSelectionType productSelection) { + @JsonProperty("productSelection") final com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection) { this.productSelection = productSelection; this.type = PRODUCT_SELECTION_CREATED; } @@ -44,15 +44,15 @@ public String getType() { } /** - * + *

    The type and name of the individual Product Selection.

    */ - public com.commercetools.api.models.product_selection.ProductSelectionType getProductSelection() { + public com.commercetools.api.models.product_selection.IndividualProductSelectionType getProductSelection() { return this.productSelection; } public void setProductSelection( - final com.commercetools.api.models.product_selection.ProductSelectionType productSelection) { + final com.commercetools.api.models.product_selection.IndividualProductSelectionType productSelection) { this.productSelection = productSelection; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessage.java index 42138f4f74b..b1993a06c3b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessage.java @@ -5,17 +5,13 @@ import java.util.*; import java.util.function.Function; -import javax.validation.Valid; -import javax.validation.constraints.NotNull; - -import com.commercetools.api.models.common.LocalizedString; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionDeletedMessage + *

    Generated after a successful Delete Product Selection request.

    * *
    * Example to create an instance using the builder pattern @@ -29,7 +25,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .name(nameBuilder -> nameBuilder) * .build() * * @@ -40,16 +35,6 @@ public interface ProductSelectionDeletedMessage extends Message { String PRODUCT_SELECTION_DELETED = "ProductSelectionDeleted"; - /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    - */ - @NotNull - @Valid - @JsonProperty("name") - public LocalizedString getName(); - - public void setName(final LocalizedString name); - public static ProductSelectionDeletedMessage of() { return new ProductSelectionDeletedMessageImpl(); } @@ -66,7 +51,6 @@ public static ProductSelectionDeletedMessage of(final ProductSelectionDeletedMes instance.setResource(template.getResource()); instance.setResourceVersion(template.getResourceVersion()); instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); - instance.setName(template.getName()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessageBuilder.java index 303d17f79c2..ae26fafffef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessageBuilder.java @@ -23,7 +23,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .name(nameBuilder -> nameBuilder) * .build() * * @@ -54,10 +53,8 @@ public class ProductSelectionDeletedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductSelectionDeletedMessageBuilder id(final String id) { @@ -66,7 +63,7 @@ public ProductSelectionDeletedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductSelectionDeletedMessageBuilder version(final Long version) { @@ -75,7 +72,7 @@ public ProductSelectionDeletedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductSelectionDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +81,7 @@ public ProductSelectionDeletedMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *

    Value of createdAt.

    */ public ProductSelectionDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +90,7 @@ public ProductSelectionDeletedMessageBuilder lastModifiedAt(final java.time.Zone } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionDeletedMessageBuilder lastModifiedBy( @@ -103,7 +100,7 @@ public ProductSelectionDeletedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionDeletedMessageBuilder lastModifiedBy( @@ -133,7 +130,7 @@ public ProductSelectionDeletedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductSelectionDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +139,7 @@ public ProductSelectionDeletedMessageBuilder sequenceNumber(final Long sequenceN } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionDeletedMessageBuilder resource( @@ -152,7 +149,7 @@ public ProductSelectionDeletedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionDeletedMessageBuilder resource( @@ -162,7 +159,7 @@ public ProductSelectionDeletedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductSelectionDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +168,7 @@ public ProductSelectionDeletedMessageBuilder resourceVersion(final Long resource } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +180,7 @@ public ProductSelectionDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,25 +189,6 @@ public ProductSelectionDeletedMessageBuilder resourceUserProvidedIdentifiers( return this; } - /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    - */ - - public ProductSelectionDeletedMessageBuilder name( - Function builder) { - this.name = builder.apply(com.commercetools.api.models.common.LocalizedStringBuilder.of()).build(); - return this; - } - - /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    - */ - - public ProductSelectionDeletedMessageBuilder name(final com.commercetools.api.models.common.LocalizedString name) { - this.name = name; - return this; - } - public String getId() { return this.id; } @@ -254,10 +232,6 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } - public com.commercetools.api.models.common.LocalizedString getName() { - return this.name; - } - public ProductSelectionDeletedMessage build() { Objects.requireNonNull(id, ProductSelectionDeletedMessage.class + ": id is missing"); Objects.requireNonNull(version, ProductSelectionDeletedMessage.class + ": version is missing"); @@ -266,9 +240,8 @@ public ProductSelectionDeletedMessage build() { Objects.requireNonNull(sequenceNumber, ProductSelectionDeletedMessage.class + ": sequenceNumber is missing"); Objects.requireNonNull(resource, ProductSelectionDeletedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, ProductSelectionDeletedMessage.class + ": resourceVersion is missing"); - Objects.requireNonNull(name, ProductSelectionDeletedMessage.class + ": name is missing"); return new ProductSelectionDeletedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, name); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers); } /** @@ -276,7 +249,7 @@ public ProductSelectionDeletedMessage build() { */ public ProductSelectionDeletedMessage buildUnchecked() { return new ProductSelectionDeletedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, name); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers); } public static ProductSelectionDeletedMessageBuilder of() { @@ -295,7 +268,6 @@ public static ProductSelectionDeletedMessageBuilder of(final ProductSelectionDel builder.resource = template.getResource(); builder.resourceVersion = template.getResourceVersion(); builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); - builder.name = template.getName(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessageImpl.java index c3b7571be5c..949c1c9773a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionDeletedMessage + *

    Generated after a successful Delete Product Selection request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionDeletedMessageImpl implements ProductSelectionDeletedMessage, ModelBase { @@ -42,8 +42,6 @@ public class ProductSelectionDeletedMessageImpl implements ProductSelectionDelet private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; - private com.commercetools.api.models.common.LocalizedString name; - @JsonCreator ProductSelectionDeletedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -53,8 +51,7 @@ public class ProductSelectionDeletedMessageImpl implements ProductSelectionDelet @JsonProperty("sequenceNumber") final Long sequenceNumber, @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, - @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, - @JsonProperty("name") final com.commercetools.api.models.common.LocalizedString name) { + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -65,7 +62,6 @@ public class ProductSelectionDeletedMessageImpl implements ProductSelectionDelet this.resource = resource; this.resourceVersion = resourceVersion; this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; - this.name = name; this.type = PRODUCT_SELECTION_DELETED; } @@ -74,7 +70,7 @@ public ProductSelectionDeletedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +78,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +86,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,21 +150,13 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { return this.resourceUserProvidedIdentifiers; } - /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    - */ - - public com.commercetools.api.models.common.LocalizedString getName() { - return this.name; - } - public void setId(final String id) { this.id = id; } @@ -210,10 +198,6 @@ public void setResourceUserProvidedIdentifiers( this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; } - public void setName(final com.commercetools.api.models.common.LocalizedString name) { - this.name = name; - } - @Override public boolean equals(Object o) { if (this == o) @@ -235,7 +219,6 @@ public boolean equals(Object o) { .append(resourceVersion, that.resourceVersion) .append(type, that.type) .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) - .append(name, that.name) .isEquals(); } @@ -252,7 +235,6 @@ public int hashCode() { .append(resourceVersion) .append(type) .append(resourceUserProvidedIdentifiers) - .append(name) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayload.java index c75fac21904..8c7ead8609e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayload.java @@ -5,24 +5,19 @@ import java.util.*; import java.util.function.Function; -import javax.validation.Valid; -import javax.validation.constraints.NotNull; - -import com.commercetools.api.models.common.LocalizedString; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionDeletedMessagePayload + *

    Generated after a successful Delete Product Selection request.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     ProductSelectionDeletedMessagePayload productSelectionDeletedMessagePayload = ProductSelectionDeletedMessagePayload.builder()
    - *             .name(nameBuilder -> nameBuilder)
      *             .build()
      * 
    *
    @@ -33,23 +28,12 @@ public interface ProductSelectionDeletedMessagePayload extends MessagePayload { String PRODUCT_SELECTION_DELETED = "ProductSelectionDeleted"; - /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    - */ - @NotNull - @Valid - @JsonProperty("name") - public LocalizedString getName(); - - public void setName(final LocalizedString name); - public static ProductSelectionDeletedMessagePayload of() { return new ProductSelectionDeletedMessagePayloadImpl(); } public static ProductSelectionDeletedMessagePayload of(final ProductSelectionDeletedMessagePayload template) { ProductSelectionDeletedMessagePayloadImpl instance = new ProductSelectionDeletedMessagePayloadImpl(); - instance.setName(template.getName()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayloadBuilder.java index 3fbd0fa84a6..c3104112e63 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayloadBuilder.java @@ -2,7 +2,6 @@ package com.commercetools.api.models.message; import java.util.*; -import java.util.function.Function; import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -14,7 +13,6 @@ *
    *
    
      *     ProductSelectionDeletedMessagePayload productSelectionDeletedMessagePayload = ProductSelectionDeletedMessagePayload.builder()
    - *             .name(nameBuilder -> nameBuilder)
      *             .build()
      * 
    *
    @@ -22,42 +20,15 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionDeletedMessagePayloadBuilder implements Builder { - private com.commercetools.api.models.common.LocalizedString name; - - /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    - */ - - public ProductSelectionDeletedMessagePayloadBuilder name( - Function builder) { - this.name = builder.apply(com.commercetools.api.models.common.LocalizedStringBuilder.of()).build(); - return this; - } - - /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    - */ - - public ProductSelectionDeletedMessagePayloadBuilder name( - final com.commercetools.api.models.common.LocalizedString name) { - this.name = name; - return this; - } - - public com.commercetools.api.models.common.LocalizedString getName() { - return this.name; - } - public ProductSelectionDeletedMessagePayload build() { - Objects.requireNonNull(name, ProductSelectionDeletedMessagePayload.class + ": name is missing"); - return new ProductSelectionDeletedMessagePayloadImpl(name); + return new ProductSelectionDeletedMessagePayloadImpl(); } /** * builds ProductSelectionDeletedMessagePayload without checking for non null required values */ public ProductSelectionDeletedMessagePayload buildUnchecked() { - return new ProductSelectionDeletedMessagePayloadImpl(name); + return new ProductSelectionDeletedMessagePayloadImpl(); } public static ProductSelectionDeletedMessagePayloadBuilder of() { @@ -67,7 +38,6 @@ public static ProductSelectionDeletedMessagePayloadBuilder of() { public static ProductSelectionDeletedMessagePayloadBuilder of( final ProductSelectionDeletedMessagePayload template) { ProductSelectionDeletedMessagePayloadBuilder builder = new ProductSelectionDeletedMessagePayloadBuilder(); - builder.name = template.getName(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayloadImpl.java index cea2bfd0773..c2be29064f8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionDeletedMessagePayloadImpl.java @@ -5,7 +5,6 @@ import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.ModelBase; @@ -15,23 +14,15 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionDeletedMessagePayload + *

    Generated after a successful Delete Product Selection request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionDeletedMessagePayloadImpl implements ProductSelectionDeletedMessagePayload, ModelBase { private String type; - private com.commercetools.api.models.common.LocalizedString name; - @JsonCreator - ProductSelectionDeletedMessagePayloadImpl( - @JsonProperty("name") final com.commercetools.api.models.common.LocalizedString name) { - this.name = name; - this.type = PRODUCT_SELECTION_DELETED; - } - - public ProductSelectionDeletedMessagePayloadImpl() { + ProductSelectionDeletedMessagePayloadImpl() { this.type = PRODUCT_SELECTION_DELETED; } @@ -43,18 +34,6 @@ public String getType() { return this.type; } - /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    - */ - - public com.commercetools.api.models.common.LocalizedString getName() { - return this.name; - } - - public void setName(final com.commercetools.api.models.common.LocalizedString name) { - this.name = name; - } - @Override public boolean equals(Object o) { if (this == o) @@ -65,12 +44,12 @@ public boolean equals(Object o) { ProductSelectionDeletedMessagePayloadImpl that = (ProductSelectionDeletedMessagePayloadImpl) o; - return new EqualsBuilder().append(type, that.type).append(name, that.name).isEquals(); + return new EqualsBuilder().append(type, that.type).isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); + return new HashCodeBuilder(17, 37).append(type).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessage.java index 4fc4da493c8..882ec959b96 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionProductAddedMessage + *

    Generated after a successful Add Product update action.

    * *
    * Example to create an instance using the builder pattern @@ -31,6 +31,7 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .product(productBuilder -> productBuilder) + * .variantSelection(variantSelectionBuilder -> variantSelectionBuilder) * .build() * * @@ -42,7 +43,7 @@ public interface ProductSelectionProductAddedMessage extends Message { String PRODUCT_SELECTION_PRODUCT_ADDED = "ProductSelectionProductAdded"; /** - *

    Reference to a Product.

    + *

    Product that was added to the Product Selection.

    */ @NotNull @Valid @@ -50,8 +51,9 @@ public interface ProductSelectionProductAddedMessage extends Message { public ProductReference getProduct(); /** - *

    Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

    + *

    Product Variant Selection after the Add Product update action.

    */ + @NotNull @Valid @JsonProperty("variantSelection") public ProductVariantSelection getVariantSelection(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessageBuilder.java index d508f7fe358..5ddb267f59b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessageBuilder.java @@ -24,6 +24,7 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .product(productBuilder -> productBuilder) + * .variantSelection(variantSelectionBuilder -> variantSelectionBuilder) * .build() * * @@ -56,11 +57,10 @@ public class ProductSelectionProductAddedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductSelectionProductAddedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public ProductSelectionProductAddedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductSelectionProductAddedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public ProductSelectionProductAddedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductSelectionProductAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public ProductSelectionProductAddedMessageBuilder createdAt(final java.time.Zone } /** - * + *

    Value of createdAt.

    */ public ProductSelectionProductAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public ProductSelectionProductAddedMessageBuilder lastModifiedAt(final java.time } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionProductAddedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public ProductSelectionProductAddedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionProductAddedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public ProductSelectionProductAddedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductSelectionProductAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public ProductSelectionProductAddedMessageBuilder sequenceNumber(final Long sequ } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionProductAddedMessageBuilder resource( @@ -155,7 +155,7 @@ public ProductSelectionProductAddedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionProductAddedMessageBuilder resource( @@ -165,7 +165,7 @@ public ProductSelectionProductAddedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductSelectionProductAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public ProductSelectionProductAddedMessageBuilder resourceVersion(final Long res } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionProductAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public ProductSelectionProductAddedMessageBuilder resourceUserProvidedIdentifier } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionProductAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public ProductSelectionProductAddedMessageBuilder resourceUserProvidedIdentifier } /** - *

    Reference to a Product.

    + *

    Product that was added to the Product Selection.

    */ public ProductSelectionProductAddedMessageBuilder product( @@ -206,7 +206,7 @@ public ProductSelectionProductAddedMessageBuilder product( } /** - *

    Reference to a Product.

    + *

    Product that was added to the Product Selection.

    */ public ProductSelectionProductAddedMessageBuilder product( @@ -216,17 +216,17 @@ public ProductSelectionProductAddedMessageBuilder product( } /** - *

    Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

    + *

    Product Variant Selection after the Add Product update action.

    */ public ProductSelectionProductAddedMessageBuilder variantSelection( - @Nullable final com.commercetools.api.models.product_selection.ProductVariantSelection variantSelection) { + final com.commercetools.api.models.product_selection.ProductVariantSelection variantSelection) { this.variantSelection = variantSelection; return this; } /** - *

    Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

    + *

    Product Variant Selection after the Add Product update action.

    */ public ProductSelectionProductAddedMessageBuilder variantSelection( @@ -284,7 +284,6 @@ public com.commercetools.api.models.product.ProductReference getProduct() { return this.product; } - @Nullable public com.commercetools.api.models.product_selection.ProductVariantSelection getVariantSelection() { return this.variantSelection; } @@ -301,6 +300,8 @@ public ProductSelectionProductAddedMessage build() { Objects.requireNonNull(resourceVersion, ProductSelectionProductAddedMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(product, ProductSelectionProductAddedMessage.class + ": product is missing"); + Objects.requireNonNull(variantSelection, + ProductSelectionProductAddedMessage.class + ": variantSelection is missing"); return new ProductSelectionProductAddedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, product, variantSelection); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessageImpl.java index 06a65953c68..a14afaaf0b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionProductAddedMessage + *

    Generated after a successful Add Product update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionProductAddedMessageImpl implements ProductSelectionProductAddedMessage, ModelBase { @@ -79,7 +79,7 @@ public ProductSelectionProductAddedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a Product.

    + *

    Product that was added to the Product Selection.

    */ public com.commercetools.api.models.product.ProductReference getProduct() { @@ -175,7 +175,7 @@ public com.commercetools.api.models.product.ProductReference getProduct() { } /** - *

    Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

    + *

    Product Variant Selection after the Add Product update action.

    */ public com.commercetools.api.models.product_selection.ProductVariantSelection getVariantSelection() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayload.java index da6da1147cb..bd789484f76 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionProductAddedMessagePayload + *

    Generated after a successful Add Product update action.

    * *
    * Example to create an instance using the builder pattern @@ -24,6 +24,7 @@ *
    
      *     ProductSelectionProductAddedMessagePayload productSelectionProductAddedMessagePayload = ProductSelectionProductAddedMessagePayload.builder()
      *             .product(productBuilder -> productBuilder)
    + *             .variantSelection(variantSelectionBuilder -> variantSelectionBuilder)
      *             .build()
      * 
    * @@ -35,7 +36,7 @@ public interface ProductSelectionProductAddedMessagePayload extends MessagePaylo String PRODUCT_SELECTION_PRODUCT_ADDED = "ProductSelectionProductAdded"; /** - *

    Reference to a Product.

    + *

    Product that was added to the Product Selection.

    */ @NotNull @Valid @@ -43,8 +44,9 @@ public interface ProductSelectionProductAddedMessagePayload extends MessagePaylo public ProductReference getProduct(); /** - *

    Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

    + *

    Product Variant Selection after the Add Product update action.

    */ + @NotNull @Valid @JsonProperty("variantSelection") public ProductVariantSelection getVariantSelection(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayloadBuilder.java index 8ec367af0e0..2385b12260c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayloadBuilder.java @@ -4,8 +4,6 @@ import java.util.*; import java.util.function.Function; -import javax.annotation.Nullable; - import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -17,6 +15,7 @@ *
    
      *     ProductSelectionProductAddedMessagePayload productSelectionProductAddedMessagePayload = ProductSelectionProductAddedMessagePayload.builder()
      *             .product(productBuilder -> productBuilder)
    + *             .variantSelection(variantSelectionBuilder -> variantSelectionBuilder)
      *             .build()
      * 
    * @@ -27,11 +26,10 @@ public class ProductSelectionProductAddedMessagePayloadBuilder private com.commercetools.api.models.product.ProductReference product; - @Nullable private com.commercetools.api.models.product_selection.ProductVariantSelection variantSelection; /** - *

    Reference to a Product.

    + *

    Product that was added to the Product Selection.

    */ public ProductSelectionProductAddedMessagePayloadBuilder product( @@ -41,7 +39,7 @@ public ProductSelectionProductAddedMessagePayloadBuilder product( } /** - *

    Reference to a Product.

    + *

    Product that was added to the Product Selection.

    */ public ProductSelectionProductAddedMessagePayloadBuilder product( @@ -51,17 +49,17 @@ public ProductSelectionProductAddedMessagePayloadBuilder product( } /** - *

    Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

    + *

    Product Variant Selection after the Add Product update action.

    */ public ProductSelectionProductAddedMessagePayloadBuilder variantSelection( - @Nullable final com.commercetools.api.models.product_selection.ProductVariantSelection variantSelection) { + final com.commercetools.api.models.product_selection.ProductVariantSelection variantSelection) { this.variantSelection = variantSelection; return this; } /** - *

    Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

    + *

    Product Variant Selection after the Add Product update action.

    */ public ProductSelectionProductAddedMessagePayloadBuilder variantSelection( @@ -76,13 +74,14 @@ public com.commercetools.api.models.product.ProductReference getProduct() { return this.product; } - @Nullable public com.commercetools.api.models.product_selection.ProductVariantSelection getVariantSelection() { return this.variantSelection; } public ProductSelectionProductAddedMessagePayload build() { Objects.requireNonNull(product, ProductSelectionProductAddedMessagePayload.class + ": product is missing"); + Objects.requireNonNull(variantSelection, + ProductSelectionProductAddedMessagePayload.class + ": variantSelection is missing"); return new ProductSelectionProductAddedMessagePayloadImpl(product, variantSelection); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayloadImpl.java index 472bdc79e45..f19d416c9af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionProductAddedMessagePayload + *

    Generated after a successful Add Product update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionProductAddedMessagePayloadImpl @@ -49,7 +49,7 @@ public String getType() { } /** - *

    Reference to a Product.

    + *

    Product that was added to the Product Selection.

    */ public com.commercetools.api.models.product.ProductReference getProduct() { @@ -57,7 +57,7 @@ public com.commercetools.api.models.product.ProductReference getProduct() { } /** - *

    Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

    + *

    Product Variant Selection after the Add Product update action.

    */ public com.commercetools.api.models.product_selection.ProductVariantSelection getVariantSelection() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessage.java index 13532f96e23..cc8fb806b9a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionProductRemovedMessage + *

    Generated after a successful Remove Product update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface ProductSelectionProductRemovedMessage extends Message { String PRODUCT_SELECTION_PRODUCT_REMOVED = "ProductSelectionProductRemoved"; /** - *

    Reference to a Product.

    + *

    Product that was removed from the Product Selection.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessageBuilder.java index 4c37e2b9159..8928baa4a6a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessageBuilder.java @@ -57,7 +57,7 @@ public class ProductSelectionProductRemovedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductSelectionProductRemovedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public ProductSelectionProductRemovedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductSelectionProductRemovedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public ProductSelectionProductRemovedMessageBuilder version(final Long version) } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductSelectionProductRemovedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public ProductSelectionProductRemovedMessageBuilder createdAt(final java.time.Zo } /** - * + *

    Value of createdAt.

    */ public ProductSelectionProductRemovedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public ProductSelectionProductRemovedMessageBuilder lastModifiedAt(final java.ti } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionProductRemovedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public ProductSelectionProductRemovedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionProductRemovedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public ProductSelectionProductRemovedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductSelectionProductRemovedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public ProductSelectionProductRemovedMessageBuilder sequenceNumber(final Long se } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionProductRemovedMessageBuilder resource( @@ -152,7 +152,7 @@ public ProductSelectionProductRemovedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionProductRemovedMessageBuilder resource( @@ -162,7 +162,7 @@ public ProductSelectionProductRemovedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductSelectionProductRemovedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public ProductSelectionProductRemovedMessageBuilder resourceVersion(final Long r } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionProductRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public ProductSelectionProductRemovedMessageBuilder resourceUserProvidedIdentifi } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionProductRemovedMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public ProductSelectionProductRemovedMessageBuilder resourceUserProvidedIdentifi } /** - *

    Reference to a Product.

    + *

    Product that was removed from the Product Selection.

    */ public ProductSelectionProductRemovedMessageBuilder product( @@ -203,7 +203,7 @@ public ProductSelectionProductRemovedMessageBuilder product( } /** - *

    Reference to a Product.

    + *

    Product that was removed from the Product Selection.

    */ public ProductSelectionProductRemovedMessageBuilder product( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessageImpl.java index 31dbf310ca2..c44e39a50de 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionProductRemovedMessage + *

    Generated after a successful Remove Product update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionProductRemovedMessageImpl implements ProductSelectionProductRemovedMessage, ModelBase { @@ -75,7 +75,7 @@ public ProductSelectionProductRemovedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -83,7 +83,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -91,7 +91,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -99,7 +99,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -123,7 +123,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -131,7 +131,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -147,7 +147,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -155,7 +155,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -163,7 +163,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a Product.

    + *

    Product that was removed from the Product Selection.

    */ public com.commercetools.api.models.product.ProductReference getProduct() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayload.java index 5a836056858..180a3875039 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionProductRemovedMessagePayload + *

    Generated after a successful Remove Product update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ProductSelectionProductRemovedMessagePayload extends MessagePay String PRODUCT_SELECTION_PRODUCT_REMOVED = "ProductSelectionProductRemoved"; /** - *

    Reference to a Product.

    + *

    Product that was removed from the Product Selection.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayloadBuilder.java index 6c17a4222d7..be1061cc571 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayloadBuilder.java @@ -26,7 +26,7 @@ public class ProductSelectionProductRemovedMessagePayloadBuilder private com.commercetools.api.models.product.ProductReference product; /** - *

    Reference to a Product.

    + *

    Product that was removed from the Product Selection.

    */ public ProductSelectionProductRemovedMessagePayloadBuilder product( @@ -36,7 +36,7 @@ public ProductSelectionProductRemovedMessagePayloadBuilder product( } /** - *

    Reference to a Product.

    + *

    Product that was removed from the Product Selection.

    */ public ProductSelectionProductRemovedMessagePayloadBuilder product( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayloadImpl.java index 7d37156e06e..0abf11762e4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductRemovedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionProductRemovedMessagePayload + *

    Generated after a successful Remove Product update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionProductRemovedMessagePayloadImpl @@ -45,7 +45,7 @@ public String getType() { } /** - *

    Reference to a Product.

    + *

    Product that was removed from the Product Selection.

    */ public com.commercetools.api.models.product.ProductReference getProduct() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessage.java index 7738dba62e8..13ea399838f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionVariantSelectionChangedMessage + *

    Generated after a successful Set Variant Selection update action.

    * *
    * Example to create an instance using the builder pattern @@ -31,6 +31,8 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .product(productBuilder -> productBuilder) + * .oldVariantSelection(oldVariantSelectionBuilder -> oldVariantSelectionBuilder) + * .newVariantSelection(newVariantSelectionBuilder -> newVariantSelectionBuilder) * .build() * * @@ -42,7 +44,7 @@ public interface ProductSelectionVariantSelectionChangedMessage extends Message String PRODUCT_SELECTION_VARIANT_SELECTION_CHANGED = "ProductSelectionVariantSelectionChanged"; /** - *

    Reference to a Product.

    + *

    Product for which the Product Variant Selection changed.

    */ @NotNull @Valid @@ -50,15 +52,17 @@ public interface ProductSelectionVariantSelectionChangedMessage extends Message public ProductReference getProduct(); /** - *

    The former Product Variant Selection if any.

    + *

    Product Variant Selection before the Set Variant Selection update action.

    */ + @NotNull @Valid @JsonProperty("oldVariantSelection") public ProductVariantSelection getOldVariantSelection(); /** - *

    The updated Product Variant Selection if any.

    + *

    Product Variant Selection after the Set Variant Selection update action.

    */ + @NotNull @Valid @JsonProperty("newVariantSelection") public ProductVariantSelection getNewVariantSelection(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessageBuilder.java index 01409692142..4edf1444f85 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessageBuilder.java @@ -24,6 +24,8 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .product(productBuilder -> productBuilder) + * .oldVariantSelection(oldVariantSelectionBuilder -> oldVariantSelectionBuilder) + * .newVariantSelection(newVariantSelectionBuilder -> newVariantSelectionBuilder) * .build() * * @@ -57,14 +59,12 @@ public class ProductSelectionVariantSelectionChangedMessageBuilder private com.commercetools.api.models.product.ProductReference product; - @Nullable private com.commercetools.api.models.product_selection.ProductVariantSelection oldVariantSelection; - @Nullable private com.commercetools.api.models.product_selection.ProductVariantSelection newVariantSelection; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder id(final String id) { @@ -73,7 +73,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder id(final String id) } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder version(final Long version) { @@ -82,7 +82,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder version(final Long } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -91,7 +91,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder createdAt(final jav } /** - * + *

    Value of createdAt.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder lastModifiedAt( @@ -101,7 +101,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder lastModifiedAt( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder lastModifiedBy( @@ -111,7 +111,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder lastModifiedBy( @@ -141,7 +141,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -150,7 +150,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder sequenceNumber(fina } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder resource( @@ -160,7 +160,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder resource( @@ -170,7 +170,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -179,7 +179,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder resourceVersion(fin } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -191,7 +191,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder resourceUserProvide } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -201,7 +201,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder resourceUserProvide } /** - *

    Reference to a Product.

    + *

    Product for which the Product Variant Selection changed.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder product( @@ -211,7 +211,7 @@ public ProductSelectionVariantSelectionChangedMessageBuilder product( } /** - *

    Reference to a Product.

    + *

    Product for which the Product Variant Selection changed.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder product( @@ -221,17 +221,17 @@ public ProductSelectionVariantSelectionChangedMessageBuilder product( } /** - *

    The former Product Variant Selection if any.

    + *

    Product Variant Selection before the Set Variant Selection update action.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder oldVariantSelection( - @Nullable final com.commercetools.api.models.product_selection.ProductVariantSelection oldVariantSelection) { + final com.commercetools.api.models.product_selection.ProductVariantSelection oldVariantSelection) { this.oldVariantSelection = oldVariantSelection; return this; } /** - *

    The former Product Variant Selection if any.

    + *

    Product Variant Selection before the Set Variant Selection update action.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder oldVariantSelection( @@ -243,17 +243,17 @@ public ProductSelectionVariantSelectionChangedMessageBuilder oldVariantSelection } /** - *

    The updated Product Variant Selection if any.

    + *

    Product Variant Selection after the Set Variant Selection update action.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder newVariantSelection( - @Nullable final com.commercetools.api.models.product_selection.ProductVariantSelection newVariantSelection) { + final com.commercetools.api.models.product_selection.ProductVariantSelection newVariantSelection) { this.newVariantSelection = newVariantSelection; return this; } /** - *

    The updated Product Variant Selection if any.

    + *

    Product Variant Selection after the Set Variant Selection update action.

    */ public ProductSelectionVariantSelectionChangedMessageBuilder newVariantSelection( @@ -311,12 +311,10 @@ public com.commercetools.api.models.product.ProductReference getProduct() { return this.product; } - @Nullable public com.commercetools.api.models.product_selection.ProductVariantSelection getOldVariantSelection() { return this.oldVariantSelection; } - @Nullable public com.commercetools.api.models.product_selection.ProductVariantSelection getNewVariantSelection() { return this.newVariantSelection; } @@ -335,6 +333,10 @@ public ProductSelectionVariantSelectionChangedMessage build() { Objects.requireNonNull(resourceVersion, ProductSelectionVariantSelectionChangedMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(product, ProductSelectionVariantSelectionChangedMessage.class + ": product is missing"); + Objects.requireNonNull(oldVariantSelection, + ProductSelectionVariantSelectionChangedMessage.class + ": oldVariantSelection is missing"); + Objects.requireNonNull(newVariantSelection, + ProductSelectionVariantSelectionChangedMessage.class + ": newVariantSelection is missing"); return new ProductSelectionVariantSelectionChangedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, product, oldVariantSelection, newVariantSelection); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessageImpl.java index ac3ba21eb26..bb3abfe21c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionVariantSelectionChangedMessage + *

    Generated after a successful Set Variant Selection update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionVariantSelectionChangedMessageImpl @@ -84,7 +84,7 @@ public ProductSelectionVariantSelectionChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -92,7 +92,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -100,7 +100,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -108,7 +108,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -116,7 +116,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -132,7 +132,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -140,7 +140,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -148,7 +148,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -156,7 +156,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -164,7 +164,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -172,7 +172,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a Product.

    + *

    Product for which the Product Variant Selection changed.

    */ public com.commercetools.api.models.product.ProductReference getProduct() { @@ -180,7 +180,7 @@ public com.commercetools.api.models.product.ProductReference getProduct() { } /** - *

    The former Product Variant Selection if any.

    + *

    Product Variant Selection before the Set Variant Selection update action.

    */ public com.commercetools.api.models.product_selection.ProductVariantSelection getOldVariantSelection() { @@ -188,7 +188,7 @@ public com.commercetools.api.models.product_selection.ProductVariantSelection ge } /** - *

    The updated Product Variant Selection if any.

    + *

    Product Variant Selection after the Set Variant Selection update action.

    */ public com.commercetools.api.models.product_selection.ProductVariantSelection getNewVariantSelection() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayload.java index 334a88af89c..d4699881e5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayload.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSelectionVariantSelectionChangedMessagePayload + *

    Generated after a successful Set Variant Selection update action.

    * *
    * Example to create an instance using the builder pattern @@ -24,6 +24,8 @@ *
    
      *     ProductSelectionVariantSelectionChangedMessagePayload productSelectionVariantSelectionChangedMessagePayload = ProductSelectionVariantSelectionChangedMessagePayload.builder()
      *             .product(productBuilder -> productBuilder)
    + *             .oldVariantSelection(oldVariantSelectionBuilder -> oldVariantSelectionBuilder)
    + *             .newVariantSelection(newVariantSelectionBuilder -> newVariantSelectionBuilder)
      *             .build()
      * 
    * @@ -35,7 +37,7 @@ public interface ProductSelectionVariantSelectionChangedMessagePayload extends M String PRODUCT_SELECTION_VARIANT_SELECTION_CHANGED = "ProductSelectionVariantSelectionChanged"; /** - *

    Reference to a Product.

    + *

    Product for which the Product Variant Selection changed.

    */ @NotNull @Valid @@ -43,15 +45,17 @@ public interface ProductSelectionVariantSelectionChangedMessagePayload extends M public ProductReference getProduct(); /** - *

    The former Product Variant Selection if any.

    + *

    Product Variant Selection before the Set Variant Selection update action.

    */ + @NotNull @Valid @JsonProperty("oldVariantSelection") public ProductVariantSelection getOldVariantSelection(); /** - *

    The updated Product Variant Selection if any.

    + *

    Product Variant Selection after the Set Variant Selection update action.

    */ + @NotNull @Valid @JsonProperty("newVariantSelection") public ProductVariantSelection getNewVariantSelection(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayloadBuilder.java index f676bcf3b78..9a3d68b6007 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayloadBuilder.java @@ -4,8 +4,6 @@ import java.util.*; import java.util.function.Function; -import javax.annotation.Nullable; - import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -17,6 +15,8 @@ *
    
      *     ProductSelectionVariantSelectionChangedMessagePayload productSelectionVariantSelectionChangedMessagePayload = ProductSelectionVariantSelectionChangedMessagePayload.builder()
      *             .product(productBuilder -> productBuilder)
    + *             .oldVariantSelection(oldVariantSelectionBuilder -> oldVariantSelectionBuilder)
    + *             .newVariantSelection(newVariantSelectionBuilder -> newVariantSelectionBuilder)
      *             .build()
      * 
    * @@ -27,14 +27,12 @@ public class ProductSelectionVariantSelectionChangedMessagePayloadBuilder private com.commercetools.api.models.product.ProductReference product; - @Nullable private com.commercetools.api.models.product_selection.ProductVariantSelection oldVariantSelection; - @Nullable private com.commercetools.api.models.product_selection.ProductVariantSelection newVariantSelection; /** - *

    Reference to a Product.

    + *

    Product for which the Product Variant Selection changed.

    */ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder product( @@ -44,7 +42,7 @@ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder product( } /** - *

    Reference to a Product.

    + *

    Product for which the Product Variant Selection changed.

    */ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder product( @@ -54,17 +52,17 @@ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder product( } /** - *

    The former Product Variant Selection if any.

    + *

    Product Variant Selection before the Set Variant Selection update action.

    */ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder oldVariantSelection( - @Nullable final com.commercetools.api.models.product_selection.ProductVariantSelection oldVariantSelection) { + final com.commercetools.api.models.product_selection.ProductVariantSelection oldVariantSelection) { this.oldVariantSelection = oldVariantSelection; return this; } /** - *

    The former Product Variant Selection if any.

    + *

    Product Variant Selection before the Set Variant Selection update action.

    */ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder oldVariantSelection( @@ -76,17 +74,17 @@ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder oldVariantSe } /** - *

    The updated Product Variant Selection if any.

    + *

    Product Variant Selection after the Set Variant Selection update action.

    */ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder newVariantSelection( - @Nullable final com.commercetools.api.models.product_selection.ProductVariantSelection newVariantSelection) { + final com.commercetools.api.models.product_selection.ProductVariantSelection newVariantSelection) { this.newVariantSelection = newVariantSelection; return this; } /** - *

    The updated Product Variant Selection if any.

    + *

    Product Variant Selection after the Set Variant Selection update action.

    */ public ProductSelectionVariantSelectionChangedMessagePayloadBuilder newVariantSelection( @@ -101,12 +99,10 @@ public com.commercetools.api.models.product.ProductReference getProduct() { return this.product; } - @Nullable public com.commercetools.api.models.product_selection.ProductVariantSelection getOldVariantSelection() { return this.oldVariantSelection; } - @Nullable public com.commercetools.api.models.product_selection.ProductVariantSelection getNewVariantSelection() { return this.newVariantSelection; } @@ -114,6 +110,10 @@ public com.commercetools.api.models.product_selection.ProductVariantSelection ge public ProductSelectionVariantSelectionChangedMessagePayload build() { Objects.requireNonNull(product, ProductSelectionVariantSelectionChangedMessagePayload.class + ": product is missing"); + Objects.requireNonNull(oldVariantSelection, + ProductSelectionVariantSelectionChangedMessagePayload.class + ": oldVariantSelection is missing"); + Objects.requireNonNull(newVariantSelection, + ProductSelectionVariantSelectionChangedMessagePayload.class + ": newVariantSelection is missing"); return new ProductSelectionVariantSelectionChangedMessagePayloadImpl(product, oldVariantSelection, newVariantSelection); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayloadImpl.java index d1068f52f1a..a42a43acfa0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantSelectionChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSelectionVariantSelectionChangedMessagePayload + *

    Generated after a successful Set Variant Selection update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionVariantSelectionChangedMessagePayloadImpl @@ -53,7 +53,7 @@ public String getType() { } /** - *

    Reference to a Product.

    + *

    Product for which the Product Variant Selection changed.

    */ public com.commercetools.api.models.product.ProductReference getProduct() { @@ -61,7 +61,7 @@ public com.commercetools.api.models.product.ProductReference getProduct() { } /** - *

    The former Product Variant Selection if any.

    + *

    Product Variant Selection before the Set Variant Selection update action.

    */ public com.commercetools.api.models.product_selection.ProductVariantSelection getOldVariantSelection() { @@ -69,7 +69,7 @@ public com.commercetools.api.models.product_selection.ProductVariantSelection ge } /** - *

    The updated Product Variant Selection if any.

    + *

    Product Variant Selection after the Set Variant Selection update action.

    */ public com.commercetools.api.models.product_selection.ProductVariantSelection getNewVariantSelection() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessage.java index eff362beb72..37d1a43e2dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSlugChangedMessage + *

    Generated after a successful Change Slug update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface ProductSlugChangedMessage extends Message { String PRODUCT_SLUG_CHANGED = "ProductSlugChanged"; /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product after the Change Slug update action.

    */ @NotNull @Valid @@ -49,7 +49,7 @@ public interface ProductSlugChangedMessage extends Message { public LocalizedString getSlug(); /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product before the Change Slug update action.

    */ @Valid @JsonProperty("oldSlug") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessageBuilder.java index 0fee55d6f1f..c792c7bc5cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class ProductSlugChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductSlugChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public ProductSlugChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductSlugChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public ProductSlugChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductSlugChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public ProductSlugChangedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

    Value of createdAt.

    */ public ProductSlugChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public ProductSlugChangedMessageBuilder lastModifiedAt(final java.time.ZonedDate } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSlugChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public ProductSlugChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductSlugChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public ProductSlugChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductSlugChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public ProductSlugChangedMessageBuilder sequenceNumber(final Long sequenceNumber } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSlugChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public ProductSlugChangedMessageBuilder resource(final com.commercetools.api.mod } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductSlugChangedMessageBuilder resource( @@ -164,7 +164,7 @@ public ProductSlugChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductSlugChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public ProductSlugChangedMessageBuilder resourceVersion(final Long resourceVersi } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSlugChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public ProductSlugChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductSlugChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public ProductSlugChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product after the Change Slug update action.

    */ public ProductSlugChangedMessageBuilder slug( @@ -205,7 +205,7 @@ public ProductSlugChangedMessageBuilder slug( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product after the Change Slug update action.

    */ public ProductSlugChangedMessageBuilder slug(final com.commercetools.api.models.common.LocalizedString slug) { @@ -214,7 +214,7 @@ public ProductSlugChangedMessageBuilder slug(final com.commercetools.api.models. } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product before the Change Slug update action.

    */ public ProductSlugChangedMessageBuilder oldSlug( @@ -224,7 +224,7 @@ public ProductSlugChangedMessageBuilder oldSlug( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product before the Change Slug update action.

    */ public ProductSlugChangedMessageBuilder oldSlug( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessageImpl.java index 5609fbf7825..8f46f16c1ac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSlugChangedMessage + *

    Generated after a successful Change Slug update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSlugChangedMessageImpl implements ProductSlugChangedMessage, ModelBase { @@ -78,7 +78,7 @@ public ProductSlugChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product after the Change Slug update action.

    */ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product before the Change Slug update action.

    */ public com.commercetools.api.models.common.LocalizedString getOldSlug() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayload.java index 365cff5acaa..28133588146 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSlugChangedMessagePayload + *

    Generated after a successful Change Slug update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ProductSlugChangedMessagePayload extends MessagePayload { String PRODUCT_SLUG_CHANGED = "ProductSlugChanged"; /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product after the Change Slug update action.

    */ @NotNull @Valid @@ -42,7 +42,7 @@ public interface ProductSlugChangedMessagePayload extends MessagePayload { public LocalizedString getSlug(); /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product before the Change Slug update action.

    */ @Valid @JsonProperty("oldSlug") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayloadBuilder.java index b41d40ebb8c..d4ed179789b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayloadBuilder.java @@ -30,7 +30,7 @@ public class ProductSlugChangedMessagePayloadBuilder implements BuilderJSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product after the Change Slug update action.

    */ public ProductSlugChangedMessagePayloadBuilder slug( @@ -40,7 +40,7 @@ public ProductSlugChangedMessagePayloadBuilder slug( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product after the Change Slug update action.

    */ public ProductSlugChangedMessagePayloadBuilder slug( @@ -50,7 +50,7 @@ public ProductSlugChangedMessagePayloadBuilder slug( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product before the Change Slug update action.

    */ public ProductSlugChangedMessagePayloadBuilder oldSlug( @@ -60,7 +60,7 @@ public ProductSlugChangedMessagePayloadBuilder oldSlug( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product before the Change Slug update action.

    */ public ProductSlugChangedMessagePayloadBuilder oldSlug( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayloadImpl.java index 4ff1aeeb916..85fff7a9819 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSlugChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSlugChangedMessagePayload + *

    Generated after a successful Change Slug update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSlugChangedMessagePayloadImpl implements ProductSlugChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product after the Change Slug update action.

    */ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The slug of the Product before the Change Slug update action.

    */ public com.commercetools.api.models.common.LocalizedString getOldSlug() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessage.java index 78c7b11be7f..a5ab29131cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductStateTransitionMessage + *

    Generated after a successful Transition State update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface ProductStateTransitionMessage extends Message { String PRODUCT_STATE_TRANSITION = "ProductStateTransition"; /** - *

    Reference to a State.

    + *

    Product State after the Transition State update action.

    */ @NotNull @Valid @@ -50,7 +50,7 @@ public interface ProductStateTransitionMessage extends Message { public StateReference getState(); /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ @NotNull @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessageBuilder.java index cc8e2496df7..a8fe53f92d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessageBuilder.java @@ -60,7 +60,7 @@ public class ProductStateTransitionMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductStateTransitionMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public ProductStateTransitionMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductStateTransitionMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public ProductStateTransitionMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public ProductStateTransitionMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

    Value of createdAt.

    */ public ProductStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public ProductStateTransitionMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductStateTransitionMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public ProductStateTransitionMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductStateTransitionMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public ProductStateTransitionMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public ProductStateTransitionMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductStateTransitionMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public ProductStateTransitionMessageBuilder resource(final com.commercetools.api } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductStateTransitionMessageBuilder resource( @@ -164,7 +164,7 @@ public ProductStateTransitionMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public ProductStateTransitionMessageBuilder resourceVersion(final Long resourceV } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public ProductStateTransitionMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public ProductStateTransitionMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Reference to a State.

    + *

    Product State after the Transition State update action.

    */ public ProductStateTransitionMessageBuilder state( @@ -205,7 +205,7 @@ public ProductStateTransitionMessageBuilder state( } /** - *

    Reference to a State.

    + *

    Product State after the Transition State update action.

    */ public ProductStateTransitionMessageBuilder state(final com.commercetools.api.models.state.StateReference state) { @@ -214,7 +214,7 @@ public ProductStateTransitionMessageBuilder state(final com.commercetools.api.mo } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public ProductStateTransitionMessageBuilder force(final Boolean force) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessageImpl.java index 6e6044cc0d0..7489be9adbf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductStateTransitionMessage + *

    Generated after a successful Transition State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductStateTransitionMessageImpl implements ProductStateTransitionMessage, ModelBase { @@ -78,7 +78,7 @@ public ProductStateTransitionMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a State.

    + *

    Product State after the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getState() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.state.StateReference getState() { } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayload.java index 33f4841d3a2..23bbbf38ddf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductStateTransitionMessagePayload + *

    Generated after a successful Transition State update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ProductStateTransitionMessagePayload extends MessagePayload { String PRODUCT_STATE_TRANSITION = "ProductStateTransition"; /** - *

    Reference to a State.

    + *

    Product State after the Transition State update action.

    */ @NotNull @Valid @@ -43,7 +43,7 @@ public interface ProductStateTransitionMessagePayload extends MessagePayload { public StateReference getState(); /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ @NotNull @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayloadBuilder.java index 154cadba435..074cfd5964e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayloadBuilder.java @@ -28,7 +28,7 @@ public class ProductStateTransitionMessagePayloadBuilder implements BuilderReference to a State.

    + *

    Product State after the Transition State update action.

    */ public ProductStateTransitionMessagePayloadBuilder state( @@ -38,7 +38,7 @@ public ProductStateTransitionMessagePayloadBuilder state( } /** - *

    Reference to a State.

    + *

    Product State after the Transition State update action.

    */ public ProductStateTransitionMessagePayloadBuilder state( @@ -48,7 +48,7 @@ public ProductStateTransitionMessagePayloadBuilder state( } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public ProductStateTransitionMessagePayloadBuilder force(final Boolean force) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayloadImpl.java index 2f29eb3d328..3e6e55c9ba1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductStateTransitionMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductStateTransitionMessagePayload + *

    Generated after a successful Transition State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductStateTransitionMessagePayloadImpl implements ProductStateTransitionMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *

    Reference to a State.

    + *

    Product State after the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.state.StateReference getState() { } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessage.java index 165d59007ee..2957c428487 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductUnpublishedMessage + *

    Generated after a successful Unpublish Product update action.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessageBuilder.java index 3fabfbaa7b7..fa9b8c292c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessageBuilder.java @@ -54,7 +54,7 @@ public class ProductUnpublishedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductUnpublishedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public ProductUnpublishedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductUnpublishedMessageBuilder version(final Long version) { @@ -72,7 +72,7 @@ public ProductUnpublishedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductUnpublishedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public ProductUnpublishedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

    Value of createdAt.

    */ public ProductUnpublishedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +90,7 @@ public ProductUnpublishedMessageBuilder lastModifiedAt(final java.time.ZonedDate } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductUnpublishedMessageBuilder lastModifiedBy( @@ -100,7 +100,7 @@ public ProductUnpublishedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductUnpublishedMessageBuilder lastModifiedBy( @@ -130,7 +130,7 @@ public ProductUnpublishedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductUnpublishedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +139,7 @@ public ProductUnpublishedMessageBuilder sequenceNumber(final Long sequenceNumber } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductUnpublishedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public ProductUnpublishedMessageBuilder resource(final com.commercetools.api.mod } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductUnpublishedMessageBuilder resource( @@ -158,7 +158,7 @@ public ProductUnpublishedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductUnpublishedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public ProductUnpublishedMessageBuilder resourceVersion(final Long resourceVersi } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductUnpublishedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +179,7 @@ public ProductUnpublishedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductUnpublishedMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessageImpl.java index 2953c07f3a5..187caa0a068 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductUnpublishedMessage + *

    Generated after a successful Unpublish Product update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductUnpublishedMessageImpl implements ProductUnpublishedMessage, ModelBase { @@ -70,7 +70,7 @@ public ProductUnpublishedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessagePayload.java index 0b384cce8be..d3010a62cf5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductUnpublishedMessagePayload + *

    Generated after a successful Unpublish Product update action.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessagePayloadImpl.java index 882c598ce82..f5a00385dac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductUnpublishedMessagePayloadImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductUnpublishedMessagePayload + *

    Generated after a successful Unpublish Product update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductUnpublishedMessagePayloadImpl implements ProductUnpublishedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessage.java index 361b4d4eb75..134608b1bf7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductVariantAddedMessage + *

    Generated after a successful Add Product Variant update action.

    * *
    * Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface ProductVariantAddedMessage extends Message { String PRODUCT_VARIANT_ADDED = "ProductVariantAdded"; /** - * + *

    Unique identifier of the Product Variant that was added.

    */ @NotNull @Valid @@ -50,7 +50,7 @@ public interface ProductVariantAddedMessage extends Message { public ProductVariant getVariant(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessageBuilder.java index c53f7dc535a..cfad1fbc562 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessageBuilder.java @@ -60,7 +60,7 @@ public class ProductVariantAddedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductVariantAddedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public ProductVariantAddedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductVariantAddedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public ProductVariantAddedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductVariantAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public ProductVariantAddedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

    Value of createdAt.

    */ public ProductVariantAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public ProductVariantAddedMessageBuilder lastModifiedAt(final java.time.ZonedDat } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductVariantAddedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public ProductVariantAddedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductVariantAddedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public ProductVariantAddedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductVariantAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public ProductVariantAddedMessageBuilder sequenceNumber(final Long sequenceNumbe } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductVariantAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public ProductVariantAddedMessageBuilder resource(final com.commercetools.api.mo } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductVariantAddedMessageBuilder resource( @@ -164,7 +164,7 @@ public ProductVariantAddedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductVariantAddedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public ProductVariantAddedMessageBuilder resourceVersion(final Long resourceVers } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductVariantAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public ProductVariantAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductVariantAddedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public ProductVariantAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public ProductVariantAddedMessageBuilder variant( @@ -205,7 +205,7 @@ public ProductVariantAddedMessageBuilder variant( } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public ProductVariantAddedMessageBuilder variant( @@ -215,7 +215,7 @@ public ProductVariantAddedMessageBuilder variant( } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductVariantAddedMessageBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessageImpl.java index 7c536f7df57..a8445afc9ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductVariantAddedMessage + *

    Generated after a successful Add Product Variant update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantAddedMessageImpl implements ProductVariantAddedMessage, ModelBase { @@ -78,7 +78,7 @@ public ProductVariantAddedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public com.commercetools.api.models.product.ProductVariant getVariant() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.product.ProductVariant getVariant() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayload.java index eeba12d0772..796d15cea93 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductVariantAddedMessagePayload + *

    Generated after a successful Add Product Variant update action.

    * *
    * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ProductVariantAddedMessagePayload extends MessagePayload { String PRODUCT_VARIANT_ADDED = "ProductVariantAdded"; /** - * + *

    Unique identifier of the Product Variant that was added.

    */ @NotNull @Valid @@ -43,7 +43,7 @@ public interface ProductVariantAddedMessagePayload extends MessagePayload { public ProductVariant getVariant(); /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ @NotNull @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayloadBuilder.java index 86d6d51a938..aafdf7a7a90 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayloadBuilder.java @@ -28,7 +28,7 @@ public class ProductVariantAddedMessagePayloadBuilder implements BuilderUnique identifier of the Product Variant that was added.

    */ public ProductVariantAddedMessagePayloadBuilder variant( @@ -38,7 +38,7 @@ public ProductVariantAddedMessagePayloadBuilder variant( } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public ProductVariantAddedMessagePayloadBuilder variant( @@ -48,7 +48,7 @@ public ProductVariantAddedMessagePayloadBuilder variant( } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public ProductVariantAddedMessagePayloadBuilder staged(final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayloadImpl.java index a225af99197..af810a5cb8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantAddedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductVariantAddedMessagePayload + *

    Generated after a successful Add Product Variant update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantAddedMessagePayloadImpl implements ProductVariantAddedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public com.commercetools.api.models.product.ProductVariant getVariant() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.product.ProductVariant getVariant() { } /** - * + *

    Whether the update was only applied to the staged Product Projection.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessage.java index 96fe8b34b9f..ef7ddd54e5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductVariantDeletedMessage + *

    Generated after a successful Remove Product Variant update action.

    * *
    * Example to create an instance using the builder pattern @@ -29,7 +29,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .variant(variantBuilder -> variantBuilder) * .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder) * .build() * @@ -42,15 +41,14 @@ public interface ProductVariantDeletedMessage extends Message { String PRODUCT_VARIANT_DELETED = "ProductVariantDeleted"; /** - * + *

    Unique identifier of the Product Variant that was added.

    */ - @NotNull @Valid @JsonProperty("variant") public ProductVariant getVariant(); /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ @NotNull @JsonProperty("removedImageUrls") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessageBuilder.java index bc74b848620..1240e64a8e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessageBuilder.java @@ -23,7 +23,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .variant(variantBuilder -> variantBuilder) * .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder) * .build() * @@ -55,12 +54,13 @@ public class ProductVariantDeletedMessageBuilder implements Builder removedImageUrls; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ProductVariantDeletedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public ProductVariantDeletedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ProductVariantDeletedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public ProductVariantDeletedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ProductVariantDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public ProductVariantDeletedMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

    Value of createdAt.

    */ public ProductVariantDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public ProductVariantDeletedMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductVariantDeletedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public ProductVariantDeletedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ProductVariantDeletedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public ProductVariantDeletedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ProductVariantDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public ProductVariantDeletedMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductVariantDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public ProductVariantDeletedMessageBuilder resource(final com.commercetools.api. } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ProductVariantDeletedMessageBuilder resource( @@ -164,7 +164,7 @@ public ProductVariantDeletedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ProductVariantDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public ProductVariantDeletedMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductVariantDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public ProductVariantDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ProductVariantDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public ProductVariantDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public ProductVariantDeletedMessageBuilder variant( @@ -205,17 +205,17 @@ public ProductVariantDeletedMessageBuilder variant( } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public ProductVariantDeletedMessageBuilder variant( - final com.commercetools.api.models.product.ProductVariant variant) { + @Nullable final com.commercetools.api.models.product.ProductVariant variant) { this.variant = variant; return this; } /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ public ProductVariantDeletedMessageBuilder removedImageUrls(final String... removedImageUrls) { @@ -224,7 +224,7 @@ public ProductVariantDeletedMessageBuilder removedImageUrls(final String... remo } /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ public ProductVariantDeletedMessageBuilder removedImageUrls(final java.util.List removedImageUrls) { @@ -233,7 +233,7 @@ public ProductVariantDeletedMessageBuilder removedImageUrls(final java.util.List } /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ public ProductVariantDeletedMessageBuilder plusRemovedImageUrls(final String... removedImageUrls) { @@ -287,6 +287,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } + @Nullable public com.commercetools.api.models.product.ProductVariant getVariant() { return this.variant; } @@ -303,7 +304,6 @@ public ProductVariantDeletedMessage build() { Objects.requireNonNull(sequenceNumber, ProductVariantDeletedMessage.class + ": sequenceNumber is missing"); Objects.requireNonNull(resource, ProductVariantDeletedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, ProductVariantDeletedMessage.class + ": resourceVersion is missing"); - Objects.requireNonNull(variant, ProductVariantDeletedMessage.class + ": variant is missing"); Objects.requireNonNull(removedImageUrls, ProductVariantDeletedMessage.class + ": removedImageUrls is missing"); return new ProductVariantDeletedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, variant, removedImageUrls); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessageImpl.java index 0630a20e90e..c44ffb8a53e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductVariantDeletedMessage + *

    Generated after a successful Remove Product Variant update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantDeletedMessageImpl implements ProductVariantDeletedMessage, ModelBase { @@ -78,7 +78,7 @@ public ProductVariantDeletedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public com.commercetools.api.models.product.ProductVariant getVariant() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.product.ProductVariant getVariant() { } /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ public java.util.List getRemovedImageUrls() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayload.java index f28acc15a29..8c2054af737 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayload.java @@ -15,14 +15,13 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductVariantDeletedMessagePayload + *

    Generated after a successful Remove Product Variant update action.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     ProductVariantDeletedMessagePayload productVariantDeletedMessagePayload = ProductVariantDeletedMessagePayload.builder()
    - *             .variant(variantBuilder -> variantBuilder)
      *             .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder)
      *             .build()
      * 
    @@ -35,15 +34,14 @@ public interface ProductVariantDeletedMessagePayload extends MessagePayload { String PRODUCT_VARIANT_DELETED = "ProductVariantDeleted"; /** - * + *

    Unique identifier of the Product Variant that was added.

    */ - @NotNull @Valid @JsonProperty("variant") public ProductVariant getVariant(); /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ @NotNull @JsonProperty("removedImageUrls") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayloadBuilder.java index 6775aae339a..3e148c0f5b8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -14,7 +16,6 @@ *
    *
    
      *     ProductVariantDeletedMessagePayload productVariantDeletedMessagePayload = ProductVariantDeletedMessagePayload.builder()
    - *             .variant(variantBuilder -> variantBuilder)
      *             .plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder)
      *             .build()
      * 
    @@ -23,12 +24,13 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantDeletedMessagePayloadBuilder implements Builder { + @Nullable private com.commercetools.api.models.product.ProductVariant variant; private java.util.List removedImageUrls; /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public ProductVariantDeletedMessagePayloadBuilder variant( @@ -38,17 +40,17 @@ public ProductVariantDeletedMessagePayloadBuilder variant( } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public ProductVariantDeletedMessagePayloadBuilder variant( - final com.commercetools.api.models.product.ProductVariant variant) { + @Nullable final com.commercetools.api.models.product.ProductVariant variant) { this.variant = variant; return this; } /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ public ProductVariantDeletedMessagePayloadBuilder removedImageUrls(final String... removedImageUrls) { @@ -57,7 +59,7 @@ public ProductVariantDeletedMessagePayloadBuilder removedImageUrls(final String. } /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ public ProductVariantDeletedMessagePayloadBuilder removedImageUrls(final java.util.List removedImageUrls) { @@ -66,7 +68,7 @@ public ProductVariantDeletedMessagePayloadBuilder removedImageUrls(final java.ut } /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ public ProductVariantDeletedMessagePayloadBuilder plusRemovedImageUrls(final String... removedImageUrls) { @@ -77,6 +79,7 @@ public ProductVariantDeletedMessagePayloadBuilder plusRemovedImageUrls(final Str return this; } + @Nullable public com.commercetools.api.models.product.ProductVariant getVariant() { return this.variant; } @@ -86,7 +89,6 @@ public java.util.List getRemovedImageUrls() { } public ProductVariantDeletedMessagePayload build() { - Objects.requireNonNull(variant, ProductVariantDeletedMessagePayload.class + ": variant is missing"); Objects.requireNonNull(removedImageUrls, ProductVariantDeletedMessagePayload.class + ": removedImageUrls is missing"); return new ProductVariantDeletedMessagePayloadImpl(variant, removedImageUrls); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayloadImpl.java index d98a691122c..85ec44042ac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductVariantDeletedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductVariantDeletedMessagePayload + *

    Generated after a successful Remove Product Variant update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantDeletedMessagePayloadImpl implements ProductVariantDeletedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - * + *

    Unique identifier of the Product Variant that was added.

    */ public com.commercetools.api.models.product.ProductVariant getVariant() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.product.ProductVariant getVariant() { } /** - * + *

    List of image URLs that were removed with the Remove Product Variant update action.

    */ public java.util.List getRemovedImageUrls() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessage.java index 1fe8de71741..5424dfe6d1e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessage.java @@ -5,13 +5,17 @@ import java.util.*; import java.util.function.Function; +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.quote.Quote; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteCreatedMessage + *

    Generated after a successful Create Quote request.

    * *
    * Example to create an instance using the builder pattern @@ -25,6 +29,7 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) + * .quote(quoteBuilder -> quoteBuilder) * .build() * *
    @@ -35,6 +40,16 @@ public interface QuoteCreatedMessage extends Message { String QUOTE_CREATED = "QuoteCreated"; + /** + *

    Quote that was created.

    + */ + @NotNull + @Valid + @JsonProperty("quote") + public Quote getQuote(); + + public void setQuote(final Quote quote); + public static QuoteCreatedMessage of() { return new QuoteCreatedMessageImpl(); } @@ -51,6 +66,7 @@ public static QuoteCreatedMessage of(final QuoteCreatedMessage template) { instance.setResource(template.getResource()); instance.setResourceVersion(template.getResourceVersion()); instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); + instance.setQuote(template.getQuote()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessageBuilder.java index d373e9147d7..dd072d31ea7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessageBuilder.java @@ -23,6 +23,7 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) + * .quote(quoteBuilder -> quoteBuilder) * .build() * *
    @@ -53,8 +54,10 @@ public class QuoteCreatedMessageBuilder implements Builder @Nullable private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + private com.commercetools.api.models.quote.Quote quote; + /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public QuoteCreatedMessageBuilder id(final String id) { @@ -63,7 +66,7 @@ public QuoteCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public QuoteCreatedMessageBuilder version(final Long version) { @@ -72,7 +75,7 @@ public QuoteCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public QuoteCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +84,7 @@ public QuoteCreatedMessageBuilder createdAt(final java.time.ZonedDateTime create } /** - * + *

    Value of createdAt.

    */ public QuoteCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +93,7 @@ public QuoteCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime l } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteCreatedMessageBuilder lastModifiedBy( @@ -100,7 +103,7 @@ public QuoteCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteCreatedMessageBuilder lastModifiedBy( @@ -130,7 +133,7 @@ public QuoteCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public QuoteCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +142,7 @@ public QuoteCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +151,7 @@ public QuoteCreatedMessageBuilder resource(final com.commercetools.api.models.co } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteCreatedMessageBuilder resource( @@ -158,7 +161,7 @@ public QuoteCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public QuoteCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +170,7 @@ public QuoteCreatedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +182,7 @@ public QuoteCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -188,6 +191,25 @@ public QuoteCreatedMessageBuilder resourceUserProvidedIdentifiers( return this; } + /** + *

    Quote that was created.

    + */ + + public QuoteCreatedMessageBuilder quote( + Function builder) { + this.quote = builder.apply(com.commercetools.api.models.quote.QuoteBuilder.of()).build(); + return this; + } + + /** + *

    Quote that was created.

    + */ + + public QuoteCreatedMessageBuilder quote(final com.commercetools.api.models.quote.Quote quote) { + this.quote = quote; + return this; + } + public String getId() { return this.id; } @@ -231,6 +253,10 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } + public com.commercetools.api.models.quote.Quote getQuote() { + return this.quote; + } + public QuoteCreatedMessage build() { Objects.requireNonNull(id, QuoteCreatedMessage.class + ": id is missing"); Objects.requireNonNull(version, QuoteCreatedMessage.class + ": version is missing"); @@ -239,8 +265,9 @@ public QuoteCreatedMessage build() { Objects.requireNonNull(sequenceNumber, QuoteCreatedMessage.class + ": sequenceNumber is missing"); Objects.requireNonNull(resource, QuoteCreatedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, QuoteCreatedMessage.class + ": resourceVersion is missing"); + Objects.requireNonNull(quote, QuoteCreatedMessage.class + ": quote is missing"); return new QuoteCreatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, quote); } /** @@ -248,7 +275,7 @@ public QuoteCreatedMessage build() { */ public QuoteCreatedMessage buildUnchecked() { return new QuoteCreatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, quote); } public static QuoteCreatedMessageBuilder of() { @@ -267,6 +294,7 @@ public static QuoteCreatedMessageBuilder of(final QuoteCreatedMessage template) builder.resource = template.getResource(); builder.resourceVersion = template.getResourceVersion(); builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); + builder.quote = template.getQuote(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessageImpl.java index 60962e02346..68dc2a5134b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteCreatedMessage + *

    Generated after a successful Create Quote request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteCreatedMessageImpl implements QuoteCreatedMessage, ModelBase { @@ -42,6 +42,8 @@ public class QuoteCreatedMessageImpl implements QuoteCreatedMessage, ModelBase { private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + private com.commercetools.api.models.quote.Quote quote; + @JsonCreator QuoteCreatedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -51,7 +53,8 @@ public class QuoteCreatedMessageImpl implements QuoteCreatedMessage, ModelBase { @JsonProperty("sequenceNumber") final Long sequenceNumber, @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, - @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, + @JsonProperty("quote") final com.commercetools.api.models.quote.Quote quote) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -62,6 +65,7 @@ public class QuoteCreatedMessageImpl implements QuoteCreatedMessage, ModelBase { this.resource = resource; this.resourceVersion = resourceVersion; this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + this.quote = quote; this.type = QUOTE_CREATED; } @@ -70,7 +74,7 @@ public QuoteCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,13 +154,21 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { return this.resourceUserProvidedIdentifiers; } + /** + *

    Quote that was created.

    + */ + + public com.commercetools.api.models.quote.Quote getQuote() { + return this.quote; + } + public void setId(final String id) { this.id = id; } @@ -198,6 +210,10 @@ public void setResourceUserProvidedIdentifiers( this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; } + public void setQuote(final com.commercetools.api.models.quote.Quote quote) { + this.quote = quote; + } + @Override public boolean equals(Object o) { if (this == o) @@ -219,6 +235,7 @@ public boolean equals(Object o) { .append(resourceVersion, that.resourceVersion) .append(type, that.type) .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) + .append(quote, that.quote) .isEquals(); } @@ -235,6 +252,7 @@ public int hashCode() { .append(resourceVersion) .append(type) .append(resourceUserProvidedIdentifiers) + .append(quote) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayload.java index 21c068331c4..f6134e3c125 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayload.java @@ -5,19 +5,24 @@ import java.util.*; import java.util.function.Function; +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.quote.Quote; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteCreatedMessagePayload + *

    Generated after a successful Create Quote request.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     QuoteCreatedMessagePayload quoteCreatedMessagePayload = QuoteCreatedMessagePayload.builder()
    + *             .quote(quoteBuilder -> quoteBuilder)
      *             .build()
      * 
    *
    @@ -28,12 +33,23 @@ public interface QuoteCreatedMessagePayload extends MessagePayload { String QUOTE_CREATED = "QuoteCreated"; + /** + *

    Quote that was created.

    + */ + @NotNull + @Valid + @JsonProperty("quote") + public Quote getQuote(); + + public void setQuote(final Quote quote); + public static QuoteCreatedMessagePayload of() { return new QuoteCreatedMessagePayloadImpl(); } public static QuoteCreatedMessagePayload of(final QuoteCreatedMessagePayload template) { QuoteCreatedMessagePayloadImpl instance = new QuoteCreatedMessagePayloadImpl(); + instance.setQuote(template.getQuote()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayloadBuilder.java index f7dd59f6c0a..e5e3fb4ec6e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayloadBuilder.java @@ -2,6 +2,7 @@ package com.commercetools.api.models.message; import java.util.*; +import java.util.function.Function; import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -13,6 +14,7 @@ *
    *
    
      *     QuoteCreatedMessagePayload quoteCreatedMessagePayload = QuoteCreatedMessagePayload.builder()
    + *             .quote(quoteBuilder -> quoteBuilder)
      *             .build()
      * 
    *
    @@ -20,15 +22,41 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteCreatedMessagePayloadBuilder implements Builder { + private com.commercetools.api.models.quote.Quote quote; + + /** + *

    Quote that was created.

    + */ + + public QuoteCreatedMessagePayloadBuilder quote( + Function builder) { + this.quote = builder.apply(com.commercetools.api.models.quote.QuoteBuilder.of()).build(); + return this; + } + + /** + *

    Quote that was created.

    + */ + + public QuoteCreatedMessagePayloadBuilder quote(final com.commercetools.api.models.quote.Quote quote) { + this.quote = quote; + return this; + } + + public com.commercetools.api.models.quote.Quote getQuote() { + return this.quote; + } + public QuoteCreatedMessagePayload build() { - return new QuoteCreatedMessagePayloadImpl(); + Objects.requireNonNull(quote, QuoteCreatedMessagePayload.class + ": quote is missing"); + return new QuoteCreatedMessagePayloadImpl(quote); } /** * builds QuoteCreatedMessagePayload without checking for non null required values */ public QuoteCreatedMessagePayload buildUnchecked() { - return new QuoteCreatedMessagePayloadImpl(); + return new QuoteCreatedMessagePayloadImpl(quote); } public static QuoteCreatedMessagePayloadBuilder of() { @@ -37,6 +65,7 @@ public static QuoteCreatedMessagePayloadBuilder of() { public static QuoteCreatedMessagePayloadBuilder of(final QuoteCreatedMessagePayload template) { QuoteCreatedMessagePayloadBuilder builder = new QuoteCreatedMessagePayloadBuilder(); + builder.quote = template.getQuote(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayloadImpl.java index 58d4e155aa0..9289558c257 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCreatedMessagePayloadImpl.java @@ -5,6 +5,7 @@ import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.ModelBase; @@ -14,15 +15,22 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteCreatedMessagePayload + *

    Generated after a successful Create Quote request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteCreatedMessagePayloadImpl implements QuoteCreatedMessagePayload, ModelBase { private String type; + private com.commercetools.api.models.quote.Quote quote; + @JsonCreator - QuoteCreatedMessagePayloadImpl() { + QuoteCreatedMessagePayloadImpl(@JsonProperty("quote") final com.commercetools.api.models.quote.Quote quote) { + this.quote = quote; + this.type = QUOTE_CREATED; + } + + public QuoteCreatedMessagePayloadImpl() { this.type = QUOTE_CREATED; } @@ -34,6 +42,18 @@ public String getType() { return this.type; } + /** + *

    Quote that was created.

    + */ + + public com.commercetools.api.models.quote.Quote getQuote() { + return this.quote; + } + + public void setQuote(final com.commercetools.api.models.quote.Quote quote) { + this.quote = quote; + } + @Override public boolean equals(Object o) { if (this == o) @@ -44,12 +64,12 @@ public boolean equals(Object o) { QuoteCreatedMessagePayloadImpl that = (QuoteCreatedMessagePayloadImpl) o; - return new EqualsBuilder().append(type, that.type).isEquals(); + return new EqualsBuilder().append(type, that.type).append(quote, that.quote).isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).toHashCode(); + return new HashCodeBuilder(17, 37).append(type).append(quote).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessage.java index a7372786351..f18ee006399 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteDeletedMessage + *

    Generated after a successful Delete Quote request.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessageBuilder.java index e8e32ca80ce..d022017fdcf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessageBuilder.java @@ -54,7 +54,7 @@ public class QuoteDeletedMessageBuilder implements Builder private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public QuoteDeletedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public QuoteDeletedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public QuoteDeletedMessageBuilder version(final Long version) { @@ -72,7 +72,7 @@ public QuoteDeletedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public QuoteDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public QuoteDeletedMessageBuilder createdAt(final java.time.ZonedDateTime create } /** - * + *

    Value of createdAt.

    */ public QuoteDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +90,7 @@ public QuoteDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime l } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteDeletedMessageBuilder lastModifiedBy( @@ -100,7 +100,7 @@ public QuoteDeletedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteDeletedMessageBuilder lastModifiedBy( @@ -130,7 +130,7 @@ public QuoteDeletedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public QuoteDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +139,7 @@ public QuoteDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public QuoteDeletedMessageBuilder resource(final com.commercetools.api.models.co } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteDeletedMessageBuilder resource( @@ -158,7 +158,7 @@ public QuoteDeletedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public QuoteDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public QuoteDeletedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +179,7 @@ public QuoteDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteDeletedMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessageImpl.java index 8f148ce2b4c..8a8aa980827 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteDeletedMessage + *

    Generated after a successful Delete Quote request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteDeletedMessageImpl implements QuoteDeletedMessage, ModelBase { @@ -70,7 +70,7 @@ public QuoteDeletedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessagePayload.java index 3f6886fadb9..aba51d6af56 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteDeletedMessagePayload + *

    Generated after a successful Delete Quote request.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessagePayloadImpl.java index b5338c8fec2..7bff21e3dc2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteDeletedMessagePayloadImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteDeletedMessagePayload + *

    Generated after a successful Delete Quote request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteDeletedMessagePayloadImpl implements QuoteDeletedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessage.java index fe4273bc1a5..2b55ab8a427 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessage.java @@ -5,13 +5,17 @@ import java.util.*; import java.util.function.Function; +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.quote_request.QuoteRequest; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteRequestCreatedMessage + *

    Generated after a successful Create Quote Request request.

    * *
    * Example to create an instance using the builder pattern @@ -25,6 +29,7 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) + * .quoteRequest(quoteRequestBuilder -> quoteRequestBuilder) * .build() * * @@ -35,6 +40,16 @@ public interface QuoteRequestCreatedMessage extends Message { String QUOTE_REQUEST_CREATED = "QuoteRequestCreated"; + /** + *

    Quote Request that was created.

    + */ + @NotNull + @Valid + @JsonProperty("quoteRequest") + public QuoteRequest getQuoteRequest(); + + public void setQuoteRequest(final QuoteRequest quoteRequest); + public static QuoteRequestCreatedMessage of() { return new QuoteRequestCreatedMessageImpl(); } @@ -51,6 +66,7 @@ public static QuoteRequestCreatedMessage of(final QuoteRequestCreatedMessage tem instance.setResource(template.getResource()); instance.setResourceVersion(template.getResourceVersion()); instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); + instance.setQuoteRequest(template.getQuoteRequest()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessageBuilder.java index 7fd207bd58a..269c2951194 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessageBuilder.java @@ -23,6 +23,7 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) + * .quoteRequest(quoteRequestBuilder -> quoteRequestBuilder) * .build() * * @@ -53,8 +54,10 @@ public class QuoteRequestCreatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public QuoteRequestCreatedMessageBuilder id(final String id) { @@ -63,7 +66,7 @@ public QuoteRequestCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public QuoteRequestCreatedMessageBuilder version(final Long version) { @@ -72,7 +75,7 @@ public QuoteRequestCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public QuoteRequestCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +84,7 @@ public QuoteRequestCreatedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

    Value of createdAt.

    */ public QuoteRequestCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +93,7 @@ public QuoteRequestCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDat } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteRequestCreatedMessageBuilder lastModifiedBy( @@ -100,7 +103,7 @@ public QuoteRequestCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteRequestCreatedMessageBuilder lastModifiedBy( @@ -130,7 +133,7 @@ public QuoteRequestCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public QuoteRequestCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +142,7 @@ public QuoteRequestCreatedMessageBuilder sequenceNumber(final Long sequenceNumbe } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteRequestCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +151,7 @@ public QuoteRequestCreatedMessageBuilder resource(final com.commercetools.api.mo } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteRequestCreatedMessageBuilder resource( @@ -158,7 +161,7 @@ public QuoteRequestCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public QuoteRequestCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +170,7 @@ public QuoteRequestCreatedMessageBuilder resourceVersion(final Long resourceVers } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteRequestCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +182,7 @@ public QuoteRequestCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteRequestCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -188,6 +191,26 @@ public QuoteRequestCreatedMessageBuilder resourceUserProvidedIdentifiers( return this; } + /** + *

    Quote Request that was created.

    + */ + + public QuoteRequestCreatedMessageBuilder quoteRequest( + Function builder) { + this.quoteRequest = builder.apply(com.commercetools.api.models.quote_request.QuoteRequestBuilder.of()).build(); + return this; + } + + /** + *

    Quote Request that was created.

    + */ + + public QuoteRequestCreatedMessageBuilder quoteRequest( + final com.commercetools.api.models.quote_request.QuoteRequest quoteRequest) { + this.quoteRequest = quoteRequest; + return this; + } + public String getId() { return this.id; } @@ -231,6 +254,10 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } + public com.commercetools.api.models.quote_request.QuoteRequest getQuoteRequest() { + return this.quoteRequest; + } + public QuoteRequestCreatedMessage build() { Objects.requireNonNull(id, QuoteRequestCreatedMessage.class + ": id is missing"); Objects.requireNonNull(version, QuoteRequestCreatedMessage.class + ": version is missing"); @@ -239,8 +266,9 @@ public QuoteRequestCreatedMessage build() { Objects.requireNonNull(sequenceNumber, QuoteRequestCreatedMessage.class + ": sequenceNumber is missing"); Objects.requireNonNull(resource, QuoteRequestCreatedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, QuoteRequestCreatedMessage.class + ": resourceVersion is missing"); + Objects.requireNonNull(quoteRequest, QuoteRequestCreatedMessage.class + ": quoteRequest is missing"); return new QuoteRequestCreatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, quoteRequest); } /** @@ -248,7 +276,7 @@ public QuoteRequestCreatedMessage build() { */ public QuoteRequestCreatedMessage buildUnchecked() { return new QuoteRequestCreatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, quoteRequest); } public static QuoteRequestCreatedMessageBuilder of() { @@ -267,6 +295,7 @@ public static QuoteRequestCreatedMessageBuilder of(final QuoteRequestCreatedMess builder.resource = template.getResource(); builder.resourceVersion = template.getResourceVersion(); builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); + builder.quoteRequest = template.getQuoteRequest(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessageImpl.java index 65abbf37c8c..217de55b1db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteRequestCreatedMessage + *

    Generated after a successful Create Quote Request request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteRequestCreatedMessageImpl implements QuoteRequestCreatedMessage, ModelBase { @@ -42,6 +42,8 @@ public class QuoteRequestCreatedMessageImpl implements QuoteRequestCreatedMessag private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + private com.commercetools.api.models.quote_request.QuoteRequest quoteRequest; + @JsonCreator QuoteRequestCreatedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -51,7 +53,8 @@ public class QuoteRequestCreatedMessageImpl implements QuoteRequestCreatedMessag @JsonProperty("sequenceNumber") final Long sequenceNumber, @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, - @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, + @JsonProperty("quoteRequest") final com.commercetools.api.models.quote_request.QuoteRequest quoteRequest) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -62,6 +65,7 @@ public class QuoteRequestCreatedMessageImpl implements QuoteRequestCreatedMessag this.resource = resource; this.resourceVersion = resourceVersion; this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + this.quoteRequest = quoteRequest; this.type = QUOTE_REQUEST_CREATED; } @@ -70,7 +74,7 @@ public QuoteRequestCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,13 +154,21 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { return this.resourceUserProvidedIdentifiers; } + /** + *

    Quote Request that was created.

    + */ + + public com.commercetools.api.models.quote_request.QuoteRequest getQuoteRequest() { + return this.quoteRequest; + } + public void setId(final String id) { this.id = id; } @@ -198,6 +210,10 @@ public void setResourceUserProvidedIdentifiers( this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; } + public void setQuoteRequest(final com.commercetools.api.models.quote_request.QuoteRequest quoteRequest) { + this.quoteRequest = quoteRequest; + } + @Override public boolean equals(Object o) { if (this == o) @@ -219,6 +235,7 @@ public boolean equals(Object o) { .append(resourceVersion, that.resourceVersion) .append(type, that.type) .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) + .append(quoteRequest, that.quoteRequest) .isEquals(); } @@ -235,6 +252,7 @@ public int hashCode() { .append(resourceVersion) .append(type) .append(resourceUserProvidedIdentifiers) + .append(quoteRequest) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayload.java index 3605f6a7deb..d43fdf6ab70 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayload.java @@ -5,19 +5,24 @@ import java.util.*; import java.util.function.Function; +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.quote_request.QuoteRequest; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteRequestCreatedMessagePayload + *

    Generated after a successful Create Quote Request request.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     QuoteRequestCreatedMessagePayload quoteRequestCreatedMessagePayload = QuoteRequestCreatedMessagePayload.builder()
    + *             .quoteRequest(quoteRequestBuilder -> quoteRequestBuilder)
      *             .build()
      * 
    *
    @@ -28,12 +33,23 @@ public interface QuoteRequestCreatedMessagePayload extends MessagePayload { String QUOTE_REQUEST_CREATED = "QuoteRequestCreated"; + /** + *

    Quote Request that was created.

    + */ + @NotNull + @Valid + @JsonProperty("quoteRequest") + public QuoteRequest getQuoteRequest(); + + public void setQuoteRequest(final QuoteRequest quoteRequest); + public static QuoteRequestCreatedMessagePayload of() { return new QuoteRequestCreatedMessagePayloadImpl(); } public static QuoteRequestCreatedMessagePayload of(final QuoteRequestCreatedMessagePayload template) { QuoteRequestCreatedMessagePayloadImpl instance = new QuoteRequestCreatedMessagePayloadImpl(); + instance.setQuoteRequest(template.getQuoteRequest()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayloadBuilder.java index 77a3e4dee25..968109e44ec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayloadBuilder.java @@ -2,6 +2,7 @@ package com.commercetools.api.models.message; import java.util.*; +import java.util.function.Function; import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -13,6 +14,7 @@ *
    *
    
      *     QuoteRequestCreatedMessagePayload quoteRequestCreatedMessagePayload = QuoteRequestCreatedMessagePayload.builder()
    + *             .quoteRequest(quoteRequestBuilder -> quoteRequestBuilder)
      *             .build()
      * 
    *
    @@ -20,15 +22,42 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteRequestCreatedMessagePayloadBuilder implements Builder { + private com.commercetools.api.models.quote_request.QuoteRequest quoteRequest; + + /** + *

    Quote Request that was created.

    + */ + + public QuoteRequestCreatedMessagePayloadBuilder quoteRequest( + Function builder) { + this.quoteRequest = builder.apply(com.commercetools.api.models.quote_request.QuoteRequestBuilder.of()).build(); + return this; + } + + /** + *

    Quote Request that was created.

    + */ + + public QuoteRequestCreatedMessagePayloadBuilder quoteRequest( + final com.commercetools.api.models.quote_request.QuoteRequest quoteRequest) { + this.quoteRequest = quoteRequest; + return this; + } + + public com.commercetools.api.models.quote_request.QuoteRequest getQuoteRequest() { + return this.quoteRequest; + } + public QuoteRequestCreatedMessagePayload build() { - return new QuoteRequestCreatedMessagePayloadImpl(); + Objects.requireNonNull(quoteRequest, QuoteRequestCreatedMessagePayload.class + ": quoteRequest is missing"); + return new QuoteRequestCreatedMessagePayloadImpl(quoteRequest); } /** * builds QuoteRequestCreatedMessagePayload without checking for non null required values */ public QuoteRequestCreatedMessagePayload buildUnchecked() { - return new QuoteRequestCreatedMessagePayloadImpl(); + return new QuoteRequestCreatedMessagePayloadImpl(quoteRequest); } public static QuoteRequestCreatedMessagePayloadBuilder of() { @@ -37,6 +66,7 @@ public static QuoteRequestCreatedMessagePayloadBuilder of() { public static QuoteRequestCreatedMessagePayloadBuilder of(final QuoteRequestCreatedMessagePayload template) { QuoteRequestCreatedMessagePayloadBuilder builder = new QuoteRequestCreatedMessagePayloadBuilder(); + builder.quoteRequest = template.getQuoteRequest(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayloadImpl.java index 3a6bd0b228a..3f0c70ebec3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCreatedMessagePayloadImpl.java @@ -5,6 +5,7 @@ import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.ModelBase; @@ -14,15 +15,23 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteRequestCreatedMessagePayload + *

    Generated after a successful Create Quote Request request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteRequestCreatedMessagePayloadImpl implements QuoteRequestCreatedMessagePayload, ModelBase { private String type; + private com.commercetools.api.models.quote_request.QuoteRequest quoteRequest; + @JsonCreator - QuoteRequestCreatedMessagePayloadImpl() { + QuoteRequestCreatedMessagePayloadImpl( + @JsonProperty("quoteRequest") final com.commercetools.api.models.quote_request.QuoteRequest quoteRequest) { + this.quoteRequest = quoteRequest; + this.type = QUOTE_REQUEST_CREATED; + } + + public QuoteRequestCreatedMessagePayloadImpl() { this.type = QUOTE_REQUEST_CREATED; } @@ -34,6 +43,18 @@ public String getType() { return this.type; } + /** + *

    Quote Request that was created.

    + */ + + public com.commercetools.api.models.quote_request.QuoteRequest getQuoteRequest() { + return this.quoteRequest; + } + + public void setQuoteRequest(final com.commercetools.api.models.quote_request.QuoteRequest quoteRequest) { + this.quoteRequest = quoteRequest; + } + @Override public boolean equals(Object o) { if (this == o) @@ -44,12 +65,12 @@ public boolean equals(Object o) { QuoteRequestCreatedMessagePayloadImpl that = (QuoteRequestCreatedMessagePayloadImpl) o; - return new EqualsBuilder().append(type, that.type).isEquals(); + return new EqualsBuilder().append(type, that.type).append(quoteRequest, that.quoteRequest).isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).toHashCode(); + return new HashCodeBuilder(17, 37).append(type).append(quoteRequest).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessage.java index 9513dbcad97..bd38362a4b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteRequestDeletedMessage + *

    Generated after a successful Delete Quote Request request.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessageBuilder.java index ac39bca6d3d..efddf3ba764 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessageBuilder.java @@ -54,7 +54,7 @@ public class QuoteRequestDeletedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public QuoteRequestDeletedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public QuoteRequestDeletedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public QuoteRequestDeletedMessageBuilder version(final Long version) { @@ -72,7 +72,7 @@ public QuoteRequestDeletedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public QuoteRequestDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public QuoteRequestDeletedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

    Value of createdAt.

    */ public QuoteRequestDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +90,7 @@ public QuoteRequestDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDat } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteRequestDeletedMessageBuilder lastModifiedBy( @@ -100,7 +100,7 @@ public QuoteRequestDeletedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteRequestDeletedMessageBuilder lastModifiedBy( @@ -130,7 +130,7 @@ public QuoteRequestDeletedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public QuoteRequestDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +139,7 @@ public QuoteRequestDeletedMessageBuilder sequenceNumber(final Long sequenceNumbe } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteRequestDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public QuoteRequestDeletedMessageBuilder resource(final com.commercetools.api.mo } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteRequestDeletedMessageBuilder resource( @@ -158,7 +158,7 @@ public QuoteRequestDeletedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public QuoteRequestDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public QuoteRequestDeletedMessageBuilder resourceVersion(final Long resourceVers } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteRequestDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +179,7 @@ public QuoteRequestDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteRequestDeletedMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessageImpl.java index 42c261d0de3..6426f202899 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteRequestDeletedMessage + *

    Generated after a successful Delete Quote Request request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteRequestDeletedMessageImpl implements QuoteRequestDeletedMessage, ModelBase { @@ -70,7 +70,7 @@ public QuoteRequestDeletedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessagePayload.java index 3e24dc973c7..509ad577625 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteRequestDeletedMessagePayload + *

    Generated after a successful Delete Quote Request request.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessagePayloadImpl.java index 35f30e8be8c..2d306a51c22 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestDeletedMessagePayloadImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteRequestDeletedMessagePayload + *

    Generated after a successful Delete Quote Request request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteRequestDeletedMessagePayloadImpl implements QuoteRequestDeletedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessage.java index 81669350ba9..a106c7a3f23 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteRequestStateChangedMessage + *

    Generated after a successful Change Quote Request State update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface QuoteRequestStateChangedMessage extends Message { String QUOTE_REQUEST_STATE_CHANGED = "QuoteRequestStateChanged"; /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request after the Change Quote Request State update action.

    */ @NotNull @JsonProperty("quoteRequestState") public QuoteRequestState getQuoteRequestState(); /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request before the Change Quote Request State update action.

    */ @NotNull @JsonProperty("oldQuoteRequestState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessageBuilder.java index 337cf09f8bf..aa4b036e1bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class QuoteRequestStateChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public QuoteRequestStateChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public QuoteRequestStateChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public QuoteRequestStateChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public QuoteRequestStateChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public QuoteRequestStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public QuoteRequestStateChangedMessageBuilder createdAt(final java.time.ZonedDat } /** - * + *

    Value of createdAt.

    */ public QuoteRequestStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public QuoteRequestStateChangedMessageBuilder lastModifiedAt(final java.time.Zon } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteRequestStateChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public QuoteRequestStateChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteRequestStateChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public QuoteRequestStateChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public QuoteRequestStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public QuoteRequestStateChangedMessageBuilder sequenceNumber(final Long sequence } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteRequestStateChangedMessageBuilder resource( @@ -155,7 +155,7 @@ public QuoteRequestStateChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteRequestStateChangedMessageBuilder resource( @@ -165,7 +165,7 @@ public QuoteRequestStateChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public QuoteRequestStateChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public QuoteRequestStateChangedMessageBuilder resourceVersion(final Long resourc } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteRequestStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public QuoteRequestStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteRequestStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public QuoteRequestStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request after the Change Quote Request State update action.

    */ public QuoteRequestStateChangedMessageBuilder quoteRequestState( @@ -206,7 +206,7 @@ public QuoteRequestStateChangedMessageBuilder quoteRequestState( } /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request before the Change Quote Request State update action.

    */ public QuoteRequestStateChangedMessageBuilder oldQuoteRequestState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessageImpl.java index 1bbee3e2d37..3a41f7aa3fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteRequestStateChangedMessage + *

    Generated after a successful Change Quote Request State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteRequestStateChangedMessageImpl implements QuoteRequestStateChangedMessage, ModelBase { @@ -79,7 +79,7 @@ public QuoteRequestStateChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request after the Change Quote Request State update action.

    */ public com.commercetools.api.models.quote_request.QuoteRequestState getQuoteRequestState() { @@ -175,7 +175,7 @@ public com.commercetools.api.models.quote_request.QuoteRequestState getQuoteRequ } /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request before the Change Quote Request State update action.

    */ public com.commercetools.api.models.quote_request.QuoteRequestState getOldQuoteRequestState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayload.java index a878c290c7b..0d2c5d09929 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteRequestStateChangedMessagePayload + *

    Generated after a successful Change Quote Request State update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface QuoteRequestStateChangedMessagePayload extends MessagePayload { String QUOTE_REQUEST_STATE_CHANGED = "QuoteRequestStateChanged"; /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request after the Change Quote Request State update action.

    */ @NotNull @JsonProperty("quoteRequestState") public QuoteRequestState getQuoteRequestState(); /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request before the Change Quote Request State update action.

    */ @NotNull @JsonProperty("oldQuoteRequestState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayloadBuilder.java index 41f672aafc8..ab511770b04 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayloadBuilder.java @@ -27,7 +27,7 @@ public class QuoteRequestStateChangedMessagePayloadBuilder implements BuilderPredefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request after the Change Quote Request State update action.

    */ public QuoteRequestStateChangedMessagePayloadBuilder quoteRequestState( @@ -37,7 +37,7 @@ public QuoteRequestStateChangedMessagePayloadBuilder quoteRequestState( } /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request before the Change Quote Request State update action.

    */ public QuoteRequestStateChangedMessagePayloadBuilder oldQuoteRequestState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayloadImpl.java index ede3d136892..f34785b9a14 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteRequestStateChangedMessagePayload + *

    Generated after a successful Change Quote Request State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteRequestStateChangedMessagePayloadImpl implements QuoteRequestStateChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request after the Change Quote Request State update action.

    */ public com.commercetools.api.models.quote_request.QuoteRequestState getQuoteRequestState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.quote_request.QuoteRequestState getQuoteRequ } /** - *

    Predefined states tracking the status of the Quote Request in the negotiation process.

    + *

    State of the Quote Request before the Change Quote Request State update action.

    */ public com.commercetools.api.models.quote_request.QuoteRequestState getOldQuoteRequestState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessage.java new file mode 100644 index 00000000000..53f3b1e9378 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessage.java @@ -0,0 +1,114 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Transition State update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteRequestStateTransitionMessage quoteRequestStateTransitionMessage = QuoteRequestStateTransitionMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = QuoteRequestStateTransitionMessageImpl.class) +public interface QuoteRequestStateTransitionMessage extends Message { + + String QUOTE_REQUEST_STATE_TRANSITION = "QuoteRequestStateTransition"; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateReference getState(); + + /** + *

    State of the Quote before the Transition State update action.

    + */ + @Valid + @JsonProperty("oldState") + public StateReference getOldState(); + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + @NotNull + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateReference state); + + public void setOldState(final StateReference oldState); + + public void setForce(final Boolean force); + + public static QuoteRequestStateTransitionMessage of() { + return new QuoteRequestStateTransitionMessageImpl(); + } + + public static QuoteRequestStateTransitionMessage of(final QuoteRequestStateTransitionMessage template) { + QuoteRequestStateTransitionMessageImpl instance = new QuoteRequestStateTransitionMessageImpl(); + instance.setId(template.getId()); + instance.setVersion(template.getVersion()); + instance.setCreatedAt(template.getCreatedAt()); + instance.setLastModifiedAt(template.getLastModifiedAt()); + instance.setLastModifiedBy(template.getLastModifiedBy()); + instance.setCreatedBy(template.getCreatedBy()); + instance.setSequenceNumber(template.getSequenceNumber()); + instance.setResource(template.getResource()); + instance.setResourceVersion(template.getResourceVersion()); + instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); + instance.setState(template.getState()); + instance.setOldState(template.getOldState()); + instance.setForce(template.getForce()); + return instance; + } + + public static QuoteRequestStateTransitionMessageBuilder builder() { + return QuoteRequestStateTransitionMessageBuilder.of(); + } + + public static QuoteRequestStateTransitionMessageBuilder builder(final QuoteRequestStateTransitionMessage template) { + return QuoteRequestStateTransitionMessageBuilder.of(template); + } + + default T withQuoteRequestStateTransitionMessage(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessageBuilder.java new file mode 100644 index 00000000000..f0b0eb94c38 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessageBuilder.java @@ -0,0 +1,355 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * QuoteRequestStateTransitionMessageBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteRequestStateTransitionMessage quoteRequestStateTransitionMessage = QuoteRequestStateTransitionMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteRequestStateTransitionMessageBuilder implements Builder { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + @Nullable + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + @Nullable + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + @Nullable + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private com.commercetools.api.models.state.StateReference state; + + @Nullable + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public QuoteRequestStateTransitionMessageBuilder id(final String id) { + this.id = id; + return this; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public QuoteRequestStateTransitionMessageBuilder version(final Long version) { + this.version = version; + return this; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public QuoteRequestStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + *

    Value of createdAt.

    + */ + + public QuoteRequestStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public QuoteRequestStateTransitionMessageBuilder lastModifiedBy( + Function builder) { + this.lastModifiedBy = builder.apply(com.commercetools.api.models.common.LastModifiedByBuilder.of()).build(); + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public QuoteRequestStateTransitionMessageBuilder lastModifiedBy( + @Nullable final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public QuoteRequestStateTransitionMessageBuilder createdBy( + Function builder) { + this.createdBy = builder.apply(com.commercetools.api.models.common.CreatedByBuilder.of()).build(); + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public QuoteRequestStateTransitionMessageBuilder createdBy( + @Nullable final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public QuoteRequestStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public QuoteRequestStateTransitionMessageBuilder resource( + final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public QuoteRequestStateTransitionMessageBuilder resource( + Function> builder) { + this.resource = builder.apply(com.commercetools.api.models.common.ReferenceBuilder.of()).build(); + return this; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public QuoteRequestStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public QuoteRequestStateTransitionMessageBuilder resourceUserProvidedIdentifiers( + Function builder) { + this.resourceUserProvidedIdentifiers = builder + .apply(com.commercetools.api.models.message.UserProvidedIdentifiersBuilder.of()) + .build(); + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public QuoteRequestStateTransitionMessageBuilder resourceUserProvidedIdentifiers( + @Nullable final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessageBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessageBuilder state( + final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessageBuilder oldState( + Function builder) { + this.oldState = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessageBuilder oldState( + @Nullable final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + return this; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessageBuilder force(final Boolean force) { + this.force = force; + return this; + } + + public String getId() { + return this.id; + } + + public Long getVersion() { + return this.version; + } + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + @Nullable + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + @Nullable + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + public Long getResourceVersion() { + return this.resourceVersion; + } + + @Nullable + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + @Nullable + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + public Boolean getForce() { + return this.force; + } + + public QuoteRequestStateTransitionMessage build() { + Objects.requireNonNull(id, QuoteRequestStateTransitionMessage.class + ": id is missing"); + Objects.requireNonNull(version, QuoteRequestStateTransitionMessage.class + ": version is missing"); + Objects.requireNonNull(createdAt, QuoteRequestStateTransitionMessage.class + ": createdAt is missing"); + Objects.requireNonNull(lastModifiedAt, + QuoteRequestStateTransitionMessage.class + ": lastModifiedAt is missing"); + Objects.requireNonNull(sequenceNumber, + QuoteRequestStateTransitionMessage.class + ": sequenceNumber is missing"); + Objects.requireNonNull(resource, QuoteRequestStateTransitionMessage.class + ": resource is missing"); + Objects.requireNonNull(resourceVersion, + QuoteRequestStateTransitionMessage.class + ": resourceVersion is missing"); + Objects.requireNonNull(state, QuoteRequestStateTransitionMessage.class + ": state is missing"); + Objects.requireNonNull(force, QuoteRequestStateTransitionMessage.class + ": force is missing"); + return new QuoteRequestStateTransitionMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, + createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, state, oldState, + force); + } + + /** + * builds QuoteRequestStateTransitionMessage without checking for non null required values + */ + public QuoteRequestStateTransitionMessage buildUnchecked() { + return new QuoteRequestStateTransitionMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, + createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, state, oldState, + force); + } + + public static QuoteRequestStateTransitionMessageBuilder of() { + return new QuoteRequestStateTransitionMessageBuilder(); + } + + public static QuoteRequestStateTransitionMessageBuilder of(final QuoteRequestStateTransitionMessage template) { + QuoteRequestStateTransitionMessageBuilder builder = new QuoteRequestStateTransitionMessageBuilder(); + builder.id = template.getId(); + builder.version = template.getVersion(); + builder.createdAt = template.getCreatedAt(); + builder.lastModifiedAt = template.getLastModifiedAt(); + builder.lastModifiedBy = template.getLastModifiedBy(); + builder.createdBy = template.getCreatedBy(); + builder.sequenceNumber = template.getSequenceNumber(); + builder.resource = template.getResource(); + builder.resourceVersion = template.getResourceVersion(); + builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); + builder.state = template.getState(); + builder.oldState = template.getOldState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessageImpl.java new file mode 100644 index 00000000000..9287aaed4f1 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessageImpl.java @@ -0,0 +1,296 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Transition State update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteRequestStateTransitionMessageImpl implements QuoteRequestStateTransitionMessage, ModelBase { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + private String type; + + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private com.commercetools.api.models.state.StateReference state; + + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + @JsonCreator + QuoteRequestStateTransitionMessageImpl(@JsonProperty("id") final String id, + @JsonProperty("version") final Long version, + @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, + @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt, + @JsonProperty("lastModifiedBy") final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy, + @JsonProperty("createdBy") final com.commercetools.api.models.common.CreatedBy createdBy, + @JsonProperty("sequenceNumber") final Long sequenceNumber, + @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, + @JsonProperty("resourceVersion") final Long resourceVersion, + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state, + @JsonProperty("oldState") final com.commercetools.api.models.state.StateReference oldState, + @JsonProperty("force") final Boolean force) { + this.id = id; + this.version = version; + this.createdAt = createdAt; + this.lastModifiedAt = lastModifiedAt; + this.lastModifiedBy = lastModifiedBy; + this.createdBy = createdBy; + this.sequenceNumber = sequenceNumber; + this.resource = resource; + this.resourceVersion = resourceVersion; + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + this.state = state; + this.oldState = oldState; + this.force = force; + this.type = QUOTE_REQUEST_STATE_TRANSITION; + } + + public QuoteRequestStateTransitionMessageImpl() { + this.type = QUOTE_REQUEST_STATE_TRANSITION; + } + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public String getId() { + return this.id; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public Long getVersion() { + return this.version; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + /** + *

    Value of createdAt.

    + */ + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + /** + *

    Value of createdBy.

    + */ + + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public Long getResourceVersion() { + return this.resourceVersion; + } + + /** + *

    Message Type of the Message.

    + */ + + public String getType() { + return this.type; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setId(final String id) { + this.id = id; + } + + public void setVersion(final Long version) { + this.version = version; + } + + public void setCreatedAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + } + + public void setLastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + } + + public void setLastModifiedBy(final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public void setCreatedBy(final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + } + + public void setSequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + } + + public void setResource(final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + } + + public void setResourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + } + + public void setResourceUserProvidedIdentifiers( + final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + } + + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + + public void setOldState(final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + QuoteRequestStateTransitionMessageImpl that = (QuoteRequestStateTransitionMessageImpl) o; + + return new EqualsBuilder().append(id, that.id) + .append(version, that.version) + .append(createdAt, that.createdAt) + .append(lastModifiedAt, that.lastModifiedAt) + .append(lastModifiedBy, that.lastModifiedBy) + .append(createdBy, that.createdBy) + .append(sequenceNumber, that.sequenceNumber) + .append(resource, that.resource) + .append(resourceVersion, that.resourceVersion) + .append(type, that.type) + .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) + .append(state, that.state) + .append(oldState, that.oldState) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(id) + .append(version) + .append(createdAt) + .append(lastModifiedAt) + .append(lastModifiedBy) + .append(createdBy) + .append(sequenceNumber) + .append(resource) + .append(resourceVersion) + .append(type) + .append(resourceUserProvidedIdentifiers) + .append(state) + .append(oldState) + .append(force) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayload.java new file mode 100644 index 00000000000..93705a4602c --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayload.java @@ -0,0 +1,100 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Transition State update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteRequestStateTransitionMessagePayload quoteRequestStateTransitionMessagePayload = QuoteRequestStateTransitionMessagePayload.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = QuoteRequestStateTransitionMessagePayloadImpl.class) +public interface QuoteRequestStateTransitionMessagePayload extends MessagePayload { + + String QUOTE_REQUEST_STATE_TRANSITION = "QuoteRequestStateTransition"; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateReference getState(); + + /** + *

    State of the Quote before the Transition State update action.

    + */ + @Valid + @JsonProperty("oldState") + public StateReference getOldState(); + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + @NotNull + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateReference state); + + public void setOldState(final StateReference oldState); + + public void setForce(final Boolean force); + + public static QuoteRequestStateTransitionMessagePayload of() { + return new QuoteRequestStateTransitionMessagePayloadImpl(); + } + + public static QuoteRequestStateTransitionMessagePayload of( + final QuoteRequestStateTransitionMessagePayload template) { + QuoteRequestStateTransitionMessagePayloadImpl instance = new QuoteRequestStateTransitionMessagePayloadImpl(); + instance.setState(template.getState()); + instance.setOldState(template.getOldState()); + instance.setForce(template.getForce()); + return instance; + } + + public static QuoteRequestStateTransitionMessagePayloadBuilder builder() { + return QuoteRequestStateTransitionMessagePayloadBuilder.of(); + } + + public static QuoteRequestStateTransitionMessagePayloadBuilder builder( + final QuoteRequestStateTransitionMessagePayload template) { + return QuoteRequestStateTransitionMessagePayloadBuilder.of(template); + } + + default T withQuoteRequestStateTransitionMessagePayload( + Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayloadBuilder.java new file mode 100644 index 00000000000..ad25d093678 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayloadBuilder.java @@ -0,0 +1,124 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * QuoteRequestStateTransitionMessagePayloadBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteRequestStateTransitionMessagePayload quoteRequestStateTransitionMessagePayload = QuoteRequestStateTransitionMessagePayload.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteRequestStateTransitionMessagePayloadBuilder + implements Builder { + + private com.commercetools.api.models.state.StateReference state; + + @Nullable + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessagePayloadBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessagePayloadBuilder state( + final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessagePayloadBuilder oldState( + Function builder) { + this.oldState = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessagePayloadBuilder oldState( + @Nullable final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + return this; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public QuoteRequestStateTransitionMessagePayloadBuilder force(final Boolean force) { + this.force = force; + return this; + } + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + @Nullable + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + public Boolean getForce() { + return this.force; + } + + public QuoteRequestStateTransitionMessagePayload build() { + Objects.requireNonNull(state, QuoteRequestStateTransitionMessagePayload.class + ": state is missing"); + Objects.requireNonNull(force, QuoteRequestStateTransitionMessagePayload.class + ": force is missing"); + return new QuoteRequestStateTransitionMessagePayloadImpl(state, oldState, force); + } + + /** + * builds QuoteRequestStateTransitionMessagePayload without checking for non null required values + */ + public QuoteRequestStateTransitionMessagePayload buildUnchecked() { + return new QuoteRequestStateTransitionMessagePayloadImpl(state, oldState, force); + } + + public static QuoteRequestStateTransitionMessagePayloadBuilder of() { + return new QuoteRequestStateTransitionMessagePayloadBuilder(); + } + + public static QuoteRequestStateTransitionMessagePayloadBuilder of( + final QuoteRequestStateTransitionMessagePayload template) { + QuoteRequestStateTransitionMessagePayloadBuilder builder = new QuoteRequestStateTransitionMessagePayloadBuilder(); + builder.state = template.getState(); + builder.oldState = template.getOldState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayloadImpl.java new file mode 100644 index 00000000000..15e5a456d98 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestStateTransitionMessagePayloadImpl.java @@ -0,0 +1,113 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Transition State update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteRequestStateTransitionMessagePayloadImpl + implements QuoteRequestStateTransitionMessagePayload, ModelBase { + + private String type; + + private com.commercetools.api.models.state.StateReference state; + + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + @JsonCreator + QuoteRequestStateTransitionMessagePayloadImpl( + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state, + @JsonProperty("oldState") final com.commercetools.api.models.state.StateReference oldState, + @JsonProperty("force") final Boolean force) { + this.state = state; + this.oldState = oldState; + this.force = force; + this.type = QUOTE_REQUEST_STATE_TRANSITION; + } + + public QuoteRequestStateTransitionMessagePayloadImpl() { + this.type = QUOTE_REQUEST_STATE_TRANSITION; + } + + /** + * + */ + + public String getType() { + return this.type; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + + public void setOldState(final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + QuoteRequestStateTransitionMessagePayloadImpl that = (QuoteRequestStateTransitionMessagePayloadImpl) o; + + return new EqualsBuilder().append(type, that.type) + .append(state, that.state) + .append(oldState, that.oldState) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(type).append(state).append(oldState).append(force).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessage.java index 22f332c9ffd..c6ddac772a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteStateChangedMessage + *

    Generated after a successful Change Quote State update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface QuoteStateChangedMessage extends Message { String QUOTE_STATE_CHANGED = "QuoteStateChanged"; /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote after the Change Quote State update action.

    */ @NotNull @JsonProperty("quoteState") public QuoteState getQuoteState(); /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote before the Change Quote State update action.

    */ @NotNull @JsonProperty("oldQuoteState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessageBuilder.java index 4b59e5ed1ef..fd83753cefb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class QuoteStateChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public QuoteStateChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public QuoteStateChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public QuoteStateChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public QuoteStateChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public QuoteStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public QuoteStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime c } /** - * + *

    Value of createdAt.

    */ public QuoteStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public QuoteStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateT } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteStateChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public QuoteStateChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public QuoteStateChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public QuoteStateChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public QuoteStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public QuoteStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteStateChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -154,7 +154,7 @@ public QuoteStateChangedMessageBuilder resource(final com.commercetools.api.mode } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public QuoteStateChangedMessageBuilder resource( @@ -164,7 +164,7 @@ public QuoteStateChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public QuoteStateChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public QuoteStateChangedMessageBuilder resourceVersion(final Long resourceVersio } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public QuoteStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public QuoteStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public QuoteStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote after the Change Quote State update action.

    */ public QuoteStateChangedMessageBuilder quoteState(final com.commercetools.api.models.quote.QuoteState quoteState) { @@ -204,7 +204,7 @@ public QuoteStateChangedMessageBuilder quoteState(final com.commercetools.api.mo } /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote before the Change Quote State update action.

    */ public QuoteStateChangedMessageBuilder oldQuoteState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessageImpl.java index 96210bc38fe..b3dd0a3fd44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteStateChangedMessage + *

    Generated after a successful Change Quote State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteStateChangedMessageImpl implements QuoteStateChangedMessage, ModelBase { @@ -78,7 +78,7 @@ public QuoteStateChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote after the Change Quote State update action.

    */ public com.commercetools.api.models.quote.QuoteState getQuoteState() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.quote.QuoteState getQuoteState() { } /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote before the Change Quote State update action.

    */ public com.commercetools.api.models.quote.QuoteState getOldQuoteState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayload.java index e19cbd415d8..31c10ce6529 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * QuoteStateChangedMessagePayload + *

    Generated after a successful Change Quote State update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface QuoteStateChangedMessagePayload extends MessagePayload { String QUOTE_STATE_CHANGED = "QuoteStateChanged"; /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote after the Change Quote State update action.

    */ @NotNull @JsonProperty("quoteState") public QuoteState getQuoteState(); /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote before the Change Quote State update action.

    */ @NotNull @JsonProperty("oldQuoteState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayloadBuilder.java index 80247bcf316..6738a1ecc0d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayloadBuilder.java @@ -27,7 +27,7 @@ public class QuoteStateChangedMessagePayloadBuilder implements BuilderPredefined states tracking the status of the Quote.

    + *

    State of the Quote after the Change Quote State update action.

    */ public QuoteStateChangedMessagePayloadBuilder quoteState( @@ -37,7 +37,7 @@ public QuoteStateChangedMessagePayloadBuilder quoteState( } /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote before the Change Quote State update action.

    */ public QuoteStateChangedMessagePayloadBuilder oldQuoteState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayloadImpl.java index 3bf36b03f7e..273a4bb0984 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * QuoteStateChangedMessagePayload + *

    Generated after a successful Change Quote State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class QuoteStateChangedMessagePayloadImpl implements QuoteStateChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote after the Change Quote State update action.

    */ public com.commercetools.api.models.quote.QuoteState getQuoteState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.quote.QuoteState getQuoteState() { } /** - *

    Predefined states tracking the status of the Quote.

    + *

    State of the Quote before the Change Quote State update action.

    */ public com.commercetools.api.models.quote.QuoteState getOldQuoteState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessage.java new file mode 100644 index 00000000000..34c2393b0b1 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessage.java @@ -0,0 +1,114 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Transition State update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteStateTransitionMessage quoteStateTransitionMessage = QuoteStateTransitionMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = QuoteStateTransitionMessageImpl.class) +public interface QuoteStateTransitionMessage extends Message { + + String QUOTE_STATE_TRANSITION = "QuoteStateTransition"; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateReference getState(); + + /** + *

    State of the Quote before the Transition State update action.

    + */ + @Valid + @JsonProperty("oldState") + public StateReference getOldState(); + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + @NotNull + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateReference state); + + public void setOldState(final StateReference oldState); + + public void setForce(final Boolean force); + + public static QuoteStateTransitionMessage of() { + return new QuoteStateTransitionMessageImpl(); + } + + public static QuoteStateTransitionMessage of(final QuoteStateTransitionMessage template) { + QuoteStateTransitionMessageImpl instance = new QuoteStateTransitionMessageImpl(); + instance.setId(template.getId()); + instance.setVersion(template.getVersion()); + instance.setCreatedAt(template.getCreatedAt()); + instance.setLastModifiedAt(template.getLastModifiedAt()); + instance.setLastModifiedBy(template.getLastModifiedBy()); + instance.setCreatedBy(template.getCreatedBy()); + instance.setSequenceNumber(template.getSequenceNumber()); + instance.setResource(template.getResource()); + instance.setResourceVersion(template.getResourceVersion()); + instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); + instance.setState(template.getState()); + instance.setOldState(template.getOldState()); + instance.setForce(template.getForce()); + return instance; + } + + public static QuoteStateTransitionMessageBuilder builder() { + return QuoteStateTransitionMessageBuilder.of(); + } + + public static QuoteStateTransitionMessageBuilder builder(final QuoteStateTransitionMessage template) { + return QuoteStateTransitionMessageBuilder.of(template); + } + + default T withQuoteStateTransitionMessage(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessageBuilder.java new file mode 100644 index 00000000000..387b990e630 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessageBuilder.java @@ -0,0 +1,348 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * QuoteStateTransitionMessageBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteStateTransitionMessage quoteStateTransitionMessage = QuoteStateTransitionMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteStateTransitionMessageBuilder implements Builder { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + @Nullable + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + @Nullable + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + @Nullable + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private com.commercetools.api.models.state.StateReference state; + + @Nullable + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public QuoteStateTransitionMessageBuilder id(final String id) { + this.id = id; + return this; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public QuoteStateTransitionMessageBuilder version(final Long version) { + this.version = version; + return this; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public QuoteStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + *

    Value of createdAt.

    + */ + + public QuoteStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public QuoteStateTransitionMessageBuilder lastModifiedBy( + Function builder) { + this.lastModifiedBy = builder.apply(com.commercetools.api.models.common.LastModifiedByBuilder.of()).build(); + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public QuoteStateTransitionMessageBuilder lastModifiedBy( + @Nullable final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public QuoteStateTransitionMessageBuilder createdBy( + Function builder) { + this.createdBy = builder.apply(com.commercetools.api.models.common.CreatedByBuilder.of()).build(); + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public QuoteStateTransitionMessageBuilder createdBy( + @Nullable final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public QuoteStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public QuoteStateTransitionMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public QuoteStateTransitionMessageBuilder resource( + Function> builder) { + this.resource = builder.apply(com.commercetools.api.models.common.ReferenceBuilder.of()).build(); + return this; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public QuoteStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public QuoteStateTransitionMessageBuilder resourceUserProvidedIdentifiers( + Function builder) { + this.resourceUserProvidedIdentifiers = builder + .apply(com.commercetools.api.models.message.UserProvidedIdentifiersBuilder.of()) + .build(); + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public QuoteStateTransitionMessageBuilder resourceUserProvidedIdentifiers( + @Nullable final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public QuoteStateTransitionMessageBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public QuoteStateTransitionMessageBuilder state(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public QuoteStateTransitionMessageBuilder oldState( + Function builder) { + this.oldState = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public QuoteStateTransitionMessageBuilder oldState( + @Nullable final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + return this; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public QuoteStateTransitionMessageBuilder force(final Boolean force) { + this.force = force; + return this; + } + + public String getId() { + return this.id; + } + + public Long getVersion() { + return this.version; + } + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + @Nullable + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + @Nullable + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + public Long getResourceVersion() { + return this.resourceVersion; + } + + @Nullable + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + @Nullable + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + public Boolean getForce() { + return this.force; + } + + public QuoteStateTransitionMessage build() { + Objects.requireNonNull(id, QuoteStateTransitionMessage.class + ": id is missing"); + Objects.requireNonNull(version, QuoteStateTransitionMessage.class + ": version is missing"); + Objects.requireNonNull(createdAt, QuoteStateTransitionMessage.class + ": createdAt is missing"); + Objects.requireNonNull(lastModifiedAt, QuoteStateTransitionMessage.class + ": lastModifiedAt is missing"); + Objects.requireNonNull(sequenceNumber, QuoteStateTransitionMessage.class + ": sequenceNumber is missing"); + Objects.requireNonNull(resource, QuoteStateTransitionMessage.class + ": resource is missing"); + Objects.requireNonNull(resourceVersion, QuoteStateTransitionMessage.class + ": resourceVersion is missing"); + Objects.requireNonNull(state, QuoteStateTransitionMessage.class + ": state is missing"); + Objects.requireNonNull(force, QuoteStateTransitionMessage.class + ": force is missing"); + return new QuoteStateTransitionMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, state, oldState, force); + } + + /** + * builds QuoteStateTransitionMessage without checking for non null required values + */ + public QuoteStateTransitionMessage buildUnchecked() { + return new QuoteStateTransitionMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, state, oldState, force); + } + + public static QuoteStateTransitionMessageBuilder of() { + return new QuoteStateTransitionMessageBuilder(); + } + + public static QuoteStateTransitionMessageBuilder of(final QuoteStateTransitionMessage template) { + QuoteStateTransitionMessageBuilder builder = new QuoteStateTransitionMessageBuilder(); + builder.id = template.getId(); + builder.version = template.getVersion(); + builder.createdAt = template.getCreatedAt(); + builder.lastModifiedAt = template.getLastModifiedAt(); + builder.lastModifiedBy = template.getLastModifiedBy(); + builder.createdBy = template.getCreatedBy(); + builder.sequenceNumber = template.getSequenceNumber(); + builder.resource = template.getResource(); + builder.resourceVersion = template.getResourceVersion(); + builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); + builder.state = template.getState(); + builder.oldState = template.getOldState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessageImpl.java new file mode 100644 index 00000000000..3309553223e --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessageImpl.java @@ -0,0 +1,295 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Transition State update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteStateTransitionMessageImpl implements QuoteStateTransitionMessage, ModelBase { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + private String type; + + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private com.commercetools.api.models.state.StateReference state; + + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + @JsonCreator + QuoteStateTransitionMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, + @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, + @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt, + @JsonProperty("lastModifiedBy") final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy, + @JsonProperty("createdBy") final com.commercetools.api.models.common.CreatedBy createdBy, + @JsonProperty("sequenceNumber") final Long sequenceNumber, + @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, + @JsonProperty("resourceVersion") final Long resourceVersion, + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state, + @JsonProperty("oldState") final com.commercetools.api.models.state.StateReference oldState, + @JsonProperty("force") final Boolean force) { + this.id = id; + this.version = version; + this.createdAt = createdAt; + this.lastModifiedAt = lastModifiedAt; + this.lastModifiedBy = lastModifiedBy; + this.createdBy = createdBy; + this.sequenceNumber = sequenceNumber; + this.resource = resource; + this.resourceVersion = resourceVersion; + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + this.state = state; + this.oldState = oldState; + this.force = force; + this.type = QUOTE_STATE_TRANSITION; + } + + public QuoteStateTransitionMessageImpl() { + this.type = QUOTE_STATE_TRANSITION; + } + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public String getId() { + return this.id; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public Long getVersion() { + return this.version; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + /** + *

    Value of createdAt.

    + */ + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + /** + *

    Value of createdBy.

    + */ + + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public Long getResourceVersion() { + return this.resourceVersion; + } + + /** + *

    Message Type of the Message.

    + */ + + public String getType() { + return this.type; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setId(final String id) { + this.id = id; + } + + public void setVersion(final Long version) { + this.version = version; + } + + public void setCreatedAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + } + + public void setLastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + } + + public void setLastModifiedBy(final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public void setCreatedBy(final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + } + + public void setSequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + } + + public void setResource(final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + } + + public void setResourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + } + + public void setResourceUserProvidedIdentifiers( + final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + } + + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + + public void setOldState(final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + QuoteStateTransitionMessageImpl that = (QuoteStateTransitionMessageImpl) o; + + return new EqualsBuilder().append(id, that.id) + .append(version, that.version) + .append(createdAt, that.createdAt) + .append(lastModifiedAt, that.lastModifiedAt) + .append(lastModifiedBy, that.lastModifiedBy) + .append(createdBy, that.createdBy) + .append(sequenceNumber, that.sequenceNumber) + .append(resource, that.resource) + .append(resourceVersion, that.resourceVersion) + .append(type, that.type) + .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) + .append(state, that.state) + .append(oldState, that.oldState) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(id) + .append(version) + .append(createdAt) + .append(lastModifiedAt) + .append(lastModifiedBy) + .append(createdBy) + .append(sequenceNumber) + .append(resource) + .append(resourceVersion) + .append(type) + .append(resourceUserProvidedIdentifiers) + .append(state) + .append(oldState) + .append(force) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayload.java new file mode 100644 index 00000000000..4761b473eb7 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayload.java @@ -0,0 +1,97 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Transition State update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteStateTransitionMessagePayload quoteStateTransitionMessagePayload = QuoteStateTransitionMessagePayload.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = QuoteStateTransitionMessagePayloadImpl.class) +public interface QuoteStateTransitionMessagePayload extends MessagePayload { + + String QUOTE_STATE_TRANSITION = "QuoteStateTransition"; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateReference getState(); + + /** + *

    State of the Quote before the Transition State update action.

    + */ + @Valid + @JsonProperty("oldState") + public StateReference getOldState(); + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + @NotNull + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateReference state); + + public void setOldState(final StateReference oldState); + + public void setForce(final Boolean force); + + public static QuoteStateTransitionMessagePayload of() { + return new QuoteStateTransitionMessagePayloadImpl(); + } + + public static QuoteStateTransitionMessagePayload of(final QuoteStateTransitionMessagePayload template) { + QuoteStateTransitionMessagePayloadImpl instance = new QuoteStateTransitionMessagePayloadImpl(); + instance.setState(template.getState()); + instance.setOldState(template.getOldState()); + instance.setForce(template.getForce()); + return instance; + } + + public static QuoteStateTransitionMessagePayloadBuilder builder() { + return QuoteStateTransitionMessagePayloadBuilder.of(); + } + + public static QuoteStateTransitionMessagePayloadBuilder builder(final QuoteStateTransitionMessagePayload template) { + return QuoteStateTransitionMessagePayloadBuilder.of(template); + } + + default T withQuoteStateTransitionMessagePayload(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayloadBuilder.java new file mode 100644 index 00000000000..f0ec3945248 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayloadBuilder.java @@ -0,0 +1,122 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * QuoteStateTransitionMessagePayloadBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteStateTransitionMessagePayload quoteStateTransitionMessagePayload = QuoteStateTransitionMessagePayload.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteStateTransitionMessagePayloadBuilder implements Builder { + + private com.commercetools.api.models.state.StateReference state; + + @Nullable + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public QuoteStateTransitionMessagePayloadBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public QuoteStateTransitionMessagePayloadBuilder state( + final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public QuoteStateTransitionMessagePayloadBuilder oldState( + Function builder) { + this.oldState = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public QuoteStateTransitionMessagePayloadBuilder oldState( + @Nullable final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + return this; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public QuoteStateTransitionMessagePayloadBuilder force(final Boolean force) { + this.force = force; + return this; + } + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + @Nullable + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + public Boolean getForce() { + return this.force; + } + + public QuoteStateTransitionMessagePayload build() { + Objects.requireNonNull(state, QuoteStateTransitionMessagePayload.class + ": state is missing"); + Objects.requireNonNull(force, QuoteStateTransitionMessagePayload.class + ": force is missing"); + return new QuoteStateTransitionMessagePayloadImpl(state, oldState, force); + } + + /** + * builds QuoteStateTransitionMessagePayload without checking for non null required values + */ + public QuoteStateTransitionMessagePayload buildUnchecked() { + return new QuoteStateTransitionMessagePayloadImpl(state, oldState, force); + } + + public static QuoteStateTransitionMessagePayloadBuilder of() { + return new QuoteStateTransitionMessagePayloadBuilder(); + } + + public static QuoteStateTransitionMessagePayloadBuilder of(final QuoteStateTransitionMessagePayload template) { + QuoteStateTransitionMessagePayloadBuilder builder = new QuoteStateTransitionMessagePayloadBuilder(); + builder.state = template.getState(); + builder.oldState = template.getOldState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayloadImpl.java new file mode 100644 index 00000000000..34e882cb40d --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteStateTransitionMessagePayloadImpl.java @@ -0,0 +1,112 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Transition State update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteStateTransitionMessagePayloadImpl implements QuoteStateTransitionMessagePayload, ModelBase { + + private String type; + + private com.commercetools.api.models.state.StateReference state; + + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + @JsonCreator + QuoteStateTransitionMessagePayloadImpl( + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state, + @JsonProperty("oldState") final com.commercetools.api.models.state.StateReference oldState, + @JsonProperty("force") final Boolean force) { + this.state = state; + this.oldState = oldState; + this.force = force; + this.type = QUOTE_STATE_TRANSITION; + } + + public QuoteStateTransitionMessagePayloadImpl() { + this.type = QUOTE_STATE_TRANSITION; + } + + /** + * + */ + + public String getType() { + return this.type; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + + public void setOldState(final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + QuoteStateTransitionMessagePayloadImpl that = (QuoteStateTransitionMessagePayloadImpl) o; + + return new EqualsBuilder().append(type, that.type) + .append(state, that.state) + .append(oldState, that.oldState) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(type).append(state).append(oldState).append(force).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessage.java similarity index 68% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessage.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessage.java index 2fed8f3d505..dd6a69ee673 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessage.java @@ -15,13 +15,13 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnInfoAddedMessage + *

    Generated after a successful Add Return Info update action.

    * *
    * Example to create an instance using the builder pattern *
    *
    
    - *     OrderReturnInfoAddedMessage orderReturnInfoAddedMessage = OrderReturnInfoAddedMessage.builder()
    + *     ReturnInfoAddedMessage returnInfoAddedMessage = ReturnInfoAddedMessage.builder()
      *             .id("{id}")
      *             .version(0.3)
      *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    @@ -35,13 +35,13 @@
      * 
    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -@JsonDeserialize(as = OrderReturnInfoAddedMessageImpl.class) -public interface OrderReturnInfoAddedMessage extends OrderMessage { +@JsonDeserialize(as = ReturnInfoAddedMessageImpl.class) +public interface ReturnInfoAddedMessage extends OrderMessage { String RETURN_INFO_ADDED = "ReturnInfoAdded"; /** - * + *

    The ReturnInfo that was added to the Order.

    */ @NotNull @Valid @@ -50,12 +50,12 @@ public interface OrderReturnInfoAddedMessage extends OrderMessage { public void setReturnInfo(final ReturnInfo returnInfo); - public static OrderReturnInfoAddedMessage of() { - return new OrderReturnInfoAddedMessageImpl(); + public static ReturnInfoAddedMessage of() { + return new ReturnInfoAddedMessageImpl(); } - public static OrderReturnInfoAddedMessage of(final OrderReturnInfoAddedMessage template) { - OrderReturnInfoAddedMessageImpl instance = new OrderReturnInfoAddedMessageImpl(); + public static ReturnInfoAddedMessage of(final ReturnInfoAddedMessage template) { + ReturnInfoAddedMessageImpl instance = new ReturnInfoAddedMessageImpl(); instance.setId(template.getId()); instance.setVersion(template.getVersion()); instance.setCreatedAt(template.getCreatedAt()); @@ -70,23 +70,23 @@ public static OrderReturnInfoAddedMessage of(final OrderReturnInfoAddedMessage t return instance; } - public static OrderReturnInfoAddedMessageBuilder builder() { - return OrderReturnInfoAddedMessageBuilder.of(); + public static ReturnInfoAddedMessageBuilder builder() { + return ReturnInfoAddedMessageBuilder.of(); } - public static OrderReturnInfoAddedMessageBuilder builder(final OrderReturnInfoAddedMessage template) { - return OrderReturnInfoAddedMessageBuilder.of(template); + public static ReturnInfoAddedMessageBuilder builder(final ReturnInfoAddedMessage template) { + return ReturnInfoAddedMessageBuilder.of(template); } - default T withOrderReturnInfoAddedMessage(Function helper) { + default T withReturnInfoAddedMessage(Function helper) { return helper.apply(this); } - public static com.fasterxml.jackson.core.type.TypeReference typeReference() { - return new com.fasterxml.jackson.core.type.TypeReference() { + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { @Override public String toString() { - return "TypeReference"; + return "TypeReference"; } }; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageBuilder.java similarity index 59% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessageBuilder.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageBuilder.java index 1c2b8303935..378b0f47b82 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageBuilder.java @@ -10,12 +10,12 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnInfoAddedMessageBuilder + * ReturnInfoAddedMessageBuilder *
    * Example to create an instance using the builder pattern *
    *
    
    - *     OrderReturnInfoAddedMessage orderReturnInfoAddedMessage = OrderReturnInfoAddedMessage.builder()
    + *     ReturnInfoAddedMessage returnInfoAddedMessage = ReturnInfoAddedMessage.builder()
      *             .id("{id}")
      *             .version(0.3)
      *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    @@ -29,7 +29,7 @@
      * 
    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class OrderReturnInfoAddedMessageBuilder implements Builder { +public class ReturnInfoAddedMessageBuilder implements Builder { private String id; @@ -57,56 +57,56 @@ public class OrderReturnInfoAddedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ - public OrderReturnInfoAddedMessageBuilder id(final String id) { + public ReturnInfoAddedMessageBuilder id(final String id) { this.id = id; return this; } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ - public OrderReturnInfoAddedMessageBuilder version(final Long version) { + public ReturnInfoAddedMessageBuilder version(final Long version) { this.version = version; return this; } /** - * + *

    Date and time (UTC) the Message was generated.

    */ - public OrderReturnInfoAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { + public ReturnInfoAddedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { this.createdAt = createdAt; return this; } /** - * + *

    Value of createdAt.

    */ - public OrderReturnInfoAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + public ReturnInfoAddedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { this.lastModifiedAt = lastModifiedAt; return this; } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ - public OrderReturnInfoAddedMessageBuilder lastModifiedBy( + public ReturnInfoAddedMessageBuilder lastModifiedBy( Function builder) { this.lastModifiedBy = builder.apply(com.commercetools.api.models.common.LastModifiedByBuilder.of()).build(); return this; } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ - public OrderReturnInfoAddedMessageBuilder lastModifiedBy( + public ReturnInfoAddedMessageBuilder lastModifiedBy( @Nullable final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; return this; @@ -116,7 +116,7 @@ public OrderReturnInfoAddedMessageBuilder lastModifiedBy( *

    Present on resources created after 1 February 2019 except for events not tracked.

    */ - public OrderReturnInfoAddedMessageBuilder createdBy( + public ReturnInfoAddedMessageBuilder createdBy( Function builder) { this.createdBy = builder.apply(com.commercetools.api.models.common.CreatedByBuilder.of()).build(); return this; @@ -126,54 +126,54 @@ public OrderReturnInfoAddedMessageBuilder createdBy( *

    Present on resources created after 1 February 2019 except for events not tracked.

    */ - public OrderReturnInfoAddedMessageBuilder createdBy( + public ReturnInfoAddedMessageBuilder createdBy( @Nullable final com.commercetools.api.models.common.CreatedBy createdBy) { this.createdBy = createdBy; return this; } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ - public OrderReturnInfoAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { + public ReturnInfoAddedMessageBuilder sequenceNumber(final Long sequenceNumber) { this.sequenceNumber = sequenceNumber; return this; } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ - public OrderReturnInfoAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { + public ReturnInfoAddedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { this.resource = resource; return this; } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ - public OrderReturnInfoAddedMessageBuilder resource( + public ReturnInfoAddedMessageBuilder resource( Function> builder) { this.resource = builder.apply(com.commercetools.api.models.common.ReferenceBuilder.of()).build(); return this; } /** - * + *

    Version of the resource on which the change or action was performed.

    */ - public OrderReturnInfoAddedMessageBuilder resourceVersion(final Long resourceVersion) { + public ReturnInfoAddedMessageBuilder resourceVersion(final Long resourceVersion) { this.resourceVersion = resourceVersion; return this; } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ - public OrderReturnInfoAddedMessageBuilder resourceUserProvidedIdentifiers( + public ReturnInfoAddedMessageBuilder resourceUserProvidedIdentifiers( Function builder) { this.resourceUserProvidedIdentifiers = builder .apply(com.commercetools.api.models.message.UserProvidedIdentifiersBuilder.of()) @@ -182,31 +182,30 @@ public OrderReturnInfoAddedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ - public OrderReturnInfoAddedMessageBuilder resourceUserProvidedIdentifiers( + public ReturnInfoAddedMessageBuilder resourceUserProvidedIdentifiers( @Nullable final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; return this; } /** - * + *

    The ReturnInfo that was added to the Order.

    */ - public OrderReturnInfoAddedMessageBuilder returnInfo( + public ReturnInfoAddedMessageBuilder returnInfo( Function builder) { this.returnInfo = builder.apply(com.commercetools.api.models.order.ReturnInfoBuilder.of()).build(); return this; } /** - * + *

    The ReturnInfo that was added to the Order.

    */ - public OrderReturnInfoAddedMessageBuilder returnInfo( - final com.commercetools.api.models.order.ReturnInfo returnInfo) { + public ReturnInfoAddedMessageBuilder returnInfo(final com.commercetools.api.models.order.ReturnInfo returnInfo) { this.returnInfo = returnInfo; return this; } @@ -258,33 +257,33 @@ public com.commercetools.api.models.order.ReturnInfo getReturnInfo() { return this.returnInfo; } - public OrderReturnInfoAddedMessage build() { - Objects.requireNonNull(id, OrderReturnInfoAddedMessage.class + ": id is missing"); - Objects.requireNonNull(version, OrderReturnInfoAddedMessage.class + ": version is missing"); - Objects.requireNonNull(createdAt, OrderReturnInfoAddedMessage.class + ": createdAt is missing"); - Objects.requireNonNull(lastModifiedAt, OrderReturnInfoAddedMessage.class + ": lastModifiedAt is missing"); - Objects.requireNonNull(sequenceNumber, OrderReturnInfoAddedMessage.class + ": sequenceNumber is missing"); - Objects.requireNonNull(resource, OrderReturnInfoAddedMessage.class + ": resource is missing"); - Objects.requireNonNull(resourceVersion, OrderReturnInfoAddedMessage.class + ": resourceVersion is missing"); - Objects.requireNonNull(returnInfo, OrderReturnInfoAddedMessage.class + ": returnInfo is missing"); - return new OrderReturnInfoAddedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, + public ReturnInfoAddedMessage build() { + Objects.requireNonNull(id, ReturnInfoAddedMessage.class + ": id is missing"); + Objects.requireNonNull(version, ReturnInfoAddedMessage.class + ": version is missing"); + Objects.requireNonNull(createdAt, ReturnInfoAddedMessage.class + ": createdAt is missing"); + Objects.requireNonNull(lastModifiedAt, ReturnInfoAddedMessage.class + ": lastModifiedAt is missing"); + Objects.requireNonNull(sequenceNumber, ReturnInfoAddedMessage.class + ": sequenceNumber is missing"); + Objects.requireNonNull(resource, ReturnInfoAddedMessage.class + ": resource is missing"); + Objects.requireNonNull(resourceVersion, ReturnInfoAddedMessage.class + ": resourceVersion is missing"); + Objects.requireNonNull(returnInfo, ReturnInfoAddedMessage.class + ": returnInfo is missing"); + return new ReturnInfoAddedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, returnInfo); } /** - * builds OrderReturnInfoAddedMessage without checking for non null required values + * builds ReturnInfoAddedMessage without checking for non null required values */ - public OrderReturnInfoAddedMessage buildUnchecked() { - return new OrderReturnInfoAddedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, + public ReturnInfoAddedMessage buildUnchecked() { + return new ReturnInfoAddedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, returnInfo); } - public static OrderReturnInfoAddedMessageBuilder of() { - return new OrderReturnInfoAddedMessageBuilder(); + public static ReturnInfoAddedMessageBuilder of() { + return new ReturnInfoAddedMessageBuilder(); } - public static OrderReturnInfoAddedMessageBuilder of(final OrderReturnInfoAddedMessage template) { - OrderReturnInfoAddedMessageBuilder builder = new OrderReturnInfoAddedMessageBuilder(); + public static ReturnInfoAddedMessageBuilder of(final ReturnInfoAddedMessage template) { + ReturnInfoAddedMessageBuilder builder = new ReturnInfoAddedMessageBuilder(); builder.id = template.getId(); builder.version = template.getVersion(); builder.createdAt = template.getCreatedAt(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageImpl.java similarity index 81% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessageImpl.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageImpl.java index e08d24e36c7..7ad55189624 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageImpl.java @@ -15,10 +15,10 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderReturnInfoAddedMessage + *

    Generated after a successful Add Return Info update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class OrderReturnInfoAddedMessageImpl implements OrderReturnInfoAddedMessage, ModelBase { +public class ReturnInfoAddedMessageImpl implements ReturnInfoAddedMessage, ModelBase { private String id; @@ -45,7 +45,7 @@ public class OrderReturnInfoAddedMessageImpl implements OrderReturnInfoAddedMess private com.commercetools.api.models.order.ReturnInfo returnInfo; @JsonCreator - OrderReturnInfoAddedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, + ReturnInfoAddedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt, @JsonProperty("lastModifiedBy") final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy, @@ -69,12 +69,12 @@ public class OrderReturnInfoAddedMessageImpl implements OrderReturnInfoAddedMess this.type = RETURN_INFO_ADDED; } - public OrderReturnInfoAddedMessageImpl() { + public ReturnInfoAddedMessageImpl() { this.type = RETURN_INFO_ADDED; } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    The ReturnInfo that was added to the Order.

    */ public com.commercetools.api.models.order.ReturnInfo getReturnInfo() { @@ -222,7 +222,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; - OrderReturnInfoAddedMessageImpl that = (OrderReturnInfoAddedMessageImpl) o; + ReturnInfoAddedMessageImpl that = (ReturnInfoAddedMessageImpl) o; return new EqualsBuilder().append(id, that.id) .append(version, that.version) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayload.java similarity index 52% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayload.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayload.java index 82c45c65f20..67e15a8551d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayload.java @@ -15,26 +15,26 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnInfoAddedMessagePayload + *

    Generated after a successful Add Return Info update action.

    * *
    * Example to create an instance using the builder pattern *
    *
    
    - *     OrderReturnInfoAddedMessagePayload orderReturnInfoAddedMessagePayload = OrderReturnInfoAddedMessagePayload.builder()
    + *     ReturnInfoAddedMessagePayload returnInfoAddedMessagePayload = ReturnInfoAddedMessagePayload.builder()
      *             .returnInfo(returnInfoBuilder -> returnInfoBuilder)
      *             .build()
      * 
    *
    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -@JsonDeserialize(as = OrderReturnInfoAddedMessagePayloadImpl.class) -public interface OrderReturnInfoAddedMessagePayload extends OrderMessagePayload { +@JsonDeserialize(as = ReturnInfoAddedMessagePayloadImpl.class) +public interface ReturnInfoAddedMessagePayload extends OrderMessagePayload { String RETURN_INFO_ADDED = "ReturnInfoAdded"; /** - * + *

    The ReturnInfo that was added to the Order.

    */ @NotNull @Valid @@ -43,33 +43,33 @@ public interface OrderReturnInfoAddedMessagePayload extends OrderMessagePayload public void setReturnInfo(final ReturnInfo returnInfo); - public static OrderReturnInfoAddedMessagePayload of() { - return new OrderReturnInfoAddedMessagePayloadImpl(); + public static ReturnInfoAddedMessagePayload of() { + return new ReturnInfoAddedMessagePayloadImpl(); } - public static OrderReturnInfoAddedMessagePayload of(final OrderReturnInfoAddedMessagePayload template) { - OrderReturnInfoAddedMessagePayloadImpl instance = new OrderReturnInfoAddedMessagePayloadImpl(); + public static ReturnInfoAddedMessagePayload of(final ReturnInfoAddedMessagePayload template) { + ReturnInfoAddedMessagePayloadImpl instance = new ReturnInfoAddedMessagePayloadImpl(); instance.setReturnInfo(template.getReturnInfo()); return instance; } - public static OrderReturnInfoAddedMessagePayloadBuilder builder() { - return OrderReturnInfoAddedMessagePayloadBuilder.of(); + public static ReturnInfoAddedMessagePayloadBuilder builder() { + return ReturnInfoAddedMessagePayloadBuilder.of(); } - public static OrderReturnInfoAddedMessagePayloadBuilder builder(final OrderReturnInfoAddedMessagePayload template) { - return OrderReturnInfoAddedMessagePayloadBuilder.of(template); + public static ReturnInfoAddedMessagePayloadBuilder builder(final ReturnInfoAddedMessagePayload template) { + return ReturnInfoAddedMessagePayloadBuilder.of(template); } - default T withOrderReturnInfoAddedMessagePayload(Function helper) { + default T withReturnInfoAddedMessagePayload(Function helper) { return helper.apply(this); } - public static com.fasterxml.jackson.core.type.TypeReference typeReference() { - return new com.fasterxml.jackson.core.type.TypeReference() { + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { @Override public String toString() { - return "TypeReference"; + return "TypeReference"; } }; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadBuilder.java similarity index 51% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayloadBuilder.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadBuilder.java index 5a4c8599457..e9cf49af40d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadBuilder.java @@ -8,37 +8,37 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnInfoAddedMessagePayloadBuilder + * ReturnInfoAddedMessagePayloadBuilder *
    * Example to create an instance using the builder pattern *
    *
    
    - *     OrderReturnInfoAddedMessagePayload orderReturnInfoAddedMessagePayload = OrderReturnInfoAddedMessagePayload.builder()
    + *     ReturnInfoAddedMessagePayload returnInfoAddedMessagePayload = ReturnInfoAddedMessagePayload.builder()
      *             .returnInfo(returnInfoBuilder -> returnInfoBuilder)
      *             .build()
      * 
    *
    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class OrderReturnInfoAddedMessagePayloadBuilder implements Builder { +public class ReturnInfoAddedMessagePayloadBuilder implements Builder { private com.commercetools.api.models.order.ReturnInfo returnInfo; /** - * + *

    The ReturnInfo that was added to the Order.

    */ - public OrderReturnInfoAddedMessagePayloadBuilder returnInfo( + public ReturnInfoAddedMessagePayloadBuilder returnInfo( Function builder) { this.returnInfo = builder.apply(com.commercetools.api.models.order.ReturnInfoBuilder.of()).build(); return this; } /** - * + *

    The ReturnInfo that was added to the Order.

    */ - public OrderReturnInfoAddedMessagePayloadBuilder returnInfo( + public ReturnInfoAddedMessagePayloadBuilder returnInfo( final com.commercetools.api.models.order.ReturnInfo returnInfo) { this.returnInfo = returnInfo; return this; @@ -48,24 +48,24 @@ public com.commercetools.api.models.order.ReturnInfo getReturnInfo() { return this.returnInfo; } - public OrderReturnInfoAddedMessagePayload build() { - Objects.requireNonNull(returnInfo, OrderReturnInfoAddedMessagePayload.class + ": returnInfo is missing"); - return new OrderReturnInfoAddedMessagePayloadImpl(returnInfo); + public ReturnInfoAddedMessagePayload build() { + Objects.requireNonNull(returnInfo, ReturnInfoAddedMessagePayload.class + ": returnInfo is missing"); + return new ReturnInfoAddedMessagePayloadImpl(returnInfo); } /** - * builds OrderReturnInfoAddedMessagePayload without checking for non null required values + * builds ReturnInfoAddedMessagePayload without checking for non null required values */ - public OrderReturnInfoAddedMessagePayload buildUnchecked() { - return new OrderReturnInfoAddedMessagePayloadImpl(returnInfo); + public ReturnInfoAddedMessagePayload buildUnchecked() { + return new ReturnInfoAddedMessagePayloadImpl(returnInfo); } - public static OrderReturnInfoAddedMessagePayloadBuilder of() { - return new OrderReturnInfoAddedMessagePayloadBuilder(); + public static ReturnInfoAddedMessagePayloadBuilder of() { + return new ReturnInfoAddedMessagePayloadBuilder(); } - public static OrderReturnInfoAddedMessagePayloadBuilder of(final OrderReturnInfoAddedMessagePayload template) { - OrderReturnInfoAddedMessagePayloadBuilder builder = new OrderReturnInfoAddedMessagePayloadBuilder(); + public static ReturnInfoAddedMessagePayloadBuilder of(final ReturnInfoAddedMessagePayload template) { + ReturnInfoAddedMessagePayloadBuilder builder = new ReturnInfoAddedMessagePayloadBuilder(); builder.returnInfo = template.getReturnInfo(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadImpl.java similarity index 81% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayloadImpl.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadImpl.java index 37c3048e65d..4fa08ea6a5e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadImpl.java @@ -15,23 +15,23 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderReturnInfoAddedMessagePayload + *

    Generated after a successful Add Return Info update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class OrderReturnInfoAddedMessagePayloadImpl implements OrderReturnInfoAddedMessagePayload, ModelBase { +public class ReturnInfoAddedMessagePayloadImpl implements ReturnInfoAddedMessagePayload, ModelBase { private String type; private com.commercetools.api.models.order.ReturnInfo returnInfo; @JsonCreator - OrderReturnInfoAddedMessagePayloadImpl( + ReturnInfoAddedMessagePayloadImpl( @JsonProperty("returnInfo") final com.commercetools.api.models.order.ReturnInfo returnInfo) { this.returnInfo = returnInfo; this.type = RETURN_INFO_ADDED; } - public OrderReturnInfoAddedMessagePayloadImpl() { + public ReturnInfoAddedMessagePayloadImpl() { this.type = RETURN_INFO_ADDED; } @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

    The ReturnInfo that was added to the Order.

    */ public com.commercetools.api.models.order.ReturnInfo getReturnInfo() { @@ -63,7 +63,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; - OrderReturnInfoAddedMessagePayloadImpl that = (OrderReturnInfoAddedMessagePayloadImpl) o; + ReturnInfoAddedMessagePayloadImpl that = (ReturnInfoAddedMessagePayloadImpl) o; return new EqualsBuilder().append(type, that.type).append(returnInfo, that.returnInfo).isEquals(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessage.java similarity index 68% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessage.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessage.java index 0815cd5785a..4ac37555e02 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessage.java @@ -14,13 +14,13 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnInfoSetMessage + *

    Generated after a successful Set Return Info update action on Orders and Order Edits.

    * *
    * Example to create an instance using the builder pattern *
    *
    
    - *     OrderReturnInfoSetMessage orderReturnInfoSetMessage = OrderReturnInfoSetMessage.builder()
    + *     ReturnInfoSetMessage returnInfoSetMessage = ReturnInfoSetMessage.builder()
      *             .id("{id}")
      *             .version(0.3)
      *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    @@ -33,13 +33,13 @@
      * 
    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -@JsonDeserialize(as = OrderReturnInfoSetMessageImpl.class) -public interface OrderReturnInfoSetMessage extends OrderMessage { +@JsonDeserialize(as = ReturnInfoSetMessageImpl.class) +public interface ReturnInfoSetMessage extends OrderMessage { String RETURN_INFO_SET = "ReturnInfoSet"; /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ @Valid @JsonProperty("returnInfo") @@ -50,12 +50,12 @@ public interface OrderReturnInfoSetMessage extends OrderMessage { public void setReturnInfo(final List returnInfo); - public static OrderReturnInfoSetMessage of() { - return new OrderReturnInfoSetMessageImpl(); + public static ReturnInfoSetMessage of() { + return new ReturnInfoSetMessageImpl(); } - public static OrderReturnInfoSetMessage of(final OrderReturnInfoSetMessage template) { - OrderReturnInfoSetMessageImpl instance = new OrderReturnInfoSetMessageImpl(); + public static ReturnInfoSetMessage of(final ReturnInfoSetMessage template) { + ReturnInfoSetMessageImpl instance = new ReturnInfoSetMessageImpl(); instance.setId(template.getId()); instance.setVersion(template.getVersion()); instance.setCreatedAt(template.getCreatedAt()); @@ -70,23 +70,23 @@ public static OrderReturnInfoSetMessage of(final OrderReturnInfoSetMessage templ return instance; } - public static OrderReturnInfoSetMessageBuilder builder() { - return OrderReturnInfoSetMessageBuilder.of(); + public static ReturnInfoSetMessageBuilder builder() { + return ReturnInfoSetMessageBuilder.of(); } - public static OrderReturnInfoSetMessageBuilder builder(final OrderReturnInfoSetMessage template) { - return OrderReturnInfoSetMessageBuilder.of(template); + public static ReturnInfoSetMessageBuilder builder(final ReturnInfoSetMessage template) { + return ReturnInfoSetMessageBuilder.of(template); } - default T withOrderReturnInfoSetMessage(Function helper) { + default T withReturnInfoSetMessage(Function helper) { return helper.apply(this); } - public static com.fasterxml.jackson.core.type.TypeReference typeReference() { - return new com.fasterxml.jackson.core.type.TypeReference() { + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { @Override public String toString() { - return "TypeReference"; + return "TypeReference"; } }; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageBuilder.java similarity index 62% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessageBuilder.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageBuilder.java index 130838d7f0a..7a175d9f60a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageBuilder.java @@ -10,12 +10,12 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnInfoSetMessageBuilder + * ReturnInfoSetMessageBuilder *
    * Example to create an instance using the builder pattern *
    *
    
    - *     OrderReturnInfoSetMessage orderReturnInfoSetMessage = OrderReturnInfoSetMessage.builder()
    + *     ReturnInfoSetMessage returnInfoSetMessage = ReturnInfoSetMessage.builder()
      *             .id("{id}")
      *             .version(0.3)
      *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    @@ -28,7 +28,7 @@
      * 
    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class OrderReturnInfoSetMessageBuilder implements Builder { +public class ReturnInfoSetMessageBuilder implements Builder { private String id; @@ -57,56 +57,56 @@ public class OrderReturnInfoSetMessageBuilder implements Builder returnInfo; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ - public OrderReturnInfoSetMessageBuilder id(final String id) { + public ReturnInfoSetMessageBuilder id(final String id) { this.id = id; return this; } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ - public OrderReturnInfoSetMessageBuilder version(final Long version) { + public ReturnInfoSetMessageBuilder version(final Long version) { this.version = version; return this; } /** - * + *

    Date and time (UTC) the Message was generated.

    */ - public OrderReturnInfoSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { + public ReturnInfoSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { this.createdAt = createdAt; return this; } /** - * + *

    Value of createdAt.

    */ - public OrderReturnInfoSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + public ReturnInfoSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { this.lastModifiedAt = lastModifiedAt; return this; } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ - public OrderReturnInfoSetMessageBuilder lastModifiedBy( + public ReturnInfoSetMessageBuilder lastModifiedBy( Function builder) { this.lastModifiedBy = builder.apply(com.commercetools.api.models.common.LastModifiedByBuilder.of()).build(); return this; } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ - public OrderReturnInfoSetMessageBuilder lastModifiedBy( + public ReturnInfoSetMessageBuilder lastModifiedBy( @Nullable final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; return this; @@ -116,7 +116,7 @@ public OrderReturnInfoSetMessageBuilder lastModifiedBy( *

    Present on resources created after 1 February 2019 except for events not tracked.

    */ - public OrderReturnInfoSetMessageBuilder createdBy( + public ReturnInfoSetMessageBuilder createdBy( Function builder) { this.createdBy = builder.apply(com.commercetools.api.models.common.CreatedByBuilder.of()).build(); return this; @@ -126,54 +126,54 @@ public OrderReturnInfoSetMessageBuilder createdBy( *

    Present on resources created after 1 February 2019 except for events not tracked.

    */ - public OrderReturnInfoSetMessageBuilder createdBy( + public ReturnInfoSetMessageBuilder createdBy( @Nullable final com.commercetools.api.models.common.CreatedBy createdBy) { this.createdBy = createdBy; return this; } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ - public OrderReturnInfoSetMessageBuilder sequenceNumber(final Long sequenceNumber) { + public ReturnInfoSetMessageBuilder sequenceNumber(final Long sequenceNumber) { this.sequenceNumber = sequenceNumber; return this; } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ - public OrderReturnInfoSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { + public ReturnInfoSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { this.resource = resource; return this; } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ - public OrderReturnInfoSetMessageBuilder resource( + public ReturnInfoSetMessageBuilder resource( Function> builder) { this.resource = builder.apply(com.commercetools.api.models.common.ReferenceBuilder.of()).build(); return this; } /** - * + *

    Version of the resource on which the change or action was performed.

    */ - public OrderReturnInfoSetMessageBuilder resourceVersion(final Long resourceVersion) { + public ReturnInfoSetMessageBuilder resourceVersion(final Long resourceVersion) { this.resourceVersion = resourceVersion; return this; } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ - public OrderReturnInfoSetMessageBuilder resourceUserProvidedIdentifiers( + public ReturnInfoSetMessageBuilder resourceUserProvidedIdentifiers( Function builder) { this.resourceUserProvidedIdentifiers = builder .apply(com.commercetools.api.models.message.UserProvidedIdentifiersBuilder.of()) @@ -182,40 +182,40 @@ public OrderReturnInfoSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ - public OrderReturnInfoSetMessageBuilder resourceUserProvidedIdentifiers( + public ReturnInfoSetMessageBuilder resourceUserProvidedIdentifiers( @Nullable final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; return this; } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessageBuilder returnInfo( + public ReturnInfoSetMessageBuilder returnInfo( @Nullable final com.commercetools.api.models.order.ReturnInfo... returnInfo) { this.returnInfo = new ArrayList<>(Arrays.asList(returnInfo)); return this; } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessageBuilder returnInfo( + public ReturnInfoSetMessageBuilder returnInfo( @Nullable final java.util.List returnInfo) { this.returnInfo = returnInfo; return this; } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessageBuilder plusReturnInfo( + public ReturnInfoSetMessageBuilder plusReturnInfo( @Nullable final com.commercetools.api.models.order.ReturnInfo... returnInfo) { if (this.returnInfo == null) { this.returnInfo = new ArrayList<>(); @@ -225,10 +225,10 @@ public OrderReturnInfoSetMessageBuilder plusReturnInfo( } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessageBuilder plusReturnInfo( + public ReturnInfoSetMessageBuilder plusReturnInfo( Function builder) { if (this.returnInfo == null) { this.returnInfo = new ArrayList<>(); @@ -238,10 +238,10 @@ public OrderReturnInfoSetMessageBuilder plusReturnInfo( } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessageBuilder withReturnInfo( + public ReturnInfoSetMessageBuilder withReturnInfo( Function builder) { this.returnInfo = new ArrayList<>(); this.returnInfo.add(builder.apply(com.commercetools.api.models.order.ReturnInfoBuilder.of()).build()); @@ -296,32 +296,32 @@ public java.util.List getReturnIn return this.returnInfo; } - public OrderReturnInfoSetMessage build() { - Objects.requireNonNull(id, OrderReturnInfoSetMessage.class + ": id is missing"); - Objects.requireNonNull(version, OrderReturnInfoSetMessage.class + ": version is missing"); - Objects.requireNonNull(createdAt, OrderReturnInfoSetMessage.class + ": createdAt is missing"); - Objects.requireNonNull(lastModifiedAt, OrderReturnInfoSetMessage.class + ": lastModifiedAt is missing"); - Objects.requireNonNull(sequenceNumber, OrderReturnInfoSetMessage.class + ": sequenceNumber is missing"); - Objects.requireNonNull(resource, OrderReturnInfoSetMessage.class + ": resource is missing"); - Objects.requireNonNull(resourceVersion, OrderReturnInfoSetMessage.class + ": resourceVersion is missing"); - return new OrderReturnInfoSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, + public ReturnInfoSetMessage build() { + Objects.requireNonNull(id, ReturnInfoSetMessage.class + ": id is missing"); + Objects.requireNonNull(version, ReturnInfoSetMessage.class + ": version is missing"); + Objects.requireNonNull(createdAt, ReturnInfoSetMessage.class + ": createdAt is missing"); + Objects.requireNonNull(lastModifiedAt, ReturnInfoSetMessage.class + ": lastModifiedAt is missing"); + Objects.requireNonNull(sequenceNumber, ReturnInfoSetMessage.class + ": sequenceNumber is missing"); + Objects.requireNonNull(resource, ReturnInfoSetMessage.class + ": resource is missing"); + Objects.requireNonNull(resourceVersion, ReturnInfoSetMessage.class + ": resourceVersion is missing"); + return new ReturnInfoSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, returnInfo); } /** - * builds OrderReturnInfoSetMessage without checking for non null required values + * builds ReturnInfoSetMessage without checking for non null required values */ - public OrderReturnInfoSetMessage buildUnchecked() { - return new OrderReturnInfoSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, + public ReturnInfoSetMessage buildUnchecked() { + return new ReturnInfoSetMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, returnInfo); } - public static OrderReturnInfoSetMessageBuilder of() { - return new OrderReturnInfoSetMessageBuilder(); + public static ReturnInfoSetMessageBuilder of() { + return new ReturnInfoSetMessageBuilder(); } - public static OrderReturnInfoSetMessageBuilder of(final OrderReturnInfoSetMessage template) { - OrderReturnInfoSetMessageBuilder builder = new OrderReturnInfoSetMessageBuilder(); + public static ReturnInfoSetMessageBuilder of(final ReturnInfoSetMessage template) { + ReturnInfoSetMessageBuilder builder = new ReturnInfoSetMessageBuilder(); builder.id = template.getId(); builder.version = template.getVersion(); builder.createdAt = template.getCreatedAt(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageImpl.java similarity index 81% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessageImpl.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageImpl.java index 87473ce61c5..70fe5833058 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageImpl.java @@ -15,10 +15,10 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderReturnInfoSetMessage + *

    Generated after a successful Set Return Info update action on Orders and Order Edits.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class OrderReturnInfoSetMessageImpl implements OrderReturnInfoSetMessage, ModelBase { +public class ReturnInfoSetMessageImpl implements ReturnInfoSetMessage, ModelBase { private String id; @@ -45,7 +45,7 @@ public class OrderReturnInfoSetMessageImpl implements OrderReturnInfoSetMessage, private java.util.List returnInfo; @JsonCreator - OrderReturnInfoSetMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, + ReturnInfoSetMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt, @JsonProperty("lastModifiedBy") final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy, @@ -69,12 +69,12 @@ public class OrderReturnInfoSetMessageImpl implements OrderReturnInfoSetMessage, this.type = RETURN_INFO_SET; } - public OrderReturnInfoSetMessageImpl() { + public ReturnInfoSetMessageImpl() { this.type = RETURN_INFO_SET; } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ public java.util.List getReturnInfo() { @@ -226,7 +226,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; - OrderReturnInfoSetMessageImpl that = (OrderReturnInfoSetMessageImpl) o; + ReturnInfoSetMessageImpl that = (ReturnInfoSetMessageImpl) o; return new EqualsBuilder().append(id, that.id) .append(version, that.version) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayload.java similarity index 51% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayload.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayload.java index 1018a2e0294..37451ee915a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayload.java @@ -14,25 +14,25 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnInfoSetMessagePayload + *

    Generated after a successful Set Return Info update action on Orders and Order Edits.

    * *
    * Example to create an instance using the builder pattern *
    *
    
    - *     OrderReturnInfoSetMessagePayload orderReturnInfoSetMessagePayload = OrderReturnInfoSetMessagePayload.builder()
    + *     ReturnInfoSetMessagePayload returnInfoSetMessagePayload = ReturnInfoSetMessagePayload.builder()
      *             .build()
      * 
    *
    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -@JsonDeserialize(as = OrderReturnInfoSetMessagePayloadImpl.class) -public interface OrderReturnInfoSetMessagePayload extends OrderMessagePayload { +@JsonDeserialize(as = ReturnInfoSetMessagePayloadImpl.class) +public interface ReturnInfoSetMessagePayload extends OrderMessagePayload { String RETURN_INFO_SET = "ReturnInfoSet"; /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ @Valid @JsonProperty("returnInfo") @@ -43,33 +43,33 @@ public interface OrderReturnInfoSetMessagePayload extends OrderMessagePayload { public void setReturnInfo(final List returnInfo); - public static OrderReturnInfoSetMessagePayload of() { - return new OrderReturnInfoSetMessagePayloadImpl(); + public static ReturnInfoSetMessagePayload of() { + return new ReturnInfoSetMessagePayloadImpl(); } - public static OrderReturnInfoSetMessagePayload of(final OrderReturnInfoSetMessagePayload template) { - OrderReturnInfoSetMessagePayloadImpl instance = new OrderReturnInfoSetMessagePayloadImpl(); + public static ReturnInfoSetMessagePayload of(final ReturnInfoSetMessagePayload template) { + ReturnInfoSetMessagePayloadImpl instance = new ReturnInfoSetMessagePayloadImpl(); instance.setReturnInfo(template.getReturnInfo()); return instance; } - public static OrderReturnInfoSetMessagePayloadBuilder builder() { - return OrderReturnInfoSetMessagePayloadBuilder.of(); + public static ReturnInfoSetMessagePayloadBuilder builder() { + return ReturnInfoSetMessagePayloadBuilder.of(); } - public static OrderReturnInfoSetMessagePayloadBuilder builder(final OrderReturnInfoSetMessagePayload template) { - return OrderReturnInfoSetMessagePayloadBuilder.of(template); + public static ReturnInfoSetMessagePayloadBuilder builder(final ReturnInfoSetMessagePayload template) { + return ReturnInfoSetMessagePayloadBuilder.of(template); } - default T withOrderReturnInfoSetMessagePayload(Function helper) { + default T withReturnInfoSetMessagePayload(Function helper) { return helper.apply(this); } - public static com.fasterxml.jackson.core.type.TypeReference typeReference() { - return new com.fasterxml.jackson.core.type.TypeReference() { + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { @Override public String toString() { - return "TypeReference"; + return "TypeReference"; } }; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadBuilder.java similarity index 60% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayloadBuilder.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadBuilder.java index f81ffdaae9d..50200bac9a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadBuilder.java @@ -10,47 +10,47 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * OrderReturnInfoSetMessagePayloadBuilder + * ReturnInfoSetMessagePayloadBuilder *
    * Example to create an instance using the builder pattern *
    *
    
    - *     OrderReturnInfoSetMessagePayload orderReturnInfoSetMessagePayload = OrderReturnInfoSetMessagePayload.builder()
    + *     ReturnInfoSetMessagePayload returnInfoSetMessagePayload = ReturnInfoSetMessagePayload.builder()
      *             .build()
      * 
    *
    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class OrderReturnInfoSetMessagePayloadBuilder implements Builder { +public class ReturnInfoSetMessagePayloadBuilder implements Builder { @Nullable private java.util.List returnInfo; /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessagePayloadBuilder returnInfo( + public ReturnInfoSetMessagePayloadBuilder returnInfo( @Nullable final com.commercetools.api.models.order.ReturnInfo... returnInfo) { this.returnInfo = new ArrayList<>(Arrays.asList(returnInfo)); return this; } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessagePayloadBuilder returnInfo( + public ReturnInfoSetMessagePayloadBuilder returnInfo( @Nullable final java.util.List returnInfo) { this.returnInfo = returnInfo; return this; } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessagePayloadBuilder plusReturnInfo( + public ReturnInfoSetMessagePayloadBuilder plusReturnInfo( @Nullable final com.commercetools.api.models.order.ReturnInfo... returnInfo) { if (this.returnInfo == null) { this.returnInfo = new ArrayList<>(); @@ -60,10 +60,10 @@ public OrderReturnInfoSetMessagePayloadBuilder plusReturnInfo( } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessagePayloadBuilder plusReturnInfo( + public ReturnInfoSetMessagePayloadBuilder plusReturnInfo( Function builder) { if (this.returnInfo == null) { this.returnInfo = new ArrayList<>(); @@ -73,10 +73,10 @@ public OrderReturnInfoSetMessagePayloadBuilder plusReturnInfo( } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ - public OrderReturnInfoSetMessagePayloadBuilder withReturnInfo( + public ReturnInfoSetMessagePayloadBuilder withReturnInfo( Function builder) { this.returnInfo = new ArrayList<>(); this.returnInfo.add(builder.apply(com.commercetools.api.models.order.ReturnInfoBuilder.of()).build()); @@ -88,23 +88,23 @@ public java.util.List getReturnIn return this.returnInfo; } - public OrderReturnInfoSetMessagePayload build() { - return new OrderReturnInfoSetMessagePayloadImpl(returnInfo); + public ReturnInfoSetMessagePayload build() { + return new ReturnInfoSetMessagePayloadImpl(returnInfo); } /** - * builds OrderReturnInfoSetMessagePayload without checking for non null required values + * builds ReturnInfoSetMessagePayload without checking for non null required values */ - public OrderReturnInfoSetMessagePayload buildUnchecked() { - return new OrderReturnInfoSetMessagePayloadImpl(returnInfo); + public ReturnInfoSetMessagePayload buildUnchecked() { + return new ReturnInfoSetMessagePayloadImpl(returnInfo); } - public static OrderReturnInfoSetMessagePayloadBuilder of() { - return new OrderReturnInfoSetMessagePayloadBuilder(); + public static ReturnInfoSetMessagePayloadBuilder of() { + return new ReturnInfoSetMessagePayloadBuilder(); } - public static OrderReturnInfoSetMessagePayloadBuilder of(final OrderReturnInfoSetMessagePayload template) { - OrderReturnInfoSetMessagePayloadBuilder builder = new OrderReturnInfoSetMessagePayloadBuilder(); + public static ReturnInfoSetMessagePayloadBuilder of(final ReturnInfoSetMessagePayload template) { + ReturnInfoSetMessagePayloadBuilder builder = new ReturnInfoSetMessagePayloadBuilder(); builder.returnInfo = template.getReturnInfo(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadImpl.java similarity index 81% rename from commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayloadImpl.java rename to commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadImpl.java index e8c46be0213..45dab0ff15a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderReturnInfoSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadImpl.java @@ -15,23 +15,23 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * OrderReturnInfoSetMessagePayload + *

    Generated after a successful Set Return Info update action on Orders and Order Edits.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class OrderReturnInfoSetMessagePayloadImpl implements OrderReturnInfoSetMessagePayload, ModelBase { +public class ReturnInfoSetMessagePayloadImpl implements ReturnInfoSetMessagePayload, ModelBase { private String type; private java.util.List returnInfo; @JsonCreator - OrderReturnInfoSetMessagePayloadImpl( + ReturnInfoSetMessagePayloadImpl( @JsonProperty("returnInfo") final java.util.List returnInfo) { this.returnInfo = returnInfo; this.type = RETURN_INFO_SET; } - public OrderReturnInfoSetMessagePayloadImpl() { + public ReturnInfoSetMessagePayloadImpl() { this.type = RETURN_INFO_SET; } @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

    The ReturnInfo that was set on the Order or Order Edit.

    */ public java.util.List getReturnInfo() { @@ -67,7 +67,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; - OrderReturnInfoSetMessagePayloadImpl that = (OrderReturnInfoSetMessagePayloadImpl) o; + ReturnInfoSetMessagePayloadImpl that = (ReturnInfoSetMessagePayloadImpl) o; return new EqualsBuilder().append(type, that.type).append(returnInfo, that.returnInfo).isEquals(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessage.java index da94361e547..8bd523f537b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewCreatedMessage + *

    Generated after a successful Create Review request.

    * *
    * Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface ReviewCreatedMessage extends Message { String REVIEW_CREATED = "ReviewCreated"; /** - * + *

    Review that was created.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessageBuilder.java index c326c0e6680..ac39586aded 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class ReviewCreatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ReviewCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public ReviewCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ReviewCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public ReviewCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ReviewCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public ReviewCreatedMessageBuilder createdAt(final java.time.ZonedDateTime creat } /** - * + *

    Value of createdAt.

    */ public ReviewCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public ReviewCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ReviewCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public ReviewCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ReviewCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public ReviewCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ReviewCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public ReviewCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ReviewCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public ReviewCreatedMessageBuilder resource(final com.commercetools.api.models.c } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ReviewCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public ReviewCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ReviewCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public ReviewCreatedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ReviewCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public ReviewCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ReviewCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public ReviewCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Review that was created.

    */ public ReviewCreatedMessageBuilder review( @@ -202,7 +202,7 @@ public ReviewCreatedMessageBuilder review( } /** - * + *

    Review that was created.

    */ public ReviewCreatedMessageBuilder review(final com.commercetools.api.models.review.Review review) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessageImpl.java index e123ed4a9a4..2ffc5ffa062 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewCreatedMessage + *

    Generated after a successful Create Review request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewCreatedMessageImpl implements ReviewCreatedMessage, ModelBase { @@ -74,7 +74,7 @@ public ReviewCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Review that was created.

    */ public com.commercetools.api.models.review.Review getReview() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayload.java index 76921af214e..854ea8a91bd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewCreatedMessagePayload + *

    Generated after a successful Create Review request.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ReviewCreatedMessagePayload extends MessagePayload { String REVIEW_CREATED = "ReviewCreated"; /** - * + *

    Review that was created.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayloadBuilder.java index dd5785d25a9..dd1ef715d9c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class ReviewCreatedMessagePayloadBuilder implements BuilderReview that was created.

    */ public ReviewCreatedMessagePayloadBuilder review( @@ -35,7 +35,7 @@ public ReviewCreatedMessagePayloadBuilder review( } /** - * + *

    Review that was created.

    */ public ReviewCreatedMessagePayloadBuilder review(final com.commercetools.api.models.review.Review review) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayloadImpl.java index 5be845a0c00..b4778d4c64c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewCreatedMessagePayload + *

    Generated after a successful Create Review request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewCreatedMessagePayloadImpl implements ReviewCreatedMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

    Review that was created.

    */ public com.commercetools.api.models.review.Review getReview() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessage.java index 4f87253974b..47661488189 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewRatingSetMessage + *

    Generated after a successful Set Rating update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,28 +41,28 @@ public interface ReviewRatingSetMessage extends Message { String REVIEW_RATING_SET = "ReviewRatingSet"; /** - * + *

    The rating of the Review before the Set Rating update action.

    */ @JsonProperty("oldRating") public Double getOldRating(); /** - * + *

    The rating of the Review after the Set Rating update action.

    */ @JsonProperty("newRating") public Double getNewRating(); /** - * + *

    Whether the Review was taken into account in the ratings statistics of the target.

    */ @NotNull @JsonProperty("includedInStatistics") public Boolean getIncludedInStatistics(); /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ @Valid @JsonProperty("target") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessageBuilder.java index 138bbb8ad16..32deaf13fbd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessageBuilder.java @@ -66,7 +66,7 @@ public class ReviewRatingSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ReviewRatingSetMessageBuilder id(final String id) { @@ -75,7 +75,7 @@ public ReviewRatingSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ReviewRatingSetMessageBuilder version(final Long version) { @@ -84,7 +84,7 @@ public ReviewRatingSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ReviewRatingSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -93,7 +93,7 @@ public ReviewRatingSetMessageBuilder createdAt(final java.time.ZonedDateTime cre } /** - * + *

    Value of createdAt.

    */ public ReviewRatingSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -102,7 +102,7 @@ public ReviewRatingSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTim } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ReviewRatingSetMessageBuilder lastModifiedBy( @@ -112,7 +112,7 @@ public ReviewRatingSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ReviewRatingSetMessageBuilder lastModifiedBy( @@ -142,7 +142,7 @@ public ReviewRatingSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ReviewRatingSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -151,7 +151,7 @@ public ReviewRatingSetMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ReviewRatingSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -160,7 +160,7 @@ public ReviewRatingSetMessageBuilder resource(final com.commercetools.api.models } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ReviewRatingSetMessageBuilder resource( @@ -170,7 +170,7 @@ public ReviewRatingSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ReviewRatingSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -179,7 +179,7 @@ public ReviewRatingSetMessageBuilder resourceVersion(final Long resourceVersion) } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ReviewRatingSetMessageBuilder resourceUserProvidedIdentifiers( @@ -191,7 +191,7 @@ public ReviewRatingSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ReviewRatingSetMessageBuilder resourceUserProvidedIdentifiers( @@ -201,7 +201,7 @@ public ReviewRatingSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    The rating of the Review before the Set Rating update action.

    */ public ReviewRatingSetMessageBuilder oldRating(@Nullable final Double oldRating) { @@ -210,7 +210,7 @@ public ReviewRatingSetMessageBuilder oldRating(@Nullable final Double oldRating) } /** - * + *

    The rating of the Review after the Set Rating update action.

    */ public ReviewRatingSetMessageBuilder newRating(@Nullable final Double newRating) { @@ -219,7 +219,7 @@ public ReviewRatingSetMessageBuilder newRating(@Nullable final Double newRating) } /** - * + *

    Whether the Review was taken into account in the ratings statistics of the target.

    */ public ReviewRatingSetMessageBuilder includedInStatistics(final Boolean includedInStatistics) { @@ -228,7 +228,7 @@ public ReviewRatingSetMessageBuilder includedInStatistics(final Boolean included } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public ReviewRatingSetMessageBuilder target(@Nullable final com.commercetools.api.models.common.Reference target) { @@ -237,7 +237,7 @@ public ReviewRatingSetMessageBuilder target(@Nullable final com.commercetools.ap } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public ReviewRatingSetMessageBuilder target( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessageImpl.java index c24fea15e3d..4c9e24d1dbd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewRatingSetMessage + *

    Generated after a successful Set Rating update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewRatingSetMessageImpl implements ReviewRatingSetMessage, ModelBase { @@ -85,7 +85,7 @@ public ReviewRatingSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -93,7 +93,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -101,7 +101,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -109,7 +109,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -117,7 +117,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -133,7 +133,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -141,7 +141,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -149,7 +149,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -157,7 +157,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -165,7 +165,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -173,7 +173,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    The rating of the Review before the Set Rating update action.

    */ public Double getOldRating() { @@ -181,7 +181,7 @@ public Double getOldRating() { } /** - * + *

    The rating of the Review after the Set Rating update action.

    */ public Double getNewRating() { @@ -189,7 +189,7 @@ public Double getNewRating() { } /** - * + *

    Whether the Review was taken into account in the ratings statistics of the target.

    */ public Boolean getIncludedInStatistics() { @@ -197,7 +197,7 @@ public Boolean getIncludedInStatistics() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public com.commercetools.api.models.common.Reference getTarget() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayload.java index 88bab91537a..1542191a9d9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewRatingSetMessagePayload + *

    Generated after a successful Set Rating update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,28 +34,28 @@ public interface ReviewRatingSetMessagePayload extends MessagePayload { String REVIEW_RATING_SET = "ReviewRatingSet"; /** - * + *

    The rating of the Review before the Set Rating update action.

    */ @JsonProperty("oldRating") public Double getOldRating(); /** - * + *

    The rating of the Review after the Set Rating update action.

    */ @JsonProperty("newRating") public Double getNewRating(); /** - * + *

    Whether the Review was taken into account in the ratings statistics of the target.

    */ @NotNull @JsonProperty("includedInStatistics") public Boolean getIncludedInStatistics(); /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ @Valid @JsonProperty("target") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayloadBuilder.java index 863a210434a..c2695ac2118 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayloadBuilder.java @@ -36,7 +36,7 @@ public class ReviewRatingSetMessagePayloadBuilder implements BuilderThe rating of the Review before the Set Rating update action.

    */ public ReviewRatingSetMessagePayloadBuilder oldRating(@Nullable final Double oldRating) { @@ -45,7 +45,7 @@ public ReviewRatingSetMessagePayloadBuilder oldRating(@Nullable final Double old } /** - * + *

    The rating of the Review after the Set Rating update action.

    */ public ReviewRatingSetMessagePayloadBuilder newRating(@Nullable final Double newRating) { @@ -54,7 +54,7 @@ public ReviewRatingSetMessagePayloadBuilder newRating(@Nullable final Double new } /** - * + *

    Whether the Review was taken into account in the ratings statistics of the target.

    */ public ReviewRatingSetMessagePayloadBuilder includedInStatistics(final Boolean includedInStatistics) { @@ -63,7 +63,7 @@ public ReviewRatingSetMessagePayloadBuilder includedInStatistics(final Boolean i } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public ReviewRatingSetMessagePayloadBuilder target( @@ -73,7 +73,7 @@ public ReviewRatingSetMessagePayloadBuilder target( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public ReviewRatingSetMessagePayloadBuilder target( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayloadImpl.java index 22287faf7f2..dfcb117b45c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewRatingSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewRatingSetMessagePayload + *

    Generated after a successful Set Rating update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewRatingSetMessagePayloadImpl implements ReviewRatingSetMessagePayload, ModelBase { @@ -55,7 +55,7 @@ public String getType() { } /** - * + *

    The rating of the Review before the Set Rating update action.

    */ public Double getOldRating() { @@ -63,7 +63,7 @@ public Double getOldRating() { } /** - * + *

    The rating of the Review after the Set Rating update action.

    */ public Double getNewRating() { @@ -71,7 +71,7 @@ public Double getNewRating() { } /** - * + *

    Whether the Review was taken into account in the ratings statistics of the target.

    */ public Boolean getIncludedInStatistics() { @@ -79,7 +79,7 @@ public Boolean getIncludedInStatistics() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public com.commercetools.api.models.common.Reference getTarget() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessage.java index 7a8d4002244..341a1833c98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessage.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewStateTransitionMessage + *

    Generated after a successful Transition State update action.

    * *
    * Example to create an instance using the builder pattern @@ -30,11 +30,9 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .oldState(oldStateBuilder -> oldStateBuilder) * .newState(newStateBuilder -> newStateBuilder) * .oldIncludedInStatistics(true) * .newIncludedInStatistics(true) - * .target(targetBuilder -> targetBuilder) * .force(true) * .build() *
    @@ -47,15 +45,14 @@ public interface ReviewStateTransitionMessage extends Message { String REVIEW_STATE_TRANSITION = "ReviewStateTransition"; /** - *

    Reference to a State.

    + *

    State of the Review before the Transition State update action.

    */ - @NotNull @Valid @JsonProperty("oldState") public StateReference getOldState(); /** - *

    Reference to a State.

    + *

    State of the Review after the Transition State update action.

    */ @NotNull @Valid @@ -63,29 +60,28 @@ public interface ReviewStateTransitionMessage extends Message { public StateReference getNewState(); /** - * + *

    Whether the old Review was taken into account in the rating statistics of the target before the state transition.

    */ @NotNull @JsonProperty("oldIncludedInStatistics") public Boolean getOldIncludedInStatistics(); /** - * + *

    Whether the new Review was taken into account in the rating statistics of the target after the state transition.

    */ @NotNull @JsonProperty("newIncludedInStatistics") public Boolean getNewIncludedInStatistics(); /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ - @NotNull @Valid @JsonProperty("target") public Reference getTarget(); /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ @NotNull @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessageBuilder.java index 223cb7604c6..67e53780fb4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessageBuilder.java @@ -23,11 +23,9 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .oldState(oldStateBuilder -> oldStateBuilder) * .newState(newStateBuilder -> newStateBuilder) * .oldIncludedInStatistics(true) * .newIncludedInStatistics(true) - * .target(targetBuilder -> targetBuilder) * .force(true) * .build() *
    @@ -59,6 +57,7 @@ public class ReviewStateTransitionMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public ReviewStateTransitionMessageBuilder id(final String id) { @@ -81,7 +81,7 @@ public ReviewStateTransitionMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public ReviewStateTransitionMessageBuilder version(final Long version) { @@ -90,7 +90,7 @@ public ReviewStateTransitionMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public ReviewStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -99,7 +99,7 @@ public ReviewStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

    Value of createdAt.

    */ public ReviewStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -108,7 +108,7 @@ public ReviewStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ReviewStateTransitionMessageBuilder lastModifiedBy( @@ -118,7 +118,7 @@ public ReviewStateTransitionMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public ReviewStateTransitionMessageBuilder lastModifiedBy( @@ -148,7 +148,7 @@ public ReviewStateTransitionMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public ReviewStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -157,7 +157,7 @@ public ReviewStateTransitionMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ReviewStateTransitionMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -166,7 +166,7 @@ public ReviewStateTransitionMessageBuilder resource(final com.commercetools.api. } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public ReviewStateTransitionMessageBuilder resource( @@ -176,7 +176,7 @@ public ReviewStateTransitionMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public ReviewStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { @@ -185,7 +185,7 @@ public ReviewStateTransitionMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ReviewStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -197,7 +197,7 @@ public ReviewStateTransitionMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public ReviewStateTransitionMessageBuilder resourceUserProvidedIdentifiers( @@ -207,7 +207,7 @@ public ReviewStateTransitionMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Reference to a State.

    + *

    State of the Review before the Transition State update action.

    */ public ReviewStateTransitionMessageBuilder oldState( @@ -217,17 +217,17 @@ public ReviewStateTransitionMessageBuilder oldState( } /** - *

    Reference to a State.

    + *

    State of the Review before the Transition State update action.

    */ public ReviewStateTransitionMessageBuilder oldState( - final com.commercetools.api.models.state.StateReference oldState) { + @Nullable final com.commercetools.api.models.state.StateReference oldState) { this.oldState = oldState; return this; } /** - *

    Reference to a State.

    + *

    State of the Review after the Transition State update action.

    */ public ReviewStateTransitionMessageBuilder newState( @@ -237,7 +237,7 @@ public ReviewStateTransitionMessageBuilder newState( } /** - *

    Reference to a State.

    + *

    State of the Review after the Transition State update action.

    */ public ReviewStateTransitionMessageBuilder newState( @@ -247,7 +247,7 @@ public ReviewStateTransitionMessageBuilder newState( } /** - * + *

    Whether the old Review was taken into account in the rating statistics of the target before the state transition.

    */ public ReviewStateTransitionMessageBuilder oldIncludedInStatistics(final Boolean oldIncludedInStatistics) { @@ -256,7 +256,7 @@ public ReviewStateTransitionMessageBuilder oldIncludedInStatistics(final Boolean } /** - * + *

    Whether the new Review was taken into account in the rating statistics of the target after the state transition.

    */ public ReviewStateTransitionMessageBuilder newIncludedInStatistics(final Boolean newIncludedInStatistics) { @@ -265,16 +265,17 @@ public ReviewStateTransitionMessageBuilder newIncludedInStatistics(final Boolean } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ - public ReviewStateTransitionMessageBuilder target(final com.commercetools.api.models.common.Reference target) { + public ReviewStateTransitionMessageBuilder target( + @Nullable final com.commercetools.api.models.common.Reference target) { this.target = target; return this; } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public ReviewStateTransitionMessageBuilder target( @@ -284,7 +285,7 @@ public ReviewStateTransitionMessageBuilder target( } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public ReviewStateTransitionMessageBuilder force(final Boolean force) { @@ -335,6 +336,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } + @Nullable public com.commercetools.api.models.state.StateReference getOldState() { return this.oldState; } @@ -351,6 +353,7 @@ public Boolean getNewIncludedInStatistics() { return this.newIncludedInStatistics; } + @Nullable public com.commercetools.api.models.common.Reference getTarget() { return this.target; } @@ -367,13 +370,11 @@ public ReviewStateTransitionMessage build() { Objects.requireNonNull(sequenceNumber, ReviewStateTransitionMessage.class + ": sequenceNumber is missing"); Objects.requireNonNull(resource, ReviewStateTransitionMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, ReviewStateTransitionMessage.class + ": resourceVersion is missing"); - Objects.requireNonNull(oldState, ReviewStateTransitionMessage.class + ": oldState is missing"); Objects.requireNonNull(newState, ReviewStateTransitionMessage.class + ": newState is missing"); Objects.requireNonNull(oldIncludedInStatistics, ReviewStateTransitionMessage.class + ": oldIncludedInStatistics is missing"); Objects.requireNonNull(newIncludedInStatistics, ReviewStateTransitionMessage.class + ": newIncludedInStatistics is missing"); - Objects.requireNonNull(target, ReviewStateTransitionMessage.class + ": target is missing"); Objects.requireNonNull(force, ReviewStateTransitionMessage.class + ": force is missing"); return new ReviewStateTransitionMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, oldState, newState, diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessageImpl.java index a6419705a32..71dee7194e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewStateTransitionMessage + *

    Generated after a successful Transition State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewStateTransitionMessageImpl implements ReviewStateTransitionMessage, ModelBase { @@ -94,7 +94,7 @@ public ReviewStateTransitionMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -102,7 +102,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -110,7 +110,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -118,7 +118,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -126,7 +126,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -150,7 +150,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -158,7 +158,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -166,7 +166,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -174,7 +174,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -182,7 +182,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Reference to a State.

    + *

    State of the Review before the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getOldState() { @@ -190,7 +190,7 @@ public com.commercetools.api.models.state.StateReference getOldState() { } /** - *

    Reference to a State.

    + *

    State of the Review after the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getNewState() { @@ -198,7 +198,7 @@ public com.commercetools.api.models.state.StateReference getNewState() { } /** - * + *

    Whether the old Review was taken into account in the rating statistics of the target before the state transition.

    */ public Boolean getOldIncludedInStatistics() { @@ -206,7 +206,7 @@ public Boolean getOldIncludedInStatistics() { } /** - * + *

    Whether the new Review was taken into account in the rating statistics of the target after the state transition.

    */ public Boolean getNewIncludedInStatistics() { @@ -214,7 +214,7 @@ public Boolean getNewIncludedInStatistics() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public com.commercetools.api.models.common.Reference getTarget() { @@ -222,7 +222,7 @@ public com.commercetools.api.models.common.Reference getTarget() { } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayload.java index ce5e35568d4..ee057d0b6c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayload.java @@ -16,18 +16,16 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewStateTransitionMessagePayload + *

    Generated after a successful Transition State update action.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     ReviewStateTransitionMessagePayload reviewStateTransitionMessagePayload = ReviewStateTransitionMessagePayload.builder()
    - *             .oldState(oldStateBuilder -> oldStateBuilder)
      *             .newState(newStateBuilder -> newStateBuilder)
      *             .oldIncludedInStatistics(true)
      *             .newIncludedInStatistics(true)
    - *             .target(targetBuilder -> targetBuilder)
      *             .force(true)
      *             .build()
      * 
    @@ -40,15 +38,14 @@ public interface ReviewStateTransitionMessagePayload extends MessagePayload { String REVIEW_STATE_TRANSITION = "ReviewStateTransition"; /** - *

    Reference to a State.

    + *

    State of the Review before the Transition State update action.

    */ - @NotNull @Valid @JsonProperty("oldState") public StateReference getOldState(); /** - *

    Reference to a State.

    + *

    State of the Review after the Transition State update action.

    */ @NotNull @Valid @@ -56,29 +53,28 @@ public interface ReviewStateTransitionMessagePayload extends MessagePayload { public StateReference getNewState(); /** - * + *

    Whether the old Review was taken into account in the rating statistics of the target before the state transition.

    */ @NotNull @JsonProperty("oldIncludedInStatistics") public Boolean getOldIncludedInStatistics(); /** - * + *

    Whether the new Review was taken into account in the rating statistics of the target after the state transition.

    */ @NotNull @JsonProperty("newIncludedInStatistics") public Boolean getNewIncludedInStatistics(); /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ - @NotNull @Valid @JsonProperty("target") public Reference getTarget(); /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ @NotNull @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayloadBuilder.java index eeb6807ef3c..ba73e7b3cb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -14,11 +16,9 @@ *
    *
    
      *     ReviewStateTransitionMessagePayload reviewStateTransitionMessagePayload = ReviewStateTransitionMessagePayload.builder()
    - *             .oldState(oldStateBuilder -> oldStateBuilder)
      *             .newState(newStateBuilder -> newStateBuilder)
      *             .oldIncludedInStatistics(true)
      *             .newIncludedInStatistics(true)
    - *             .target(targetBuilder -> targetBuilder)
      *             .force(true)
      *             .build()
      * 
    @@ -27,6 +27,7 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewStateTransitionMessagePayloadBuilder implements Builder { + @Nullable private com.commercetools.api.models.state.StateReference oldState; private com.commercetools.api.models.state.StateReference newState; @@ -35,12 +36,13 @@ public class ReviewStateTransitionMessagePayloadBuilder implements BuilderReference to a State.

    + *

    State of the Review before the Transition State update action.

    */ public ReviewStateTransitionMessagePayloadBuilder oldState( @@ -50,17 +52,17 @@ public ReviewStateTransitionMessagePayloadBuilder oldState( } /** - *

    Reference to a State.

    + *

    State of the Review before the Transition State update action.

    */ public ReviewStateTransitionMessagePayloadBuilder oldState( - final com.commercetools.api.models.state.StateReference oldState) { + @Nullable final com.commercetools.api.models.state.StateReference oldState) { this.oldState = oldState; return this; } /** - *

    Reference to a State.

    + *

    State of the Review after the Transition State update action.

    */ public ReviewStateTransitionMessagePayloadBuilder newState( @@ -70,7 +72,7 @@ public ReviewStateTransitionMessagePayloadBuilder newState( } /** - *

    Reference to a State.

    + *

    State of the Review after the Transition State update action.

    */ public ReviewStateTransitionMessagePayloadBuilder newState( @@ -80,7 +82,7 @@ public ReviewStateTransitionMessagePayloadBuilder newState( } /** - * + *

    Whether the old Review was taken into account in the rating statistics of the target before the state transition.

    */ public ReviewStateTransitionMessagePayloadBuilder oldIncludedInStatistics(final Boolean oldIncludedInStatistics) { @@ -89,7 +91,7 @@ public ReviewStateTransitionMessagePayloadBuilder oldIncludedInStatistics(final } /** - * + *

    Whether the new Review was taken into account in the rating statistics of the target after the state transition.

    */ public ReviewStateTransitionMessagePayloadBuilder newIncludedInStatistics(final Boolean newIncludedInStatistics) { @@ -98,17 +100,17 @@ public ReviewStateTransitionMessagePayloadBuilder newIncludedInStatistics(final } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public ReviewStateTransitionMessagePayloadBuilder target( - final com.commercetools.api.models.common.Reference target) { + @Nullable final com.commercetools.api.models.common.Reference target) { this.target = target; return this; } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public ReviewStateTransitionMessagePayloadBuilder target( @@ -118,7 +120,7 @@ public ReviewStateTransitionMessagePayloadBuilder target( } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public ReviewStateTransitionMessagePayloadBuilder force(final Boolean force) { @@ -126,6 +128,7 @@ public ReviewStateTransitionMessagePayloadBuilder force(final Boolean force) { return this; } + @Nullable public com.commercetools.api.models.state.StateReference getOldState() { return this.oldState; } @@ -142,6 +145,7 @@ public Boolean getNewIncludedInStatistics() { return this.newIncludedInStatistics; } + @Nullable public com.commercetools.api.models.common.Reference getTarget() { return this.target; } @@ -151,13 +155,11 @@ public Boolean getForce() { } public ReviewStateTransitionMessagePayload build() { - Objects.requireNonNull(oldState, ReviewStateTransitionMessagePayload.class + ": oldState is missing"); Objects.requireNonNull(newState, ReviewStateTransitionMessagePayload.class + ": newState is missing"); Objects.requireNonNull(oldIncludedInStatistics, ReviewStateTransitionMessagePayload.class + ": oldIncludedInStatistics is missing"); Objects.requireNonNull(newIncludedInStatistics, ReviewStateTransitionMessagePayload.class + ": newIncludedInStatistics is missing"); - Objects.requireNonNull(target, ReviewStateTransitionMessagePayload.class + ": target is missing"); Objects.requireNonNull(force, ReviewStateTransitionMessagePayload.class + ": force is missing"); return new ReviewStateTransitionMessagePayloadImpl(oldState, newState, oldIncludedInStatistics, newIncludedInStatistics, target, force); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayloadImpl.java index ce3a4bbd6b9..a561512fdab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReviewStateTransitionMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewStateTransitionMessagePayload + *

    Generated after a successful Transition State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewStateTransitionMessagePayloadImpl implements ReviewStateTransitionMessagePayload, ModelBase { @@ -64,7 +64,7 @@ public String getType() { } /** - *

    Reference to a State.

    + *

    State of the Review before the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getOldState() { @@ -72,7 +72,7 @@ public com.commercetools.api.models.state.StateReference getOldState() { } /** - *

    Reference to a State.

    + *

    State of the Review after the Transition State update action.

    */ public com.commercetools.api.models.state.StateReference getNewState() { @@ -80,7 +80,7 @@ public com.commercetools.api.models.state.StateReference getNewState() { } /** - * + *

    Whether the old Review was taken into account in the rating statistics of the target before the state transition.

    */ public Boolean getOldIncludedInStatistics() { @@ -88,7 +88,7 @@ public Boolean getOldIncludedInStatistics() { } /** - * + *

    Whether the new Review was taken into account in the rating statistics of the target after the state transition.

    */ public Boolean getNewIncludedInStatistics() { @@ -96,7 +96,7 @@ public Boolean getNewIncludedInStatistics() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource that the Review belongs to.

    */ public com.commercetools.api.models.common.Reference getTarget() { @@ -104,7 +104,7 @@ public com.commercetools.api.models.common.Reference getTarget() { } /** - * + *

    Whether State transition validations were turned off during the Transition State update action.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessage.java index c7256756e78..95587139699 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessage.java @@ -5,13 +5,17 @@ import java.util.*; import java.util.function.Function; +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.staged_quote.StagedQuote; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteCreatedMessage + *

    Generated after a successful Create Staged Quote request.

    * *
    * Example to create an instance using the builder pattern @@ -25,6 +29,7 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) + * .stagedQuote(stagedQuoteBuilder -> stagedQuoteBuilder) * .build() * *
    @@ -35,6 +40,16 @@ public interface StagedQuoteCreatedMessage extends Message { String STAGED_QUOTE_CREATED = "StagedQuoteCreated"; + /** + *

    Staged Quote that was created.

    + */ + @NotNull + @Valid + @JsonProperty("stagedQuote") + public StagedQuote getStagedQuote(); + + public void setStagedQuote(final StagedQuote stagedQuote); + public static StagedQuoteCreatedMessage of() { return new StagedQuoteCreatedMessageImpl(); } @@ -51,6 +66,7 @@ public static StagedQuoteCreatedMessage of(final StagedQuoteCreatedMessage templ instance.setResource(template.getResource()); instance.setResourceVersion(template.getResourceVersion()); instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); + instance.setStagedQuote(template.getStagedQuote()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessageBuilder.java index 35dc6f89864..92b039366cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessageBuilder.java @@ -23,6 +23,7 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) + * .stagedQuote(stagedQuoteBuilder -> stagedQuoteBuilder) * .build() * *
    @@ -53,8 +54,10 @@ public class StagedQuoteCreatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StagedQuoteCreatedMessageBuilder id(final String id) { @@ -63,7 +66,7 @@ public StagedQuoteCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StagedQuoteCreatedMessageBuilder version(final Long version) { @@ -72,7 +75,7 @@ public StagedQuoteCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StagedQuoteCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +84,7 @@ public StagedQuoteCreatedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

    Value of createdAt.

    */ public StagedQuoteCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +93,7 @@ public StagedQuoteCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDate } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteCreatedMessageBuilder lastModifiedBy( @@ -100,7 +103,7 @@ public StagedQuoteCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteCreatedMessageBuilder lastModifiedBy( @@ -130,7 +133,7 @@ public StagedQuoteCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StagedQuoteCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +142,7 @@ public StagedQuoteCreatedMessageBuilder sequenceNumber(final Long sequenceNumber } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +151,7 @@ public StagedQuoteCreatedMessageBuilder resource(final com.commercetools.api.mod } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteCreatedMessageBuilder resource( @@ -158,7 +161,7 @@ public StagedQuoteCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StagedQuoteCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +170,7 @@ public StagedQuoteCreatedMessageBuilder resourceVersion(final Long resourceVersi } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +182,7 @@ public StagedQuoteCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -188,6 +191,26 @@ public StagedQuoteCreatedMessageBuilder resourceUserProvidedIdentifiers( return this; } + /** + *

    Staged Quote that was created.

    + */ + + public StagedQuoteCreatedMessageBuilder stagedQuote( + Function builder) { + this.stagedQuote = builder.apply(com.commercetools.api.models.staged_quote.StagedQuoteBuilder.of()).build(); + return this; + } + + /** + *

    Staged Quote that was created.

    + */ + + public StagedQuoteCreatedMessageBuilder stagedQuote( + final com.commercetools.api.models.staged_quote.StagedQuote stagedQuote) { + this.stagedQuote = stagedQuote; + return this; + } + public String getId() { return this.id; } @@ -231,6 +254,10 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } + public com.commercetools.api.models.staged_quote.StagedQuote getStagedQuote() { + return this.stagedQuote; + } + public StagedQuoteCreatedMessage build() { Objects.requireNonNull(id, StagedQuoteCreatedMessage.class + ": id is missing"); Objects.requireNonNull(version, StagedQuoteCreatedMessage.class + ": version is missing"); @@ -239,8 +266,9 @@ public StagedQuoteCreatedMessage build() { Objects.requireNonNull(sequenceNumber, StagedQuoteCreatedMessage.class + ": sequenceNumber is missing"); Objects.requireNonNull(resource, StagedQuoteCreatedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, StagedQuoteCreatedMessage.class + ": resourceVersion is missing"); + Objects.requireNonNull(stagedQuote, StagedQuoteCreatedMessage.class + ": stagedQuote is missing"); return new StagedQuoteCreatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, stagedQuote); } /** @@ -248,7 +276,7 @@ public StagedQuoteCreatedMessage build() { */ public StagedQuoteCreatedMessage buildUnchecked() { return new StagedQuoteCreatedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, - sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers); + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, stagedQuote); } public static StagedQuoteCreatedMessageBuilder of() { @@ -267,6 +295,7 @@ public static StagedQuoteCreatedMessageBuilder of(final StagedQuoteCreatedMessag builder.resource = template.getResource(); builder.resourceVersion = template.getResourceVersion(); builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); + builder.stagedQuote = template.getStagedQuote(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessageImpl.java index 49f432a70df..58144341173 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteCreatedMessage + *

    Generated after a successful Create Staged Quote request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteCreatedMessageImpl implements StagedQuoteCreatedMessage, ModelBase { @@ -42,6 +42,8 @@ public class StagedQuoteCreatedMessageImpl implements StagedQuoteCreatedMessage, private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + private com.commercetools.api.models.staged_quote.StagedQuote stagedQuote; + @JsonCreator StagedQuoteCreatedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -51,7 +53,8 @@ public class StagedQuoteCreatedMessageImpl implements StagedQuoteCreatedMessage, @JsonProperty("sequenceNumber") final Long sequenceNumber, @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, - @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, + @JsonProperty("stagedQuote") final com.commercetools.api.models.staged_quote.StagedQuote stagedQuote) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -62,6 +65,7 @@ public class StagedQuoteCreatedMessageImpl implements StagedQuoteCreatedMessage, this.resource = resource; this.resourceVersion = resourceVersion; this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + this.stagedQuote = stagedQuote; this.type = STAGED_QUOTE_CREATED; } @@ -70,7 +74,7 @@ public StagedQuoteCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,13 +154,21 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { return this.resourceUserProvidedIdentifiers; } + /** + *

    Staged Quote that was created.

    + */ + + public com.commercetools.api.models.staged_quote.StagedQuote getStagedQuote() { + return this.stagedQuote; + } + public void setId(final String id) { this.id = id; } @@ -198,6 +210,10 @@ public void setResourceUserProvidedIdentifiers( this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; } + public void setStagedQuote(final com.commercetools.api.models.staged_quote.StagedQuote stagedQuote) { + this.stagedQuote = stagedQuote; + } + @Override public boolean equals(Object o) { if (this == o) @@ -219,6 +235,7 @@ public boolean equals(Object o) { .append(resourceVersion, that.resourceVersion) .append(type, that.type) .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) + .append(stagedQuote, that.stagedQuote) .isEquals(); } @@ -235,6 +252,7 @@ public int hashCode() { .append(resourceVersion) .append(type) .append(resourceUserProvidedIdentifiers) + .append(stagedQuote) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayload.java index 039a350e6de..e8b68b56588 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayload.java @@ -5,19 +5,24 @@ import java.util.*; import java.util.function.Function; +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.staged_quote.StagedQuote; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteCreatedMessagePayload + *

    Generated after a successful Create Staged Quote request.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     StagedQuoteCreatedMessagePayload stagedQuoteCreatedMessagePayload = StagedQuoteCreatedMessagePayload.builder()
    + *             .stagedQuote(stagedQuoteBuilder -> stagedQuoteBuilder)
      *             .build()
      * 
    *
    @@ -28,12 +33,23 @@ public interface StagedQuoteCreatedMessagePayload extends MessagePayload { String STAGED_QUOTE_CREATED = "StagedQuoteCreated"; + /** + *

    Staged Quote that was created.

    + */ + @NotNull + @Valid + @JsonProperty("stagedQuote") + public StagedQuote getStagedQuote(); + + public void setStagedQuote(final StagedQuote stagedQuote); + public static StagedQuoteCreatedMessagePayload of() { return new StagedQuoteCreatedMessagePayloadImpl(); } public static StagedQuoteCreatedMessagePayload of(final StagedQuoteCreatedMessagePayload template) { StagedQuoteCreatedMessagePayloadImpl instance = new StagedQuoteCreatedMessagePayloadImpl(); + instance.setStagedQuote(template.getStagedQuote()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayloadBuilder.java index 5521d98dcd0..dccde0f816b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayloadBuilder.java @@ -2,6 +2,7 @@ package com.commercetools.api.models.message; import java.util.*; +import java.util.function.Function; import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -13,6 +14,7 @@ *
    *
    
      *     StagedQuoteCreatedMessagePayload stagedQuoteCreatedMessagePayload = StagedQuoteCreatedMessagePayload.builder()
    + *             .stagedQuote(stagedQuoteBuilder -> stagedQuoteBuilder)
      *             .build()
      * 
    *
    @@ -20,15 +22,42 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteCreatedMessagePayloadBuilder implements Builder { + private com.commercetools.api.models.staged_quote.StagedQuote stagedQuote; + + /** + *

    Staged Quote that was created.

    + */ + + public StagedQuoteCreatedMessagePayloadBuilder stagedQuote( + Function builder) { + this.stagedQuote = builder.apply(com.commercetools.api.models.staged_quote.StagedQuoteBuilder.of()).build(); + return this; + } + + /** + *

    Staged Quote that was created.

    + */ + + public StagedQuoteCreatedMessagePayloadBuilder stagedQuote( + final com.commercetools.api.models.staged_quote.StagedQuote stagedQuote) { + this.stagedQuote = stagedQuote; + return this; + } + + public com.commercetools.api.models.staged_quote.StagedQuote getStagedQuote() { + return this.stagedQuote; + } + public StagedQuoteCreatedMessagePayload build() { - return new StagedQuoteCreatedMessagePayloadImpl(); + Objects.requireNonNull(stagedQuote, StagedQuoteCreatedMessagePayload.class + ": stagedQuote is missing"); + return new StagedQuoteCreatedMessagePayloadImpl(stagedQuote); } /** * builds StagedQuoteCreatedMessagePayload without checking for non null required values */ public StagedQuoteCreatedMessagePayload buildUnchecked() { - return new StagedQuoteCreatedMessagePayloadImpl(); + return new StagedQuoteCreatedMessagePayloadImpl(stagedQuote); } public static StagedQuoteCreatedMessagePayloadBuilder of() { @@ -37,6 +66,7 @@ public static StagedQuoteCreatedMessagePayloadBuilder of() { public static StagedQuoteCreatedMessagePayloadBuilder of(final StagedQuoteCreatedMessagePayload template) { StagedQuoteCreatedMessagePayloadBuilder builder = new StagedQuoteCreatedMessagePayloadBuilder(); + builder.stagedQuote = template.getStagedQuote(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayloadImpl.java index 6ed38700fc6..5cb5dae439b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteCreatedMessagePayloadImpl.java @@ -5,6 +5,7 @@ import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.ModelBase; @@ -14,15 +15,23 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteCreatedMessagePayload + *

    Generated after a successful Create Staged Quote request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteCreatedMessagePayloadImpl implements StagedQuoteCreatedMessagePayload, ModelBase { private String type; + private com.commercetools.api.models.staged_quote.StagedQuote stagedQuote; + @JsonCreator - StagedQuoteCreatedMessagePayloadImpl() { + StagedQuoteCreatedMessagePayloadImpl( + @JsonProperty("stagedQuote") final com.commercetools.api.models.staged_quote.StagedQuote stagedQuote) { + this.stagedQuote = stagedQuote; + this.type = STAGED_QUOTE_CREATED; + } + + public StagedQuoteCreatedMessagePayloadImpl() { this.type = STAGED_QUOTE_CREATED; } @@ -34,6 +43,18 @@ public String getType() { return this.type; } + /** + *

    Staged Quote that was created.

    + */ + + public com.commercetools.api.models.staged_quote.StagedQuote getStagedQuote() { + return this.stagedQuote; + } + + public void setStagedQuote(final com.commercetools.api.models.staged_quote.StagedQuote stagedQuote) { + this.stagedQuote = stagedQuote; + } + @Override public boolean equals(Object o) { if (this == o) @@ -44,12 +65,12 @@ public boolean equals(Object o) { StagedQuoteCreatedMessagePayloadImpl that = (StagedQuoteCreatedMessagePayloadImpl) o; - return new EqualsBuilder().append(type, that.type).isEquals(); + return new EqualsBuilder().append(type, that.type).append(stagedQuote, that.stagedQuote).isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).toHashCode(); + return new HashCodeBuilder(17, 37).append(type).append(stagedQuote).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessage.java index f4c5d99b8aa..1e7ad208cae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteDeletedMessage + *

    Generated after a successful Delete Staged Quote request.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessageBuilder.java index 65e0de79f7a..e764044d600 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessageBuilder.java @@ -54,7 +54,7 @@ public class StagedQuoteDeletedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StagedQuoteDeletedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public StagedQuoteDeletedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StagedQuoteDeletedMessageBuilder version(final Long version) { @@ -72,7 +72,7 @@ public StagedQuoteDeletedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StagedQuoteDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public StagedQuoteDeletedMessageBuilder createdAt(final java.time.ZonedDateTime } /** - * + *

    Value of createdAt.

    */ public StagedQuoteDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +90,7 @@ public StagedQuoteDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDate } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteDeletedMessageBuilder lastModifiedBy( @@ -100,7 +100,7 @@ public StagedQuoteDeletedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteDeletedMessageBuilder lastModifiedBy( @@ -130,7 +130,7 @@ public StagedQuoteDeletedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StagedQuoteDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +139,7 @@ public StagedQuoteDeletedMessageBuilder sequenceNumber(final Long sequenceNumber } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public StagedQuoteDeletedMessageBuilder resource(final com.commercetools.api.mod } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteDeletedMessageBuilder resource( @@ -158,7 +158,7 @@ public StagedQuoteDeletedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StagedQuoteDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public StagedQuoteDeletedMessageBuilder resourceVersion(final Long resourceVersi } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +179,7 @@ public StagedQuoteDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteDeletedMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessageImpl.java index 5ecb8f40e99..bea408851aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteDeletedMessage + *

    Generated after a successful Delete Staged Quote request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteDeletedMessageImpl implements StagedQuoteDeletedMessage, ModelBase { @@ -70,7 +70,7 @@ public StagedQuoteDeletedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessagePayload.java index a25243895e0..dc3850d73e4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteDeletedMessagePayload + *

    Generated after a successful Delete Staged Quote request.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessagePayloadImpl.java index 6b95604fbaa..a51c23b506e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteDeletedMessagePayloadImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteDeletedMessagePayload + *

    Generated after a successful Delete Staged Quote request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteDeletedMessagePayloadImpl implements StagedQuoteDeletedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessage.java index 8f032e3feca..db80f091c7f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessage.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteSellerCommentSetMessage + *

    Generated after a successful Set Seller Comment update action.

    * *
    * Example to create an instance using the builder pattern @@ -39,7 +39,7 @@ public interface StagedQuoteSellerCommentSetMessage extends Message { String STAGED_QUOTE_SELLER_COMMENT_SET = "StagedQuoteSellerCommentSet"; /** - * + *

    sellerComment on the StagedQuote after a successful Set Seller Comment update action.

    */ @NotNull @JsonProperty("sellerComment") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessageBuilder.java index 8a44036b140..09c91c81ee9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessageBuilder.java @@ -57,7 +57,7 @@ public class StagedQuoteSellerCommentSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StagedQuoteSellerCommentSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public StagedQuoteSellerCommentSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StagedQuoteSellerCommentSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public StagedQuoteSellerCommentSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StagedQuoteSellerCommentSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public StagedQuoteSellerCommentSetMessageBuilder createdAt(final java.time.Zoned } /** - * + *

    Value of createdAt.

    */ public StagedQuoteSellerCommentSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public StagedQuoteSellerCommentSetMessageBuilder lastModifiedAt(final java.time. } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteSellerCommentSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public StagedQuoteSellerCommentSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteSellerCommentSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public StagedQuoteSellerCommentSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StagedQuoteSellerCommentSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public StagedQuoteSellerCommentSetMessageBuilder sequenceNumber(final Long seque } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteSellerCommentSetMessageBuilder resource( @@ -152,7 +152,7 @@ public StagedQuoteSellerCommentSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteSellerCommentSetMessageBuilder resource( @@ -162,7 +162,7 @@ public StagedQuoteSellerCommentSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StagedQuoteSellerCommentSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public StagedQuoteSellerCommentSetMessageBuilder resourceVersion(final Long reso } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteSellerCommentSetMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public StagedQuoteSellerCommentSetMessageBuilder resourceUserProvidedIdentifiers } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteSellerCommentSetMessageBuilder resourceUserProvidedIdentifiers( @@ -193,7 +193,7 @@ public StagedQuoteSellerCommentSetMessageBuilder resourceUserProvidedIdentifiers } /** - * + *

    sellerComment on the StagedQuote after a successful Set Seller Comment update action.

    */ public StagedQuoteSellerCommentSetMessageBuilder sellerComment(final String sellerComment) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessageImpl.java index 7cdb600c99d..521e512a731 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteSellerCommentSetMessage + *

    Generated after a successful Set Seller Comment update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteSellerCommentSetMessageImpl implements StagedQuoteSellerCommentSetMessage, ModelBase { @@ -75,7 +75,7 @@ public StagedQuoteSellerCommentSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -83,7 +83,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -91,7 +91,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -99,7 +99,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -123,7 +123,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -131,7 +131,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -147,7 +147,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -155,7 +155,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -163,7 +163,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    sellerComment on the StagedQuote after a successful Set Seller Comment update action.

    */ public String getSellerComment() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayload.java index c9bdb671e9c..9e8072bc1cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayload.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteSellerCommentSetMessagePayload + *

    Generated after a successful Set Seller Comment update action.

    * *
    * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface StagedQuoteSellerCommentSetMessagePayload extends MessagePayloa String STAGED_QUOTE_SELLER_COMMENT_SET = "StagedQuoteSellerCommentSet"; /** - * + *

    sellerComment on the StagedQuote after a successful Set Seller Comment update action.

    */ @NotNull @JsonProperty("sellerComment") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayloadBuilder.java index ee896acbbd5..3e4d6794996 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class StagedQuoteSellerCommentSetMessagePayloadBuilder private String sellerComment; /** - * + *

    sellerComment on the StagedQuote after a successful Set Seller Comment update action.

    */ public StagedQuoteSellerCommentSetMessagePayloadBuilder sellerComment(final String sellerComment) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayloadImpl.java index 4f5904c27a5..666970dd210 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteSellerCommentSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteSellerCommentSetMessagePayload + *

    Generated after a successful Set Seller Comment update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteSellerCommentSetMessagePayloadImpl @@ -44,7 +44,7 @@ public String getType() { } /** - * + *

    sellerComment on the StagedQuote after a successful Set Seller Comment update action.

    */ public String getSellerComment() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessage.java index dcc6318b98b..173e7b8be43 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteStateChangedMessage + *

    Generated after a successful Change Staged Quote State update action.

    * *
    * Example to create an instance using the builder pattern @@ -41,14 +41,14 @@ public interface StagedQuoteStateChangedMessage extends Message { String STAGED_QUOTE_STATE_CHANGED = "StagedQuoteStateChanged"; /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote after the Change Staged Quote State update action.

    */ @NotNull @JsonProperty("stagedQuoteState") public StagedQuoteState getStagedQuoteState(); /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote before the Change Staged Quote State update action.

    */ @NotNull @JsonProperty("oldStagedQuoteState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessageBuilder.java index c7213720a85..d9ba31f6cdf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessageBuilder.java @@ -60,7 +60,7 @@ public class StagedQuoteStateChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StagedQuoteStateChangedMessageBuilder id(final String id) { @@ -69,7 +69,7 @@ public StagedQuoteStateChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StagedQuoteStateChangedMessageBuilder version(final Long version) { @@ -78,7 +78,7 @@ public StagedQuoteStateChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StagedQuoteStateChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -87,7 +87,7 @@ public StagedQuoteStateChangedMessageBuilder createdAt(final java.time.ZonedDate } /** - * + *

    Value of createdAt.

    */ public StagedQuoteStateChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -96,7 +96,7 @@ public StagedQuoteStateChangedMessageBuilder lastModifiedAt(final java.time.Zone } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteStateChangedMessageBuilder lastModifiedBy( @@ -106,7 +106,7 @@ public StagedQuoteStateChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteStateChangedMessageBuilder lastModifiedBy( @@ -136,7 +136,7 @@ public StagedQuoteStateChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StagedQuoteStateChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -145,7 +145,7 @@ public StagedQuoteStateChangedMessageBuilder sequenceNumber(final Long sequenceN } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteStateChangedMessageBuilder resource( @@ -155,7 +155,7 @@ public StagedQuoteStateChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteStateChangedMessageBuilder resource( @@ -165,7 +165,7 @@ public StagedQuoteStateChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StagedQuoteStateChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -174,7 +174,7 @@ public StagedQuoteStateChangedMessageBuilder resourceVersion(final Long resource } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -186,7 +186,7 @@ public StagedQuoteStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteStateChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -196,7 +196,7 @@ public StagedQuoteStateChangedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote after the Change Staged Quote State update action.

    */ public StagedQuoteStateChangedMessageBuilder stagedQuoteState( @@ -206,7 +206,7 @@ public StagedQuoteStateChangedMessageBuilder stagedQuoteState( } /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote before the Change Staged Quote State update action.

    */ public StagedQuoteStateChangedMessageBuilder oldStagedQuoteState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessageImpl.java index 5d65bc5d195..12dcbc629de 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteStateChangedMessage + *

    Generated after a successful Change Staged Quote State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteStateChangedMessageImpl implements StagedQuoteStateChangedMessage, ModelBase { @@ -78,7 +78,7 @@ public StagedQuoteStateChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -86,7 +86,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -110,7 +110,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -126,7 +126,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -134,7 +134,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -150,7 +150,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -158,7 +158,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -166,7 +166,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote after the Change Staged Quote State update action.

    */ public com.commercetools.api.models.staged_quote.StagedQuoteState getStagedQuoteState() { @@ -174,7 +174,7 @@ public com.commercetools.api.models.staged_quote.StagedQuoteState getStagedQuote } /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote before the Change Staged Quote State update action.

    */ public com.commercetools.api.models.staged_quote.StagedQuoteState getOldStagedQuoteState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayload.java index 99267bf0a85..061327a8bd4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteStateChangedMessagePayload + *

    Generated after a successful Change Staged Quote State update action.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface StagedQuoteStateChangedMessagePayload extends MessagePayload { String STAGED_QUOTE_STATE_CHANGED = "StagedQuoteStateChanged"; /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote after the Change Staged Quote State update action.

    */ @NotNull @JsonProperty("stagedQuoteState") public StagedQuoteState getStagedQuoteState(); /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote before the Change Staged Quote State update action.

    */ @NotNull @JsonProperty("oldStagedQuoteState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayloadBuilder.java index 0fd62269d6d..79166172a7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayloadBuilder.java @@ -27,7 +27,7 @@ public class StagedQuoteStateChangedMessagePayloadBuilder implements BuilderPredefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote after the Change Staged Quote State update action.

    */ public StagedQuoteStateChangedMessagePayloadBuilder stagedQuoteState( @@ -37,7 +37,7 @@ public StagedQuoteStateChangedMessagePayloadBuilder stagedQuoteState( } /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote before the Change Staged Quote State update action.

    */ public StagedQuoteStateChangedMessagePayloadBuilder oldStagedQuoteState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayloadImpl.java index c872ea80d57..c8955f033bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteStateChangedMessagePayload + *

    Generated after a successful Change Staged Quote State update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteStateChangedMessagePayloadImpl implements StagedQuoteStateChangedMessagePayload, ModelBase { @@ -48,7 +48,7 @@ public String getType() { } /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote after the Change Staged Quote State update action.

    */ public com.commercetools.api.models.staged_quote.StagedQuoteState getStagedQuoteState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.staged_quote.StagedQuoteState getStagedQuote } /** - *

    Predefined states tracking the status of the Staged Quote.

    + *

    State of the Staged Quote before the Change Staged Quote State update action.

    */ public com.commercetools.api.models.staged_quote.StagedQuoteState getOldStagedQuoteState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessage.java new file mode 100644 index 00000000000..2c241a402eb --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessage.java @@ -0,0 +1,114 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Transition State update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StagedQuoteStateTransitionMessage stagedQuoteStateTransitionMessage = StagedQuoteStateTransitionMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StagedQuoteStateTransitionMessageImpl.class) +public interface StagedQuoteStateTransitionMessage extends Message { + + String STAGED_QUOTE_STATE_TRANSITION = "StagedQuoteStateTransition"; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateReference getState(); + + /** + *

    State of the Quote before the Transition State update action.

    + */ + @Valid + @JsonProperty("oldState") + public StateReference getOldState(); + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + @NotNull + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateReference state); + + public void setOldState(final StateReference oldState); + + public void setForce(final Boolean force); + + public static StagedQuoteStateTransitionMessage of() { + return new StagedQuoteStateTransitionMessageImpl(); + } + + public static StagedQuoteStateTransitionMessage of(final StagedQuoteStateTransitionMessage template) { + StagedQuoteStateTransitionMessageImpl instance = new StagedQuoteStateTransitionMessageImpl(); + instance.setId(template.getId()); + instance.setVersion(template.getVersion()); + instance.setCreatedAt(template.getCreatedAt()); + instance.setLastModifiedAt(template.getLastModifiedAt()); + instance.setLastModifiedBy(template.getLastModifiedBy()); + instance.setCreatedBy(template.getCreatedBy()); + instance.setSequenceNumber(template.getSequenceNumber()); + instance.setResource(template.getResource()); + instance.setResourceVersion(template.getResourceVersion()); + instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); + instance.setState(template.getState()); + instance.setOldState(template.getOldState()); + instance.setForce(template.getForce()); + return instance; + } + + public static StagedQuoteStateTransitionMessageBuilder builder() { + return StagedQuoteStateTransitionMessageBuilder.of(); + } + + public static StagedQuoteStateTransitionMessageBuilder builder(final StagedQuoteStateTransitionMessage template) { + return StagedQuoteStateTransitionMessageBuilder.of(template); + } + + default T withStagedQuoteStateTransitionMessage(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessageBuilder.java new file mode 100644 index 00000000000..d9dd1f36c73 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessageBuilder.java @@ -0,0 +1,353 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StagedQuoteStateTransitionMessageBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StagedQuoteStateTransitionMessage stagedQuoteStateTransitionMessage = StagedQuoteStateTransitionMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StagedQuoteStateTransitionMessageBuilder implements Builder { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + @Nullable + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + @Nullable + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + @Nullable + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private com.commercetools.api.models.state.StateReference state; + + @Nullable + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public StagedQuoteStateTransitionMessageBuilder id(final String id) { + this.id = id; + return this; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public StagedQuoteStateTransitionMessageBuilder version(final Long version) { + this.version = version; + return this; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public StagedQuoteStateTransitionMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + *

    Value of createdAt.

    + */ + + public StagedQuoteStateTransitionMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public StagedQuoteStateTransitionMessageBuilder lastModifiedBy( + Function builder) { + this.lastModifiedBy = builder.apply(com.commercetools.api.models.common.LastModifiedByBuilder.of()).build(); + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public StagedQuoteStateTransitionMessageBuilder lastModifiedBy( + @Nullable final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public StagedQuoteStateTransitionMessageBuilder createdBy( + Function builder) { + this.createdBy = builder.apply(com.commercetools.api.models.common.CreatedByBuilder.of()).build(); + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public StagedQuoteStateTransitionMessageBuilder createdBy( + @Nullable final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public StagedQuoteStateTransitionMessageBuilder sequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public StagedQuoteStateTransitionMessageBuilder resource( + final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public StagedQuoteStateTransitionMessageBuilder resource( + Function> builder) { + this.resource = builder.apply(com.commercetools.api.models.common.ReferenceBuilder.of()).build(); + return this; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public StagedQuoteStateTransitionMessageBuilder resourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public StagedQuoteStateTransitionMessageBuilder resourceUserProvidedIdentifiers( + Function builder) { + this.resourceUserProvidedIdentifiers = builder + .apply(com.commercetools.api.models.message.UserProvidedIdentifiersBuilder.of()) + .build(); + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public StagedQuoteStateTransitionMessageBuilder resourceUserProvidedIdentifiers( + @Nullable final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessageBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessageBuilder state( + final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessageBuilder oldState( + Function builder) { + this.oldState = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessageBuilder oldState( + @Nullable final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + return this; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessageBuilder force(final Boolean force) { + this.force = force; + return this; + } + + public String getId() { + return this.id; + } + + public Long getVersion() { + return this.version; + } + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + @Nullable + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + @Nullable + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + public Long getResourceVersion() { + return this.resourceVersion; + } + + @Nullable + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + @Nullable + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + public Boolean getForce() { + return this.force; + } + + public StagedQuoteStateTransitionMessage build() { + Objects.requireNonNull(id, StagedQuoteStateTransitionMessage.class + ": id is missing"); + Objects.requireNonNull(version, StagedQuoteStateTransitionMessage.class + ": version is missing"); + Objects.requireNonNull(createdAt, StagedQuoteStateTransitionMessage.class + ": createdAt is missing"); + Objects.requireNonNull(lastModifiedAt, StagedQuoteStateTransitionMessage.class + ": lastModifiedAt is missing"); + Objects.requireNonNull(sequenceNumber, StagedQuoteStateTransitionMessage.class + ": sequenceNumber is missing"); + Objects.requireNonNull(resource, StagedQuoteStateTransitionMessage.class + ": resource is missing"); + Objects.requireNonNull(resourceVersion, + StagedQuoteStateTransitionMessage.class + ": resourceVersion is missing"); + Objects.requireNonNull(state, StagedQuoteStateTransitionMessage.class + ": state is missing"); + Objects.requireNonNull(force, StagedQuoteStateTransitionMessage.class + ": force is missing"); + return new StagedQuoteStateTransitionMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, + createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, state, oldState, + force); + } + + /** + * builds StagedQuoteStateTransitionMessage without checking for non null required values + */ + public StagedQuoteStateTransitionMessage buildUnchecked() { + return new StagedQuoteStateTransitionMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, + createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, state, oldState, + force); + } + + public static StagedQuoteStateTransitionMessageBuilder of() { + return new StagedQuoteStateTransitionMessageBuilder(); + } + + public static StagedQuoteStateTransitionMessageBuilder of(final StagedQuoteStateTransitionMessage template) { + StagedQuoteStateTransitionMessageBuilder builder = new StagedQuoteStateTransitionMessageBuilder(); + builder.id = template.getId(); + builder.version = template.getVersion(); + builder.createdAt = template.getCreatedAt(); + builder.lastModifiedAt = template.getLastModifiedAt(); + builder.lastModifiedBy = template.getLastModifiedBy(); + builder.createdBy = template.getCreatedBy(); + builder.sequenceNumber = template.getSequenceNumber(); + builder.resource = template.getResource(); + builder.resourceVersion = template.getResourceVersion(); + builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); + builder.state = template.getState(); + builder.oldState = template.getOldState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessageImpl.java new file mode 100644 index 00000000000..8f65d82fe2b --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessageImpl.java @@ -0,0 +1,296 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Transition State update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StagedQuoteStateTransitionMessageImpl implements StagedQuoteStateTransitionMessage, ModelBase { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + private String type; + + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private com.commercetools.api.models.state.StateReference state; + + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + @JsonCreator + StagedQuoteStateTransitionMessageImpl(@JsonProperty("id") final String id, + @JsonProperty("version") final Long version, + @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, + @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt, + @JsonProperty("lastModifiedBy") final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy, + @JsonProperty("createdBy") final com.commercetools.api.models.common.CreatedBy createdBy, + @JsonProperty("sequenceNumber") final Long sequenceNumber, + @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, + @JsonProperty("resourceVersion") final Long resourceVersion, + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state, + @JsonProperty("oldState") final com.commercetools.api.models.state.StateReference oldState, + @JsonProperty("force") final Boolean force) { + this.id = id; + this.version = version; + this.createdAt = createdAt; + this.lastModifiedAt = lastModifiedAt; + this.lastModifiedBy = lastModifiedBy; + this.createdBy = createdBy; + this.sequenceNumber = sequenceNumber; + this.resource = resource; + this.resourceVersion = resourceVersion; + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + this.state = state; + this.oldState = oldState; + this.force = force; + this.type = STAGED_QUOTE_STATE_TRANSITION; + } + + public StagedQuoteStateTransitionMessageImpl() { + this.type = STAGED_QUOTE_STATE_TRANSITION; + } + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public String getId() { + return this.id; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public Long getVersion() { + return this.version; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + /** + *

    Value of createdAt.

    + */ + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + /** + *

    Value of createdBy.

    + */ + + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public Long getResourceVersion() { + return this.resourceVersion; + } + + /** + *

    Message Type of the Message.

    + */ + + public String getType() { + return this.type; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setId(final String id) { + this.id = id; + } + + public void setVersion(final Long version) { + this.version = version; + } + + public void setCreatedAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + } + + public void setLastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + } + + public void setLastModifiedBy(final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public void setCreatedBy(final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + } + + public void setSequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + } + + public void setResource(final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + } + + public void setResourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + } + + public void setResourceUserProvidedIdentifiers( + final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + } + + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + + public void setOldState(final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StagedQuoteStateTransitionMessageImpl that = (StagedQuoteStateTransitionMessageImpl) o; + + return new EqualsBuilder().append(id, that.id) + .append(version, that.version) + .append(createdAt, that.createdAt) + .append(lastModifiedAt, that.lastModifiedAt) + .append(lastModifiedBy, that.lastModifiedBy) + .append(createdBy, that.createdBy) + .append(sequenceNumber, that.sequenceNumber) + .append(resource, that.resource) + .append(resourceVersion, that.resourceVersion) + .append(type, that.type) + .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) + .append(state, that.state) + .append(oldState, that.oldState) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(id) + .append(version) + .append(createdAt) + .append(lastModifiedAt) + .append(lastModifiedBy) + .append(createdBy) + .append(sequenceNumber) + .append(resource) + .append(resourceVersion) + .append(type) + .append(resourceUserProvidedIdentifiers) + .append(state) + .append(oldState) + .append(force) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayload.java new file mode 100644 index 00000000000..a2fd171339f --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayload.java @@ -0,0 +1,99 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Transition State update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StagedQuoteStateTransitionMessagePayload stagedQuoteStateTransitionMessagePayload = StagedQuoteStateTransitionMessagePayload.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StagedQuoteStateTransitionMessagePayloadImpl.class) +public interface StagedQuoteStateTransitionMessagePayload extends MessagePayload { + + String STAGED_QUOTE_STATE_TRANSITION = "StagedQuoteStateTransition"; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateReference getState(); + + /** + *

    State of the Quote before the Transition State update action.

    + */ + @Valid + @JsonProperty("oldState") + public StateReference getOldState(); + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + @NotNull + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateReference state); + + public void setOldState(final StateReference oldState); + + public void setForce(final Boolean force); + + public static StagedQuoteStateTransitionMessagePayload of() { + return new StagedQuoteStateTransitionMessagePayloadImpl(); + } + + public static StagedQuoteStateTransitionMessagePayload of(final StagedQuoteStateTransitionMessagePayload template) { + StagedQuoteStateTransitionMessagePayloadImpl instance = new StagedQuoteStateTransitionMessagePayloadImpl(); + instance.setState(template.getState()); + instance.setOldState(template.getOldState()); + instance.setForce(template.getForce()); + return instance; + } + + public static StagedQuoteStateTransitionMessagePayloadBuilder builder() { + return StagedQuoteStateTransitionMessagePayloadBuilder.of(); + } + + public static StagedQuoteStateTransitionMessagePayloadBuilder builder( + final StagedQuoteStateTransitionMessagePayload template) { + return StagedQuoteStateTransitionMessagePayloadBuilder.of(template); + } + + default T withStagedQuoteStateTransitionMessagePayload( + Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayloadBuilder.java new file mode 100644 index 00000000000..aab78c000b2 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayloadBuilder.java @@ -0,0 +1,124 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StagedQuoteStateTransitionMessagePayloadBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StagedQuoteStateTransitionMessagePayload stagedQuoteStateTransitionMessagePayload = StagedQuoteStateTransitionMessagePayload.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .force(true)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StagedQuoteStateTransitionMessagePayloadBuilder + implements Builder { + + private com.commercetools.api.models.state.StateReference state; + + @Nullable + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessagePayloadBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessagePayloadBuilder state( + final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessagePayloadBuilder oldState( + Function builder) { + this.oldState = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessagePayloadBuilder oldState( + @Nullable final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + return this; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public StagedQuoteStateTransitionMessagePayloadBuilder force(final Boolean force) { + this.force = force; + return this; + } + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + @Nullable + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + public Boolean getForce() { + return this.force; + } + + public StagedQuoteStateTransitionMessagePayload build() { + Objects.requireNonNull(state, StagedQuoteStateTransitionMessagePayload.class + ": state is missing"); + Objects.requireNonNull(force, StagedQuoteStateTransitionMessagePayload.class + ": force is missing"); + return new StagedQuoteStateTransitionMessagePayloadImpl(state, oldState, force); + } + + /** + * builds StagedQuoteStateTransitionMessagePayload without checking for non null required values + */ + public StagedQuoteStateTransitionMessagePayload buildUnchecked() { + return new StagedQuoteStateTransitionMessagePayloadImpl(state, oldState, force); + } + + public static StagedQuoteStateTransitionMessagePayloadBuilder of() { + return new StagedQuoteStateTransitionMessagePayloadBuilder(); + } + + public static StagedQuoteStateTransitionMessagePayloadBuilder of( + final StagedQuoteStateTransitionMessagePayload template) { + StagedQuoteStateTransitionMessagePayloadBuilder builder = new StagedQuoteStateTransitionMessagePayloadBuilder(); + builder.state = template.getState(); + builder.oldState = template.getOldState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayloadImpl.java new file mode 100644 index 00000000000..2a864266758 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteStateTransitionMessagePayloadImpl.java @@ -0,0 +1,113 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Transition State update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StagedQuoteStateTransitionMessagePayloadImpl + implements StagedQuoteStateTransitionMessagePayload, ModelBase { + + private String type; + + private com.commercetools.api.models.state.StateReference state; + + private com.commercetools.api.models.state.StateReference oldState; + + private Boolean force; + + @JsonCreator + StagedQuoteStateTransitionMessagePayloadImpl( + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state, + @JsonProperty("oldState") final com.commercetools.api.models.state.StateReference oldState, + @JsonProperty("force") final Boolean force) { + this.state = state; + this.oldState = oldState; + this.force = force; + this.type = STAGED_QUOTE_STATE_TRANSITION; + } + + public StagedQuoteStateTransitionMessagePayloadImpl() { + this.type = STAGED_QUOTE_STATE_TRANSITION; + } + + /** + * + */ + + public String getType() { + return this.type; + } + + /** + *

    State of the Quote after the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + + /** + *

    State of the Quote before the Transition State update action.

    + */ + + public com.commercetools.api.models.state.StateReference getOldState() { + return this.oldState; + } + + /** + *

    Whether State transition validations were turned off during the Transition State update action.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + + public void setOldState(final com.commercetools.api.models.state.StateReference oldState) { + this.oldState = oldState; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StagedQuoteStateTransitionMessagePayloadImpl that = (StagedQuoteStateTransitionMessagePayloadImpl) o; + + return new EqualsBuilder().append(type, that.type) + .append(state, that.state) + .append(oldState, that.oldState) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(type).append(state).append(oldState).append(force).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessage.java index 6ce16324590..0b1f323f7ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteValidToSetMessage + *

    Generated after a successful Set Valid To update action.

    * *
    * Example to create an instance using the builder pattern @@ -40,7 +40,7 @@ public interface StagedQuoteValidToSetMessage extends Message { String STAGED_QUOTE_VALID_TO_SET = "StagedQuoteValidToSet"; /** - * + *

    Expiration date for the Staged Quote after the Set Valid To update action.

    */ @NotNull @JsonProperty("validTo") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessageBuilder.java index ea115541783..fcd3eb9f268 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessageBuilder.java @@ -57,7 +57,7 @@ public class StagedQuoteValidToSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StagedQuoteValidToSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public StagedQuoteValidToSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StagedQuoteValidToSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public StagedQuoteValidToSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StagedQuoteValidToSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public StagedQuoteValidToSetMessageBuilder createdAt(final java.time.ZonedDateTi } /** - * + *

    Value of createdAt.

    */ public StagedQuoteValidToSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public StagedQuoteValidToSetMessageBuilder lastModifiedAt(final java.time.ZonedD } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteValidToSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public StagedQuoteValidToSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StagedQuoteValidToSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public StagedQuoteValidToSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StagedQuoteValidToSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public StagedQuoteValidToSetMessageBuilder sequenceNumber(final Long sequenceNum } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteValidToSetMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public StagedQuoteValidToSetMessageBuilder resource(final com.commercetools.api. } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StagedQuoteValidToSetMessageBuilder resource( @@ -161,7 +161,7 @@ public StagedQuoteValidToSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StagedQuoteValidToSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public StagedQuoteValidToSetMessageBuilder resourceVersion(final Long resourceVe } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteValidToSetMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public StagedQuoteValidToSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StagedQuoteValidToSetMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public StagedQuoteValidToSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    Expiration date for the Staged Quote after the Set Valid To update action.

    */ public StagedQuoteValidToSetMessageBuilder validTo(final java.time.ZonedDateTime validTo) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessageImpl.java index d945babfbda..12080474931 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteValidToSetMessage + *

    Generated after a successful Set Valid To update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteValidToSetMessageImpl implements StagedQuoteValidToSetMessage, ModelBase { @@ -74,7 +74,7 @@ public StagedQuoteValidToSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    Expiration date for the Staged Quote after the Set Valid To update action.

    */ public java.time.ZonedDateTime getValidTo() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayload.java index ef49619f023..08cae2df7c1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StagedQuoteValidToSetMessagePayload + *

    Generated after a successful Set Valid To update action.

    * *
    * Example to create an instance using the builder pattern @@ -33,7 +33,7 @@ public interface StagedQuoteValidToSetMessagePayload extends MessagePayload { String STAGED_QUOTE_VALID_TO_SET = "StagedQuoteValidToSet"; /** - * + *

    Expiration date for the Staged Quote after the Set Valid To update action.

    */ @NotNull @JsonProperty("validTo") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayloadBuilder.java index 9517092fee7..29ed365c640 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayloadBuilder.java @@ -24,7 +24,7 @@ public class StagedQuoteValidToSetMessagePayloadBuilder implements BuilderExpiration date for the Staged Quote after the Set Valid To update action.

    */ public StagedQuoteValidToSetMessagePayloadBuilder validTo(final java.time.ZonedDateTime validTo) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayloadImpl.java index 4417741db04..b04c68faa2b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StagedQuoteValidToSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StagedQuoteValidToSetMessagePayload + *

    Generated after a successful Set Valid To update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StagedQuoteValidToSetMessagePayloadImpl implements StagedQuoteValidToSetMessagePayload, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

    Expiration date for the Staged Quote after the Set Valid To update action.

    */ public java.time.ZonedDateTime getValidTo() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessage.java index 933947b32c3..bf84a241dc2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessage.java @@ -41,7 +41,7 @@ public interface StandalonePriceCreatedMessage extends Message { String STANDALONE_PRICE_CREATED = "StandalonePriceCreated"; /** - *

    The Standalone Price as it was created.

    + *

    Standalone Price that was created.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessageBuilder.java index ac5ef990857..c4354258f06 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessageBuilder.java @@ -57,7 +57,7 @@ public class StandalonePriceCreatedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StandalonePriceCreatedMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public StandalonePriceCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StandalonePriceCreatedMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public StandalonePriceCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StandalonePriceCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public StandalonePriceCreatedMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

    Value of createdAt.

    */ public StandalonePriceCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public StandalonePriceCreatedMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceCreatedMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public StandalonePriceCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceCreatedMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public StandalonePriceCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StandalonePriceCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public StandalonePriceCreatedMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -151,7 +151,7 @@ public StandalonePriceCreatedMessageBuilder resource(final com.commercetools.api } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceCreatedMessageBuilder resource( @@ -161,7 +161,7 @@ public StandalonePriceCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StandalonePriceCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -170,7 +170,7 @@ public StandalonePriceCreatedMessageBuilder resourceVersion(final Long resourceV } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -182,7 +182,7 @@ public StandalonePriceCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -192,7 +192,7 @@ public StandalonePriceCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    The Standalone Price as it was created.

    + *

    Standalone Price that was created.

    */ public StandalonePriceCreatedMessageBuilder standalonePrice( @@ -203,7 +203,7 @@ public StandalonePriceCreatedMessageBuilder standalonePrice( } /** - *

    The Standalone Price as it was created.

    + *

    Standalone Price that was created.

    */ public StandalonePriceCreatedMessageBuilder standalonePrice( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessageImpl.java index 631a893ccd7..197d9992aea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessageImpl.java @@ -74,7 +74,7 @@ public StandalonePriceCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -82,7 +82,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -90,7 +90,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -98,7 +98,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -106,7 +106,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -122,7 +122,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -130,7 +130,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -138,7 +138,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -146,7 +146,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -154,7 +154,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -162,7 +162,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    The Standalone Price as it was created.

    + *

    Standalone Price that was created.

    */ public com.commercetools.api.models.standalone_price.StandalonePrice getStandalonePrice() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayload.java index 3e96b8c97aa..3ad9cbd590f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayload.java @@ -34,7 +34,7 @@ public interface StandalonePriceCreatedMessagePayload extends MessagePayload { String STANDALONE_PRICE_CREATED = "StandalonePriceCreated"; /** - *

    The Standalone Price as it was created.

    + *

    Standalone Price that was created.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayloadBuilder.java index 620310f37e9..2afff40900e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayloadBuilder.java @@ -25,7 +25,7 @@ public class StandalonePriceCreatedMessagePayloadBuilder implements BuilderThe Standalone Price as it was created.

    + *

    Standalone Price that was created.

    */ public StandalonePriceCreatedMessagePayloadBuilder standalonePrice( @@ -36,7 +36,7 @@ public StandalonePriceCreatedMessagePayloadBuilder standalonePrice( } /** - *

    The Standalone Price as it was created.

    + *

    Standalone Price that was created.

    */ public StandalonePriceCreatedMessagePayloadBuilder standalonePrice( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayloadImpl.java index 2feb56ae1f5..6db17b2d4a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceCreatedMessagePayloadImpl.java @@ -44,7 +44,7 @@ public String getType() { } /** - *

    The Standalone Price as it was created.

    + *

    Standalone Price that was created.

    */ public com.commercetools.api.models.standalone_price.StandalonePrice getStandalonePrice() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessageBuilder.java index ee26b420438..5c2aacbb8fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessageBuilder.java @@ -54,7 +54,7 @@ public class StandalonePriceDeletedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StandalonePriceDeletedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public StandalonePriceDeletedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StandalonePriceDeletedMessageBuilder version(final Long version) { @@ -72,7 +72,7 @@ public StandalonePriceDeletedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StandalonePriceDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public StandalonePriceDeletedMessageBuilder createdAt(final java.time.ZonedDateT } /** - * + *

    Value of createdAt.

    */ public StandalonePriceDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +90,7 @@ public StandalonePriceDeletedMessageBuilder lastModifiedAt(final java.time.Zoned } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceDeletedMessageBuilder lastModifiedBy( @@ -100,7 +100,7 @@ public StandalonePriceDeletedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceDeletedMessageBuilder lastModifiedBy( @@ -130,7 +130,7 @@ public StandalonePriceDeletedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StandalonePriceDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +139,7 @@ public StandalonePriceDeletedMessageBuilder sequenceNumber(final Long sequenceNu } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public StandalonePriceDeletedMessageBuilder resource(final com.commercetools.api } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceDeletedMessageBuilder resource( @@ -158,7 +158,7 @@ public StandalonePriceDeletedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StandalonePriceDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public StandalonePriceDeletedMessageBuilder resourceVersion(final Long resourceV } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +179,7 @@ public StandalonePriceDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceDeletedMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessageImpl.java index c963b578747..fef0493e6bd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessageImpl.java @@ -70,7 +70,7 @@ public StandalonePriceDeletedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessage.java index 42772422b22..0b2b6bce406 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    Emitted when the affected StandalonePrice is updated based on a Product Discount being applied.

    + *

    Generated after a Product Discount is successfully applied to a StandalonePrice.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessageBuilder.java index 35e9dd9815e..9fed828650c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessageBuilder.java @@ -57,7 +57,7 @@ public class StandalonePriceDiscountSetMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StandalonePriceDiscountSetMessageBuilder id(final String id) { @@ -66,7 +66,7 @@ public StandalonePriceDiscountSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StandalonePriceDiscountSetMessageBuilder version(final Long version) { @@ -75,7 +75,7 @@ public StandalonePriceDiscountSetMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StandalonePriceDiscountSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +84,7 @@ public StandalonePriceDiscountSetMessageBuilder createdAt(final java.time.ZonedD } /** - * + *

    Value of createdAt.

    */ public StandalonePriceDiscountSetMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +93,7 @@ public StandalonePriceDiscountSetMessageBuilder lastModifiedAt(final java.time.Z } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceDiscountSetMessageBuilder lastModifiedBy( @@ -103,7 +103,7 @@ public StandalonePriceDiscountSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceDiscountSetMessageBuilder lastModifiedBy( @@ -133,7 +133,7 @@ public StandalonePriceDiscountSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StandalonePriceDiscountSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +142,7 @@ public StandalonePriceDiscountSetMessageBuilder sequenceNumber(final Long sequen } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceDiscountSetMessageBuilder resource( @@ -152,7 +152,7 @@ public StandalonePriceDiscountSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceDiscountSetMessageBuilder resource( @@ -162,7 +162,7 @@ public StandalonePriceDiscountSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StandalonePriceDiscountSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +171,7 @@ public StandalonePriceDiscountSetMessageBuilder resourceVersion(final Long resou } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +183,7 @@ public StandalonePriceDiscountSetMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceDiscountSetMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessageImpl.java index b2394a2c24f..b7a76a0273e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Emitted when the affected StandalonePrice is updated based on a Product Discount being applied.

    + *

    Generated after a Product Discount is successfully applied to a StandalonePrice.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StandalonePriceDiscountSetMessageImpl implements StandalonePriceDiscountSetMessage, ModelBase { @@ -75,7 +75,7 @@ public StandalonePriceDiscountSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -83,7 +83,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -91,7 +91,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -99,7 +99,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -123,7 +123,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -131,7 +131,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -139,7 +139,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -147,7 +147,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -155,7 +155,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessagePayload.java index 79aa247e4f3..5f8f55d9293 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    Emitted when the affected StandalonePrice is updated based on a Product Discount being applied.

    + *

    Generated after a Product Discount is successfully applied to a StandalonePrice.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessagePayloadImpl.java index b1993b877d9..6cc6f6fbccb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDiscountSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Emitted when the affected StandalonePrice is updated based on a Product Discount being applied.

    + *

    Generated after a Product Discount is successfully applied to a StandalonePrice.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StandalonePriceDiscountSetMessagePayloadImpl diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessage.java index cc9561d73fa..158d664fc9e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    This Message is the result of the Standalone Price SetDiscountedPrice update action.

    + *

    Generated after a successful Set Discounted Price update action.

    * *
    * Example to create an instance using the builder pattern @@ -39,7 +39,7 @@ public interface StandalonePriceExternalDiscountSetMessage extends Message { String STANDALONE_PRICE_EXTERNAL_DISCOUNT_SET = "StandalonePriceExternalDiscountSet"; /** - *

    The new discounted value of the updated StandalonePrice.

    + *

    The discounted value of the StandalonePrice after the Set Discounted Price update action.

    */ @Valid @JsonProperty("discounted") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessageBuilder.java index f963f152b8c..7aff70b7626 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessageBuilder.java @@ -58,7 +58,7 @@ public class StandalonePriceExternalDiscountSetMessageBuilder private com.commercetools.api.models.common.DiscountedPrice discounted; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StandalonePriceExternalDiscountSetMessageBuilder id(final String id) { @@ -67,7 +67,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StandalonePriceExternalDiscountSetMessageBuilder version(final Long version) { @@ -76,7 +76,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder version(final Long versi } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StandalonePriceExternalDiscountSetMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -85,7 +85,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder createdAt(final java.tim } /** - * + *

    Value of createdAt.

    */ public StandalonePriceExternalDiscountSetMessageBuilder lastModifiedAt( @@ -95,7 +95,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder lastModifiedAt( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceExternalDiscountSetMessageBuilder lastModifiedBy( @@ -105,7 +105,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceExternalDiscountSetMessageBuilder lastModifiedBy( @@ -135,7 +135,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StandalonePriceExternalDiscountSetMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -144,7 +144,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder sequenceNumber(final Lon } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceExternalDiscountSetMessageBuilder resource( @@ -154,7 +154,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceExternalDiscountSetMessageBuilder resource( @@ -164,7 +164,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StandalonePriceExternalDiscountSetMessageBuilder resourceVersion(final Long resourceVersion) { @@ -173,7 +173,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder resourceVersion(final Lo } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceExternalDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -185,7 +185,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder resourceUserProvidedIden } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceExternalDiscountSetMessageBuilder resourceUserProvidedIdentifiers( @@ -195,7 +195,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder resourceUserProvidedIden } /** - *

    The new discounted value of the updated StandalonePrice.

    + *

    The discounted value of the StandalonePrice after the Set Discounted Price update action.

    */ public StandalonePriceExternalDiscountSetMessageBuilder discounted( @@ -205,7 +205,7 @@ public StandalonePriceExternalDiscountSetMessageBuilder discounted( } /** - *

    The new discounted value of the updated StandalonePrice.

    + *

    The discounted value of the StandalonePrice after the Set Discounted Price update action.

    */ public StandalonePriceExternalDiscountSetMessageBuilder discounted( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessageImpl.java index 94ec0c8fd19..0ba815ae83c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    This Message is the result of the Standalone Price SetDiscountedPrice update action.

    + *

    Generated after a successful Set Discounted Price update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StandalonePriceExternalDiscountSetMessageImpl @@ -76,7 +76,7 @@ public StandalonePriceExternalDiscountSetMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -84,7 +84,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -92,7 +92,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -100,7 +100,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -108,7 +108,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -124,7 +124,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -132,7 +132,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -140,7 +140,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -148,7 +148,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -156,7 +156,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -164,7 +164,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    The new discounted value of the updated StandalonePrice.

    + *

    The discounted value of the StandalonePrice after the Set Discounted Price update action.

    */ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayload.java index ed2b0e60030..a52ad0e5137 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    This Message is the result of the Standalone Price SetDiscountedPrice update action.

    + *

    Generated after a successful Set Discounted Price update action.

    * *
    * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface StandalonePriceExternalDiscountSetMessagePayload extends Messag String STANDALONE_PRICE_EXTERNAL_DISCOUNT_SET = "StandalonePriceExternalDiscountSet"; /** - *

    The new discounted value of the updated StandalonePrice.

    + *

    The discounted value of the StandalonePrice after the Set Discounted Price update action.

    */ @Valid @JsonProperty("discounted") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayloadBuilder.java index 7448dadcf63..107fe3ff77b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayloadBuilder.java @@ -28,7 +28,7 @@ public class StandalonePriceExternalDiscountSetMessagePayloadBuilder private com.commercetools.api.models.common.DiscountedPrice discounted; /** - *

    The new discounted value of the updated StandalonePrice.

    + *

    The discounted value of the StandalonePrice after the Set Discounted Price update action.

    */ public StandalonePriceExternalDiscountSetMessagePayloadBuilder discounted( @@ -38,7 +38,7 @@ public StandalonePriceExternalDiscountSetMessagePayloadBuilder discounted( } /** - *

    The new discounted value of the updated StandalonePrice.

    + *

    The discounted value of the StandalonePrice after the Set Discounted Price update action.

    */ public StandalonePriceExternalDiscountSetMessagePayloadBuilder discounted( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayloadImpl.java index d83d8a38eab..547ebffc761 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceExternalDiscountSetMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    This Message is the result of the Standalone Price SetDiscountedPrice update action.

    + *

    Generated after a successful Set Discounted Price update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StandalonePriceExternalDiscountSetMessagePayloadImpl @@ -45,7 +45,7 @@ public String getType() { } /** - *

    The new discounted value of the updated StandalonePrice.

    + *

    The discounted value of the StandalonePrice after the Set Discounted Price update action.

    */ public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessage.java new file mode 100644 index 00000000000..ee618ee4e8f --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessage.java @@ -0,0 +1,96 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.standalone_price.StagedStandalonePrice; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Apply Staged Changes update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StandalonePriceStagedChangesAppliedMessage standalonePriceStagedChangesAppliedMessage = StandalonePriceStagedChangesAppliedMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .stagedChanges(stagedChangesBuilder -> stagedChangesBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StandalonePriceStagedChangesAppliedMessageImpl.class) +public interface StandalonePriceStagedChangesAppliedMessage extends Message { + + String STANDALONE_PRICE_STAGED_CHANGES_APPLIED = "StandalonePriceStagedChangesApplied"; + + /** + *

    Applied changes of the StandalonePrice after the Apply Staged Changes update action.

    + */ + @NotNull + @Valid + @JsonProperty("stagedChanges") + public StagedStandalonePrice getStagedChanges(); + + public void setStagedChanges(final StagedStandalonePrice stagedChanges); + + public static StandalonePriceStagedChangesAppliedMessage of() { + return new StandalonePriceStagedChangesAppliedMessageImpl(); + } + + public static StandalonePriceStagedChangesAppliedMessage of( + final StandalonePriceStagedChangesAppliedMessage template) { + StandalonePriceStagedChangesAppliedMessageImpl instance = new StandalonePriceStagedChangesAppliedMessageImpl(); + instance.setId(template.getId()); + instance.setVersion(template.getVersion()); + instance.setCreatedAt(template.getCreatedAt()); + instance.setLastModifiedAt(template.getLastModifiedAt()); + instance.setLastModifiedBy(template.getLastModifiedBy()); + instance.setCreatedBy(template.getCreatedBy()); + instance.setSequenceNumber(template.getSequenceNumber()); + instance.setResource(template.getResource()); + instance.setResourceVersion(template.getResourceVersion()); + instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); + instance.setStagedChanges(template.getStagedChanges()); + return instance; + } + + public static StandalonePriceStagedChangesAppliedMessageBuilder builder() { + return StandalonePriceStagedChangesAppliedMessageBuilder.of(); + } + + public static StandalonePriceStagedChangesAppliedMessageBuilder builder( + final StandalonePriceStagedChangesAppliedMessage template) { + return StandalonePriceStagedChangesAppliedMessageBuilder.of(template); + } + + default T withStandalonePriceStagedChangesAppliedMessage( + Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessageBuilder.java new file mode 100644 index 00000000000..128633a1f37 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessageBuilder.java @@ -0,0 +1,314 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StandalonePriceStagedChangesAppliedMessageBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StandalonePriceStagedChangesAppliedMessage standalonePriceStagedChangesAppliedMessage = StandalonePriceStagedChangesAppliedMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .stagedChanges(stagedChangesBuilder -> stagedChangesBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StandalonePriceStagedChangesAppliedMessageBuilder + implements Builder { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + @Nullable + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + @Nullable + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + @Nullable + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges; + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder id(final String id) { + this.id = id; + return this; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder version(final Long version) { + this.version = version; + return this; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + *

    Value of createdAt.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder lastModifiedAt( + final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder lastModifiedBy( + Function builder) { + this.lastModifiedBy = builder.apply(com.commercetools.api.models.common.LastModifiedByBuilder.of()).build(); + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder lastModifiedBy( + @Nullable final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder createdBy( + Function builder) { + this.createdBy = builder.apply(com.commercetools.api.models.common.CreatedByBuilder.of()).build(); + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder createdBy( + @Nullable final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder sequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder resource( + final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder resource( + Function> builder) { + this.resource = builder.apply(com.commercetools.api.models.common.ReferenceBuilder.of()).build(); + return this; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder resourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder resourceUserProvidedIdentifiers( + Function builder) { + this.resourceUserProvidedIdentifiers = builder + .apply(com.commercetools.api.models.message.UserProvidedIdentifiersBuilder.of()) + .build(); + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder resourceUserProvidedIdentifiers( + @Nullable final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + return this; + } + + /** + *

    Applied changes of the StandalonePrice after the Apply Staged Changes update action.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder stagedChanges( + Function builder) { + this.stagedChanges = builder + .apply(com.commercetools.api.models.standalone_price.StagedStandalonePriceBuilder.of()) + .build(); + return this; + } + + /** + *

    Applied changes of the StandalonePrice after the Apply Staged Changes update action.

    + */ + + public StandalonePriceStagedChangesAppliedMessageBuilder stagedChanges( + final com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges) { + this.stagedChanges = stagedChanges; + return this; + } + + public String getId() { + return this.id; + } + + public Long getVersion() { + return this.version; + } + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + @Nullable + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + @Nullable + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + public Long getResourceVersion() { + return this.resourceVersion; + } + + @Nullable + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + public com.commercetools.api.models.standalone_price.StagedStandalonePrice getStagedChanges() { + return this.stagedChanges; + } + + public StandalonePriceStagedChangesAppliedMessage build() { + Objects.requireNonNull(id, StandalonePriceStagedChangesAppliedMessage.class + ": id is missing"); + Objects.requireNonNull(version, StandalonePriceStagedChangesAppliedMessage.class + ": version is missing"); + Objects.requireNonNull(createdAt, StandalonePriceStagedChangesAppliedMessage.class + ": createdAt is missing"); + Objects.requireNonNull(lastModifiedAt, + StandalonePriceStagedChangesAppliedMessage.class + ": lastModifiedAt is missing"); + Objects.requireNonNull(sequenceNumber, + StandalonePriceStagedChangesAppliedMessage.class + ": sequenceNumber is missing"); + Objects.requireNonNull(resource, StandalonePriceStagedChangesAppliedMessage.class + ": resource is missing"); + Objects.requireNonNull(resourceVersion, + StandalonePriceStagedChangesAppliedMessage.class + ": resourceVersion is missing"); + Objects.requireNonNull(stagedChanges, + StandalonePriceStagedChangesAppliedMessage.class + ": stagedChanges is missing"); + return new StandalonePriceStagedChangesAppliedMessageImpl(id, version, createdAt, lastModifiedAt, + lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, + stagedChanges); + } + + /** + * builds StandalonePriceStagedChangesAppliedMessage without checking for non null required values + */ + public StandalonePriceStagedChangesAppliedMessage buildUnchecked() { + return new StandalonePriceStagedChangesAppliedMessageImpl(id, version, createdAt, lastModifiedAt, + lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, + stagedChanges); + } + + public static StandalonePriceStagedChangesAppliedMessageBuilder of() { + return new StandalonePriceStagedChangesAppliedMessageBuilder(); + } + + public static StandalonePriceStagedChangesAppliedMessageBuilder of( + final StandalonePriceStagedChangesAppliedMessage template) { + StandalonePriceStagedChangesAppliedMessageBuilder builder = new StandalonePriceStagedChangesAppliedMessageBuilder(); + builder.id = template.getId(); + builder.version = template.getVersion(); + builder.createdAt = template.getCreatedAt(); + builder.lastModifiedAt = template.getLastModifiedAt(); + builder.lastModifiedBy = template.getLastModifiedBy(); + builder.createdBy = template.getCreatedBy(); + builder.sequenceNumber = template.getSequenceNumber(); + builder.resource = template.getResource(); + builder.resourceVersion = template.getResourceVersion(); + builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); + builder.stagedChanges = template.getStagedChanges(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessageImpl.java new file mode 100644 index 00000000000..0a4eb19c99a --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessageImpl.java @@ -0,0 +1,262 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Apply Staged Changes update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StandalonePriceStagedChangesAppliedMessageImpl + implements StandalonePriceStagedChangesAppliedMessage, ModelBase { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + private String type; + + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges; + + @JsonCreator + StandalonePriceStagedChangesAppliedMessageImpl(@JsonProperty("id") final String id, + @JsonProperty("version") final Long version, + @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, + @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt, + @JsonProperty("lastModifiedBy") final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy, + @JsonProperty("createdBy") final com.commercetools.api.models.common.CreatedBy createdBy, + @JsonProperty("sequenceNumber") final Long sequenceNumber, + @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, + @JsonProperty("resourceVersion") final Long resourceVersion, + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, + @JsonProperty("stagedChanges") final com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges) { + this.id = id; + this.version = version; + this.createdAt = createdAt; + this.lastModifiedAt = lastModifiedAt; + this.lastModifiedBy = lastModifiedBy; + this.createdBy = createdBy; + this.sequenceNumber = sequenceNumber; + this.resource = resource; + this.resourceVersion = resourceVersion; + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + this.stagedChanges = stagedChanges; + this.type = STANDALONE_PRICE_STAGED_CHANGES_APPLIED; + } + + public StandalonePriceStagedChangesAppliedMessageImpl() { + this.type = STANDALONE_PRICE_STAGED_CHANGES_APPLIED; + } + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public String getId() { + return this.id; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public Long getVersion() { + return this.version; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + /** + *

    Value of createdAt.

    + */ + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + /** + *

    Value of createdBy.

    + */ + + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public Long getResourceVersion() { + return this.resourceVersion; + } + + /** + *

    Message Type of the Message.

    + */ + + public String getType() { + return this.type; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + /** + *

    Applied changes of the StandalonePrice after the Apply Staged Changes update action.

    + */ + + public com.commercetools.api.models.standalone_price.StagedStandalonePrice getStagedChanges() { + return this.stagedChanges; + } + + public void setId(final String id) { + this.id = id; + } + + public void setVersion(final Long version) { + this.version = version; + } + + public void setCreatedAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + } + + public void setLastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + } + + public void setLastModifiedBy(final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public void setCreatedBy(final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + } + + public void setSequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + } + + public void setResource(final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + } + + public void setResourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + } + + public void setResourceUserProvidedIdentifiers( + final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + } + + public void setStagedChanges( + final com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges) { + this.stagedChanges = stagedChanges; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StandalonePriceStagedChangesAppliedMessageImpl that = (StandalonePriceStagedChangesAppliedMessageImpl) o; + + return new EqualsBuilder().append(id, that.id) + .append(version, that.version) + .append(createdAt, that.createdAt) + .append(lastModifiedAt, that.lastModifiedAt) + .append(lastModifiedBy, that.lastModifiedBy) + .append(createdBy, that.createdBy) + .append(sequenceNumber, that.sequenceNumber) + .append(resource, that.resource) + .append(resourceVersion, that.resourceVersion) + .append(type, that.type) + .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) + .append(stagedChanges, that.stagedChanges) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(id) + .append(version) + .append(createdAt) + .append(lastModifiedAt) + .append(lastModifiedBy) + .append(createdBy) + .append(sequenceNumber) + .append(resource) + .append(resourceVersion) + .append(type) + .append(resourceUserProvidedIdentifiers) + .append(stagedChanges) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayload.java new file mode 100644 index 00000000000..454153017e9 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayload.java @@ -0,0 +1,79 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.standalone_price.StagedStandalonePrice; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Apply Staged Changes update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StandalonePriceStagedChangesAppliedMessagePayload standalonePriceStagedChangesAppliedMessagePayload = StandalonePriceStagedChangesAppliedMessagePayload.builder()
    + *             .stagedChanges(stagedChangesBuilder -> stagedChangesBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StandalonePriceStagedChangesAppliedMessagePayloadImpl.class) +public interface StandalonePriceStagedChangesAppliedMessagePayload extends MessagePayload { + + String STANDALONE_PRICE_STAGED_CHANGES_APPLIED = "StandalonePriceStagedChangesApplied"; + + /** + *

    Applied changes of the StandalonePrice after the Apply Staged Changes update action.

    + */ + @NotNull + @Valid + @JsonProperty("stagedChanges") + public StagedStandalonePrice getStagedChanges(); + + public void setStagedChanges(final StagedStandalonePrice stagedChanges); + + public static StandalonePriceStagedChangesAppliedMessagePayload of() { + return new StandalonePriceStagedChangesAppliedMessagePayloadImpl(); + } + + public static StandalonePriceStagedChangesAppliedMessagePayload of( + final StandalonePriceStagedChangesAppliedMessagePayload template) { + StandalonePriceStagedChangesAppliedMessagePayloadImpl instance = new StandalonePriceStagedChangesAppliedMessagePayloadImpl(); + instance.setStagedChanges(template.getStagedChanges()); + return instance; + } + + public static StandalonePriceStagedChangesAppliedMessagePayloadBuilder builder() { + return StandalonePriceStagedChangesAppliedMessagePayloadBuilder.of(); + } + + public static StandalonePriceStagedChangesAppliedMessagePayloadBuilder builder( + final StandalonePriceStagedChangesAppliedMessagePayload template) { + return StandalonePriceStagedChangesAppliedMessagePayloadBuilder.of(template); + } + + default T withStandalonePriceStagedChangesAppliedMessagePayload( + Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayloadBuilder.java new file mode 100644 index 00000000000..618549a525b --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayloadBuilder.java @@ -0,0 +1,78 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StandalonePriceStagedChangesAppliedMessagePayloadBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StandalonePriceStagedChangesAppliedMessagePayload standalonePriceStagedChangesAppliedMessagePayload = StandalonePriceStagedChangesAppliedMessagePayload.builder()
    + *             .stagedChanges(stagedChangesBuilder -> stagedChangesBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StandalonePriceStagedChangesAppliedMessagePayloadBuilder + implements Builder { + + private com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges; + + /** + *

    Applied changes of the StandalonePrice after the Apply Staged Changes update action.

    + */ + + public StandalonePriceStagedChangesAppliedMessagePayloadBuilder stagedChanges( + Function builder) { + this.stagedChanges = builder + .apply(com.commercetools.api.models.standalone_price.StagedStandalonePriceBuilder.of()) + .build(); + return this; + } + + /** + *

    Applied changes of the StandalonePrice after the Apply Staged Changes update action.

    + */ + + public StandalonePriceStagedChangesAppliedMessagePayloadBuilder stagedChanges( + final com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges) { + this.stagedChanges = stagedChanges; + return this; + } + + public com.commercetools.api.models.standalone_price.StagedStandalonePrice getStagedChanges() { + return this.stagedChanges; + } + + public StandalonePriceStagedChangesAppliedMessagePayload build() { + Objects.requireNonNull(stagedChanges, + StandalonePriceStagedChangesAppliedMessagePayload.class + ": stagedChanges is missing"); + return new StandalonePriceStagedChangesAppliedMessagePayloadImpl(stagedChanges); + } + + /** + * builds StandalonePriceStagedChangesAppliedMessagePayload without checking for non null required values + */ + public StandalonePriceStagedChangesAppliedMessagePayload buildUnchecked() { + return new StandalonePriceStagedChangesAppliedMessagePayloadImpl(stagedChanges); + } + + public static StandalonePriceStagedChangesAppliedMessagePayloadBuilder of() { + return new StandalonePriceStagedChangesAppliedMessagePayloadBuilder(); + } + + public static StandalonePriceStagedChangesAppliedMessagePayloadBuilder of( + final StandalonePriceStagedChangesAppliedMessagePayload template) { + StandalonePriceStagedChangesAppliedMessagePayloadBuilder builder = new StandalonePriceStagedChangesAppliedMessagePayloadBuilder(); + builder.stagedChanges = template.getStagedChanges(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayloadImpl.java new file mode 100644 index 00000000000..3fe698e1334 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesAppliedMessagePayloadImpl.java @@ -0,0 +1,78 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Apply Staged Changes update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StandalonePriceStagedChangesAppliedMessagePayloadImpl + implements StandalonePriceStagedChangesAppliedMessagePayload, ModelBase { + + private String type; + + private com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges; + + @JsonCreator + StandalonePriceStagedChangesAppliedMessagePayloadImpl( + @JsonProperty("stagedChanges") final com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges) { + this.stagedChanges = stagedChanges; + this.type = STANDALONE_PRICE_STAGED_CHANGES_APPLIED; + } + + public StandalonePriceStagedChangesAppliedMessagePayloadImpl() { + this.type = STANDALONE_PRICE_STAGED_CHANGES_APPLIED; + } + + /** + * + */ + + public String getType() { + return this.type; + } + + /** + *

    Applied changes of the StandalonePrice after the Apply Staged Changes update action.

    + */ + + public com.commercetools.api.models.standalone_price.StagedStandalonePrice getStagedChanges() { + return this.stagedChanges; + } + + public void setStagedChanges( + final com.commercetools.api.models.standalone_price.StagedStandalonePrice stagedChanges) { + this.stagedChanges = stagedChanges; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StandalonePriceStagedChangesAppliedMessagePayloadImpl that = (StandalonePriceStagedChangesAppliedMessagePayloadImpl) o; + + return new EqualsBuilder().append(type, that.type).append(stagedChanges, that.stagedChanges).isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(type).append(stagedChanges).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessage.java index 0a569b05ad1..d3bf953c56e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessage.java @@ -30,6 +30,7 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .value(valueBuilder -> valueBuilder) + * .staged(true) * .build() * * @@ -48,8 +49,17 @@ public interface StandalonePriceValueChangedMessage extends Message { @JsonProperty("value") public Money getValue(); + /** + *

    Whether the new value was applied to the current or the staged representation of the StandalonePrice. Staged changes are stored on the StagedStandalonePrice.

    + */ + @NotNull + @JsonProperty("staged") + public Boolean getStaged(); + public void setValue(final Money value); + public void setStaged(final Boolean staged); + public static StandalonePriceValueChangedMessage of() { return new StandalonePriceValueChangedMessageImpl(); } @@ -67,6 +77,7 @@ public static StandalonePriceValueChangedMessage of(final StandalonePriceValueCh instance.setResourceVersion(template.getResourceVersion()); instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); instance.setValue(template.getValue()); + instance.setStaged(template.getStaged()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessageBuilder.java index e9ecf4a7e83..53c9dcc8faa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessageBuilder.java @@ -24,6 +24,7 @@ * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) * .value(valueBuilder -> valueBuilder) + * .staged(true) * .build() * * @@ -56,8 +57,10 @@ public class StandalonePriceValueChangedMessageBuilder implements BuilderUnique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StandalonePriceValueChangedMessageBuilder id(final String id) { @@ -66,7 +69,7 @@ public StandalonePriceValueChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StandalonePriceValueChangedMessageBuilder version(final Long version) { @@ -75,7 +78,7 @@ public StandalonePriceValueChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StandalonePriceValueChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -84,7 +87,7 @@ public StandalonePriceValueChangedMessageBuilder createdAt(final java.time.Zoned } /** - * + *

    Value of createdAt.

    */ public StandalonePriceValueChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -93,7 +96,7 @@ public StandalonePriceValueChangedMessageBuilder lastModifiedAt(final java.time. } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceValueChangedMessageBuilder lastModifiedBy( @@ -103,7 +106,7 @@ public StandalonePriceValueChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StandalonePriceValueChangedMessageBuilder lastModifiedBy( @@ -133,7 +136,7 @@ public StandalonePriceValueChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StandalonePriceValueChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -142,7 +145,7 @@ public StandalonePriceValueChangedMessageBuilder sequenceNumber(final Long seque } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceValueChangedMessageBuilder resource( @@ -152,7 +155,7 @@ public StandalonePriceValueChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StandalonePriceValueChangedMessageBuilder resource( @@ -162,7 +165,7 @@ public StandalonePriceValueChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StandalonePriceValueChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -171,7 +174,7 @@ public StandalonePriceValueChangedMessageBuilder resourceVersion(final Long reso } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceValueChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -183,7 +186,7 @@ public StandalonePriceValueChangedMessageBuilder resourceUserProvidedIdentifiers } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StandalonePriceValueChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -211,6 +214,15 @@ public StandalonePriceValueChangedMessageBuilder value(final com.commercetools.a return this; } + /** + *

    Whether the new value was applied to the current or the staged representation of the StandalonePrice. Staged changes are stored on the StagedStandalonePrice.

    + */ + + public StandalonePriceValueChangedMessageBuilder staged(final Boolean staged) { + this.staged = staged; + return this; + } + public String getId() { return this.id; } @@ -258,6 +270,10 @@ public com.commercetools.api.models.common.Money getValue() { return this.value; } + public Boolean getStaged() { + return this.staged; + } + public StandalonePriceValueChangedMessage build() { Objects.requireNonNull(id, StandalonePriceValueChangedMessage.class + ": id is missing"); Objects.requireNonNull(version, StandalonePriceValueChangedMessage.class + ": version is missing"); @@ -270,8 +286,9 @@ public StandalonePriceValueChangedMessage build() { Objects.requireNonNull(resourceVersion, StandalonePriceValueChangedMessage.class + ": resourceVersion is missing"); Objects.requireNonNull(value, StandalonePriceValueChangedMessage.class + ": value is missing"); + Objects.requireNonNull(staged, StandalonePriceValueChangedMessage.class + ": staged is missing"); return new StandalonePriceValueChangedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, - createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, value); + createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, value, staged); } /** @@ -279,7 +296,7 @@ public StandalonePriceValueChangedMessage build() { */ public StandalonePriceValueChangedMessage buildUnchecked() { return new StandalonePriceValueChangedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, - createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, value); + createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, value, staged); } public static StandalonePriceValueChangedMessageBuilder of() { @@ -299,6 +316,7 @@ public static StandalonePriceValueChangedMessageBuilder of(final StandalonePrice builder.resourceVersion = template.getResourceVersion(); builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); builder.value = template.getValue(); + builder.staged = template.getStaged(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessageImpl.java index 40026b3a4bd..0aad93f1eb0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessageImpl.java @@ -44,6 +44,8 @@ public class StandalonePriceValueChangedMessageImpl implements StandalonePriceVa private com.commercetools.api.models.common.Money value; + private Boolean staged; + @JsonCreator StandalonePriceValueChangedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @@ -55,7 +57,8 @@ public class StandalonePriceValueChangedMessageImpl implements StandalonePriceVa @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, @JsonProperty("resourceVersion") final Long resourceVersion, @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, - @JsonProperty("value") final com.commercetools.api.models.common.Money value) { + @JsonProperty("value") final com.commercetools.api.models.common.Money value, + @JsonProperty("staged") final Boolean staged) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -67,6 +70,7 @@ public class StandalonePriceValueChangedMessageImpl implements StandalonePriceVa this.resourceVersion = resourceVersion; this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; this.value = value; + this.staged = staged; this.type = STANDALONE_PRICE_VALUE_CHANGED; } @@ -75,7 +79,7 @@ public StandalonePriceValueChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -83,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -91,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -99,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -107,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -123,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -131,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -139,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -147,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -155,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -170,6 +174,14 @@ public com.commercetools.api.models.common.Money getValue() { return this.value; } + /** + *

    Whether the new value was applied to the current or the staged representation of the StandalonePrice. Staged changes are stored on the StagedStandalonePrice.

    + */ + + public Boolean getStaged() { + return this.staged; + } + public void setId(final String id) { this.id = id; } @@ -215,6 +227,10 @@ public void setValue(final com.commercetools.api.models.common.Money value) { this.value = value; } + public void setStaged(final Boolean staged) { + this.staged = staged; + } + @Override public boolean equals(Object o) { if (this == o) @@ -237,6 +253,7 @@ public boolean equals(Object o) { .append(type, that.type) .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) .append(value, that.value) + .append(staged, that.staged) .isEquals(); } @@ -254,6 +271,7 @@ public int hashCode() { .append(type) .append(resourceUserProvidedIdentifiers) .append(value) + .append(staged) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayload.java index 6ce394868ce..82b7125f0bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayload.java @@ -23,6 +23,7 @@ *
    
      *     StandalonePriceValueChangedMessagePayload standalonePriceValueChangedMessagePayload = StandalonePriceValueChangedMessagePayload.builder()
      *             .value(valueBuilder -> valueBuilder)
    + *             .staged(true)
      *             .build()
      * 
    * @@ -41,8 +42,17 @@ public interface StandalonePriceValueChangedMessagePayload extends MessagePayloa @JsonProperty("value") public Money getValue(); + /** + *

    Whether the new value was applied to the current or the staged representation of the StandalonePrice. Staged changes are stored on the StagedStandalonePrice.

    + */ + @NotNull + @JsonProperty("staged") + public Boolean getStaged(); + public void setValue(final Money value); + public void setStaged(final Boolean staged); + public static StandalonePriceValueChangedMessagePayload of() { return new StandalonePriceValueChangedMessagePayloadImpl(); } @@ -51,6 +61,7 @@ public static StandalonePriceValueChangedMessagePayload of( final StandalonePriceValueChangedMessagePayload template) { StandalonePriceValueChangedMessagePayloadImpl instance = new StandalonePriceValueChangedMessagePayloadImpl(); instance.setValue(template.getValue()); + instance.setStaged(template.getStaged()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayloadBuilder.java index 04697b8798a..38469f24b2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayloadBuilder.java @@ -15,6 +15,7 @@ *
    
      *     StandalonePriceValueChangedMessagePayload standalonePriceValueChangedMessagePayload = StandalonePriceValueChangedMessagePayload.builder()
      *             .value(valueBuilder -> valueBuilder)
    + *             .staged(true)
      *             .build()
      * 
    * @@ -25,6 +26,8 @@ public class StandalonePriceValueChangedMessagePayloadBuilder private com.commercetools.api.models.common.Money value; + private Boolean staged; + /** *

    The new value of the updated StandalonePrice.

    */ @@ -45,20 +48,34 @@ public StandalonePriceValueChangedMessagePayloadBuilder value( return this; } + /** + *

    Whether the new value was applied to the current or the staged representation of the StandalonePrice. Staged changes are stored on the StagedStandalonePrice.

    + */ + + public StandalonePriceValueChangedMessagePayloadBuilder staged(final Boolean staged) { + this.staged = staged; + return this; + } + public com.commercetools.api.models.common.Money getValue() { return this.value; } + public Boolean getStaged() { + return this.staged; + } + public StandalonePriceValueChangedMessagePayload build() { Objects.requireNonNull(value, StandalonePriceValueChangedMessagePayload.class + ": value is missing"); - return new StandalonePriceValueChangedMessagePayloadImpl(value); + Objects.requireNonNull(staged, StandalonePriceValueChangedMessagePayload.class + ": staged is missing"); + return new StandalonePriceValueChangedMessagePayloadImpl(value, staged); } /** * builds StandalonePriceValueChangedMessagePayload without checking for non null required values */ public StandalonePriceValueChangedMessagePayload buildUnchecked() { - return new StandalonePriceValueChangedMessagePayloadImpl(value); + return new StandalonePriceValueChangedMessagePayloadImpl(value, staged); } public static StandalonePriceValueChangedMessagePayloadBuilder of() { @@ -69,6 +86,7 @@ public static StandalonePriceValueChangedMessagePayloadBuilder of( final StandalonePriceValueChangedMessagePayload template) { StandalonePriceValueChangedMessagePayloadBuilder builder = new StandalonePriceValueChangedMessagePayloadBuilder(); builder.value = template.getValue(); + builder.staged = template.getStaged(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayloadImpl.java index 3d73c2e3fa5..253d249424e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessagePayloadImpl.java @@ -25,10 +25,14 @@ public class StandalonePriceValueChangedMessagePayloadImpl private com.commercetools.api.models.common.Money value; + private Boolean staged; + @JsonCreator StandalonePriceValueChangedMessagePayloadImpl( - @JsonProperty("value") final com.commercetools.api.models.common.Money value) { + @JsonProperty("value") final com.commercetools.api.models.common.Money value, + @JsonProperty("staged") final Boolean staged) { this.value = value; + this.staged = staged; this.type = STANDALONE_PRICE_VALUE_CHANGED; } @@ -52,10 +56,22 @@ public com.commercetools.api.models.common.Money getValue() { return this.value; } + /** + *

    Whether the new value was applied to the current or the staged representation of the StandalonePrice. Staged changes are stored on the StagedStandalonePrice.

    + */ + + public Boolean getStaged() { + return this.staged; + } + public void setValue(final com.commercetools.api.models.common.Money value) { this.value = value; } + public void setStaged(final Boolean staged) { + this.staged = staged; + } + @Override public boolean equals(Object o) { if (this == o) @@ -66,12 +82,15 @@ public boolean equals(Object o) { StandalonePriceValueChangedMessagePayloadImpl that = (StandalonePriceValueChangedMessagePayloadImpl) o; - return new EqualsBuilder().append(type, that.type).append(value, that.value).isEquals(); + return new EqualsBuilder().append(type, that.type) + .append(value, that.value) + .append(staged, that.staged) + .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); + return new HashCodeBuilder(17, 37).append(type).append(value).append(staged).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessage.java index 069b2fb42c7..4d0fc92fb60 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessage.java @@ -18,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StoreCreatedMessage + *

    Generated after a successful Create Store request.

    * *
    * Example to create an instance using the builder pattern @@ -32,7 +32,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .plusLanguages(languagesBuilder -> languagesBuilder) * .plusDistributionChannels(distributionChannelsBuilder -> distributionChannelsBuilder) * .plusSupplyChannels(supplyChannelsBuilder -> supplyChannelsBuilder) * .plusProductSelections(productSelectionsBuilder -> productSelectionsBuilder) @@ -47,21 +46,21 @@ public interface StoreCreatedMessage extends Message { String STORE_CREATED = "StoreCreated"; /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The name of the Store that was created.

    */ @Valid @JsonProperty("name") public LocalizedString getName(); /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ - @NotNull + @JsonProperty("languages") public List getLanguages(); /** - * + *

    Distribution Channels of the Store that was created.

    */ @NotNull @Valid @@ -69,7 +68,7 @@ public interface StoreCreatedMessage extends Message { public List getDistributionChannels(); /** - * + *

    Supply Channels of the Store that was created.

    */ @NotNull @Valid @@ -77,7 +76,7 @@ public interface StoreCreatedMessage extends Message { public List getSupplyChannels(); /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ @NotNull @Valid @@ -85,7 +84,7 @@ public interface StoreCreatedMessage extends Message { public List getProductSelections(); /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    Custom Fields on the Store that was created.

    */ @Valid @JsonProperty("custom") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessageBuilder.java index 3d44274e03e..799cfe3e5ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessageBuilder.java @@ -23,7 +23,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .plusLanguages(languagesBuilder -> languagesBuilder) * .plusDistributionChannels(distributionChannelsBuilder -> distributionChannelsBuilder) * .plusSupplyChannels(supplyChannelsBuilder -> supplyChannelsBuilder) * .plusProductSelections(productSelectionsBuilder -> productSelectionsBuilder) @@ -60,6 +59,7 @@ public class StoreCreatedMessageBuilder implements Builder @Nullable private com.commercetools.api.models.common.LocalizedString name; + @Nullable private java.util.List languages; private java.util.List distributionChannels; @@ -72,7 +72,7 @@ public class StoreCreatedMessageBuilder implements Builder private com.commercetools.api.models.type.CustomFields custom; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StoreCreatedMessageBuilder id(final String id) { @@ -81,7 +81,7 @@ public StoreCreatedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StoreCreatedMessageBuilder version(final Long version) { @@ -90,7 +90,7 @@ public StoreCreatedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StoreCreatedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -99,7 +99,7 @@ public StoreCreatedMessageBuilder createdAt(final java.time.ZonedDateTime create } /** - * + *

    Value of createdAt.

    */ public StoreCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -108,7 +108,7 @@ public StoreCreatedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime l } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StoreCreatedMessageBuilder lastModifiedBy( @@ -118,7 +118,7 @@ public StoreCreatedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StoreCreatedMessageBuilder lastModifiedBy( @@ -148,7 +148,7 @@ public StoreCreatedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StoreCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -157,7 +157,7 @@ public StoreCreatedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StoreCreatedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -166,7 +166,7 @@ public StoreCreatedMessageBuilder resource(final com.commercetools.api.models.co } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StoreCreatedMessageBuilder resource( @@ -176,7 +176,7 @@ public StoreCreatedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StoreCreatedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -185,7 +185,7 @@ public StoreCreatedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StoreCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -197,7 +197,7 @@ public StoreCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StoreCreatedMessageBuilder resourceUserProvidedIdentifiers( @@ -207,7 +207,7 @@ public StoreCreatedMessageBuilder resourceUserProvidedIdentifiers( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The name of the Store that was created.

    */ public StoreCreatedMessageBuilder name( @@ -217,7 +217,7 @@ public StoreCreatedMessageBuilder name( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The name of the Store that was created.

    */ public StoreCreatedMessageBuilder name(@Nullable final com.commercetools.api.models.common.LocalizedString name) { @@ -226,28 +226,28 @@ public StoreCreatedMessageBuilder name(@Nullable final com.commercetools.api.mod } /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ - public StoreCreatedMessageBuilder languages(final String... languages) { + public StoreCreatedMessageBuilder languages(@Nullable final String... languages) { this.languages = new ArrayList<>(Arrays.asList(languages)); return this; } /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ - public StoreCreatedMessageBuilder languages(final java.util.List languages) { + public StoreCreatedMessageBuilder languages(@Nullable final java.util.List languages) { this.languages = languages; return this; } /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ - public StoreCreatedMessageBuilder plusLanguages(final String... languages) { + public StoreCreatedMessageBuilder plusLanguages(@Nullable final String... languages) { if (this.languages == null) { this.languages = new ArrayList<>(); } @@ -256,7 +256,7 @@ public StoreCreatedMessageBuilder plusLanguages(final String... languages) { } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder distributionChannels( @@ -266,7 +266,7 @@ public StoreCreatedMessageBuilder distributionChannels( } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder distributionChannels( @@ -276,7 +276,7 @@ public StoreCreatedMessageBuilder distributionChannels( } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder plusDistributionChannels( @@ -289,7 +289,7 @@ public StoreCreatedMessageBuilder plusDistributionChannels( } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder plusDistributionChannels( @@ -303,7 +303,7 @@ public StoreCreatedMessageBuilder plusDistributionChannels( } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder withDistributionChannels( @@ -315,7 +315,7 @@ public StoreCreatedMessageBuilder withDistributionChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder supplyChannels( @@ -325,7 +325,7 @@ public StoreCreatedMessageBuilder supplyChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder supplyChannels( @@ -335,7 +335,7 @@ public StoreCreatedMessageBuilder supplyChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder plusSupplyChannels( @@ -348,7 +348,7 @@ public StoreCreatedMessageBuilder plusSupplyChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder plusSupplyChannels( @@ -362,7 +362,7 @@ public StoreCreatedMessageBuilder plusSupplyChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessageBuilder withSupplyChannels( @@ -374,7 +374,7 @@ public StoreCreatedMessageBuilder withSupplyChannels( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessageBuilder productSelections( @@ -384,7 +384,7 @@ public StoreCreatedMessageBuilder productSelections( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessageBuilder productSelections( @@ -394,7 +394,7 @@ public StoreCreatedMessageBuilder productSelections( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessageBuilder plusProductSelections( @@ -407,7 +407,7 @@ public StoreCreatedMessageBuilder plusProductSelections( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessageBuilder plusProductSelections( @@ -421,7 +421,7 @@ public StoreCreatedMessageBuilder plusProductSelections( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessageBuilder withProductSelections( @@ -433,7 +433,7 @@ public StoreCreatedMessageBuilder withProductSelections( } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    Custom Fields on the Store that was created.

    */ public StoreCreatedMessageBuilder custom( @@ -443,7 +443,7 @@ public StoreCreatedMessageBuilder custom( } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    Custom Fields on the Store that was created.

    */ public StoreCreatedMessageBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFields custom) { @@ -499,6 +499,7 @@ public com.commercetools.api.models.common.LocalizedString getName() { return this.name; } + @Nullable public java.util.List getLanguages() { return this.languages; } @@ -528,7 +529,6 @@ public StoreCreatedMessage build() { Objects.requireNonNull(sequenceNumber, StoreCreatedMessage.class + ": sequenceNumber is missing"); Objects.requireNonNull(resource, StoreCreatedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, StoreCreatedMessage.class + ": resourceVersion is missing"); - Objects.requireNonNull(languages, StoreCreatedMessage.class + ": languages is missing"); Objects.requireNonNull(distributionChannels, StoreCreatedMessage.class + ": distributionChannels is missing"); Objects.requireNonNull(supplyChannels, StoreCreatedMessage.class + ": supplyChannels is missing"); Objects.requireNonNull(productSelections, StoreCreatedMessage.class + ": productSelections is missing"); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessageImpl.java index c4139b64555..22b9af71d1e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StoreCreatedMessage + *

    Generated after a successful Create Store request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreCreatedMessageImpl implements StoreCreatedMessage, ModelBase { @@ -94,7 +94,7 @@ public StoreCreatedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -102,7 +102,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -110,7 +110,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -118,7 +118,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -126,7 +126,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -142,7 +142,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -150,7 +150,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -158,7 +158,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -166,7 +166,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -174,7 +174,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -182,7 +182,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The name of the Store that was created.

    */ public com.commercetools.api.models.common.LocalizedString getName() { @@ -190,7 +190,7 @@ public com.commercetools.api.models.common.LocalizedString getName() { } /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ public java.util.List getLanguages() { @@ -198,7 +198,7 @@ public java.util.List getLanguages() { } /** - * + *

    Distribution Channels of the Store that was created.

    */ public java.util.List getDistributionChannels() { @@ -206,7 +206,7 @@ public java.util.List get } /** - * + *

    Supply Channels of the Store that was created.

    */ public java.util.List getSupplyChannels() { @@ -214,7 +214,7 @@ public java.util.List get } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public java.util.List getProductSelections() { @@ -222,7 +222,7 @@ public java.util.ListServes as value of the custom field on a resource or data type customized with a Type.

    + *

    Custom Fields on the Store that was created.

    */ public com.commercetools.api.models.type.CustomFields getCustom() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayload.java index 46b3b732338..3ed9be4b33c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayload.java @@ -18,14 +18,13 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StoreCreatedMessagePayload + *

    Generated after a successful Create Store request.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     StoreCreatedMessagePayload storeCreatedMessagePayload = StoreCreatedMessagePayload.builder()
    - *             .plusLanguages(languagesBuilder -> languagesBuilder)
      *             .plusDistributionChannels(distributionChannelsBuilder -> distributionChannelsBuilder)
      *             .plusSupplyChannels(supplyChannelsBuilder -> supplyChannelsBuilder)
      *             .plusProductSelections(productSelectionsBuilder -> productSelectionsBuilder)
    @@ -40,21 +39,21 @@ public interface StoreCreatedMessagePayload extends MessagePayload {
         String STORE_CREATED = "StoreCreated";
     
         /**
    -     *  

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The name of the Store that was created.

    */ @Valid @JsonProperty("name") public LocalizedString getName(); /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ - @NotNull + @JsonProperty("languages") public List getLanguages(); /** - * + *

    Distribution Channels of the Store that was created.

    */ @NotNull @Valid @@ -62,7 +61,7 @@ public interface StoreCreatedMessagePayload extends MessagePayload { public List getDistributionChannels(); /** - * + *

    Supply Channels of the Store that was created.

    */ @NotNull @Valid @@ -70,7 +69,7 @@ public interface StoreCreatedMessagePayload extends MessagePayload { public List getSupplyChannels(); /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ @NotNull @Valid @@ -78,7 +77,7 @@ public interface StoreCreatedMessagePayload extends MessagePayload { public List getProductSelections(); /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    Custom Fields on the Store that was created.

    */ @Valid @JsonProperty("custom") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayloadBuilder.java index 3f39983b153..c7d48ab2593 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayloadBuilder.java @@ -16,7 +16,6 @@ *
    *
    
      *     StoreCreatedMessagePayload storeCreatedMessagePayload = StoreCreatedMessagePayload.builder()
    - *             .plusLanguages(languagesBuilder -> languagesBuilder)
      *             .plusDistributionChannels(distributionChannelsBuilder -> distributionChannelsBuilder)
      *             .plusSupplyChannels(supplyChannelsBuilder -> supplyChannelsBuilder)
      *             .plusProductSelections(productSelectionsBuilder -> productSelectionsBuilder)
    @@ -30,6 +29,7 @@ public class StoreCreatedMessagePayloadBuilder implements Builder languages;
     
         private java.util.List distributionChannels;
    @@ -42,7 +42,7 @@ public class StoreCreatedMessagePayloadBuilder implements BuilderJSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The name of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder name( @@ -52,7 +52,7 @@ public StoreCreatedMessagePayloadBuilder name( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The name of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder name( @@ -62,28 +62,28 @@ public StoreCreatedMessagePayloadBuilder name( } /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ - public StoreCreatedMessagePayloadBuilder languages(final String... languages) { + public StoreCreatedMessagePayloadBuilder languages(@Nullable final String... languages) { this.languages = new ArrayList<>(Arrays.asList(languages)); return this; } /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ - public StoreCreatedMessagePayloadBuilder languages(final java.util.List languages) { + public StoreCreatedMessagePayloadBuilder languages(@Nullable final java.util.List languages) { this.languages = languages; return this; } /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ - public StoreCreatedMessagePayloadBuilder plusLanguages(final String... languages) { + public StoreCreatedMessagePayloadBuilder plusLanguages(@Nullable final String... languages) { if (this.languages == null) { this.languages = new ArrayList<>(); } @@ -92,7 +92,7 @@ public StoreCreatedMessagePayloadBuilder plusLanguages(final String... languages } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder distributionChannels( @@ -102,7 +102,7 @@ public StoreCreatedMessagePayloadBuilder distributionChannels( } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder distributionChannels( @@ -112,7 +112,7 @@ public StoreCreatedMessagePayloadBuilder distributionChannels( } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder plusDistributionChannels( @@ -125,7 +125,7 @@ public StoreCreatedMessagePayloadBuilder plusDistributionChannels( } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder plusDistributionChannels( @@ -139,7 +139,7 @@ public StoreCreatedMessagePayloadBuilder plusDistributionChannels( } /** - * + *

    Distribution Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder withDistributionChannels( @@ -151,7 +151,7 @@ public StoreCreatedMessagePayloadBuilder withDistributionChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder supplyChannels( @@ -161,7 +161,7 @@ public StoreCreatedMessagePayloadBuilder supplyChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder supplyChannels( @@ -171,7 +171,7 @@ public StoreCreatedMessagePayloadBuilder supplyChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder plusSupplyChannels( @@ -184,7 +184,7 @@ public StoreCreatedMessagePayloadBuilder plusSupplyChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder plusSupplyChannels( @@ -198,7 +198,7 @@ public StoreCreatedMessagePayloadBuilder plusSupplyChannels( } /** - * + *

    Supply Channels of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder withSupplyChannels( @@ -210,7 +210,7 @@ public StoreCreatedMessagePayloadBuilder withSupplyChannels( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder productSelections( @@ -220,7 +220,7 @@ public StoreCreatedMessagePayloadBuilder productSelections( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder productSelections( @@ -230,7 +230,7 @@ public StoreCreatedMessagePayloadBuilder productSelections( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder plusProductSelections( @@ -243,7 +243,7 @@ public StoreCreatedMessagePayloadBuilder plusProductSelections( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder plusProductSelections( @@ -257,7 +257,7 @@ public StoreCreatedMessagePayloadBuilder plusProductSelections( } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder withProductSelections( @@ -269,7 +269,7 @@ public StoreCreatedMessagePayloadBuilder withProductSelections( } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    Custom Fields on the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder custom( @@ -279,7 +279,7 @@ public StoreCreatedMessagePayloadBuilder custom( } /** - *

    Serves as value of the custom field on a resource or data type customized with a Type.

    + *

    Custom Fields on the Store that was created.

    */ public StoreCreatedMessagePayloadBuilder custom( @@ -293,6 +293,7 @@ public com.commercetools.api.models.common.LocalizedString getName() { return this.name; } + @Nullable public java.util.List getLanguages() { return this.languages; } @@ -315,7 +316,6 @@ public com.commercetools.api.models.type.CustomFields getCustom() { } public StoreCreatedMessagePayload build() { - Objects.requireNonNull(languages, StoreCreatedMessagePayload.class + ": languages is missing"); Objects.requireNonNull(distributionChannels, StoreCreatedMessagePayload.class + ": distributionChannels is missing"); Objects.requireNonNull(supplyChannels, StoreCreatedMessagePayload.class + ": supplyChannels is missing"); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayloadImpl.java index 4a90cf7fb7f..bb2dcecc260 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StoreCreatedMessagePayload + *

    Generated after a successful Create Store request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreCreatedMessagePayloadImpl implements StoreCreatedMessagePayload, ModelBase { @@ -63,7 +63,7 @@ public String getType() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    The name of the Store that was created.

    */ public com.commercetools.api.models.common.LocalizedString getName() { @@ -71,7 +71,7 @@ public com.commercetools.api.models.common.LocalizedString getName() { } /** - * + *

    Languages of the Store that was created. Languages are represented as IETF language tags.

    */ public java.util.List getLanguages() { @@ -79,7 +79,7 @@ public java.util.List getLanguages() { } /** - * + *

    Distribution Channels of the Store that was created.

    */ public java.util.List getDistributionChannels() { @@ -87,7 +87,7 @@ public java.util.List get } /** - * + *

    Supply Channels of the Store that was created.

    */ public java.util.List getSupplyChannels() { @@ -95,7 +95,7 @@ public java.util.List get } /** - * + *

    ProductSelectionSettings of the Store that was created.

    */ public java.util.List getProductSelections() { @@ -103,7 +103,7 @@ public java.util.ListServes as value of the custom field on a resource or data type customized with a Type.

    + *

    Custom Fields on the Store that was created.

    */ public com.commercetools.api.models.type.CustomFields getCustom() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessage.java index 4026ff6e32f..324156282b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessage.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StoreDeletedMessage + *

    Generated after a successful Delete Store request.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessageBuilder.java index 3d3d0b82365..a67f2d0b7ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessageBuilder.java @@ -54,7 +54,7 @@ public class StoreDeletedMessageBuilder implements Builder private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StoreDeletedMessageBuilder id(final String id) { @@ -63,7 +63,7 @@ public StoreDeletedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StoreDeletedMessageBuilder version(final Long version) { @@ -72,7 +72,7 @@ public StoreDeletedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StoreDeletedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -81,7 +81,7 @@ public StoreDeletedMessageBuilder createdAt(final java.time.ZonedDateTime create } /** - * + *

    Value of createdAt.

    */ public StoreDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -90,7 +90,7 @@ public StoreDeletedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime l } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StoreDeletedMessageBuilder lastModifiedBy( @@ -100,7 +100,7 @@ public StoreDeletedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StoreDeletedMessageBuilder lastModifiedBy( @@ -130,7 +130,7 @@ public StoreDeletedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StoreDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -139,7 +139,7 @@ public StoreDeletedMessageBuilder sequenceNumber(final Long sequenceNumber) { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StoreDeletedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { @@ -148,7 +148,7 @@ public StoreDeletedMessageBuilder resource(final com.commercetools.api.models.co } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StoreDeletedMessageBuilder resource( @@ -158,7 +158,7 @@ public StoreDeletedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StoreDeletedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -167,7 +167,7 @@ public StoreDeletedMessageBuilder resourceVersion(final Long resourceVersion) { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StoreDeletedMessageBuilder resourceUserProvidedIdentifiers( @@ -179,7 +179,7 @@ public StoreDeletedMessageBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StoreDeletedMessageBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessageImpl.java index b25137a03d4..f44eed44feb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StoreDeletedMessage + *

    Generated after a successful Delete Store request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreDeletedMessageImpl implements StoreDeletedMessage, ModelBase { @@ -70,7 +70,7 @@ public StoreDeletedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -78,7 +78,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -94,7 +94,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -118,7 +118,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -126,7 +126,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -134,7 +134,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -142,7 +142,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -150,7 +150,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessagePayload.java index 745d3b5fca7..3b282be5ade 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessagePayload.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StoreDeletedMessagePayload + *

    Generated after a successful Delete Store request.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessagePayloadImpl.java index ac1e85d240a..6c590902dc1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDeletedMessagePayloadImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StoreDeletedMessagePayload + *

    Generated after a successful Delete Store request.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreDeletedMessagePayloadImpl implements StoreDeletedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessage.java index 6eec93ff885..96dac6539ed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessage.java @@ -6,7 +6,6 @@ import java.util.function.Function; import javax.validation.Valid; -import javax.validation.constraints.NotNull; import com.commercetools.api.models.channel.ChannelReference; import com.fasterxml.jackson.annotation.*; @@ -29,8 +28,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .plusAddedDistributionChannels(addedDistributionChannelsBuilder -> addedDistributionChannelsBuilder) - * .plusRemovedDistributionChannels(removedDistributionChannelsBuilder -> removedDistributionChannelsBuilder) * .build() *
    *
    @@ -42,17 +39,15 @@ public interface StoreDistributionChannelsChangedMessage extends Message { String STORE_DISTRIBUTION_CHANNELS_CHANGED = "StoreDistributionChannelsChanged"; /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ - @NotNull @Valid @JsonProperty("addedDistributionChannels") public List getAddedDistributionChannels(); /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ - @NotNull @Valid @JsonProperty("removedDistributionChannels") public List getRemovedDistributionChannels(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessageBuilder.java index 19d7c73874d..93ce735b4c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessageBuilder.java @@ -23,8 +23,6 @@ * .sequenceNumber(0.3) * .resource(resourceBuilder -> resourceBuilder) * .resourceVersion(0.3) - * .plusAddedDistributionChannels(addedDistributionChannelsBuilder -> addedDistributionChannelsBuilder) - * .plusRemovedDistributionChannels(removedDistributionChannelsBuilder -> removedDistributionChannelsBuilder) * .build() *
    *
    @@ -56,12 +54,14 @@ public class StoreDistributionChannelsChangedMessageBuilder @Nullable private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + @Nullable private java.util.List addedDistributionChannels; + @Nullable private java.util.List removedDistributionChannels; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StoreDistributionChannelsChangedMessageBuilder id(final String id) { @@ -70,7 +70,7 @@ public StoreDistributionChannelsChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StoreDistributionChannelsChangedMessageBuilder version(final Long version) { @@ -79,7 +79,7 @@ public StoreDistributionChannelsChangedMessageBuilder version(final Long version } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StoreDistributionChannelsChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -88,7 +88,7 @@ public StoreDistributionChannelsChangedMessageBuilder createdAt(final java.time. } /** - * + *

    Value of createdAt.

    */ public StoreDistributionChannelsChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -97,7 +97,7 @@ public StoreDistributionChannelsChangedMessageBuilder lastModifiedAt(final java. } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StoreDistributionChannelsChangedMessageBuilder lastModifiedBy( @@ -107,7 +107,7 @@ public StoreDistributionChannelsChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StoreDistributionChannelsChangedMessageBuilder lastModifiedBy( @@ -137,7 +137,7 @@ public StoreDistributionChannelsChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StoreDistributionChannelsChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -146,7 +146,7 @@ public StoreDistributionChannelsChangedMessageBuilder sequenceNumber(final Long } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StoreDistributionChannelsChangedMessageBuilder resource( @@ -156,7 +156,7 @@ public StoreDistributionChannelsChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StoreDistributionChannelsChangedMessageBuilder resource( @@ -166,7 +166,7 @@ public StoreDistributionChannelsChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StoreDistributionChannelsChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -175,7 +175,7 @@ public StoreDistributionChannelsChangedMessageBuilder resourceVersion(final Long } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StoreDistributionChannelsChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -187,7 +187,7 @@ public StoreDistributionChannelsChangedMessageBuilder resourceUserProvidedIdenti } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StoreDistributionChannelsChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -197,31 +197,31 @@ public StoreDistributionChannelsChangedMessageBuilder resourceUserProvidedIdenti } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder addedDistributionChannels( - final com.commercetools.api.models.channel.ChannelReference... addedDistributionChannels) { + @Nullable final com.commercetools.api.models.channel.ChannelReference... addedDistributionChannels) { this.addedDistributionChannels = new ArrayList<>(Arrays.asList(addedDistributionChannels)); return this; } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder addedDistributionChannels( - final java.util.List addedDistributionChannels) { + @Nullable final java.util.List addedDistributionChannels) { this.addedDistributionChannels = addedDistributionChannels; return this; } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder plusAddedDistributionChannels( - final com.commercetools.api.models.channel.ChannelReference... addedDistributionChannels) { + @Nullable final com.commercetools.api.models.channel.ChannelReference... addedDistributionChannels) { if (this.addedDistributionChannels == null) { this.addedDistributionChannels = new ArrayList<>(); } @@ -230,7 +230,7 @@ public StoreDistributionChannelsChangedMessageBuilder plusAddedDistributionChann } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder plusAddedDistributionChannels( @@ -244,7 +244,7 @@ public StoreDistributionChannelsChangedMessageBuilder plusAddedDistributionChann } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder withAddedDistributionChannels( @@ -256,31 +256,31 @@ public StoreDistributionChannelsChangedMessageBuilder withAddedDistributionChann } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder removedDistributionChannels( - final com.commercetools.api.models.channel.ChannelReference... removedDistributionChannels) { + @Nullable final com.commercetools.api.models.channel.ChannelReference... removedDistributionChannels) { this.removedDistributionChannels = new ArrayList<>(Arrays.asList(removedDistributionChannels)); return this; } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder removedDistributionChannels( - final java.util.List removedDistributionChannels) { + @Nullable final java.util.List removedDistributionChannels) { this.removedDistributionChannels = removedDistributionChannels; return this; } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder plusRemovedDistributionChannels( - final com.commercetools.api.models.channel.ChannelReference... removedDistributionChannels) { + @Nullable final com.commercetools.api.models.channel.ChannelReference... removedDistributionChannels) { if (this.removedDistributionChannels == null) { this.removedDistributionChannels = new ArrayList<>(); } @@ -289,7 +289,7 @@ public StoreDistributionChannelsChangedMessageBuilder plusRemovedDistributionCha } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder plusRemovedDistributionChannels( @@ -303,7 +303,7 @@ public StoreDistributionChannelsChangedMessageBuilder plusRemovedDistributionCha } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessageBuilder withRemovedDistributionChannels( @@ -357,10 +357,12 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU return this.resourceUserProvidedIdentifiers; } + @Nullable public java.util.List getAddedDistributionChannels() { return this.addedDistributionChannels; } + @Nullable public java.util.List getRemovedDistributionChannels() { return this.removedDistributionChannels; } @@ -376,10 +378,6 @@ public StoreDistributionChannelsChangedMessage build() { Objects.requireNonNull(resource, StoreDistributionChannelsChangedMessage.class + ": resource is missing"); Objects.requireNonNull(resourceVersion, StoreDistributionChannelsChangedMessage.class + ": resourceVersion is missing"); - Objects.requireNonNull(addedDistributionChannels, - StoreDistributionChannelsChangedMessage.class + ": addedDistributionChannels is missing"); - Objects.requireNonNull(removedDistributionChannels, - StoreDistributionChannelsChangedMessage.class + ": removedDistributionChannels is missing"); return new StoreDistributionChannelsChangedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, addedDistributionChannels, removedDistributionChannels); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessageImpl.java index 4bf222fa5bc..a5c52ceb6c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessageImpl.java @@ -79,7 +79,7 @@ public StoreDistributionChannelsChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -87,7 +87,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -95,7 +95,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -111,7 +111,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -135,7 +135,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -151,7 +151,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -159,7 +159,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -167,7 +167,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public java.util.List getAddedDistributionChannels() { @@ -175,7 +175,7 @@ public java.util.List get } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public java.util.List getRemovedDistributionChannels() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayload.java index d1800422cd2..1000d8fc696 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayload.java @@ -6,7 +6,6 @@ import java.util.function.Function; import javax.validation.Valid; -import javax.validation.constraints.NotNull; import com.commercetools.api.models.channel.ChannelReference; import com.fasterxml.jackson.annotation.*; @@ -22,8 +21,6 @@ *
    *
    
      *     StoreDistributionChannelsChangedMessagePayload storeDistributionChannelsChangedMessagePayload = StoreDistributionChannelsChangedMessagePayload.builder()
    - *             .plusAddedDistributionChannels(addedDistributionChannelsBuilder -> addedDistributionChannelsBuilder)
    - *             .plusRemovedDistributionChannels(removedDistributionChannelsBuilder -> removedDistributionChannelsBuilder)
      *             .build()
      * 
    *
    @@ -35,17 +32,15 @@ public interface StoreDistributionChannelsChangedMessagePayload extends MessageP String STORE_DISTRIBUTION_CHANNELS_CHANGED = "StoreDistributionChannelsChanged"; /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ - @NotNull @Valid @JsonProperty("addedDistributionChannels") public List getAddedDistributionChannels(); /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ - @NotNull @Valid @JsonProperty("removedDistributionChannels") public List getRemovedDistributionChannels(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayloadBuilder.java index b583ce7c346..3d7038628f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayloadBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -14,8 +16,6 @@ *
    *
    
      *     StoreDistributionChannelsChangedMessagePayload storeDistributionChannelsChangedMessagePayload = StoreDistributionChannelsChangedMessagePayload.builder()
    - *             .plusAddedDistributionChannels(addedDistributionChannelsBuilder -> addedDistributionChannelsBuilder)
    - *             .plusRemovedDistributionChannels(removedDistributionChannelsBuilder -> removedDistributionChannelsBuilder)
      *             .build()
      * 
    *
    @@ -24,36 +24,38 @@ public class StoreDistributionChannelsChangedMessagePayloadBuilder implements Builder { + @Nullable private java.util.List addedDistributionChannels; + @Nullable private java.util.List removedDistributionChannels; /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder addedDistributionChannels( - final com.commercetools.api.models.channel.ChannelReference... addedDistributionChannels) { + @Nullable final com.commercetools.api.models.channel.ChannelReference... addedDistributionChannels) { this.addedDistributionChannels = new ArrayList<>(Arrays.asList(addedDistributionChannels)); return this; } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder addedDistributionChannels( - final java.util.List addedDistributionChannels) { + @Nullable final java.util.List addedDistributionChannels) { this.addedDistributionChannels = addedDistributionChannels; return this; } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder plusAddedDistributionChannels( - final com.commercetools.api.models.channel.ChannelReference... addedDistributionChannels) { + @Nullable final com.commercetools.api.models.channel.ChannelReference... addedDistributionChannels) { if (this.addedDistributionChannels == null) { this.addedDistributionChannels = new ArrayList<>(); } @@ -62,7 +64,7 @@ public StoreDistributionChannelsChangedMessagePayloadBuilder plusAddedDistributi } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder plusAddedDistributionChannels( @@ -76,7 +78,7 @@ public StoreDistributionChannelsChangedMessagePayloadBuilder plusAddedDistributi } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder withAddedDistributionChannels( @@ -88,31 +90,31 @@ public StoreDistributionChannelsChangedMessagePayloadBuilder withAddedDistributi } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder removedDistributionChannels( - final com.commercetools.api.models.channel.ChannelReference... removedDistributionChannels) { + @Nullable final com.commercetools.api.models.channel.ChannelReference... removedDistributionChannels) { this.removedDistributionChannels = new ArrayList<>(Arrays.asList(removedDistributionChannels)); return this; } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder removedDistributionChannels( - final java.util.List removedDistributionChannels) { + @Nullable final java.util.List removedDistributionChannels) { this.removedDistributionChannels = removedDistributionChannels; return this; } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder plusRemovedDistributionChannels( - final com.commercetools.api.models.channel.ChannelReference... removedDistributionChannels) { + @Nullable final com.commercetools.api.models.channel.ChannelReference... removedDistributionChannels) { if (this.removedDistributionChannels == null) { this.removedDistributionChannels = new ArrayList<>(); } @@ -121,7 +123,7 @@ public StoreDistributionChannelsChangedMessagePayloadBuilder plusRemovedDistribu } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder plusRemovedDistributionChannels( @@ -135,7 +137,7 @@ public StoreDistributionChannelsChangedMessagePayloadBuilder plusRemovedDistribu } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public StoreDistributionChannelsChangedMessagePayloadBuilder withRemovedDistributionChannels( @@ -146,19 +148,17 @@ public StoreDistributionChannelsChangedMessagePayloadBuilder withRemovedDistribu return this; } + @Nullable public java.util.List getAddedDistributionChannels() { return this.addedDistributionChannels; } + @Nullable public java.util.List getRemovedDistributionChannels() { return this.removedDistributionChannels; } public StoreDistributionChannelsChangedMessagePayload build() { - Objects.requireNonNull(addedDistributionChannels, - StoreDistributionChannelsChangedMessagePayload.class + ": addedDistributionChannels is missing"); - Objects.requireNonNull(removedDistributionChannels, - StoreDistributionChannelsChangedMessagePayload.class + ": removedDistributionChannels is missing"); return new StoreDistributionChannelsChangedMessagePayloadImpl(addedDistributionChannels, removedDistributionChannels); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayloadImpl.java index 1309e1ad123..b413c03b6ea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreDistributionChannelsChangedMessagePayloadImpl.java @@ -49,7 +49,7 @@ public String getType() { } /** - *

    The product distribution channels that have been added.

    + *

    Product distribution Channels that have been added to the Store.

    */ public java.util.List getAddedDistributionChannels() { @@ -57,7 +57,7 @@ public java.util.List get } /** - *

    The product distribution channels that have been removed.

    + *

    Product distribution Channels that have been removed from the Store.

    */ public java.util.List getRemovedDistributionChannels() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessage.java new file mode 100644 index 00000000000..7ca595b1506 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessage.java @@ -0,0 +1,103 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Set Languages update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StoreLanguagesChangedMessage storeLanguagesChangedMessage = StoreLanguagesChangedMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StoreLanguagesChangedMessageImpl.class) +public interface StoreLanguagesChangedMessage extends Message { + + String STORE_LANGUAGES_CHANGED = "StoreLanguagesChanged"; + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + @JsonProperty("addedLanguages") + public List getAddedLanguages(); + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + @JsonProperty("removedLanguages") + public List getRemovedLanguages(); + + @JsonIgnore + public void setAddedLanguages(final String... addedLanguages); + + public void setAddedLanguages(final List addedLanguages); + + @JsonIgnore + public void setRemovedLanguages(final String... removedLanguages); + + public void setRemovedLanguages(final List removedLanguages); + + public static StoreLanguagesChangedMessage of() { + return new StoreLanguagesChangedMessageImpl(); + } + + public static StoreLanguagesChangedMessage of(final StoreLanguagesChangedMessage template) { + StoreLanguagesChangedMessageImpl instance = new StoreLanguagesChangedMessageImpl(); + instance.setId(template.getId()); + instance.setVersion(template.getVersion()); + instance.setCreatedAt(template.getCreatedAt()); + instance.setLastModifiedAt(template.getLastModifiedAt()); + instance.setLastModifiedBy(template.getLastModifiedBy()); + instance.setCreatedBy(template.getCreatedBy()); + instance.setSequenceNumber(template.getSequenceNumber()); + instance.setResource(template.getResource()); + instance.setResourceVersion(template.getResourceVersion()); + instance.setResourceUserProvidedIdentifiers(template.getResourceUserProvidedIdentifiers()); + instance.setAddedLanguages(template.getAddedLanguages()); + instance.setRemovedLanguages(template.getRemovedLanguages()); + return instance; + } + + public static StoreLanguagesChangedMessageBuilder builder() { + return StoreLanguagesChangedMessageBuilder.of(); + } + + public static StoreLanguagesChangedMessageBuilder builder(final StoreLanguagesChangedMessage template) { + return StoreLanguagesChangedMessageBuilder.of(template); + } + + default T withStoreLanguagesChangedMessage(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessageBuilder.java new file mode 100644 index 00000000000..a45d26c44a6 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessageBuilder.java @@ -0,0 +1,354 @@ + +package com.commercetools.api.models.message; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StoreLanguagesChangedMessageBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StoreLanguagesChangedMessage storeLanguagesChangedMessage = StoreLanguagesChangedMessage.builder()
    + *             .id("{id}")
    + *             .version(0.3)
    + *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
    + *             .sequenceNumber(0.3)
    + *             .resource(resourceBuilder -> resourceBuilder)
    + *             .resourceVersion(0.3)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StoreLanguagesChangedMessageBuilder implements Builder { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + @Nullable + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + @Nullable + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + @Nullable + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + @Nullable + private java.util.List addedLanguages; + + @Nullable + private java.util.List removedLanguages; + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public StoreLanguagesChangedMessageBuilder id(final String id) { + this.id = id; + return this; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public StoreLanguagesChangedMessageBuilder version(final Long version) { + this.version = version; + return this; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public StoreLanguagesChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + *

    Value of createdAt.

    + */ + + public StoreLanguagesChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public StoreLanguagesChangedMessageBuilder lastModifiedBy( + Function builder) { + this.lastModifiedBy = builder.apply(com.commercetools.api.models.common.LastModifiedByBuilder.of()).build(); + return this; + } + + /** + *

    Value of createdBy.

    + */ + + public StoreLanguagesChangedMessageBuilder lastModifiedBy( + @Nullable final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public StoreLanguagesChangedMessageBuilder createdBy( + Function builder) { + this.createdBy = builder.apply(com.commercetools.api.models.common.CreatedByBuilder.of()).build(); + return this; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public StoreLanguagesChangedMessageBuilder createdBy( + @Nullable final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + return this; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public StoreLanguagesChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public StoreLanguagesChangedMessageBuilder resource(final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + return this; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public StoreLanguagesChangedMessageBuilder resource( + Function> builder) { + this.resource = builder.apply(com.commercetools.api.models.common.ReferenceBuilder.of()).build(); + return this; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public StoreLanguagesChangedMessageBuilder resourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public StoreLanguagesChangedMessageBuilder resourceUserProvidedIdentifiers( + Function builder) { + this.resourceUserProvidedIdentifiers = builder + .apply(com.commercetools.api.models.message.UserProvidedIdentifiersBuilder.of()) + .build(); + return this; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public StoreLanguagesChangedMessageBuilder resourceUserProvidedIdentifiers( + @Nullable final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + return this; + } + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessageBuilder addedLanguages(@Nullable final String... addedLanguages) { + this.addedLanguages = new ArrayList<>(Arrays.asList(addedLanguages)); + return this; + } + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessageBuilder addedLanguages(@Nullable final java.util.List addedLanguages) { + this.addedLanguages = addedLanguages; + return this; + } + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessageBuilder plusAddedLanguages(@Nullable final String... addedLanguages) { + if (this.addedLanguages == null) { + this.addedLanguages = new ArrayList<>(); + } + this.addedLanguages.addAll(Arrays.asList(addedLanguages)); + return this; + } + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessageBuilder removedLanguages(@Nullable final String... removedLanguages) { + this.removedLanguages = new ArrayList<>(Arrays.asList(removedLanguages)); + return this; + } + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessageBuilder removedLanguages( + @Nullable final java.util.List removedLanguages) { + this.removedLanguages = removedLanguages; + return this; + } + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessageBuilder plusRemovedLanguages(@Nullable final String... removedLanguages) { + if (this.removedLanguages == null) { + this.removedLanguages = new ArrayList<>(); + } + this.removedLanguages.addAll(Arrays.asList(removedLanguages)); + return this; + } + + public String getId() { + return this.id; + } + + public Long getVersion() { + return this.version; + } + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + @Nullable + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + @Nullable + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + public Long getResourceVersion() { + return this.resourceVersion; + } + + @Nullable + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + @Nullable + public java.util.List getAddedLanguages() { + return this.addedLanguages; + } + + @Nullable + public java.util.List getRemovedLanguages() { + return this.removedLanguages; + } + + public StoreLanguagesChangedMessage build() { + Objects.requireNonNull(id, StoreLanguagesChangedMessage.class + ": id is missing"); + Objects.requireNonNull(version, StoreLanguagesChangedMessage.class + ": version is missing"); + Objects.requireNonNull(createdAt, StoreLanguagesChangedMessage.class + ": createdAt is missing"); + Objects.requireNonNull(lastModifiedAt, StoreLanguagesChangedMessage.class + ": lastModifiedAt is missing"); + Objects.requireNonNull(sequenceNumber, StoreLanguagesChangedMessage.class + ": sequenceNumber is missing"); + Objects.requireNonNull(resource, StoreLanguagesChangedMessage.class + ": resource is missing"); + Objects.requireNonNull(resourceVersion, StoreLanguagesChangedMessage.class + ": resourceVersion is missing"); + return new StoreLanguagesChangedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, addedLanguages, + removedLanguages); + } + + /** + * builds StoreLanguagesChangedMessage without checking for non null required values + */ + public StoreLanguagesChangedMessage buildUnchecked() { + return new StoreLanguagesChangedMessageImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, + sequenceNumber, resource, resourceVersion, resourceUserProvidedIdentifiers, addedLanguages, + removedLanguages); + } + + public static StoreLanguagesChangedMessageBuilder of() { + return new StoreLanguagesChangedMessageBuilder(); + } + + public static StoreLanguagesChangedMessageBuilder of(final StoreLanguagesChangedMessage template) { + StoreLanguagesChangedMessageBuilder builder = new StoreLanguagesChangedMessageBuilder(); + builder.id = template.getId(); + builder.version = template.getVersion(); + builder.createdAt = template.getCreatedAt(); + builder.lastModifiedAt = template.getLastModifiedAt(); + builder.lastModifiedBy = template.getLastModifiedBy(); + builder.createdBy = template.getCreatedBy(); + builder.sequenceNumber = template.getSequenceNumber(); + builder.resource = template.getResource(); + builder.resourceVersion = template.getResourceVersion(); + builder.resourceUserProvidedIdentifiers = template.getResourceUserProvidedIdentifiers(); + builder.addedLanguages = template.getAddedLanguages(); + builder.removedLanguages = template.getRemovedLanguages(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessageImpl.java new file mode 100644 index 00000000000..40a698602c0 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessageImpl.java @@ -0,0 +1,285 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Set Languages update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StoreLanguagesChangedMessageImpl implements StoreLanguagesChangedMessage, ModelBase { + + private String id; + + private Long version; + + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; + + private com.commercetools.api.models.common.LastModifiedBy lastModifiedBy; + + private com.commercetools.api.models.common.CreatedBy createdBy; + + private Long sequenceNumber; + + private com.commercetools.api.models.common.Reference resource; + + private Long resourceVersion; + + private String type; + + private com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers; + + private java.util.List addedLanguages; + + private java.util.List removedLanguages; + + @JsonCreator + StoreLanguagesChangedMessageImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, + @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, + @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt, + @JsonProperty("lastModifiedBy") final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy, + @JsonProperty("createdBy") final com.commercetools.api.models.common.CreatedBy createdBy, + @JsonProperty("sequenceNumber") final Long sequenceNumber, + @JsonProperty("resource") final com.commercetools.api.models.common.Reference resource, + @JsonProperty("resourceVersion") final Long resourceVersion, + @JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers, + @JsonProperty("addedLanguages") final java.util.List addedLanguages, + @JsonProperty("removedLanguages") final java.util.List removedLanguages) { + this.id = id; + this.version = version; + this.createdAt = createdAt; + this.lastModifiedAt = lastModifiedAt; + this.lastModifiedBy = lastModifiedBy; + this.createdBy = createdBy; + this.sequenceNumber = sequenceNumber; + this.resource = resource; + this.resourceVersion = resourceVersion; + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + this.addedLanguages = addedLanguages; + this.removedLanguages = removedLanguages; + this.type = STORE_LANGUAGES_CHANGED; + } + + public StoreLanguagesChangedMessageImpl() { + this.type = STORE_LANGUAGES_CHANGED; + } + + /** + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    + */ + + public String getId() { + return this.id; + } + + /** + *

    Version of a resource. In case of Messages, this is always 1.

    + */ + + public Long getVersion() { + return this.version; + } + + /** + *

    Date and time (UTC) the Message was generated.

    + */ + + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; + } + + /** + *

    Value of createdAt.

    + */ + + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; + } + + /** + *

    Value of createdBy.

    + */ + + public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { + return this.lastModifiedBy; + } + + /** + *

    Present on resources created after 1 February 2019 except for events not tracked.

    + */ + + public com.commercetools.api.models.common.CreatedBy getCreatedBy() { + return this.createdBy; + } + + /** + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    + */ + + public Long getSequenceNumber() { + return this.sequenceNumber; + } + + /** + *

    Reference to the resource on which the change or action was performed.

    + */ + + public com.commercetools.api.models.common.Reference getResource() { + return this.resource; + } + + /** + *

    Version of the resource on which the change or action was performed.

    + */ + + public Long getResourceVersion() { + return this.resourceVersion; + } + + /** + *

    Message Type of the Message.

    + */ + + public String getType() { + return this.type; + } + + /** + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    + */ + + public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { + return this.resourceUserProvidedIdentifiers; + } + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + public java.util.List getAddedLanguages() { + return this.addedLanguages; + } + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + public java.util.List getRemovedLanguages() { + return this.removedLanguages; + } + + public void setId(final String id) { + this.id = id; + } + + public void setVersion(final Long version) { + this.version = version; + } + + public void setCreatedAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + } + + public void setLastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; + } + + public void setLastModifiedBy(final com.commercetools.api.models.common.LastModifiedBy lastModifiedBy) { + this.lastModifiedBy = lastModifiedBy; + } + + public void setCreatedBy(final com.commercetools.api.models.common.CreatedBy createdBy) { + this.createdBy = createdBy; + } + + public void setSequenceNumber(final Long sequenceNumber) { + this.sequenceNumber = sequenceNumber; + } + + public void setResource(final com.commercetools.api.models.common.Reference resource) { + this.resource = resource; + } + + public void setResourceVersion(final Long resourceVersion) { + this.resourceVersion = resourceVersion; + } + + public void setResourceUserProvidedIdentifiers( + final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers) { + this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers; + } + + public void setAddedLanguages(final String... addedLanguages) { + this.addedLanguages = new ArrayList<>(Arrays.asList(addedLanguages)); + } + + public void setAddedLanguages(final java.util.List addedLanguages) { + this.addedLanguages = addedLanguages; + } + + public void setRemovedLanguages(final String... removedLanguages) { + this.removedLanguages = new ArrayList<>(Arrays.asList(removedLanguages)); + } + + public void setRemovedLanguages(final java.util.List removedLanguages) { + this.removedLanguages = removedLanguages; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StoreLanguagesChangedMessageImpl that = (StoreLanguagesChangedMessageImpl) o; + + return new EqualsBuilder().append(id, that.id) + .append(version, that.version) + .append(createdAt, that.createdAt) + .append(lastModifiedAt, that.lastModifiedAt) + .append(lastModifiedBy, that.lastModifiedBy) + .append(createdBy, that.createdBy) + .append(sequenceNumber, that.sequenceNumber) + .append(resource, that.resource) + .append(resourceVersion, that.resourceVersion) + .append(type, that.type) + .append(resourceUserProvidedIdentifiers, that.resourceUserProvidedIdentifiers) + .append(addedLanguages, that.addedLanguages) + .append(removedLanguages, that.removedLanguages) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(id) + .append(version) + .append(createdAt) + .append(lastModifiedAt) + .append(lastModifiedBy) + .append(createdBy) + .append(sequenceNumber) + .append(resource) + .append(resourceVersion) + .append(type) + .append(resourceUserProvidedIdentifiers) + .append(addedLanguages) + .append(removedLanguages) + .toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayload.java new file mode 100644 index 00000000000..01363dc5439 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayload.java @@ -0,0 +1,87 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Generated after a successful Set Languages update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StoreLanguagesChangedMessagePayload storeLanguagesChangedMessagePayload = StoreLanguagesChangedMessagePayload.builder()
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StoreLanguagesChangedMessagePayloadImpl.class) +public interface StoreLanguagesChangedMessagePayload extends MessagePayload { + + String STORE_LANGUAGES_CHANGED = "StoreLanguagesChanged"; + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + @JsonProperty("addedLanguages") + public List getAddedLanguages(); + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + @JsonProperty("removedLanguages") + public List getRemovedLanguages(); + + @JsonIgnore + public void setAddedLanguages(final String... addedLanguages); + + public void setAddedLanguages(final List addedLanguages); + + @JsonIgnore + public void setRemovedLanguages(final String... removedLanguages); + + public void setRemovedLanguages(final List removedLanguages); + + public static StoreLanguagesChangedMessagePayload of() { + return new StoreLanguagesChangedMessagePayloadImpl(); + } + + public static StoreLanguagesChangedMessagePayload of(final StoreLanguagesChangedMessagePayload template) { + StoreLanguagesChangedMessagePayloadImpl instance = new StoreLanguagesChangedMessagePayloadImpl(); + instance.setAddedLanguages(template.getAddedLanguages()); + instance.setRemovedLanguages(template.getRemovedLanguages()); + return instance; + } + + public static StoreLanguagesChangedMessagePayloadBuilder builder() { + return StoreLanguagesChangedMessagePayloadBuilder.of(); + } + + public static StoreLanguagesChangedMessagePayloadBuilder builder( + final StoreLanguagesChangedMessagePayload template) { + return StoreLanguagesChangedMessagePayloadBuilder.of(template); + } + + default T withStoreLanguagesChangedMessagePayload(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayloadBuilder.java new file mode 100644 index 00000000000..5f272794b40 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayloadBuilder.java @@ -0,0 +1,125 @@ + +package com.commercetools.api.models.message; + +import java.util.*; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StoreLanguagesChangedMessagePayloadBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StoreLanguagesChangedMessagePayload storeLanguagesChangedMessagePayload = StoreLanguagesChangedMessagePayload.builder()
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StoreLanguagesChangedMessagePayloadBuilder implements Builder { + + @Nullable + private java.util.List addedLanguages; + + @Nullable + private java.util.List removedLanguages; + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessagePayloadBuilder addedLanguages(@Nullable final String... addedLanguages) { + this.addedLanguages = new ArrayList<>(Arrays.asList(addedLanguages)); + return this; + } + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessagePayloadBuilder addedLanguages( + @Nullable final java.util.List addedLanguages) { + this.addedLanguages = addedLanguages; + return this; + } + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessagePayloadBuilder plusAddedLanguages(@Nullable final String... addedLanguages) { + if (this.addedLanguages == null) { + this.addedLanguages = new ArrayList<>(); + } + this.addedLanguages.addAll(Arrays.asList(addedLanguages)); + return this; + } + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessagePayloadBuilder removedLanguages(@Nullable final String... removedLanguages) { + this.removedLanguages = new ArrayList<>(Arrays.asList(removedLanguages)); + return this; + } + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessagePayloadBuilder removedLanguages( + @Nullable final java.util.List removedLanguages) { + this.removedLanguages = removedLanguages; + return this; + } + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + public StoreLanguagesChangedMessagePayloadBuilder plusRemovedLanguages(@Nullable final String... removedLanguages) { + if (this.removedLanguages == null) { + this.removedLanguages = new ArrayList<>(); + } + this.removedLanguages.addAll(Arrays.asList(removedLanguages)); + return this; + } + + @Nullable + public java.util.List getAddedLanguages() { + return this.addedLanguages; + } + + @Nullable + public java.util.List getRemovedLanguages() { + return this.removedLanguages; + } + + public StoreLanguagesChangedMessagePayload build() { + return new StoreLanguagesChangedMessagePayloadImpl(addedLanguages, removedLanguages); + } + + /** + * builds StoreLanguagesChangedMessagePayload without checking for non null required values + */ + public StoreLanguagesChangedMessagePayload buildUnchecked() { + return new StoreLanguagesChangedMessagePayloadImpl(addedLanguages, removedLanguages); + } + + public static StoreLanguagesChangedMessagePayloadBuilder of() { + return new StoreLanguagesChangedMessagePayloadBuilder(); + } + + public static StoreLanguagesChangedMessagePayloadBuilder of(final StoreLanguagesChangedMessagePayload template) { + StoreLanguagesChangedMessagePayloadBuilder builder = new StoreLanguagesChangedMessagePayloadBuilder(); + builder.addedLanguages = template.getAddedLanguages(); + builder.removedLanguages = template.getRemovedLanguages(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayloadImpl.java new file mode 100644 index 00000000000..042c7ff1045 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreLanguagesChangedMessagePayloadImpl.java @@ -0,0 +1,102 @@ + +package com.commercetools.api.models.message; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Generated after a successful Set Languages update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StoreLanguagesChangedMessagePayloadImpl implements StoreLanguagesChangedMessagePayload, ModelBase { + + private String type; + + private java.util.List addedLanguages; + + private java.util.List removedLanguages; + + @JsonCreator + StoreLanguagesChangedMessagePayloadImpl(@JsonProperty("addedLanguages") final java.util.List addedLanguages, + @JsonProperty("removedLanguages") final java.util.List removedLanguages) { + this.addedLanguages = addedLanguages; + this.removedLanguages = removedLanguages; + this.type = STORE_LANGUAGES_CHANGED; + } + + public StoreLanguagesChangedMessagePayloadImpl() { + this.type = STORE_LANGUAGES_CHANGED; + } + + /** + * + */ + + public String getType() { + return this.type; + } + + /** + *

    Locales added to the Store after the Set Languages update action.

    + */ + + public java.util.List getAddedLanguages() { + return this.addedLanguages; + } + + /** + *

    Locales removed from the Store during the Set Languages update action.

    + */ + + public java.util.List getRemovedLanguages() { + return this.removedLanguages; + } + + public void setAddedLanguages(final String... addedLanguages) { + this.addedLanguages = new ArrayList<>(Arrays.asList(addedLanguages)); + } + + public void setAddedLanguages(final java.util.List addedLanguages) { + this.addedLanguages = addedLanguages; + } + + public void setRemovedLanguages(final String... removedLanguages) { + this.removedLanguages = new ArrayList<>(Arrays.asList(removedLanguages)); + } + + public void setRemovedLanguages(final java.util.List removedLanguages) { + this.removedLanguages = removedLanguages; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StoreLanguagesChangedMessagePayloadImpl that = (StoreLanguagesChangedMessagePayloadImpl) o; + + return new EqualsBuilder().append(type, that.type) + .append(addedLanguages, that.addedLanguages) + .append(removedLanguages, that.removedLanguages) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(type).append(addedLanguages).append(removedLanguages).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessage.java index c31c642340b..cddb558682b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessage.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StoreProductSelectionsChangedMessage + *

    Generated by a successful Add Product Selection, Remove Product Selection, Set Product Selections, or Change Product Selections Active update action.

    * *
    * Example to create an instance using the builder pattern @@ -39,21 +39,21 @@ public interface StoreProductSelectionsChangedMessage extends Message { String STORE_PRODUCT_SELECTIONS_CHANGED = "StoreProductSelectionsChanged"; /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ @Valid @JsonProperty("addedProductSelections") public List getAddedProductSelections(); /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ @Valid @JsonProperty("removedProductSelections") public List getRemovedProductSelections(); /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ @Valid @JsonProperty("updatedProductSelections") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessageBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessageBuilder.java index 6a7c8863f23..18ea13655b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessageBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessageBuilder.java @@ -63,7 +63,7 @@ public class StoreProductSelectionsChangedMessageBuilder implements Builder updatedProductSelections; /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public StoreProductSelectionsChangedMessageBuilder id(final String id) { @@ -72,7 +72,7 @@ public StoreProductSelectionsChangedMessageBuilder id(final String id) { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public StoreProductSelectionsChangedMessageBuilder version(final Long version) { @@ -81,7 +81,7 @@ public StoreProductSelectionsChangedMessageBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public StoreProductSelectionsChangedMessageBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +90,7 @@ public StoreProductSelectionsChangedMessageBuilder createdAt(final java.time.Zon } /** - * + *

    Value of createdAt.

    */ public StoreProductSelectionsChangedMessageBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -99,7 +99,7 @@ public StoreProductSelectionsChangedMessageBuilder lastModifiedAt(final java.tim } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StoreProductSelectionsChangedMessageBuilder lastModifiedBy( @@ -109,7 +109,7 @@ public StoreProductSelectionsChangedMessageBuilder lastModifiedBy( } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public StoreProductSelectionsChangedMessageBuilder lastModifiedBy( @@ -139,7 +139,7 @@ public StoreProductSelectionsChangedMessageBuilder createdBy( } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public StoreProductSelectionsChangedMessageBuilder sequenceNumber(final Long sequenceNumber) { @@ -148,7 +148,7 @@ public StoreProductSelectionsChangedMessageBuilder sequenceNumber(final Long seq } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StoreProductSelectionsChangedMessageBuilder resource( @@ -158,7 +158,7 @@ public StoreProductSelectionsChangedMessageBuilder resource( } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public StoreProductSelectionsChangedMessageBuilder resource( @@ -168,7 +168,7 @@ public StoreProductSelectionsChangedMessageBuilder resource( } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public StoreProductSelectionsChangedMessageBuilder resourceVersion(final Long resourceVersion) { @@ -177,7 +177,7 @@ public StoreProductSelectionsChangedMessageBuilder resourceVersion(final Long re } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StoreProductSelectionsChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -189,7 +189,7 @@ public StoreProductSelectionsChangedMessageBuilder resourceUserProvidedIdentifie } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public StoreProductSelectionsChangedMessageBuilder resourceUserProvidedIdentifiers( @@ -199,7 +199,7 @@ public StoreProductSelectionsChangedMessageBuilder resourceUserProvidedIdentifie } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessageBuilder addedProductSelections( @@ -209,7 +209,7 @@ public StoreProductSelectionsChangedMessageBuilder addedProductSelections( } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessageBuilder addedProductSelections( @@ -219,7 +219,7 @@ public StoreProductSelectionsChangedMessageBuilder addedProductSelections( } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessageBuilder plusAddedProductSelections( @@ -232,7 +232,7 @@ public StoreProductSelectionsChangedMessageBuilder plusAddedProductSelections( } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessageBuilder plusAddedProductSelections( @@ -246,7 +246,7 @@ public StoreProductSelectionsChangedMessageBuilder plusAddedProductSelections( } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessageBuilder withAddedProductSelections( @@ -258,7 +258,7 @@ public StoreProductSelectionsChangedMessageBuilder withAddedProductSelections( } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessageBuilder removedProductSelections( @@ -268,7 +268,7 @@ public StoreProductSelectionsChangedMessageBuilder removedProductSelections( } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessageBuilder removedProductSelections( @@ -278,7 +278,7 @@ public StoreProductSelectionsChangedMessageBuilder removedProductSelections( } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessageBuilder plusRemovedProductSelections( @@ -291,7 +291,7 @@ public StoreProductSelectionsChangedMessageBuilder plusRemovedProductSelections( } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessageBuilder plusRemovedProductSelections( @@ -305,7 +305,7 @@ public StoreProductSelectionsChangedMessageBuilder plusRemovedProductSelections( } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessageBuilder withRemovedProductSelections( @@ -317,7 +317,7 @@ public StoreProductSelectionsChangedMessageBuilder withRemovedProductSelections( } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessageBuilder updatedProductSelections( @@ -327,7 +327,7 @@ public StoreProductSelectionsChangedMessageBuilder updatedProductSelections( } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessageBuilder updatedProductSelections( @@ -337,7 +337,7 @@ public StoreProductSelectionsChangedMessageBuilder updatedProductSelections( } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessageBuilder plusUpdatedProductSelections( @@ -350,7 +350,7 @@ public StoreProductSelectionsChangedMessageBuilder plusUpdatedProductSelections( } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessageBuilder plusUpdatedProductSelections( @@ -364,7 +364,7 @@ public StoreProductSelectionsChangedMessageBuilder plusUpdatedProductSelections( } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessageBuilder withUpdatedProductSelections( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessageImpl.java index fe89d55de23..d36f617c74a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StoreProductSelectionsChangedMessage + *

    Generated by a successful Add Product Selection, Remove Product Selection, Set Product Selections, or Change Product Selections Active update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreProductSelectionsChangedMessageImpl implements StoreProductSelectionsChangedMessage, ModelBase { @@ -83,7 +83,7 @@ public StoreProductSelectionsChangedMessageImpl() { } /** - *

    Unique identifier of the Message.

    + *

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    */ public String getId() { @@ -91,7 +91,7 @@ public String getId() { } /** - * + *

    Version of a resource. In case of Messages, this is always 1.

    */ public Long getVersion() { @@ -99,7 +99,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Message was generated.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -107,7 +107,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Value of createdAt.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -115,7 +115,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

    Present on resources created after 1 February 2019 except for events not tracked.

    + *

    Value of createdBy.

    */ public com.commercetools.api.models.common.LastModifiedBy getLastModifiedBy() { @@ -131,7 +131,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - * + *

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    */ public Long getSequenceNumber() { @@ -139,7 +139,7 @@ public Long getSequenceNumber() { } /** - *

    A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

    + *

    Reference to the resource on which the change or action was performed.

    */ public com.commercetools.api.models.common.Reference getResource() { @@ -147,7 +147,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    Version of the resource on which the change or action was performed.

    */ public Long getResourceVersion() { @@ -155,7 +155,7 @@ public Long getResourceVersion() { } /** - * + *

    Message Type of the Message.

    */ public String getType() { @@ -163,7 +163,7 @@ public String getType() { } /** - * + *

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { @@ -171,7 +171,7 @@ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceU } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public java.util.List getAddedProductSelections() { @@ -179,7 +179,7 @@ public java.util.ListProductSelectionSettings that were removed from the Store.

    */ public java.util.List getRemovedProductSelections() { @@ -187,7 +187,7 @@ public java.util.ListProductSelectionSettings that were updated in the Store.

    */ public java.util.List getUpdatedProductSelections() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayload.java index a0aab080b53..bdcad5f6c08 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayload.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StoreProductSelectionsChangedMessagePayload + *

    Generated by a successful Add Product Selection, Remove Product Selection, Set Product Selections, or Change Product Selections Active update action.

    * *
    * Example to create an instance using the builder pattern @@ -32,21 +32,21 @@ public interface StoreProductSelectionsChangedMessagePayload extends MessagePayl String STORE_PRODUCT_SELECTIONS_CHANGED = "StoreProductSelectionsChanged"; /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ @Valid @JsonProperty("addedProductSelections") public List getAddedProductSelections(); /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ @Valid @JsonProperty("removedProductSelections") public List getRemovedProductSelections(); /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ @Valid @JsonProperty("updatedProductSelections") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayloadBuilder.java index 5c10e9daa6c..a4a01ddbe40 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayloadBuilder.java @@ -34,7 +34,7 @@ public class StoreProductSelectionsChangedMessagePayloadBuilder private java.util.List updatedProductSelections; /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder addedProductSelections( @@ -44,7 +44,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder addedProductSelections } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder addedProductSelections( @@ -54,7 +54,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder addedProductSelections } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder plusAddedProductSelections( @@ -67,7 +67,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder plusAddedProductSelect } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder plusAddedProductSelections( @@ -81,7 +81,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder plusAddedProductSelect } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder withAddedProductSelections( @@ -93,7 +93,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder withAddedProductSelect } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder removedProductSelections( @@ -103,7 +103,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder removedProductSelectio } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder removedProductSelections( @@ -113,7 +113,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder removedProductSelectio } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder plusRemovedProductSelections( @@ -126,7 +126,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder plusRemovedProductSele } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder plusRemovedProductSelections( @@ -140,7 +140,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder plusRemovedProductSele } /** - * + *

    ProductSelectionSettings that were removed from the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder withRemovedProductSelections( @@ -152,7 +152,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder withRemovedProductSele } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder updatedProductSelections( @@ -162,7 +162,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder updatedProductSelectio } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder updatedProductSelections( @@ -172,7 +172,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder updatedProductSelectio } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder plusUpdatedProductSelections( @@ -185,7 +185,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder plusUpdatedProductSele } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder plusUpdatedProductSelections( @@ -199,7 +199,7 @@ public StoreProductSelectionsChangedMessagePayloadBuilder plusUpdatedProductSele } /** - * + *

    ProductSelectionSettings that were updated in the Store.

    */ public StoreProductSelectionsChangedMessagePayloadBuilder withUpdatedProductSelections( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayloadImpl.java index 851f6233ced..3844707e6f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreProductSelectionsChangedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StoreProductSelectionsChangedMessagePayload + *

    Generated by a successful Add Product Selection, Remove Product Selection, Set Product Selections, or Change Product Selections Active update action.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreProductSelectionsChangedMessagePayloadImpl @@ -53,7 +53,7 @@ public String getType() { } /** - * + *

    ProductSelectionSettings that were added to the Store.

    */ public java.util.List getAddedProductSelections() { @@ -61,7 +61,7 @@ public java.util.ListProductSelectionSettings that were removed from the Store.

    */ public java.util.List getRemovedProductSelections() { @@ -69,7 +69,7 @@ public java.util.ListProductSelectionSettings that were updated in the Store.

    */ public java.util.List getUpdatedProductSelections() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiers.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiers.java index 1627ff7ce0f..7ff958e062b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiers.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiers.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * UserProvidedIdentifiers + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    * *
    * Example to create an instance using the builder pattern @@ -37,42 +37,42 @@ public interface UserProvidedIdentifiers { public String getKey(); /** - * + *

    User-provided unique identifier of the resource.

    */ @JsonProperty("externalId") public String getExternalId(); /** - * + *

    User-provided unique identifier of an Order.

    */ @JsonProperty("orderNumber") public String getOrderNumber(); /** - * + *

    User-provided unique identifier of a Customer.

    */ @JsonProperty("customerNumber") public String getCustomerNumber(); /** - * + *

    Unique SKU of a Product Variant.

    */ @JsonProperty("sku") public String getSku(); /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Unique identifier usually used in deep-link URLs for a Product. The value corresponds to the slug in the current Product Projection.

    */ @Valid @JsonProperty("slug") public LocalizedString getSlug(); /** - *

    Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.

    + *

    Unique identifier of a Custom Object.

    */ @Valid @JsonProperty("containerAndKey") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiersBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiersBuilder.java index fc6342aabe3..802dd325cff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiersBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiersBuilder.java @@ -54,7 +54,7 @@ public UserProvidedIdentifiersBuilder key(@Nullable final String key) { } /** - * + *

    User-provided unique identifier of the resource.

    */ public UserProvidedIdentifiersBuilder externalId(@Nullable final String externalId) { @@ -63,7 +63,7 @@ public UserProvidedIdentifiersBuilder externalId(@Nullable final String external } /** - * + *

    User-provided unique identifier of an Order.

    */ public UserProvidedIdentifiersBuilder orderNumber(@Nullable final String orderNumber) { @@ -72,7 +72,7 @@ public UserProvidedIdentifiersBuilder orderNumber(@Nullable final String orderNu } /** - * + *

    User-provided unique identifier of a Customer.

    */ public UserProvidedIdentifiersBuilder customerNumber(@Nullable final String customerNumber) { @@ -81,7 +81,7 @@ public UserProvidedIdentifiersBuilder customerNumber(@Nullable final String cust } /** - * + *

    Unique SKU of a Product Variant.

    */ public UserProvidedIdentifiersBuilder sku(@Nullable final String sku) { @@ -90,7 +90,7 @@ public UserProvidedIdentifiersBuilder sku(@Nullable final String sku) { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Unique identifier usually used in deep-link URLs for a Product. The value corresponds to the slug in the current Product Projection.

    */ public UserProvidedIdentifiersBuilder slug( @@ -100,7 +100,7 @@ public UserProvidedIdentifiersBuilder slug( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Unique identifier usually used in deep-link URLs for a Product. The value corresponds to the slug in the current Product Projection.

    */ public UserProvidedIdentifiersBuilder slug( @@ -110,7 +110,7 @@ public UserProvidedIdentifiersBuilder slug( } /** - *

    Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.

    + *

    Unique identifier of a Custom Object.

    */ public UserProvidedIdentifiersBuilder containerAndKey( @@ -120,7 +120,7 @@ public UserProvidedIdentifiersBuilder containerAndKey( } /** - *

    Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.

    + *

    Unique identifier of a Custom Object.

    */ public UserProvidedIdentifiersBuilder containerAndKey( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiersImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiersImpl.java index 4f2a03c80b4..eed47c2f0ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiersImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/UserProvidedIdentifiersImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * UserProvidedIdentifiers + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class UserProvidedIdentifiersImpl implements UserProvidedIdentifiers, ModelBase { @@ -61,7 +61,7 @@ public String getKey() { } /** - * + *

    User-provided unique identifier of the resource.

    */ public String getExternalId() { @@ -69,7 +69,7 @@ public String getExternalId() { } /** - * + *

    User-provided unique identifier of an Order.

    */ public String getOrderNumber() { @@ -77,7 +77,7 @@ public String getOrderNumber() { } /** - * + *

    User-provided unique identifier of a Customer.

    */ public String getCustomerNumber() { @@ -85,7 +85,7 @@ public String getCustomerNumber() { } /** - * + *

    Unique SKU of a Product Variant.

    */ public String getSku() { @@ -93,7 +93,7 @@ public String getSku() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Unique identifier usually used in deep-link URLs for a Product. The value corresponds to the slug in the current Product Projection.

    */ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -101,7 +101,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *

    Custom Objects are grouped into containers, which can be used like namespaces. Within a given container, a user-defined key can be used to uniquely identify resources.

    + *

    Unique identifier of a Custom Object.

    */ public com.commercetools.api.models.message.ContainerAndKey getContainerAndKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Hit.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Hit.java index 9ea401467e3..863832c464c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Hit.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Hit.java @@ -22,7 +22,6 @@ * Hit hit = Hit.builder() * .id("{id}") * .version(0.3) - * .relevance(0.3) * .build() * * @@ -48,7 +47,7 @@ public interface Hit { /** *

    The higher the value is, the more relevant the hit is for the search request.

    */ - @NotNull + @JsonProperty("relevance") public Double getRelevance(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/HitBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/HitBuilder.java index afb51c42443..865e2330701 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/HitBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/HitBuilder.java @@ -3,6 +3,8 @@ import java.util.*; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -15,7 +17,6 @@ * Hit hit = Hit.builder() * .id("{id}") * .version(0.3) - * .relevance(0.3) * .build() * * @@ -27,6 +28,7 @@ public class HitBuilder implements Builder { private Long version; + @Nullable private Double relevance; /** @@ -51,7 +53,7 @@ public HitBuilder version(final Long version) { *

    The higher the value is, the more relevant the hit is for the search request.

    */ - public HitBuilder relevance(final Double relevance) { + public HitBuilder relevance(@Nullable final Double relevance) { this.relevance = relevance; return this; } @@ -64,6 +66,7 @@ public Long getVersion() { return this.version; } + @Nullable public Double getRelevance() { return this.relevance; } @@ -71,7 +74,6 @@ public Double getRelevance() { public Hit build() { Objects.requireNonNull(id, Hit.class + ": id is missing"); Objects.requireNonNull(version, Hit.class + ": version is missing"); - Objects.requireNonNull(relevance, Hit.class + ": relevance is missing"); return new HitImpl(id, version, relevance); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java index b8f878fbff5..44c8e30c849 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java @@ -16,7 +16,9 @@ import com.commercetools.api.models.cart.InventoryMode; import com.commercetools.api.models.cart.LineItem; import com.commercetools.api.models.cart.RoundingMode; +import com.commercetools.api.models.cart.Shipping; import com.commercetools.api.models.cart.ShippingInfo; +import com.commercetools.api.models.cart.ShippingMode; import com.commercetools.api.models.cart.ShippingRateInput; import com.commercetools.api.models.cart.TaxCalculationMode; import com.commercetools.api.models.cart.TaxMode; @@ -52,6 +54,8 @@ * .plusLineItems(lineItemsBuilder -> lineItemsBuilder) * .plusCustomLineItems(customLineItemsBuilder -> customLineItemsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) + * .shippingMode(ShippingMode.SINGLE) + * .plusShipping(shippingBuilder -> shippingBuilder) * .orderState(OrderState.OPEN) * .plusSyncInfo(syncInfoBuilder -> syncInfoBuilder) * .origin(CartOrigin.CUSTOMER) @@ -182,7 +186,15 @@ public interface Order extends BaseResource, com.commercetools.api.models.Domain public TaxedPrice getTaxedPrice(); /** - * + *

    Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

    + */ + @Valid + @JsonProperty("taxedShippingPrice") + public TaxedPrice getTaxedShippingPrice(); + + /** + *

    Holds all shipping-related information per Shipping Method.

    + *

    For Multi ShippingMode, it is updated automatically after the Shipping Methods are added.

    */ @Valid @JsonProperty("shippingAddress") @@ -195,6 +207,22 @@ public interface Order extends BaseResource, com.commercetools.api.models.Domain @JsonProperty("billingAddress") public Address getBillingAddress(); + /** + *

    Indicates whether one or multiple Shipping Methods are added to the Cart.

    + */ + @NotNull + @JsonProperty("shippingMode") + public ShippingMode getShippingMode(); + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + @NotNull + @Valid + @JsonProperty("shipping") + public List getShipping(); + /** * */ @@ -403,10 +431,19 @@ public interface Order extends BaseResource, com.commercetools.api.models.Domain public void setTaxedPrice(final TaxedPrice taxedPrice); + public void setTaxedShippingPrice(final TaxedPrice taxedShippingPrice); + public void setShippingAddress(final Address shippingAddress); public void setBillingAddress(final Address billingAddress); + public void setShippingMode(final ShippingMode shippingMode); + + @JsonIgnore + public void setShipping(final Shipping... shipping); + + public void setShipping(final List shipping); + public void setTaxMode(final TaxMode taxMode); public void setTaxRoundingMode(final RoundingMode taxRoundingMode); @@ -493,8 +530,11 @@ public static Order of(final Order template) { instance.setCustomLineItems(template.getCustomLineItems()); instance.setTotalPrice(template.getTotalPrice()); instance.setTaxedPrice(template.getTaxedPrice()); + instance.setTaxedShippingPrice(template.getTaxedShippingPrice()); instance.setShippingAddress(template.getShippingAddress()); instance.setBillingAddress(template.getBillingAddress()); + instance.setShippingMode(template.getShippingMode()); + instance.setShipping(template.getShipping()); instance.setTaxMode(template.getTaxMode()); instance.setTaxRoundingMode(template.getTaxRoundingMode()); instance.setCustomerGroup(template.getCustomerGroup()); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryAction.java index 1b4e50ba002..1d2f18507fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryAction.java @@ -40,6 +40,13 @@ public interface OrderAddDeliveryAction @JsonProperty("items") public List getItems(); + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + @JsonProperty("shippingKey") + public String getShippingKey(); + /** * */ @@ -66,6 +73,8 @@ public interface OrderAddDeliveryAction public void setItems(final List items); + public void setShippingKey(final String shippingKey); + public void setAddress(final BaseAddress address); @JsonIgnore @@ -82,6 +91,7 @@ public static OrderAddDeliveryAction of() { public static OrderAddDeliveryAction of(final OrderAddDeliveryAction template) { OrderAddDeliveryActionImpl instance = new OrderAddDeliveryActionImpl(); instance.setItems(template.getItems()); + instance.setShippingKey(template.getShippingKey()); instance.setAddress(template.getAddress()); instance.setParcels(template.getParcels()); instance.setCustom(template.getCustom()); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryActionBuilder.java index b7541cb02b9..c42d5982ac7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryActionBuilder.java @@ -26,6 +26,9 @@ public class OrderAddDeliveryActionBuilder implements Builder items; + @Nullable + private String shippingKey; + @Nullable private com.commercetools.api.models.common.BaseAddress address; @@ -92,6 +95,15 @@ public OrderAddDeliveryActionBuilder withItems( return this; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public OrderAddDeliveryActionBuilder shippingKey(@Nullable final String shippingKey) { + this.shippingKey = shippingKey; + return this; + } + /** * */ @@ -194,6 +206,11 @@ public java.util.List getItems( return this.items; } + @Nullable + public String getShippingKey() { + return this.shippingKey; + } + @Nullable public com.commercetools.api.models.common.BaseAddress getAddress() { return this.address; @@ -210,14 +227,14 @@ public com.commercetools.api.models.type.CustomFieldsDraft getCustom() { } public OrderAddDeliveryAction build() { - return new OrderAddDeliveryActionImpl(items, address, parcels, custom); + return new OrderAddDeliveryActionImpl(items, shippingKey, address, parcels, custom); } /** * builds OrderAddDeliveryAction without checking for non null required values */ public OrderAddDeliveryAction buildUnchecked() { - return new OrderAddDeliveryActionImpl(items, address, parcels, custom); + return new OrderAddDeliveryActionImpl(items, shippingKey, address, parcels, custom); } public static OrderAddDeliveryActionBuilder of() { @@ -227,6 +244,7 @@ public static OrderAddDeliveryActionBuilder of() { public static OrderAddDeliveryActionBuilder of(final OrderAddDeliveryAction template) { OrderAddDeliveryActionBuilder builder = new OrderAddDeliveryActionBuilder(); builder.items = template.getItems(); + builder.shippingKey = template.getShippingKey(); builder.address = template.getAddress(); builder.parcels = template.getParcels(); builder.custom = template.getCustom(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryActionImpl.java index c4de37b2b3c..16d456db3d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddDeliveryActionImpl.java @@ -24,6 +24,8 @@ public class OrderAddDeliveryActionImpl implements OrderAddDeliveryAction, Model private java.util.List items; + private String shippingKey; + private com.commercetools.api.models.common.BaseAddress address; private java.util.List parcels; @@ -33,10 +35,12 @@ public class OrderAddDeliveryActionImpl implements OrderAddDeliveryAction, Model @JsonCreator OrderAddDeliveryActionImpl( @JsonProperty("items") final java.util.List items, + @JsonProperty("shippingKey") final String shippingKey, @JsonProperty("address") final com.commercetools.api.models.common.BaseAddress address, @JsonProperty("parcels") final java.util.List parcels, @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom) { this.items = items; + this.shippingKey = shippingKey; this.address = address; this.parcels = parcels; this.custom = custom; @@ -63,6 +67,14 @@ public java.util.List getItems( return this.items; } + /** + *

    User-defined unique identifier of the Shipping Method in a Cart with Multi ShippingMode.

    + */ + + public String getShippingKey() { + return this.shippingKey; + } + /** * */ @@ -95,6 +107,10 @@ public void setItems(final java.util.List lineItemsBuilder) * .plusCustomLineItems(customLineItemsBuilder -> customLineItemsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) + * .shippingMode(ShippingMode.SINGLE) + * .plusShipping(shippingBuilder -> shippingBuilder) * .orderState(OrderState.OPEN) * .plusSyncInfo(syncInfoBuilder -> syncInfoBuilder) * .origin(CartOrigin.CUSTOMER) @@ -75,12 +77,19 @@ public class OrderBuilder implements Builder { @Nullable private com.commercetools.api.models.cart.TaxedPrice taxedPrice; + @Nullable + private com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice; + @Nullable private com.commercetools.api.models.common.Address shippingAddress; @Nullable private com.commercetools.api.models.common.Address billingAddress; + private com.commercetools.api.models.cart.ShippingMode shippingMode; + + private java.util.List shipping; + @Nullable private com.commercetools.api.models.cart.TaxMode taxMode; @@ -437,7 +446,28 @@ public OrderBuilder taxedPrice(@Nullable final com.commercetools.api.models.cart } /** - * + *

    Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

    + */ + + public OrderBuilder taxedShippingPrice( + Function builder) { + this.taxedShippingPrice = builder.apply(com.commercetools.api.models.cart.TaxedPriceBuilder.of()).build(); + return this; + } + + /** + *

    Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

    + */ + + public OrderBuilder taxedShippingPrice( + @Nullable final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice) { + this.taxedShippingPrice = taxedShippingPrice; + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method.

    + *

    For Multi ShippingMode, it is updated automatically after the Shipping Methods are added.

    */ public OrderBuilder shippingAddress( @@ -447,7 +477,8 @@ public OrderBuilder shippingAddress( } /** - * + *

    Holds all shipping-related information per Shipping Method.

    + *

    For Multi ShippingMode, it is updated automatically after the Shipping Methods are added.

    */ public OrderBuilder shippingAddress(@Nullable final com.commercetools.api.models.common.Address shippingAddress) { @@ -474,6 +505,74 @@ public OrderBuilder billingAddress(@Nullable final com.commercetools.api.models. return this; } + /** + *

    Indicates whether one or multiple Shipping Methods are added to the Cart.

    + */ + + public OrderBuilder shippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public OrderBuilder shipping(final com.commercetools.api.models.cart.Shipping... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public OrderBuilder shipping(final java.util.List shipping) { + this.shipping = shipping; + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public OrderBuilder plusShipping(final com.commercetools.api.models.cart.Shipping... shipping) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.addAll(Arrays.asList(shipping)); + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public OrderBuilder plusShipping( + Function builder) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.add(builder.apply(com.commercetools.api.models.cart.ShippingBuilder.of()).build()); + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public OrderBuilder withShipping( + Function builder) { + this.shipping = new ArrayList<>(); + this.shipping.add(builder.apply(com.commercetools.api.models.cart.ShippingBuilder.of()).build()); + return this; + } + /** * */ @@ -1086,6 +1185,11 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() { return this.taxedPrice; } + @Nullable + public com.commercetools.api.models.cart.TaxedPrice getTaxedShippingPrice() { + return this.taxedShippingPrice; + } + @Nullable public com.commercetools.api.models.common.Address getShippingAddress() { return this.shippingAddress; @@ -1096,6 +1200,14 @@ public com.commercetools.api.models.common.Address getBillingAddress() { return this.billingAddress; } + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + public java.util.List getShipping() { + return this.shipping; + } + @Nullable public com.commercetools.api.models.cart.TaxMode getTaxMode() { return this.taxMode; @@ -1221,16 +1333,18 @@ public Order build() { Objects.requireNonNull(lineItems, Order.class + ": lineItems is missing"); Objects.requireNonNull(customLineItems, Order.class + ": customLineItems is missing"); Objects.requireNonNull(totalPrice, Order.class + ": totalPrice is missing"); + Objects.requireNonNull(shippingMode, Order.class + ": shippingMode is missing"); + Objects.requireNonNull(shipping, Order.class + ": shipping is missing"); Objects.requireNonNull(orderState, Order.class + ": orderState is missing"); Objects.requireNonNull(syncInfo, Order.class + ": syncInfo is missing"); Objects.requireNonNull(origin, Order.class + ": origin is missing"); Objects.requireNonNull(refusedGifts, Order.class + ": refusedGifts is missing"); return new OrderImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, completedAt, orderNumber, customerId, customerEmail, anonymousId, store, lineItems, customLineItems, totalPrice, - taxedPrice, shippingAddress, billingAddress, taxMode, taxRoundingMode, customerGroup, country, orderState, - state, shipmentState, paymentState, shippingInfo, syncInfo, returnInfo, discountCodes, - lastMessageSequenceNumber, cart, quote, custom, paymentInfo, locale, inventoryMode, origin, - taxCalculationMode, shippingRateInput, itemShippingAddresses, refusedGifts); + taxedPrice, taxedShippingPrice, shippingAddress, billingAddress, shippingMode, shipping, taxMode, + taxRoundingMode, customerGroup, country, orderState, state, shipmentState, paymentState, shippingInfo, + syncInfo, returnInfo, discountCodes, lastMessageSequenceNumber, cart, quote, custom, paymentInfo, locale, + inventoryMode, origin, taxCalculationMode, shippingRateInput, itemShippingAddresses, refusedGifts); } /** @@ -1239,10 +1353,10 @@ public Order build() { public Order buildUnchecked() { return new OrderImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, completedAt, orderNumber, customerId, customerEmail, anonymousId, store, lineItems, customLineItems, totalPrice, - taxedPrice, shippingAddress, billingAddress, taxMode, taxRoundingMode, customerGroup, country, orderState, - state, shipmentState, paymentState, shippingInfo, syncInfo, returnInfo, discountCodes, - lastMessageSequenceNumber, cart, quote, custom, paymentInfo, locale, inventoryMode, origin, - taxCalculationMode, shippingRateInput, itemShippingAddresses, refusedGifts); + taxedPrice, taxedShippingPrice, shippingAddress, billingAddress, shippingMode, shipping, taxMode, + taxRoundingMode, customerGroup, country, orderState, state, shipmentState, paymentState, shippingInfo, + syncInfo, returnInfo, discountCodes, lastMessageSequenceNumber, cart, quote, custom, paymentInfo, locale, + inventoryMode, origin, taxCalculationMode, shippingRateInput, itemShippingAddresses, refusedGifts); } public static OrderBuilder of() { @@ -1267,8 +1381,11 @@ public static OrderBuilder of(final Order template) { builder.customLineItems = template.getCustomLineItems(); builder.totalPrice = template.getTotalPrice(); builder.taxedPrice = template.getTaxedPrice(); + builder.taxedShippingPrice = template.getTaxedShippingPrice(); builder.shippingAddress = template.getShippingAddress(); builder.billingAddress = template.getBillingAddress(); + builder.shippingMode = template.getShippingMode(); + builder.shipping = template.getShipping(); builder.taxMode = template.getTaxMode(); builder.taxRoundingMode = template.getTaxRoundingMode(); builder.customerGroup = template.getCustomerGroup(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraft.java index ee3b57be0af..adcba7a61b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraft.java @@ -41,7 +41,7 @@ public interface OrderFromCartDraft { public String getId(); /** - *

    ResourceIdentifier to the Cart from which this order is created.

    + *

    ResourceIdentifier of the Cart from which this order is created.

    */ @Valid @JsonProperty("cart") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraftBuilder.java index b0e6c6af610..6f9ec77640a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraftBuilder.java @@ -61,7 +61,7 @@ public OrderFromCartDraftBuilder id(@Nullable final String id) { } /** - *

    ResourceIdentifier to the Cart from which this order is created.

    + *

    ResourceIdentifier of the Cart from which this order is created.

    */ public OrderFromCartDraftBuilder cart( @@ -71,7 +71,7 @@ public OrderFromCartDraftBuilder cart( } /** - *

    ResourceIdentifier to the Cart from which this order is created.

    + *

    ResourceIdentifier of the Cart from which this order is created.

    */ public OrderFromCartDraftBuilder cart( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraftImpl.java index b5c577cf4aa..d0b3e3ee8e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromCartDraftImpl.java @@ -71,7 +71,7 @@ public String getId() { } /** - *

    ResourceIdentifier to the Cart from which this order is created.

    + *

    ResourceIdentifier of the Cart from which this order is created.

    */ public com.commercetools.api.models.cart.CartResourceIdentifier getCart() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraft.java index 8a146e81ff9..d7ab97eccbf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraft.java @@ -34,7 +34,7 @@ public interface OrderFromQuoteDraft { /** - *

    ResourceIdentifier to the Quote from which this order is created. If the quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also if the Quote has expired (validTo check).

    + *

    ResourceIdentifier of the Quote from which this Order is created. If the Quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also if the Quote has expired (validTo check).

    */ @NotNull @Valid @@ -42,7 +42,7 @@ public interface OrderFromQuoteDraft { public QuoteResourceIdentifier getQuote(); /** - *

    The version of the Quote from which an Order is created.

    + *

    version of the Quote from which an Order is created.

    */ @NotNull @JsonProperty("version") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraftBuilder.java index bb5da0d7ad7..201636e72ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraftBuilder.java @@ -45,7 +45,7 @@ public class OrderFromQuoteDraftBuilder implements Builder private com.commercetools.api.models.state.StateResourceIdentifier state; /** - *

    ResourceIdentifier to the Quote from which this order is created. If the quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also if the Quote has expired (validTo check).

    + *

    ResourceIdentifier of the Quote from which this Order is created. If the Quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also if the Quote has expired (validTo check).

    */ public OrderFromQuoteDraftBuilder quote( @@ -55,7 +55,7 @@ public OrderFromQuoteDraftBuilder quote( } /** - *

    ResourceIdentifier to the Quote from which this order is created. If the quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also if the Quote has expired (validTo check).

    + *

    ResourceIdentifier of the Quote from which this Order is created. If the Quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also if the Quote has expired (validTo check).

    */ public OrderFromQuoteDraftBuilder quote(final com.commercetools.api.models.quote.QuoteResourceIdentifier quote) { @@ -64,7 +64,7 @@ public OrderFromQuoteDraftBuilder quote(final com.commercetools.api.models.quote } /** - *

    The version of the Quote from which an Order is created.

    + *

    version of the Quote from which an Order is created.

    */ public OrderFromQuoteDraftBuilder version(final Long version) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraftImpl.java index 8edaddb3cb8..92c6ca8d2e4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderFromQuoteDraftImpl.java @@ -55,7 +55,7 @@ public OrderFromQuoteDraftImpl() { } /** - *

    ResourceIdentifier to the Quote from which this order is created. If the quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also if the Quote has expired (validTo check).

    + *

    ResourceIdentifier of the Quote from which this Order is created. If the Quote has QuoteState in Accepted, Declined or Withdrawn then the order creation will fail. The creation will also if the Quote has expired (validTo check).

    */ public com.commercetools.api.models.quote.QuoteResourceIdentifier getQuote() { @@ -63,7 +63,7 @@ public com.commercetools.api.models.quote.QuoteResourceIdentifier getQuote() { } /** - *

    The version of the Quote from which an Order is created.

    + *

    version of the Quote from which an Order is created.

    */ public Long getVersion() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImpl.java index a9e41c53636..6655cb7451f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImpl.java @@ -52,10 +52,16 @@ public class OrderImpl implements Order, ModelBase { private com.commercetools.api.models.cart.TaxedPrice taxedPrice; + private com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice; + private com.commercetools.api.models.common.Address shippingAddress; private com.commercetools.api.models.common.Address billingAddress; + private com.commercetools.api.models.cart.ShippingMode shippingMode; + + private java.util.List shipping; + private com.commercetools.api.models.cart.TaxMode taxMode; private com.commercetools.api.models.cart.RoundingMode taxRoundingMode; @@ -120,8 +126,11 @@ public class OrderImpl implements Order, ModelBase { @JsonProperty("customLineItems") final java.util.List customLineItems, @JsonProperty("totalPrice") final com.commercetools.api.models.common.TypedMoney totalPrice, @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedPrice taxedPrice, + @JsonProperty("taxedShippingPrice") final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice, @JsonProperty("shippingAddress") final com.commercetools.api.models.common.Address shippingAddress, @JsonProperty("billingAddress") final com.commercetools.api.models.common.Address billingAddress, + @JsonProperty("shippingMode") final com.commercetools.api.models.cart.ShippingMode shippingMode, + @JsonProperty("shipping") final java.util.List shipping, @JsonProperty("taxMode") final com.commercetools.api.models.cart.TaxMode taxMode, @JsonProperty("taxRoundingMode") final com.commercetools.api.models.cart.RoundingMode taxRoundingMode, @JsonProperty("customerGroup") final com.commercetools.api.models.customer_group.CustomerGroupReference customerGroup, @@ -162,8 +171,11 @@ public class OrderImpl implements Order, ModelBase { this.customLineItems = customLineItems; this.totalPrice = totalPrice; this.taxedPrice = taxedPrice; + this.taxedShippingPrice = taxedShippingPrice; this.shippingAddress = shippingAddress; this.billingAddress = billingAddress; + this.shippingMode = shippingMode; + this.shipping = shipping; this.taxMode = taxMode; this.taxRoundingMode = taxRoundingMode; this.customerGroup = customerGroup; @@ -322,7 +334,16 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() { } /** - * + *

    Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

    + */ + + public com.commercetools.api.models.cart.TaxedPrice getTaxedShippingPrice() { + return this.taxedShippingPrice; + } + + /** + *

    Holds all shipping-related information per Shipping Method.

    + *

    For Multi ShippingMode, it is updated automatically after the Shipping Methods are added.

    */ public com.commercetools.api.models.common.Address getShippingAddress() { @@ -337,6 +358,23 @@ public com.commercetools.api.models.common.Address getBillingAddress() { return this.billingAddress; } + /** + *

    Indicates whether one or multiple Shipping Methods are added to the Cart.

    + */ + + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public java.util.List getShipping() { + return this.shipping; + } + /** * */ @@ -602,6 +640,10 @@ public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedPrice tax this.taxedPrice = taxedPrice; } + public void setTaxedShippingPrice(final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice) { + this.taxedShippingPrice = taxedShippingPrice; + } + public void setShippingAddress(final com.commercetools.api.models.common.Address shippingAddress) { this.shippingAddress = shippingAddress; } @@ -610,6 +652,18 @@ public void setBillingAddress(final com.commercetools.api.models.common.Address this.billingAddress = billingAddress; } + public void setShippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + } + + public void setShipping(final com.commercetools.api.models.cart.Shipping... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + } + + public void setShipping(final java.util.List shipping) { + this.shipping = shipping; + } + public void setTaxMode(final com.commercetools.api.models.cart.TaxMode taxMode) { this.taxMode = taxMode; } @@ -758,8 +812,11 @@ public boolean equals(Object o) { .append(customLineItems, that.customLineItems) .append(totalPrice, that.totalPrice) .append(taxedPrice, that.taxedPrice) + .append(taxedShippingPrice, that.taxedShippingPrice) .append(shippingAddress, that.shippingAddress) .append(billingAddress, that.billingAddress) + .append(shippingMode, that.shippingMode) + .append(shipping, that.shipping) .append(taxMode, that.taxMode) .append(taxRoundingMode, that.taxRoundingMode) .append(customerGroup, that.customerGroup) @@ -805,8 +862,11 @@ public int hashCode() { .append(customLineItems) .append(totalPrice) .append(taxedPrice) + .append(taxedShippingPrice) .append(shippingAddress) .append(billingAddress) + .append(shippingMode) + .append(shipping) .append(taxMode) .append(taxRoundingMode) .append(customerGroup) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraft.java index 36fbd20d9d3..a9695add257 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraft.java @@ -46,7 +46,7 @@ public interface ProductVariantImportDraft { public String getSku(); /** - *

    The EmbeddedPrices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    + *

    The Embedded Prices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    */ @Valid @JsonProperty("prices") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraftBuilder.java index 881913ecc6e..df23ea0c009 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraftBuilder.java @@ -57,7 +57,7 @@ public ProductVariantImportDraftBuilder sku(@Nullable final String sku) { } /** - *

    The EmbeddedPrices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    + *

    The Embedded Prices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    */ public ProductVariantImportDraftBuilder prices( @@ -67,7 +67,7 @@ public ProductVariantImportDraftBuilder prices( } /** - *

    The EmbeddedPrices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    + *

    The Embedded Prices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    */ public ProductVariantImportDraftBuilder prices( @@ -77,7 +77,7 @@ public ProductVariantImportDraftBuilder prices( } /** - *

    The EmbeddedPrices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    + *

    The Embedded Prices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    */ public ProductVariantImportDraftBuilder plusPrices( @@ -90,7 +90,7 @@ public ProductVariantImportDraftBuilder plusPrices( } /** - *

    The EmbeddedPrices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    + *

    The Embedded Prices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    */ public ProductVariantImportDraftBuilder plusPrices( @@ -103,7 +103,7 @@ public ProductVariantImportDraftBuilder plusPrices( } /** - *

    The EmbeddedPrices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    + *

    The Embedded Prices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    */ public ProductVariantImportDraftBuilder withPrices( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraftImpl.java index cc1a4e1cfff..f34c4864899 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ProductVariantImportDraftImpl.java @@ -62,7 +62,7 @@ public String getSku() { } /** - *

    The EmbeddedPrices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    + *

    The Embedded Prices of the variant. The prices should not contain two prices for the same price scope (same currency, country, customer group, channel, valid from and valid until). If this property is defined, then it will override the prices property from the original product variant, otherwise prices property from the original product variant would be copied in the resulting order.

    */ public java.util.List getPrices() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrder.java index 63db7510d14..d37905ed5c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrder.java @@ -26,6 +26,8 @@ * .plusLineItems(lineItemsBuilder -> lineItemsBuilder) * .plusCustomLineItems(customLineItemsBuilder -> customLineItemsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) + * .shippingMode(ShippingMode.SINGLE) + * .plusShipping(shippingBuilder -> shippingBuilder) * .orderState(OrderState.OPEN) * .plusSyncInfo(syncInfoBuilder -> syncInfoBuilder) * .origin(CartOrigin.CUSTOMER) @@ -60,8 +62,11 @@ public static StagedOrder of(final StagedOrder template) { instance.setCustomLineItems(template.getCustomLineItems()); instance.setTotalPrice(template.getTotalPrice()); instance.setTaxedPrice(template.getTaxedPrice()); + instance.setTaxedShippingPrice(template.getTaxedShippingPrice()); instance.setShippingAddress(template.getShippingAddress()); instance.setBillingAddress(template.getBillingAddress()); + instance.setShippingMode(template.getShippingMode()); + instance.setShipping(template.getShipping()); instance.setTaxMode(template.getTaxMode()); instance.setTaxRoundingMode(template.getTaxRoundingMode()); instance.setCustomerGroup(template.getCustomerGroup()); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemAction.java index 5f99349b101..b3ae365fe05 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemAction.java @@ -8,6 +8,7 @@ import javax.validation.Valid; import javax.validation.constraints.NotNull; +import com.commercetools.api.models.cart.CustomLineItemPriceMode; import com.commercetools.api.models.cart.ExternalTaxRateDraft; import com.commercetools.api.models.common.LocalizedString; import com.commercetools.api.models.common.Money; @@ -93,6 +94,16 @@ public interface StagedOrderAddCustomLineItemAction extends StagedOrderUpdateAct @JsonProperty("externalTaxRate") public ExternalTaxRateDraft getExternalTaxRate(); + /** + *
      + *
    • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
    • + *
    • If External, Cart Discounts are not considered on the Custom Line Item.
    • + *
    + */ + + @JsonProperty("priceMode") + public CustomLineItemPriceMode getPriceMode(); + public void setMoney(final Money money); public void setName(final LocalizedString name); @@ -107,6 +118,8 @@ public interface StagedOrderAddCustomLineItemAction extends StagedOrderUpdateAct public void setExternalTaxRate(final ExternalTaxRateDraft externalTaxRate); + public void setPriceMode(final CustomLineItemPriceMode priceMode); + public static StagedOrderAddCustomLineItemAction of() { return new StagedOrderAddCustomLineItemActionImpl(); } @@ -120,6 +133,7 @@ public static StagedOrderAddCustomLineItemAction of(final StagedOrderAddCustomLi instance.setTaxCategory(template.getTaxCategory()); instance.setCustom(template.getCustom()); instance.setExternalTaxRate(template.getExternalTaxRate()); + instance.setPriceMode(template.getPriceMode()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemActionBuilder.java index 5b660d68cc5..9b9a84791da 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemActionBuilder.java @@ -44,6 +44,9 @@ public class StagedOrderAddCustomLineItemActionBuilder implements BuilderDraft type that stores amounts in cent precision for the specified currency.

    *

    For storing money values in fractions of the minor unit in a currency, use HighPrecisionMoneyDraft instead.

    @@ -166,6 +169,19 @@ public StagedOrderAddCustomLineItemActionBuilder externalTaxRate( return this; } + /** + *
      + *
    • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
    • + *
    • If External, Cart Discounts are not considered on the Custom Line Item.
    • + *
    + */ + + public StagedOrderAddCustomLineItemActionBuilder priceMode( + @Nullable final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { + this.priceMode = priceMode; + return this; + } + public com.commercetools.api.models.common.Money getMoney() { return this.money; } @@ -198,12 +214,17 @@ public com.commercetools.api.models.cart.ExternalTaxRateDraft getExternalTaxRate return this.externalTaxRate; } + @Nullable + public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { + return this.priceMode; + } + public StagedOrderAddCustomLineItemAction build() { Objects.requireNonNull(money, StagedOrderAddCustomLineItemAction.class + ": money is missing"); Objects.requireNonNull(name, StagedOrderAddCustomLineItemAction.class + ": name is missing"); Objects.requireNonNull(slug, StagedOrderAddCustomLineItemAction.class + ": slug is missing"); return new StagedOrderAddCustomLineItemActionImpl(money, name, quantity, slug, taxCategory, custom, - externalTaxRate); + externalTaxRate, priceMode); } /** @@ -211,7 +232,7 @@ public StagedOrderAddCustomLineItemAction build() { */ public StagedOrderAddCustomLineItemAction buildUnchecked() { return new StagedOrderAddCustomLineItemActionImpl(money, name, quantity, slug, taxCategory, custom, - externalTaxRate); + externalTaxRate, priceMode); } public static StagedOrderAddCustomLineItemActionBuilder of() { @@ -227,6 +248,7 @@ public static StagedOrderAddCustomLineItemActionBuilder of(final StagedOrderAddC builder.taxCategory = template.getTaxCategory(); builder.custom = template.getCustom(); builder.externalTaxRate = template.getExternalTaxRate(); + builder.priceMode = template.getPriceMode(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemActionImpl.java index 86855eef4c7..0aa4bc8c902 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddCustomLineItemActionImpl.java @@ -36,13 +36,16 @@ public class StagedOrderAddCustomLineItemActionImpl implements StagedOrderAddCus private com.commercetools.api.models.cart.ExternalTaxRateDraft externalTaxRate; + private com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode; + @JsonCreator StagedOrderAddCustomLineItemActionImpl(@JsonProperty("money") final com.commercetools.api.models.common.Money money, @JsonProperty("name") final com.commercetools.api.models.common.LocalizedString name, @JsonProperty("quantity") final Long quantity, @JsonProperty("slug") final String slug, @JsonProperty("taxCategory") final com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier taxCategory, @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom, - @JsonProperty("externalTaxRate") final com.commercetools.api.models.cart.ExternalTaxRateDraft externalTaxRate) { + @JsonProperty("externalTaxRate") final com.commercetools.api.models.cart.ExternalTaxRateDraft externalTaxRate, + @JsonProperty("priceMode") final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { this.money = money; this.name = name; this.quantity = quantity; @@ -50,6 +53,7 @@ public class StagedOrderAddCustomLineItemActionImpl implements StagedOrderAddCus this.taxCategory = taxCategory; this.custom = custom; this.externalTaxRate = externalTaxRate; + this.priceMode = priceMode; this.action = ADD_CUSTOM_LINE_ITEM; } @@ -122,6 +126,17 @@ public com.commercetools.api.models.cart.ExternalTaxRateDraft getExternalTaxRate return this.externalTaxRate; } + /** + *
      + *
    • If Standard, Cart Discounts with a matching CartDiscountCustomLineItemsTarget are applied to the Custom Line Item.
    • + *
    • If External, Cart Discounts are not considered on the Custom Line Item.
    • + *
    + */ + + public com.commercetools.api.models.cart.CustomLineItemPriceMode getPriceMode() { + return this.priceMode; + } + public void setMoney(final com.commercetools.api.models.common.Money money) { this.money = money; } @@ -151,6 +166,10 @@ public void setExternalTaxRate(final com.commercetools.api.models.cart.ExternalT this.externalTaxRate = externalTaxRate; } + public void setPriceMode(final com.commercetools.api.models.cart.CustomLineItemPriceMode priceMode) { + this.priceMode = priceMode; + } + @Override public boolean equals(Object o) { if (this == o) @@ -169,6 +188,7 @@ public boolean equals(Object o) { .append(taxCategory, that.taxCategory) .append(custom, that.custom) .append(externalTaxRate, that.externalTaxRate) + .append(priceMode, that.priceMode) .isEquals(); } @@ -182,6 +202,7 @@ public int hashCode() { .append(taxCategory) .append(custom) .append(externalTaxRate) + .append(priceMode) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderBuilder.java index bf9c2f2bd37..f6573fde34c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderBuilder.java @@ -23,6 +23,8 @@ * .plusLineItems(lineItemsBuilder -> lineItemsBuilder) * .plusCustomLineItems(customLineItemsBuilder -> customLineItemsBuilder) * .totalPrice(totalPriceBuilder -> totalPriceBuilder) + * .shippingMode(ShippingMode.SINGLE) + * .plusShipping(shippingBuilder -> shippingBuilder) * .orderState(OrderState.OPEN) * .plusSyncInfo(syncInfoBuilder -> syncInfoBuilder) * .origin(CartOrigin.CUSTOMER) @@ -75,12 +77,19 @@ public class StagedOrderBuilder implements Builder { @Nullable private com.commercetools.api.models.cart.TaxedPrice taxedPrice; + @Nullable + private com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice; + @Nullable private com.commercetools.api.models.common.Address shippingAddress; @Nullable private com.commercetools.api.models.common.Address billingAddress; + private com.commercetools.api.models.cart.ShippingMode shippingMode; + + private java.util.List shipping; + @Nullable private com.commercetools.api.models.cart.TaxMode taxMode; @@ -439,7 +448,28 @@ public StagedOrderBuilder taxedPrice(@Nullable final com.commercetools.api.model } /** - * + *

    Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

    + */ + + public StagedOrderBuilder taxedShippingPrice( + Function builder) { + this.taxedShippingPrice = builder.apply(com.commercetools.api.models.cart.TaxedPriceBuilder.of()).build(); + return this; + } + + /** + *

    Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

    + */ + + public StagedOrderBuilder taxedShippingPrice( + @Nullable final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice) { + this.taxedShippingPrice = taxedShippingPrice; + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method.

    + *

    For Multi ShippingMode, it is updated automatically after the Shipping Methods are added.

    */ public StagedOrderBuilder shippingAddress( @@ -449,7 +479,8 @@ public StagedOrderBuilder shippingAddress( } /** - * + *

    Holds all shipping-related information per Shipping Method.

    + *

    For Multi ShippingMode, it is updated automatically after the Shipping Methods are added.

    */ public StagedOrderBuilder shippingAddress( @@ -478,6 +509,74 @@ public StagedOrderBuilder billingAddress( return this; } + /** + *

    Indicates whether one or multiple Shipping Methods are added to the Cart.

    + */ + + public StagedOrderBuilder shippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public StagedOrderBuilder shipping(final com.commercetools.api.models.cart.Shipping... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public StagedOrderBuilder shipping(final java.util.List shipping) { + this.shipping = shipping; + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public StagedOrderBuilder plusShipping(final com.commercetools.api.models.cart.Shipping... shipping) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.addAll(Arrays.asList(shipping)); + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public StagedOrderBuilder plusShipping( + Function builder) { + if (this.shipping == null) { + this.shipping = new ArrayList<>(); + } + this.shipping.add(builder.apply(com.commercetools.api.models.cart.ShippingBuilder.of()).build()); + return this; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public StagedOrderBuilder withShipping( + Function builder) { + this.shipping = new ArrayList<>(); + this.shipping.add(builder.apply(com.commercetools.api.models.cart.ShippingBuilder.of()).build()); + return this; + } + /** * */ @@ -1095,6 +1194,11 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() { return this.taxedPrice; } + @Nullable + public com.commercetools.api.models.cart.TaxedPrice getTaxedShippingPrice() { + return this.taxedShippingPrice; + } + @Nullable public com.commercetools.api.models.common.Address getShippingAddress() { return this.shippingAddress; @@ -1105,6 +1209,14 @@ public com.commercetools.api.models.common.Address getBillingAddress() { return this.billingAddress; } + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + public java.util.List getShipping() { + return this.shipping; + } + @Nullable public com.commercetools.api.models.cart.TaxMode getTaxMode() { return this.taxMode; @@ -1230,16 +1342,18 @@ public StagedOrder build() { Objects.requireNonNull(lineItems, StagedOrder.class + ": lineItems is missing"); Objects.requireNonNull(customLineItems, StagedOrder.class + ": customLineItems is missing"); Objects.requireNonNull(totalPrice, StagedOrder.class + ": totalPrice is missing"); + Objects.requireNonNull(shippingMode, StagedOrder.class + ": shippingMode is missing"); + Objects.requireNonNull(shipping, StagedOrder.class + ": shipping is missing"); Objects.requireNonNull(orderState, StagedOrder.class + ": orderState is missing"); Objects.requireNonNull(syncInfo, StagedOrder.class + ": syncInfo is missing"); Objects.requireNonNull(origin, StagedOrder.class + ": origin is missing"); Objects.requireNonNull(refusedGifts, StagedOrder.class + ": refusedGifts is missing"); return new StagedOrderImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, completedAt, orderNumber, customerId, customerEmail, anonymousId, store, lineItems, customLineItems, totalPrice, - taxedPrice, shippingAddress, billingAddress, taxMode, taxRoundingMode, customerGroup, country, orderState, - state, shipmentState, paymentState, shippingInfo, syncInfo, returnInfo, discountCodes, - lastMessageSequenceNumber, cart, quote, custom, paymentInfo, locale, inventoryMode, origin, - taxCalculationMode, shippingRateInput, itemShippingAddresses, refusedGifts); + taxedPrice, taxedShippingPrice, shippingAddress, billingAddress, shippingMode, shipping, taxMode, + taxRoundingMode, customerGroup, country, orderState, state, shipmentState, paymentState, shippingInfo, + syncInfo, returnInfo, discountCodes, lastMessageSequenceNumber, cart, quote, custom, paymentInfo, locale, + inventoryMode, origin, taxCalculationMode, shippingRateInput, itemShippingAddresses, refusedGifts); } /** @@ -1248,10 +1362,10 @@ public StagedOrder build() { public StagedOrder buildUnchecked() { return new StagedOrderImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, completedAt, orderNumber, customerId, customerEmail, anonymousId, store, lineItems, customLineItems, totalPrice, - taxedPrice, shippingAddress, billingAddress, taxMode, taxRoundingMode, customerGroup, country, orderState, - state, shipmentState, paymentState, shippingInfo, syncInfo, returnInfo, discountCodes, - lastMessageSequenceNumber, cart, quote, custom, paymentInfo, locale, inventoryMode, origin, - taxCalculationMode, shippingRateInput, itemShippingAddresses, refusedGifts); + taxedPrice, taxedShippingPrice, shippingAddress, billingAddress, shippingMode, shipping, taxMode, + taxRoundingMode, customerGroup, country, orderState, state, shipmentState, paymentState, shippingInfo, + syncInfo, returnInfo, discountCodes, lastMessageSequenceNumber, cart, quote, custom, paymentInfo, locale, + inventoryMode, origin, taxCalculationMode, shippingRateInput, itemShippingAddresses, refusedGifts); } public static StagedOrderBuilder of() { @@ -1276,8 +1390,11 @@ public static StagedOrderBuilder of(final StagedOrder template) { builder.customLineItems = template.getCustomLineItems(); builder.totalPrice = template.getTotalPrice(); builder.taxedPrice = template.getTaxedPrice(); + builder.taxedShippingPrice = template.getTaxedShippingPrice(); builder.shippingAddress = template.getShippingAddress(); builder.billingAddress = template.getBillingAddress(); + builder.shippingMode = template.getShippingMode(); + builder.shipping = template.getShipping(); builder.taxMode = template.getTaxMode(); builder.taxRoundingMode = template.getTaxRoundingMode(); builder.customerGroup = template.getCustomerGroup(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImpl.java index ab55d50198f..ecd6a512342 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImpl.java @@ -52,10 +52,16 @@ public class StagedOrderImpl implements StagedOrder, ModelBase { private com.commercetools.api.models.cart.TaxedPrice taxedPrice; + private com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice; + private com.commercetools.api.models.common.Address shippingAddress; private com.commercetools.api.models.common.Address billingAddress; + private com.commercetools.api.models.cart.ShippingMode shippingMode; + + private java.util.List shipping; + private com.commercetools.api.models.cart.TaxMode taxMode; private com.commercetools.api.models.cart.RoundingMode taxRoundingMode; @@ -120,8 +126,11 @@ public class StagedOrderImpl implements StagedOrder, ModelBase { @JsonProperty("customLineItems") final java.util.List customLineItems, @JsonProperty("totalPrice") final com.commercetools.api.models.common.TypedMoney totalPrice, @JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedPrice taxedPrice, + @JsonProperty("taxedShippingPrice") final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice, @JsonProperty("shippingAddress") final com.commercetools.api.models.common.Address shippingAddress, @JsonProperty("billingAddress") final com.commercetools.api.models.common.Address billingAddress, + @JsonProperty("shippingMode") final com.commercetools.api.models.cart.ShippingMode shippingMode, + @JsonProperty("shipping") final java.util.List shipping, @JsonProperty("taxMode") final com.commercetools.api.models.cart.TaxMode taxMode, @JsonProperty("taxRoundingMode") final com.commercetools.api.models.cart.RoundingMode taxRoundingMode, @JsonProperty("customerGroup") final com.commercetools.api.models.customer_group.CustomerGroupReference customerGroup, @@ -162,8 +171,11 @@ public class StagedOrderImpl implements StagedOrder, ModelBase { this.customLineItems = customLineItems; this.totalPrice = totalPrice; this.taxedPrice = taxedPrice; + this.taxedShippingPrice = taxedShippingPrice; this.shippingAddress = shippingAddress; this.billingAddress = billingAddress; + this.shippingMode = shippingMode; + this.shipping = shipping; this.taxMode = taxMode; this.taxRoundingMode = taxRoundingMode; this.customerGroup = customerGroup; @@ -322,7 +334,16 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() { } /** - * + *

    Sum of taxedPrice of ShippingInfo across all Shipping Methods. For Platform TaxMode, it is set automatically only if shipping address is set or Shipping Method is added to the Cart.

    + */ + + public com.commercetools.api.models.cart.TaxedPrice getTaxedShippingPrice() { + return this.taxedShippingPrice; + } + + /** + *

    Holds all shipping-related information per Shipping Method.

    + *

    For Multi ShippingMode, it is updated automatically after the Shipping Methods are added.

    */ public com.commercetools.api.models.common.Address getShippingAddress() { @@ -337,6 +358,23 @@ public com.commercetools.api.models.common.Address getBillingAddress() { return this.billingAddress; } + /** + *

    Indicates whether one or multiple Shipping Methods are added to the Cart.

    + */ + + public com.commercetools.api.models.cart.ShippingMode getShippingMode() { + return this.shippingMode; + } + + /** + *

    Holds all shipping-related information per Shipping Method for Multi ShippingMode.

    + *

    It is updated automatically after the Shipping Method is added.

    + */ + + public java.util.List getShipping() { + return this.shipping; + } + /** * */ @@ -602,6 +640,10 @@ public void setTaxedPrice(final com.commercetools.api.models.cart.TaxedPrice tax this.taxedPrice = taxedPrice; } + public void setTaxedShippingPrice(final com.commercetools.api.models.cart.TaxedPrice taxedShippingPrice) { + this.taxedShippingPrice = taxedShippingPrice; + } + public void setShippingAddress(final com.commercetools.api.models.common.Address shippingAddress) { this.shippingAddress = shippingAddress; } @@ -610,6 +652,18 @@ public void setBillingAddress(final com.commercetools.api.models.common.Address this.billingAddress = billingAddress; } + public void setShippingMode(final com.commercetools.api.models.cart.ShippingMode shippingMode) { + this.shippingMode = shippingMode; + } + + public void setShipping(final com.commercetools.api.models.cart.Shipping... shipping) { + this.shipping = new ArrayList<>(Arrays.asList(shipping)); + } + + public void setShipping(final java.util.List shipping) { + this.shipping = shipping; + } + public void setTaxMode(final com.commercetools.api.models.cart.TaxMode taxMode) { this.taxMode = taxMode; } @@ -758,8 +812,11 @@ public boolean equals(Object o) { .append(customLineItems, that.customLineItems) .append(totalPrice, that.totalPrice) .append(taxedPrice, that.taxedPrice) + .append(taxedShippingPrice, that.taxedShippingPrice) .append(shippingAddress, that.shippingAddress) .append(billingAddress, that.billingAddress) + .append(shippingMode, that.shippingMode) + .append(shipping, that.shipping) .append(taxMode, that.taxMode) .append(taxRoundingMode, that.taxRoundingMode) .append(customerGroup, that.customerGroup) @@ -805,8 +862,11 @@ public int hashCode() { .append(customLineItems) .append(totalPrice) .append(taxedPrice) + .append(taxedShippingPrice) .append(shippingAddress) .append(billingAddress) + .append(shippingMode) + .append(shipping) .append(taxMode) .append(taxRoundingMode) .append(customerGroup) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/Attribute.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/Attribute.java index c26fd30b2c4..6ca98f2d4b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/Attribute.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/Attribute.java @@ -30,14 +30,22 @@ public interface Attribute { /** - * + *

    Name of the Attribute.

    */ @NotNull @JsonProperty("name") public String getName(); /** - *

    A valid JSON value, based on an AttributeDefinition.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ @NotNull @JsonProperty("value") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/AttributeBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/AttributeBuilder.java index 49e5dc8f31c..cb14fccae72 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/AttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/AttributeBuilder.java @@ -26,7 +26,7 @@ public class AttributeBuilder implements Builder { private java.lang.Object value; /** - * + *

    Name of the Attribute.

    */ public AttributeBuilder name(final String name) { @@ -35,7 +35,15 @@ public AttributeBuilder name(final String name) { } /** - *

    A valid JSON value, based on an AttributeDefinition.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ public AttributeBuilder value(final java.lang.Object value) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/AttributeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/AttributeImpl.java index afd29436f19..4f4af2d8f80 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/AttributeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/AttributeImpl.java @@ -34,7 +34,7 @@ public AttributeImpl() { } /** - * + *

    Name of the Attribute.

    */ public String getName() { @@ -42,7 +42,15 @@ public String getName() { } /** - *

    A valid JSON value, based on an AttributeDefinition.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ public java.lang.Object getValue() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHints.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHints.java index 91b49f9b217..3390bcc9a55 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHints.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHints.java @@ -13,14 +13,14 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CategoryOrderHints + *

    JSON object where the key is a Category id and the value is an order hint. Allows controlling the order of Products and how they appear in Categories. Products with no order hint have an order score below 0. Order hints are non-unique. If a subset of Products have the same value for order hint in a specific category, the behavior is undetermined.

    * *
    * Example to create an instance using the builder pattern *
    *
    
      *     CategoryOrderHints categoryOrderHints = CategoryOrderHints.builder()
    - *             ./^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/("{/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/}")
    + *             ./[0-9].[0-9]*[1-9]/("{/[0-9].[0-9]*[1-9]/}")
      *             .build()
      * 
    *
    @@ -30,7 +30,7 @@ public interface CategoryOrderHints { /** - * + *

    A string representing a number between 0 and 1 that must start with 0. and cannot end with 0.

    */ @NotNull @JsonAnyGetter diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHintsBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHintsBuilder.java index e3662f4ed8a..5194a34aadc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHintsBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHintsBuilder.java @@ -13,7 +13,7 @@ *
    *
    
      *     CategoryOrderHints categoryOrderHints = CategoryOrderHints.builder()
    - *             ./^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/("{/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/}")
    + *             ./[0-9].[0-9]*[1-9]/("{/[0-9].[0-9]*[1-9]/}")
      *             .build()
      * 
    *
    @@ -24,7 +24,7 @@ public class CategoryOrderHintsBuilder implements Builder { private Map values = new HashMap<>(); /** - * + *

    A string representing a number between 0 and 1 that must start with 0. and cannot end with 0.

    */ public CategoryOrderHintsBuilder values(final Map values) { @@ -33,7 +33,7 @@ public CategoryOrderHintsBuilder values(final Map values) { } /** - * + *

    A string representing a number between 0 and 1 that must start with 0. and cannot end with 0.

    */ public CategoryOrderHintsBuilder addValue(final String key, final String value) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHintsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHintsImpl.java index 35d848070e6..bfeab4880ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHintsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CategoryOrderHintsImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CategoryOrderHints + *

    JSON object where the key is a Category id and the value is an order hint. Allows controlling the order of Products and how they appear in Categories. Products with no order hint have an order score below 0. Order hints are non-unique. If a subset of Products have the same value for order hint in a specific category, the behavior is undetermined.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryOrderHintsImpl implements CategoryOrderHints, ModelBase { @@ -31,7 +31,7 @@ public CategoryOrderHintsImpl() { } /** - * + *

    A string representing a number between 0 and 1 that must start with 0. and cannot end with 0.

    */ public Map values() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizer.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizer.java index 38d6990784b..f56689bd394 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizer.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizer.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * CustomTokenizer + *

    Define arbitrary tokens that are used to match the input.

    * *
    * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface CustomTokenizer extends SuggestTokenizer { String CUSTOM = "custom"; /** - * + *

    Contains custom tokens.

    */ @NotNull @JsonProperty("inputs") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizerBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizerBuilder.java index c4b648fc404..2313b416b63 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizerBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizerBuilder.java @@ -24,7 +24,7 @@ public class CustomTokenizerBuilder implements Builder { private java.util.List inputs; /** - * + *

    Contains custom tokens.

    */ public CustomTokenizerBuilder inputs(final String... inputs) { @@ -33,7 +33,7 @@ public CustomTokenizerBuilder inputs(final String... inputs) { } /** - * + *

    Contains custom tokens.

    */ public CustomTokenizerBuilder inputs(final java.util.List inputs) { @@ -42,7 +42,7 @@ public CustomTokenizerBuilder inputs(final java.util.List inputs) { } /** - * + *

    Contains custom tokens.

    */ public CustomTokenizerBuilder plusInputs(final String... inputs) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizerImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizerImpl.java index 6a5042c45bc..649dbbb710b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizerImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/CustomTokenizerImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * CustomTokenizer + *

    Define arbitrary tokens that are used to match the input.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomTokenizerImpl implements CustomTokenizer, ModelBase { @@ -43,7 +43,7 @@ public String getType() { } /** - * + *

    Contains custom tokens.

    */ public java.util.List getInputs() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/Product.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/Product.java index e723abdce76..6cc48d627ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/Product.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/Product.java @@ -22,7 +22,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * Product + *

    An abstract sellable good with a set of Attributes defined by a Product Type. Products themselves are not sellable. Instead, they act as a parent structure for Product Variants. Each Product must have at least one Product Variant, which is called the Master Variant. A single Product representation contains the current and the staged representation of its product data.

    * *
    * Example to create an instance using the builder pattern @@ -52,21 +52,21 @@ public interface Product extends BaseResource, com.commercetools.api.models.Doma public String getId(); /** - *

    The current version of the product.

    + *

    Current version of the Product.

    */ @NotNull @JsonProperty("version") public Long getVersion(); /** - * + *

    Date and time (UTC) the Product was initially created.

    */ @NotNull @JsonProperty("createdAt") public ZonedDateTime getCreatedAt(); /** - * + *

    Date and time (UTC) the Product was last updated.

    */ @NotNull @JsonProperty("lastModifiedAt") @@ -87,14 +87,15 @@ public interface Product extends BaseResource, com.commercetools.api.models.Doma public CreatedBy getCreatedBy(); /** - *

    User-defined unique identifier of the Product. Product keys are different from ProductVariant keys.

    + *

    User-defined unique identifier of the Product.

    + *

    This is different from the key of a ProductVariant.

    */ @JsonProperty("key") public String getKey(); /** - * + *

    The Product Type defining the Attributes of the Product. Cannot be changed.

    */ @NotNull @Valid @@ -102,7 +103,7 @@ public interface Product extends BaseResource, com.commercetools.api.models.Doma public ProductTypeReference getProductType(); /** - *

    The product data in the master catalog.

    + *

    Contains the current and the staged representation of the product information.

    */ @NotNull @Valid @@ -110,28 +111,28 @@ public interface Product extends BaseResource, com.commercetools.api.models.Doma public ProductCatalogData getMasterData(); /** - * + *

    The TaxCategory of the Product.

    */ @Valid @JsonProperty("taxCategory") public TaxCategoryReference getTaxCategory(); /** - * + *

    State of the Product.

    */ @Valid @JsonProperty("state") public StateReference getState(); /** - *

    Statistics about the review ratings taken into account for this product.

    + *

    Review statistics of the Product.

    */ @Valid @JsonProperty("reviewRatingStatistics") public ReviewRatingStatistics getReviewRatingStatistics(); /** - *

    Specifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Type of Price to be used when looking up a price for the Product.

    */ @JsonProperty("priceMode") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetAction.java index a5ffb7f794e..c6e6b68f6d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductAddAssetAction + *

    Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -34,28 +34,28 @@ public interface ProductAddAssetAction extends ProductUpdateAction { String ADD_ASSET = "addAsset"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged assets are updated. If false, both the current and staged assets are updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    Value to append.

    */ @NotNull @Valid @@ -63,7 +63,7 @@ public interface ProductAddAssetAction extends ProductUpdateAction { public AssetDraft getAsset(); /** - *

    Position of the new asset inside the existing list (from 0 to the size of the list)

    + *

    Position in assets where the Asset should be put. When specified, the value must be between 0 and the total number of Assets minus 1.

    */ @JsonProperty("position") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetActionBuilder.java index 66fe8aceede..6a0126f487b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetActionBuilder.java @@ -39,7 +39,7 @@ public class ProductAddAssetActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductAddAssetActionBuilder variantId(@Nullable final Long variantId) { @@ -48,7 +48,7 @@ public ProductAddAssetActionBuilder variantId(@Nullable final Long variantId) { } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductAddAssetActionBuilder sku(@Nullable final String sku) { @@ -57,7 +57,7 @@ public ProductAddAssetActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged assets are updated. If false, both the current and staged assets are updated.

    */ public ProductAddAssetActionBuilder staged(@Nullable final Boolean staged) { @@ -66,7 +66,7 @@ public ProductAddAssetActionBuilder staged(@Nullable final Boolean staged) { } /** - * + *

    Value to append.

    */ public ProductAddAssetActionBuilder asset( @@ -76,7 +76,7 @@ public ProductAddAssetActionBuilder asset( } /** - * + *

    Value to append.

    */ public ProductAddAssetActionBuilder asset(final com.commercetools.api.models.common.AssetDraft asset) { @@ -85,7 +85,7 @@ public ProductAddAssetActionBuilder asset(final com.commercetools.api.models.com } /** - *

    Position of the new asset inside the existing list (from 0 to the size of the list)

    + *

    Position in assets where the Asset should be put. When specified, the value must be between 0 and the total number of Assets minus 1.

    */ public ProductAddAssetActionBuilder position(@Nullable final Integer position) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetActionImpl.java index 8c73939a676..f5c2c13acfe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddAssetActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductAddAssetAction + *

    Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductAddAssetActionImpl implements ProductAddAssetAction, ModelBase { @@ -58,7 +58,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -66,7 +66,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -74,7 +74,7 @@ public String getSku() { } /** - * + *

    If true, only the staged assets are updated. If false, both the current and staged assets are updated.

    */ public Boolean getStaged() { @@ -82,7 +82,7 @@ public Boolean getStaged() { } /** - * + *

    Value to append.

    */ public com.commercetools.api.models.common.AssetDraft getAsset() { @@ -90,7 +90,7 @@ public com.commercetools.api.models.common.AssetDraft getAsset() { } /** - *

    Position of the new asset inside the existing list (from 0 to the size of the list)

    + *

    Position in assets where the Asset should be put. When specified, the value must be between 0 and the total number of Assets minus 1.

    */ public Integer getPosition() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageAction.java index 760235840d8..7158d54956d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductAddExternalImageAction + *

    Either variantId or sku is required. Produces the ProductImageAdded Message.

    * *
    * Example to create an instance using the builder pattern @@ -34,21 +34,21 @@ public interface ProductAddExternalImageAction extends ProductUpdateAction { String ADD_EXTERNAL_IMAGE = "addExternalImage"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    Value to add to images.

    */ @NotNull @Valid @@ -56,7 +56,7 @@ public interface ProductAddExternalImageAction extends ProductUpdateAction { public Image getImage(); /** - * + *

    If true, only the staged images is updated. If false, both the current and staged images is updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageActionBuilder.java index 88fa7e67d68..c000758fb4b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageActionBuilder.java @@ -36,7 +36,7 @@ public class ProductAddExternalImageActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductAddExternalImageActionBuilder variantId(@Nullable final Long variantId) { @@ -45,7 +45,7 @@ public ProductAddExternalImageActionBuilder variantId(@Nullable final Long varia } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductAddExternalImageActionBuilder sku(@Nullable final String sku) { @@ -54,7 +54,7 @@ public ProductAddExternalImageActionBuilder sku(@Nullable final String sku) { } /** - * + *

    Value to add to images.

    */ public ProductAddExternalImageActionBuilder image( @@ -64,7 +64,7 @@ public ProductAddExternalImageActionBuilder image( } /** - * + *

    Value to add to images.

    */ public ProductAddExternalImageActionBuilder image(final com.commercetools.api.models.common.Image image) { @@ -73,7 +73,7 @@ public ProductAddExternalImageActionBuilder image(final com.commercetools.api.mo } /** - * + *

    If true, only the staged images is updated. If false, both the current and staged images is updated.

    */ public ProductAddExternalImageActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageActionImpl.java index 253977e0075..1383f7f475b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddExternalImageActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductAddExternalImageAction + *

    Either variantId or sku is required. Produces the ProductImageAdded Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductAddExternalImageActionImpl implements ProductAddExternalImageAction, ModelBase { @@ -55,7 +55,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -63,7 +63,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -71,7 +71,7 @@ public String getSku() { } /** - * + *

    Value to add to images.

    */ public com.commercetools.api.models.common.Image getImage() { @@ -79,7 +79,7 @@ public com.commercetools.api.models.common.Image getImage() { } /** - * + *

    If true, only the staged images is updated. If false, both the current and staged images is updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceAction.java index 6f483c725b2..e5bf55c7dd5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductAddPriceAction + *

    Adds the given Price to the prices array of the ProductVariant. Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -34,21 +34,21 @@ public interface ProductAddPriceAction extends ProductUpdateAction { String ADD_PRICE = "addPrice"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    Embedded Price to add to the Product Variant.

    */ @NotNull @Valid @@ -56,7 +56,7 @@ public interface ProductAddPriceAction extends ProductUpdateAction { public PriceDraft getPrice(); /** - * + *

    If true, only the staged prices is updated. If false, both the current and staged prices are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceActionBuilder.java index 1157ba187f4..d30f5e5ce49 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceActionBuilder.java @@ -36,7 +36,7 @@ public class ProductAddPriceActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductAddPriceActionBuilder variantId(@Nullable final Long variantId) { @@ -45,7 +45,7 @@ public ProductAddPriceActionBuilder variantId(@Nullable final Long variantId) { } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductAddPriceActionBuilder sku(@Nullable final String sku) { @@ -54,7 +54,7 @@ public ProductAddPriceActionBuilder sku(@Nullable final String sku) { } /** - * + *

    Embedded Price to add to the Product Variant.

    */ public ProductAddPriceActionBuilder price( @@ -64,7 +64,7 @@ public ProductAddPriceActionBuilder price( } /** - * + *

    Embedded Price to add to the Product Variant.

    */ public ProductAddPriceActionBuilder price(final com.commercetools.api.models.common.PriceDraft price) { @@ -73,7 +73,7 @@ public ProductAddPriceActionBuilder price(final com.commercetools.api.models.com } /** - * + *

    If true, only the staged prices is updated. If false, both the current and staged prices are updated.

    */ public ProductAddPriceActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceActionImpl.java index f0b9781eb5c..e6b17c3730c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddPriceActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductAddPriceAction + *

    Adds the given Price to the prices array of the ProductVariant. Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductAddPriceActionImpl implements ProductAddPriceAction, ModelBase { @@ -54,7 +54,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -62,7 +62,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -70,7 +70,7 @@ public String getSku() { } /** - * + *

    Embedded Price to add to the Product Variant.

    */ public com.commercetools.api.models.common.PriceDraft getPrice() { @@ -78,7 +78,7 @@ public com.commercetools.api.models.common.PriceDraft getPrice() { } /** - * + *

    If true, only the staged prices is updated. If false, both the current and staged prices are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryAction.java index 944b0725ce4..9413a6db108 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductAddToCategoryAction + *

    Produces the ProductAddedToCategory Message.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ProductAddToCategoryAction extends ProductUpdateAction { String ADD_TO_CATEGORY = "addToCategory"; /** - * + *

    The Category to add.

    */ @NotNull @Valid @@ -42,14 +42,14 @@ public interface ProductAddToCategoryAction extends ProductUpdateAction { public CategoryResourceIdentifier getCategory(); /** - * + *

    A string representing a number between 0 and 1. Must start with 0. and cannot end with 0. If empty, any existing value will be removed.

    */ @JsonProperty("orderHint") public String getOrderHint(); /** - * + *

    If true, only the staged categories and categoryOrderHints are updated. If false, both the current and staged categories and categoryOrderHints are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryActionBuilder.java index 30b4cd464c0..eb909e813a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryActionBuilder.java @@ -33,7 +33,7 @@ public class ProductAddToCategoryActionBuilder implements BuilderThe Category to add.

    */ public ProductAddToCategoryActionBuilder category( @@ -44,7 +44,7 @@ public ProductAddToCategoryActionBuilder category( } /** - * + *

    The Category to add.

    */ public ProductAddToCategoryActionBuilder category( @@ -54,7 +54,7 @@ public ProductAddToCategoryActionBuilder category( } /** - * + *

    A string representing a number between 0 and 1. Must start with 0. and cannot end with 0. If empty, any existing value will be removed.

    */ public ProductAddToCategoryActionBuilder orderHint(@Nullable final String orderHint) { @@ -63,7 +63,7 @@ public ProductAddToCategoryActionBuilder orderHint(@Nullable final String orderH } /** - * + *

    If true, only the staged categories and categoryOrderHints are updated. If false, both the current and staged categories and categoryOrderHints are updated.

    */ public ProductAddToCategoryActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryActionImpl.java index 1934ace3c86..d242f9a99d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddToCategoryActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductAddToCategoryAction + *

    Produces the ProductAddedToCategory Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductAddToCategoryActionImpl implements ProductAddToCategoryAction, ModelBase { @@ -51,7 +51,7 @@ public String getAction() { } /** - * + *

    The Category to add.

    */ public com.commercetools.api.models.category.CategoryResourceIdentifier getCategory() { @@ -59,7 +59,7 @@ public com.commercetools.api.models.category.CategoryResourceIdentifier getCateg } /** - * + *

    A string representing a number between 0 and 1. Must start with 0. and cannot end with 0. If empty, any existing value will be removed.

    */ public String getOrderHint() { @@ -67,7 +67,7 @@ public String getOrderHint() { } /** - * + *

    If true, only the staged categories and categoryOrderHints are updated. If false, both the current and staged categories and categoryOrderHints are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantAction.java index ee514c7364b..776b7c1aa16 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantAction.java @@ -34,49 +34,49 @@ public interface ProductAddVariantAction extends ProductUpdateAction { String ADD_VARIANT = "addVariant"; /** - * + *

    Value to set. Must be unique.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    Value to set. Must be unique.

    */ @JsonProperty("key") public String getKey(); /** - * + *

    Embedded Prices for the Product Variant.

    */ @Valid @JsonProperty("prices") public List getPrices(); /** - * + *

    Images for the Product Variant.

    */ @Valid @JsonProperty("images") public List getImages(); /** - * + *

    Attributes for the Product Variant.

    */ @Valid @JsonProperty("attributes") public List getAttributes(); /** - * + *

    If true the new Product Variant is only staged. If false the new Product Variant is both current and staged.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    Media assets for the Product Variant.

    */ @Valid @JsonProperty("assets") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantActionBuilder.java index 62908807065..598249d3a95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantActionBuilder.java @@ -45,7 +45,7 @@ public class ProductAddVariantActionBuilder implements Builder assets; /** - * + *

    Value to set. Must be unique.

    */ public ProductAddVariantActionBuilder sku(@Nullable final String sku) { @@ -54,7 +54,7 @@ public ProductAddVariantActionBuilder sku(@Nullable final String sku) { } /** - * + *

    Value to set. Must be unique.

    */ public ProductAddVariantActionBuilder key(@Nullable final String key) { @@ -63,7 +63,7 @@ public ProductAddVariantActionBuilder key(@Nullable final String key) { } /** - * + *

    Embedded Prices for the Product Variant.

    */ public ProductAddVariantActionBuilder prices( @@ -73,7 +73,7 @@ public ProductAddVariantActionBuilder prices( } /** - * + *

    Embedded Prices for the Product Variant.

    */ public ProductAddVariantActionBuilder prices( @@ -83,7 +83,7 @@ public ProductAddVariantActionBuilder prices( } /** - * + *

    Embedded Prices for the Product Variant.

    */ public ProductAddVariantActionBuilder plusPrices( @@ -96,7 +96,7 @@ public ProductAddVariantActionBuilder plusPrices( } /** - * + *

    Embedded Prices for the Product Variant.

    */ public ProductAddVariantActionBuilder plusPrices( @@ -109,7 +109,7 @@ public ProductAddVariantActionBuilder plusPrices( } /** - * + *

    Embedded Prices for the Product Variant.

    */ public ProductAddVariantActionBuilder withPrices( @@ -120,7 +120,7 @@ public ProductAddVariantActionBuilder withPrices( } /** - * + *

    Images for the Product Variant.

    */ public ProductAddVariantActionBuilder images(@Nullable final com.commercetools.api.models.common.Image... images) { @@ -129,7 +129,7 @@ public ProductAddVariantActionBuilder images(@Nullable final com.commercetools.a } /** - * + *

    Images for the Product Variant.

    */ public ProductAddVariantActionBuilder images( @@ -139,7 +139,7 @@ public ProductAddVariantActionBuilder images( } /** - * + *

    Images for the Product Variant.

    */ public ProductAddVariantActionBuilder plusImages( @@ -152,7 +152,7 @@ public ProductAddVariantActionBuilder plusImages( } /** - * + *

    Images for the Product Variant.

    */ public ProductAddVariantActionBuilder plusImages( @@ -165,7 +165,7 @@ public ProductAddVariantActionBuilder plusImages( } /** - * + *

    Images for the Product Variant.

    */ public ProductAddVariantActionBuilder withImages( @@ -176,7 +176,7 @@ public ProductAddVariantActionBuilder withImages( } /** - * + *

    Attributes for the Product Variant.

    */ public ProductAddVariantActionBuilder attributes( @@ -186,7 +186,7 @@ public ProductAddVariantActionBuilder attributes( } /** - * + *

    Attributes for the Product Variant.

    */ public ProductAddVariantActionBuilder attributes( @@ -196,7 +196,7 @@ public ProductAddVariantActionBuilder attributes( } /** - * + *

    Attributes for the Product Variant.

    */ public ProductAddVariantActionBuilder plusAttributes( @@ -209,7 +209,7 @@ public ProductAddVariantActionBuilder plusAttributes( } /** - * + *

    Attributes for the Product Variant.

    */ public ProductAddVariantActionBuilder plusAttributes( @@ -222,7 +222,7 @@ public ProductAddVariantActionBuilder plusAttributes( } /** - * + *

    Attributes for the Product Variant.

    */ public ProductAddVariantActionBuilder withAttributes( @@ -233,7 +233,7 @@ public ProductAddVariantActionBuilder withAttributes( } /** - * + *

    If true the new Product Variant is only staged. If false the new Product Variant is both current and staged.

    */ public ProductAddVariantActionBuilder staged(@Nullable final Boolean staged) { @@ -242,7 +242,7 @@ public ProductAddVariantActionBuilder staged(@Nullable final Boolean staged) { } /** - * + *

    Media assets for the Product Variant.

    */ public ProductAddVariantActionBuilder assets(@Nullable final com.commercetools.api.models.common.Asset... assets) { @@ -251,7 +251,7 @@ public ProductAddVariantActionBuilder assets(@Nullable final com.commercetools.a } /** - * + *

    Media assets for the Product Variant.

    */ public ProductAddVariantActionBuilder assets( @@ -261,7 +261,7 @@ public ProductAddVariantActionBuilder assets( } /** - * + *

    Media assets for the Product Variant.

    */ public ProductAddVariantActionBuilder plusAssets( @@ -274,7 +274,7 @@ public ProductAddVariantActionBuilder plusAssets( } /** - * + *

    Media assets for the Product Variant.

    */ public ProductAddVariantActionBuilder plusAssets( @@ -287,7 +287,7 @@ public ProductAddVariantActionBuilder plusAssets( } /** - * + *

    Media assets for the Product Variant.

    */ public ProductAddVariantActionBuilder withAssets( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantActionImpl.java index 64fc121a3f4..2a68711949c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductAddVariantActionImpl.java @@ -66,7 +66,7 @@ public String getAction() { } /** - * + *

    Value to set. Must be unique.

    */ public String getSku() { @@ -74,7 +74,7 @@ public String getSku() { } /** - * + *

    Value to set. Must be unique.

    */ public String getKey() { @@ -82,7 +82,7 @@ public String getKey() { } /** - * + *

    Embedded Prices for the Product Variant.

    */ public java.util.List getPrices() { @@ -90,7 +90,7 @@ public java.util.List getPrices( } /** - * + *

    Images for the Product Variant.

    */ public java.util.List getImages() { @@ -98,7 +98,7 @@ public java.util.List getImages() { } /** - * + *

    Attributes for the Product Variant.

    */ public java.util.List getAttributes() { @@ -106,7 +106,7 @@ public java.util.List getAttribu } /** - * + *

    If true the new Product Variant is only staged. If false the new Product Variant is both current and staged.

    */ public Boolean getStaged() { @@ -114,7 +114,7 @@ public Boolean getStaged() { } /** - * + *

    Media assets for the Product Variant.

    */ public java.util.List getAssets() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductBuilder.java index f411bc7afaf..f3550a16ac7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductBuilder.java @@ -72,7 +72,7 @@ public ProductBuilder id(final String id) { } /** - *

    The current version of the product.

    + *

    Current version of the Product.

    */ public ProductBuilder version(final Long version) { @@ -81,7 +81,7 @@ public ProductBuilder version(final Long version) { } /** - * + *

    Date and time (UTC) the Product was initially created.

    */ public ProductBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -90,7 +90,7 @@ public ProductBuilder createdAt(final java.time.ZonedDateTime createdAt) { } /** - * + *

    Date and time (UTC) the Product was last updated.

    */ public ProductBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -138,7 +138,8 @@ public ProductBuilder createdBy(@Nullable final com.commercetools.api.models.com } /** - *

    User-defined unique identifier of the Product. Product keys are different from ProductVariant keys.

    + *

    User-defined unique identifier of the Product.

    + *

    This is different from the key of a ProductVariant.

    */ public ProductBuilder key(@Nullable final String key) { @@ -147,7 +148,7 @@ public ProductBuilder key(@Nullable final String key) { } /** - * + *

    The Product Type defining the Attributes of the Product. Cannot be changed.

    */ public ProductBuilder productType( @@ -158,7 +159,7 @@ public ProductBuilder productType( } /** - * + *

    The Product Type defining the Attributes of the Product. Cannot be changed.

    */ public ProductBuilder productType( @@ -168,7 +169,7 @@ public ProductBuilder productType( } /** - *

    The product data in the master catalog.

    + *

    Contains the current and the staged representation of the product information.

    */ public ProductBuilder masterData( @@ -178,7 +179,7 @@ public ProductBuilder masterData( } /** - *

    The product data in the master catalog.

    + *

    Contains the current and the staged representation of the product information.

    */ public ProductBuilder masterData(final com.commercetools.api.models.product.ProductCatalogData masterData) { @@ -187,7 +188,7 @@ public ProductBuilder masterData(final com.commercetools.api.models.product.Prod } /** - * + *

    The TaxCategory of the Product.

    */ public ProductBuilder taxCategory( @@ -198,7 +199,7 @@ public ProductBuilder taxCategory( } /** - * + *

    The TaxCategory of the Product.

    */ public ProductBuilder taxCategory( @@ -208,7 +209,7 @@ public ProductBuilder taxCategory( } /** - * + *

    State of the Product.

    */ public ProductBuilder state( @@ -218,7 +219,7 @@ public ProductBuilder state( } /** - * + *

    State of the Product.

    */ public ProductBuilder state(@Nullable final com.commercetools.api.models.state.StateReference state) { @@ -227,7 +228,7 @@ public ProductBuilder state(@Nullable final com.commercetools.api.models.state.S } /** - *

    Statistics about the review ratings taken into account for this product.

    + *

    Review statistics of the Product.

    */ public ProductBuilder reviewRatingStatistics( @@ -239,7 +240,7 @@ public ProductBuilder reviewRatingStatistics( } /** - *

    Statistics about the review ratings taken into account for this product.

    + *

    Review statistics of the Product.

    */ public ProductBuilder reviewRatingStatistics( @@ -249,7 +250,7 @@ public ProductBuilder reviewRatingStatistics( } /** - *

    Specifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Type of Price to be used when looking up a price for the Product.

    */ public ProductBuilder priceMode( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogData.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogData.java index 7d4298b68a8..bffd22a7f45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogData.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogData.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductCatalogData + *

    Contains the current and staged ProductData.

    * *
    * Example to create an instance using the builder pattern @@ -34,14 +34,14 @@ public interface ProductCatalogData { /** - * + *

    true if the Product is published.

    */ @NotNull @JsonProperty("published") public Boolean getPublished(); /** - * + *

    Current (published) data of the Product.

    */ @NotNull @Valid @@ -49,7 +49,7 @@ public interface ProductCatalogData { public ProductData getCurrent(); /** - * + *

    Staged (unpublished) data of the Product.

    */ @NotNull @Valid @@ -57,7 +57,7 @@ public interface ProductCatalogData { public ProductData getStaged(); /** - * + *

    true if the staged data is different from the current data.

    */ @NotNull @JsonProperty("hasStagedChanges") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogDataBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogDataBuilder.java index a0256a1f309..4eff7f8356e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogDataBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogDataBuilder.java @@ -34,7 +34,7 @@ public class ProductCatalogDataBuilder implements Builder { private Boolean hasStagedChanges; /** - * + *

    true if the Product is published.

    */ public ProductCatalogDataBuilder published(final Boolean published) { @@ -43,7 +43,7 @@ public ProductCatalogDataBuilder published(final Boolean published) { } /** - * + *

    Current (published) data of the Product.

    */ public ProductCatalogDataBuilder current( @@ -53,7 +53,7 @@ public ProductCatalogDataBuilder current( } /** - * + *

    Current (published) data of the Product.

    */ public ProductCatalogDataBuilder current(final com.commercetools.api.models.product.ProductData current) { @@ -62,7 +62,7 @@ public ProductCatalogDataBuilder current(final com.commercetools.api.models.prod } /** - * + *

    Staged (unpublished) data of the Product.

    */ public ProductCatalogDataBuilder staged( @@ -72,7 +72,7 @@ public ProductCatalogDataBuilder staged( } /** - * + *

    Staged (unpublished) data of the Product.

    */ public ProductCatalogDataBuilder staged(final com.commercetools.api.models.product.ProductData staged) { @@ -81,7 +81,7 @@ public ProductCatalogDataBuilder staged(final com.commercetools.api.models.produ } /** - * + *

    true if the staged data is different from the current data.

    */ public ProductCatalogDataBuilder hasStagedChanges(final Boolean hasStagedChanges) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogDataImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogDataImpl.java index 43b20e125a5..577297206cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogDataImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductCatalogDataImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductCatalogData + *

    Contains the current and staged ProductData.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductCatalogDataImpl implements ProductCatalogData, ModelBase { @@ -43,7 +43,7 @@ public ProductCatalogDataImpl() { } /** - * + *

    true if the Product is published.

    */ public Boolean getPublished() { @@ -51,7 +51,7 @@ public Boolean getPublished() { } /** - * + *

    Current (published) data of the Product.

    */ public com.commercetools.api.models.product.ProductData getCurrent() { @@ -59,7 +59,7 @@ public com.commercetools.api.models.product.ProductData getCurrent() { } /** - * + *

    Staged (unpublished) data of the Product.

    */ public com.commercetools.api.models.product.ProductData getStaged() { @@ -67,7 +67,7 @@ public com.commercetools.api.models.product.ProductData getStaged() { } /** - * + *

    true if the staged data is different from the current data.

    */ public Boolean getHasStagedChanges() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameAction.java index 52c736eafd2..1ee0ff6119a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductChangeAssetNameAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    * *
    * Example to create an instance using the builder pattern @@ -34,42 +34,42 @@ public interface ProductChangeAssetNameAction extends ProductUpdateAction { String CHANGE_ASSET_NAME = "changeAssetName"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    The id of the Asset to update.

    */ @JsonProperty("assetId") public String getAssetId(); /** - * + *

    The key of the Asset to update.

    */ @JsonProperty("assetKey") public String getAssetKey(); /** - * + *

    New value to set. Must not be empty.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameActionBuilder.java index d054b01ae73..518e78a3c1f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameActionBuilder.java @@ -42,7 +42,7 @@ public class ProductChangeAssetNameActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductChangeAssetNameActionBuilder variantId(@Nullable final Long variantId) { @@ -51,7 +51,7 @@ public ProductChangeAssetNameActionBuilder variantId(@Nullable final Long varian } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductChangeAssetNameActionBuilder sku(@Nullable final String sku) { @@ -60,7 +60,7 @@ public ProductChangeAssetNameActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public ProductChangeAssetNameActionBuilder staged(@Nullable final Boolean staged) { @@ -69,7 +69,7 @@ public ProductChangeAssetNameActionBuilder staged(@Nullable final Boolean staged } /** - * + *

    The id of the Asset to update.

    */ public ProductChangeAssetNameActionBuilder assetId(@Nullable final String assetId) { @@ -78,7 +78,7 @@ public ProductChangeAssetNameActionBuilder assetId(@Nullable final String assetI } /** - * + *

    The key of the Asset to update.

    */ public ProductChangeAssetNameActionBuilder assetKey(@Nullable final String assetKey) { @@ -87,7 +87,7 @@ public ProductChangeAssetNameActionBuilder assetKey(@Nullable final String asset } /** - * + *

    New value to set. Must not be empty.

    */ public ProductChangeAssetNameActionBuilder name( @@ -97,7 +97,7 @@ public ProductChangeAssetNameActionBuilder name( } /** - * + *

    New value to set. Must not be empty.

    */ public ProductChangeAssetNameActionBuilder name(final com.commercetools.api.models.common.LocalizedString name) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameActionImpl.java index f50b3a15e33..6983aa21585 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetNameActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductChangeAssetNameAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductChangeAssetNameActionImpl implements ProductChangeAssetNameAction, ModelBase { @@ -61,7 +61,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -69,7 +69,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -77,7 +77,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public Boolean getStaged() { @@ -85,7 +85,7 @@ public Boolean getStaged() { } /** - * + *

    The id of the Asset to update.

    */ public String getAssetId() { @@ -93,7 +93,7 @@ public String getAssetId() { } /** - * + *

    The key of the Asset to update.

    */ public String getAssetKey() { @@ -101,7 +101,7 @@ public String getAssetKey() { } /** - * + *

    New value to set. Must not be empty.

    */ public com.commercetools.api.models.common.LocalizedString getName() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderAction.java index 591cf54b815..da43f0055d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductChangeAssetOrderAction + *

    Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -32,28 +32,28 @@ public interface ProductChangeAssetOrderAction extends ProductUpdateAction { String CHANGE_ASSET_ORDER = "changeAssetOrder"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged assets is updated. If false, both the current and staged assets are updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    All existing Asset ids of the ProductVariant in the desired new order.

    */ @NotNull @JsonProperty("assetOrder") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderActionBuilder.java index 0658c5c4e90..3479743ce54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderActionBuilder.java @@ -35,7 +35,7 @@ public class ProductChangeAssetOrderActionBuilder implements Builder assetOrder; /** - * + *

    The id of the ProductVariant to update.

    */ public ProductChangeAssetOrderActionBuilder variantId(@Nullable final Long variantId) { @@ -44,7 +44,7 @@ public ProductChangeAssetOrderActionBuilder variantId(@Nullable final Long varia } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductChangeAssetOrderActionBuilder sku(@Nullable final String sku) { @@ -53,7 +53,7 @@ public ProductChangeAssetOrderActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged assets is updated. If false, both the current and staged assets are updated.

    */ public ProductChangeAssetOrderActionBuilder staged(@Nullable final Boolean staged) { @@ -62,7 +62,7 @@ public ProductChangeAssetOrderActionBuilder staged(@Nullable final Boolean stage } /** - * + *

    All existing Asset ids of the ProductVariant in the desired new order.

    */ public ProductChangeAssetOrderActionBuilder assetOrder(final String... assetOrder) { @@ -71,7 +71,7 @@ public ProductChangeAssetOrderActionBuilder assetOrder(final String... assetOrde } /** - * + *

    All existing Asset ids of the ProductVariant in the desired new order.

    */ public ProductChangeAssetOrderActionBuilder assetOrder(final java.util.List assetOrder) { @@ -80,7 +80,7 @@ public ProductChangeAssetOrderActionBuilder assetOrder(final java.util.ListAll existing Asset ids of the ProductVariant in the desired new order.

    */ public ProductChangeAssetOrderActionBuilder plusAssetOrder(final String... assetOrder) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderActionImpl.java index 92c7f810aec..0521b028ee7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeAssetOrderActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductChangeAssetOrderAction + *

    Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductChangeAssetOrderActionImpl implements ProductChangeAssetOrderAction, ModelBase { @@ -54,7 +54,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -62,7 +62,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -70,7 +70,7 @@ public String getSku() { } /** - * + *

    If true, only the staged assets is updated. If false, both the current and staged assets are updated.

    */ public Boolean getStaged() { @@ -78,7 +78,7 @@ public Boolean getStaged() { } /** - * + *

    All existing Asset ids of the ProductVariant in the desired new order.

    */ public java.util.List getAssetOrder() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantAction.java index 416df9c64d8..bd7ff6fc66a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductChangeMasterVariantAction + *

    Assigns the specified Product Variant to the masterVariant and removes the same from variants at the same time. The current Master Variant becomes part of the variants array. Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -29,21 +29,21 @@ public interface ProductChangeMasterVariantAction extends ProductUpdateAction { String CHANGE_MASTER_VARIANT = "changeMasterVariant"; /** - * + *

    The id of the ProductVariant to become the Master Variant.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to become the Master Variant.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Master Variant is changed. If false, both the current and staged Master Variant are changed.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantActionBuilder.java index 0de789fd2c2..0ac9983f409 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantActionBuilder.java @@ -32,7 +32,7 @@ public class ProductChangeMasterVariantActionBuilder implements BuilderThe id of the ProductVariant to become the Master Variant.

    */ public ProductChangeMasterVariantActionBuilder variantId(@Nullable final Long variantId) { @@ -41,7 +41,7 @@ public ProductChangeMasterVariantActionBuilder variantId(@Nullable final Long va } /** - * + *

    The sku of the ProductVariant to become the Master Variant.

    */ public ProductChangeMasterVariantActionBuilder sku(@Nullable final String sku) { @@ -50,7 +50,7 @@ public ProductChangeMasterVariantActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Master Variant is changed. If false, both the current and staged Master Variant are changed.

    */ public ProductChangeMasterVariantActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantActionImpl.java index 991a9cb5ca8..3df9b3e530f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeMasterVariantActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductChangeMasterVariantAction + *

    Assigns the specified Product Variant to the masterVariant and removes the same from variants at the same time. The current Master Variant becomes part of the variants array. Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductChangeMasterVariantActionImpl implements ProductChangeMasterVariantAction, ModelBase { @@ -50,7 +50,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to become the Master Variant.

    */ public Long getVariantId() { @@ -58,7 +58,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to become the Master Variant.

    */ public String getSku() { @@ -66,7 +66,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Master Variant is changed. If false, both the current and staged Master Variant are changed.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameAction.java index aa01ceb994c..922c41acef6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameAction.java @@ -34,7 +34,7 @@ public interface ProductChangeNameAction extends ProductUpdateAction { String CHANGE_NAME = "changeName"; /** - * + *

    Value to set. Must not be empty.

    */ @NotNull @Valid @@ -42,7 +42,7 @@ public interface ProductChangeNameAction extends ProductUpdateAction { public LocalizedString getName(); /** - * + *

    If true, only the staged name is updated. If false, both the current and staged name are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameActionBuilder.java index 1df704c4d0c..9425711b3bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameActionBuilder.java @@ -30,7 +30,7 @@ public class ProductChangeNameActionBuilder implements BuilderValue to set. Must not be empty.

    */ public ProductChangeNameActionBuilder name( @@ -40,7 +40,7 @@ public ProductChangeNameActionBuilder name( } /** - * + *

    Value to set. Must not be empty.

    */ public ProductChangeNameActionBuilder name(final com.commercetools.api.models.common.LocalizedString name) { @@ -49,7 +49,7 @@ public ProductChangeNameActionBuilder name(final com.commercetools.api.models.co } /** - * + *

    If true, only the staged name is updated. If false, both the current and staged name are updated.

    */ public ProductChangeNameActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameActionImpl.java index 9384439c5e9..fb46b2caed7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeNameActionImpl.java @@ -47,7 +47,7 @@ public String getAction() { } /** - * + *

    Value to set. Must not be empty.

    */ public com.commercetools.api.models.common.LocalizedString getName() { @@ -55,7 +55,7 @@ public com.commercetools.api.models.common.LocalizedString getName() { } /** - * + *

    If true, only the staged name is updated. If false, both the current and staged name are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceAction.java index 552405a4353..9b59575e744 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceAction.java @@ -35,14 +35,14 @@ public interface ProductChangePriceAction extends ProductUpdateAction { String CHANGE_PRICE = "changePrice"; /** - *

    ID of the EmbeddedPrice

    + *

    The id of the Embedded Price to update.

    */ @NotNull @JsonProperty("priceId") public String getPriceId(); /** - * + *

    Value to set.

    */ @NotNull @Valid @@ -50,7 +50,7 @@ public interface ProductChangePriceAction extends ProductUpdateAction { public PriceDraft getPrice(); /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceActionBuilder.java index 7341af3a9d6..36584e9ac3a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceActionBuilder.java @@ -33,7 +33,7 @@ public class ProductChangePriceActionBuilder implements BuilderID of the EmbeddedPrice

    + *

    The id of the Embedded Price to update.

    */ public ProductChangePriceActionBuilder priceId(final String priceId) { @@ -42,7 +42,7 @@ public ProductChangePriceActionBuilder priceId(final String priceId) { } /** - * + *

    Value to set.

    */ public ProductChangePriceActionBuilder price( @@ -52,7 +52,7 @@ public ProductChangePriceActionBuilder price( } /** - * + *

    Value to set.

    */ public ProductChangePriceActionBuilder price(final com.commercetools.api.models.common.PriceDraft price) { @@ -61,7 +61,7 @@ public ProductChangePriceActionBuilder price(final com.commercetools.api.models. } /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price are updated.

    */ public ProductChangePriceActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceActionImpl.java index 18f7c3a2542..a314d499d88 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangePriceActionImpl.java @@ -51,7 +51,7 @@ public String getAction() { } /** - *

    ID of the EmbeddedPrice

    + *

    The id of the Embedded Price to update.

    */ public String getPriceId() { @@ -59,7 +59,7 @@ public String getPriceId() { } /** - * + *

    Value to set.

    */ public com.commercetools.api.models.common.PriceDraft getPrice() { @@ -67,7 +67,7 @@ public com.commercetools.api.models.common.PriceDraft getPrice() { } /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugAction.java index e400758d6d8..d4075f6e617 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductChangeSlugAction + *

    Produces the ProductSlugChanged Message.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ProductChangeSlugAction extends ProductUpdateAction { String CHANGE_SLUG = "changeSlug"; /** - *

    Every slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters. Maximum size is 256.

    + *

    Value to set. Must not be empty. A Product can have the same slug for different Locales, but it must be unique across the Project. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

    */ @NotNull @Valid @@ -42,7 +42,7 @@ public interface ProductChangeSlugAction extends ProductUpdateAction { public LocalizedString getSlug(); /** - * + *

    If true, only the staged slug is updated. If false, both the current and staged slug are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugActionBuilder.java index 99416a89f5e..ac98578d09a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugActionBuilder.java @@ -30,7 +30,7 @@ public class ProductChangeSlugActionBuilder implements BuilderEvery slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters. Maximum size is 256.

    + *

    Value to set. Must not be empty. A Product can have the same slug for different Locales, but it must be unique across the Project. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

    */ public ProductChangeSlugActionBuilder slug( @@ -40,7 +40,7 @@ public ProductChangeSlugActionBuilder slug( } /** - *

    Every slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters. Maximum size is 256.

    + *

    Value to set. Must not be empty. A Product can have the same slug for different Locales, but it must be unique across the Project. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

    */ public ProductChangeSlugActionBuilder slug(final com.commercetools.api.models.common.LocalizedString slug) { @@ -49,7 +49,7 @@ public ProductChangeSlugActionBuilder slug(final com.commercetools.api.models.co } /** - * + *

    If true, only the staged slug is updated. If false, both the current and staged slug are updated.

    */ public ProductChangeSlugActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugActionImpl.java index 9e5ce57c322..9c096f357ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductChangeSlugActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductChangeSlugAction + *

    Produces the ProductSlugChanged Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductChangeSlugActionImpl implements ProductChangeSlugAction, ModelBase { @@ -47,7 +47,7 @@ public String getAction() { } /** - *

    Every slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters. Maximum size is 256.

    + *

    Value to set. Must not be empty. A Product can have the same slug for different Locales, but it must be unique across the Project. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

    */ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -55,7 +55,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - * + *

    If true, only the staged slug is updated. If false, both the current and staged slug are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductData.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductData.java index 4a1e704a094..fc661a7c244 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductData.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductData.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductData + *

    Contains all the data of a Product and its Product Variants.

    * *
    * Example to create an instance using the builder pattern @@ -38,7 +38,7 @@ public interface ProductData extends ProductDataLike { /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Name of the Product.

    */ @NotNull @Valid @@ -46,7 +46,7 @@ public interface ProductData extends ProductDataLike { public LocalizedString getName(); /** - * + *

    Categories assigned to the Product.

    */ @NotNull @Valid @@ -54,21 +54,21 @@ public interface ProductData extends ProductDataLike { public List getCategories(); /** - * + *

    Numerical values to allow ordering of Products within a specified Category.

    */ @Valid @JsonProperty("categoryOrderHints") public CategoryOrderHints getCategoryOrderHints(); /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Description of the Product.

    */ @Valid @JsonProperty("description") public LocalizedString getDescription(); /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    User-defined identifier used in a deep-link URL for the Product. Must be unique across a Project, but can be the same for Products in different Locales. Matches the pattern [a-zA-Z0-9_\\-]{2,256}.

    */ @NotNull @Valid @@ -76,28 +76,28 @@ public interface ProductData extends ProductDataLike { public LocalizedString getSlug(); /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Title of the Product displayed in search results.

    */ @Valid @JsonProperty("metaTitle") public LocalizedString getMetaTitle(); /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Description of the Product displayed in search results below the meta title.

    */ @Valid @JsonProperty("metaDescription") public LocalizedString getMetaDescription(); /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Keywords that give additional information about the Product to search engines.

    */ @Valid @JsonProperty("metaKeywords") public LocalizedString getMetaKeywords(); /** - * + *

    The Master Variant of the Product.

    */ @NotNull @Valid @@ -105,7 +105,7 @@ public interface ProductData extends ProductDataLike { public ProductVariant getMasterVariant(); /** - * + *

    Additional Product Variants.

    */ @NotNull @Valid @@ -113,7 +113,7 @@ public interface ProductData extends ProductDataLike { public List getVariants(); /** - * + *

    Used by Product Suggestions, but is also considered for a full text search.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataBuilder.java index de6ea4083ae..e19cd9ef8c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataBuilder.java @@ -57,7 +57,7 @@ public class ProductDataBuilder implements Builder { private com.commercetools.api.models.product.SearchKeywords searchKeywords; /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Name of the Product.

    */ public ProductDataBuilder name( @@ -67,7 +67,7 @@ public ProductDataBuilder name( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Name of the Product.

    */ public ProductDataBuilder name(final com.commercetools.api.models.common.LocalizedString name) { @@ -76,7 +76,7 @@ public ProductDataBuilder name(final com.commercetools.api.models.common.Localiz } /** - * + *

    Categories assigned to the Product.

    */ public ProductDataBuilder categories(final com.commercetools.api.models.category.CategoryReference... categories) { @@ -85,7 +85,7 @@ public ProductDataBuilder categories(final com.commercetools.api.models.category } /** - * + *

    Categories assigned to the Product.

    */ public ProductDataBuilder categories( @@ -95,7 +95,7 @@ public ProductDataBuilder categories( } /** - * + *

    Categories assigned to the Product.

    */ public ProductDataBuilder plusCategories( @@ -108,7 +108,7 @@ public ProductDataBuilder plusCategories( } /** - * + *

    Categories assigned to the Product.

    */ public ProductDataBuilder plusCategories( @@ -121,7 +121,7 @@ public ProductDataBuilder plusCategories( } /** - * + *

    Categories assigned to the Product.

    */ public ProductDataBuilder withCategories( @@ -132,7 +132,7 @@ public ProductDataBuilder withCategories( } /** - * + *

    Numerical values to allow ordering of Products within a specified Category.

    */ public ProductDataBuilder categoryOrderHints( @@ -143,7 +143,7 @@ public ProductDataBuilder categoryOrderHints( } /** - * + *

    Numerical values to allow ordering of Products within a specified Category.

    */ public ProductDataBuilder categoryOrderHints( @@ -153,7 +153,7 @@ public ProductDataBuilder categoryOrderHints( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Description of the Product.

    */ public ProductDataBuilder description( @@ -163,7 +163,7 @@ public ProductDataBuilder description( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Description of the Product.

    */ public ProductDataBuilder description( @@ -173,7 +173,7 @@ public ProductDataBuilder description( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    User-defined identifier used in a deep-link URL for the Product. Must be unique across a Project, but can be the same for Products in different Locales. Matches the pattern [a-zA-Z0-9_\\-]{2,256}.

    */ public ProductDataBuilder slug( @@ -183,7 +183,7 @@ public ProductDataBuilder slug( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    User-defined identifier used in a deep-link URL for the Product. Must be unique across a Project, but can be the same for Products in different Locales. Matches the pattern [a-zA-Z0-9_\\-]{2,256}.

    */ public ProductDataBuilder slug(final com.commercetools.api.models.common.LocalizedString slug) { @@ -192,7 +192,7 @@ public ProductDataBuilder slug(final com.commercetools.api.models.common.Localiz } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Title of the Product displayed in search results.

    */ public ProductDataBuilder metaTitle( @@ -202,7 +202,7 @@ public ProductDataBuilder metaTitle( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Title of the Product displayed in search results.

    */ public ProductDataBuilder metaTitle(@Nullable final com.commercetools.api.models.common.LocalizedString metaTitle) { @@ -211,7 +211,7 @@ public ProductDataBuilder metaTitle(@Nullable final com.commercetools.api.models } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Description of the Product displayed in search results below the meta title.

    */ public ProductDataBuilder metaDescription( @@ -221,7 +221,7 @@ public ProductDataBuilder metaDescription( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Description of the Product displayed in search results below the meta title.

    */ public ProductDataBuilder metaDescription( @@ -231,7 +231,7 @@ public ProductDataBuilder metaDescription( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Keywords that give additional information about the Product to search engines.

    */ public ProductDataBuilder metaKeywords( @@ -241,7 +241,7 @@ public ProductDataBuilder metaKeywords( } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Keywords that give additional information about the Product to search engines.

    */ public ProductDataBuilder metaKeywords( @@ -251,7 +251,7 @@ public ProductDataBuilder metaKeywords( } /** - * + *

    The Master Variant of the Product.

    */ public ProductDataBuilder masterVariant( @@ -261,7 +261,7 @@ public ProductDataBuilder masterVariant( } /** - * + *

    The Master Variant of the Product.

    */ public ProductDataBuilder masterVariant(final com.commercetools.api.models.product.ProductVariant masterVariant) { @@ -270,7 +270,7 @@ public ProductDataBuilder masterVariant(final com.commercetools.api.models.produ } /** - * + *

    Additional Product Variants.

    */ public ProductDataBuilder variants(final com.commercetools.api.models.product.ProductVariant... variants) { @@ -279,7 +279,7 @@ public ProductDataBuilder variants(final com.commercetools.api.models.product.Pr } /** - * + *

    Additional Product Variants.

    */ public ProductDataBuilder variants( @@ -289,7 +289,7 @@ public ProductDataBuilder variants( } /** - * + *

    Additional Product Variants.

    */ public ProductDataBuilder plusVariants(final com.commercetools.api.models.product.ProductVariant... variants) { @@ -301,7 +301,7 @@ public ProductDataBuilder plusVariants(final com.commercetools.api.models.produc } /** - * + *

    Additional Product Variants.

    */ public ProductDataBuilder plusVariants( @@ -314,7 +314,7 @@ public ProductDataBuilder plusVariants( } /** - * + *

    Additional Product Variants.

    */ public ProductDataBuilder withVariants( @@ -325,7 +325,7 @@ public ProductDataBuilder withVariants( } /** - * + *

    Used by Product Suggestions, but is also considered for a full text search.

    */ public ProductDataBuilder searchKeywords( @@ -335,7 +335,7 @@ public ProductDataBuilder searchKeywords( } /** - * + *

    Used by Product Suggestions, but is also considered for a full text search.

    */ public ProductDataBuilder searchKeywords(final com.commercetools.api.models.product.SearchKeywords searchKeywords) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataImpl.java index 564571e8499..2e40b031ed1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDataImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductData + *

    Contains all the data of a Product and its Product Variants.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductDataImpl implements ProductData, ModelBase { @@ -71,7 +71,7 @@ public ProductDataImpl() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Name of the Product.

    */ public com.commercetools.api.models.common.LocalizedString getName() { @@ -79,7 +79,7 @@ public com.commercetools.api.models.common.LocalizedString getName() { } /** - * + *

    Categories assigned to the Product.

    */ public java.util.List getCategories() { @@ -87,7 +87,7 @@ public java.util.List g } /** - * + *

    Numerical values to allow ordering of Products within a specified Category.

    */ public com.commercetools.api.models.product.CategoryOrderHints getCategoryOrderHints() { @@ -95,7 +95,7 @@ public com.commercetools.api.models.product.CategoryOrderHints getCategoryOrderH } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Description of the Product.

    */ public com.commercetools.api.models.common.LocalizedString getDescription() { @@ -103,7 +103,7 @@ public com.commercetools.api.models.common.LocalizedString getDescription() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    User-defined identifier used in a deep-link URL for the Product. Must be unique across a Project, but can be the same for Products in different Locales. Matches the pattern [a-zA-Z0-9_\\-]{2,256}.

    */ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -111,7 +111,7 @@ public com.commercetools.api.models.common.LocalizedString getSlug() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Title of the Product displayed in search results.

    */ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { @@ -119,7 +119,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Description of the Product displayed in search results below the meta title.

    */ public com.commercetools.api.models.common.LocalizedString getMetaDescription() { @@ -127,7 +127,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaDescription() } /** - *

    JSON object where the keys are of type Locale, and the values are the strings used for the corresponding language.

    + *

    Keywords that give additional information about the Product to search engines.

    */ public com.commercetools.api.models.common.LocalizedString getMetaKeywords() { @@ -135,7 +135,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaKeywords() { } /** - * + *

    The Master Variant of the Product.

    */ public com.commercetools.api.models.product.ProductVariant getMasterVariant() { @@ -143,7 +143,7 @@ public com.commercetools.api.models.product.ProductVariant getMasterVariant() { } /** - * + *

    Additional Product Variants.

    */ public java.util.List getVariants() { @@ -151,7 +151,7 @@ public java.util.List getVa } /** - * + *

    Used by Product Suggestions, but is also considered for a full text search.

    */ public com.commercetools.api.models.product.SearchKeywords getSearchKeywords() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java index 6cfc636a0aa..879a538b05a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java @@ -38,7 +38,7 @@ public interface ProductDraft { /** - *

    A predefined product type assigned to the product. All products must have a product type.

    + *

    The Product Type defining the Attributes for the Product. Cannot be changed later.

    */ @NotNull @Valid @@ -46,7 +46,7 @@ public interface ProductDraft { public ProductTypeResourceIdentifier getProductType(); /** - * + *

    Name of the Product.

    */ @NotNull @Valid @@ -54,7 +54,7 @@ public interface ProductDraft { public LocalizedString getName(); /** - *

    Human-readable identifiers usually used as deep-link URLs for the product. A slug must be unique across a project, but a product can have the same slug for different languages. Slugs have a maximum size of 256. Valid characters are: alphabetic characters (A-Z, a-z), numeric characters (0-9), underscores (_) and hyphens (-).

    + *

    User-defined identifier used in a deep-link URL for the Product. It must be unique across a Project, but a Product can have the same slug in different Locales. It must match the pattern [a-zA-Z0-9_\\-]{2,256}.

    */ @NotNull @Valid @@ -69,91 +69,91 @@ public interface ProductDraft { public String getKey(); /** - * + *

    Description of the Product.

    */ @Valid @JsonProperty("description") public LocalizedString getDescription(); /** - *

    Categories assigned to the product.

    + *

    Categories assigned to the Product.

    */ @Valid @JsonProperty("categories") public List getCategories(); /** - * + *

    Numerical values to allow ordering of Products within a specified Category.

    */ @Valid @JsonProperty("categoryOrderHints") public CategoryOrderHints getCategoryOrderHints(); /** - * + *

    Title of the Product displayed in search results.

    */ @Valid @JsonProperty("metaTitle") public LocalizedString getMetaTitle(); /** - * + *

    Description of the Product displayed in search results.

    */ @Valid @JsonProperty("metaDescription") public LocalizedString getMetaDescription(); /** - * + *

    Keywords that give additional information about the Product to search engines.

    */ @Valid @JsonProperty("metaKeywords") public LocalizedString getMetaKeywords(); /** - *

    The master product variant. Required if the variants array has product variants.

    + *

    The Product Variant to be the Master Variant for the Product. Required if variants are provided also.

    */ @Valid @JsonProperty("masterVariant") public ProductVariantDraft getMasterVariant(); /** - *

    An array of related product variants.

    + *

    The additional Product Variants for the Product.

    */ @Valid @JsonProperty("variants") public List getVariants(); /** - * + *

    The Tax Category to be assigned to the Product.

    */ @Valid @JsonProperty("taxCategory") public TaxCategoryResourceIdentifier getTaxCategory(); /** - * + *

    Used by Product Suggestions, but is also considered for a full text search.

    */ @Valid @JsonProperty("searchKeywords") public SearchKeywords getSearchKeywords(); /** - * + *

    State to be assigned to the Product.

    */ @Valid @JsonProperty("state") public StateResourceIdentifier getState(); /** - *

    If true, the product is published immediately.

    + *

    If true, the Product is published immediately to the current projection.

    */ @JsonProperty("publish") public Boolean getPublish(); /** - *

    Specifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Specifies the type of prices used when looking up a price for the Product.

    */ @JsonProperty("priceMode") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java index 5806d775259..8007883330b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java @@ -75,7 +75,7 @@ public class ProductDraftBuilder implements Builder { private com.commercetools.api.models.product.ProductPriceModeEnum priceMode; /** - *

    A predefined product type assigned to the product. All products must have a product type.

    + *

    The Product Type defining the Attributes for the Product. Cannot be changed later.

    */ public ProductDraftBuilder productType( @@ -87,7 +87,7 @@ public ProductDraftBuilder productType( } /** - *

    A predefined product type assigned to the product. All products must have a product type.

    + *

    The Product Type defining the Attributes for the Product. Cannot be changed later.

    */ public ProductDraftBuilder productType( @@ -97,7 +97,7 @@ public ProductDraftBuilder productType( } /** - * + *

    Name of the Product.

    */ public ProductDraftBuilder name( @@ -107,7 +107,7 @@ public ProductDraftBuilder name( } /** - * + *

    Name of the Product.

    */ public ProductDraftBuilder name(final com.commercetools.api.models.common.LocalizedString name) { @@ -116,7 +116,7 @@ public ProductDraftBuilder name(final com.commercetools.api.models.common.Locali } /** - *

    Human-readable identifiers usually used as deep-link URLs for the product. A slug must be unique across a project, but a product can have the same slug for different languages. Slugs have a maximum size of 256. Valid characters are: alphabetic characters (A-Z, a-z), numeric characters (0-9), underscores (_) and hyphens (-).

    + *

    User-defined identifier used in a deep-link URL for the Product. It must be unique across a Project, but a Product can have the same slug in different Locales. It must match the pattern [a-zA-Z0-9_\\-]{2,256}.

    */ public ProductDraftBuilder slug( @@ -126,7 +126,7 @@ public ProductDraftBuilder slug( } /** - *

    Human-readable identifiers usually used as deep-link URLs for the product. A slug must be unique across a project, but a product can have the same slug for different languages. Slugs have a maximum size of 256. Valid characters are: alphabetic characters (A-Z, a-z), numeric characters (0-9), underscores (_) and hyphens (-).

    + *

    User-defined identifier used in a deep-link URL for the Product. It must be unique across a Project, but a Product can have the same slug in different Locales. It must match the pattern [a-zA-Z0-9_\\-]{2,256}.

    */ public ProductDraftBuilder slug(final com.commercetools.api.models.common.LocalizedString slug) { @@ -144,7 +144,7 @@ public ProductDraftBuilder key(@Nullable final String key) { } /** - * + *

    Description of the Product.

    */ public ProductDraftBuilder description( @@ -154,7 +154,7 @@ public ProductDraftBuilder description( } /** - * + *

    Description of the Product.

    */ public ProductDraftBuilder description( @@ -164,7 +164,7 @@ public ProductDraftBuilder description( } /** - *

    Categories assigned to the product.

    + *

    Categories assigned to the Product.

    */ public ProductDraftBuilder categories( @@ -174,7 +174,7 @@ public ProductDraftBuilder categories( } /** - *

    Categories assigned to the product.

    + *

    Categories assigned to the Product.

    */ public ProductDraftBuilder categories( @@ -184,7 +184,7 @@ public ProductDraftBuilder categories( } /** - *

    Categories assigned to the product.

    + *

    Categories assigned to the Product.

    */ public ProductDraftBuilder plusCategories( @@ -197,7 +197,7 @@ public ProductDraftBuilder plusCategories( } /** - *

    Categories assigned to the product.

    + *

    Categories assigned to the Product.

    */ public ProductDraftBuilder plusCategories( @@ -211,7 +211,7 @@ public ProductDraftBuilder plusCategories( } /** - *

    Categories assigned to the product.

    + *

    Categories assigned to the Product.

    */ public ProductDraftBuilder withCategories( @@ -223,7 +223,7 @@ public ProductDraftBuilder withCategories( } /** - * + *

    Numerical values to allow ordering of Products within a specified Category.

    */ public ProductDraftBuilder categoryOrderHints( @@ -234,7 +234,7 @@ public ProductDraftBuilder categoryOrderHints( } /** - * + *

    Numerical values to allow ordering of Products within a specified Category.

    */ public ProductDraftBuilder categoryOrderHints( @@ -244,7 +244,7 @@ public ProductDraftBuilder categoryOrderHints( } /** - * + *

    Title of the Product displayed in search results.

    */ public ProductDraftBuilder metaTitle( @@ -254,7 +254,7 @@ public ProductDraftBuilder metaTitle( } /** - * + *

    Title of the Product displayed in search results.

    */ public ProductDraftBuilder metaTitle( @@ -264,7 +264,7 @@ public ProductDraftBuilder metaTitle( } /** - * + *

    Description of the Product displayed in search results.

    */ public ProductDraftBuilder metaDescription( @@ -274,7 +274,7 @@ public ProductDraftBuilder metaDescription( } /** - * + *

    Description of the Product displayed in search results.

    */ public ProductDraftBuilder metaDescription( @@ -284,7 +284,7 @@ public ProductDraftBuilder metaDescription( } /** - * + *

    Keywords that give additional information about the Product to search engines.

    */ public ProductDraftBuilder metaKeywords( @@ -294,7 +294,7 @@ public ProductDraftBuilder metaKeywords( } /** - * + *

    Keywords that give additional information about the Product to search engines.

    */ public ProductDraftBuilder metaKeywords( @@ -304,7 +304,7 @@ public ProductDraftBuilder metaKeywords( } /** - *

    The master product variant. Required if the variants array has product variants.

    + *

    The Product Variant to be the Master Variant for the Product. Required if variants are provided also.

    */ public ProductDraftBuilder masterVariant( @@ -315,7 +315,7 @@ public ProductDraftBuilder masterVariant( } /** - *

    The master product variant. Required if the variants array has product variants.

    + *

    The Product Variant to be the Master Variant for the Product. Required if variants are provided also.

    */ public ProductDraftBuilder masterVariant( @@ -325,7 +325,7 @@ public ProductDraftBuilder masterVariant( } /** - *

    An array of related product variants.

    + *

    The additional Product Variants for the Product.

    */ public ProductDraftBuilder variants( @@ -335,7 +335,7 @@ public ProductDraftBuilder variants( } /** - *

    An array of related product variants.

    + *

    The additional Product Variants for the Product.

    */ public ProductDraftBuilder variants( @@ -345,7 +345,7 @@ public ProductDraftBuilder variants( } /** - *

    An array of related product variants.

    + *

    The additional Product Variants for the Product.

    */ public ProductDraftBuilder plusVariants( @@ -358,7 +358,7 @@ public ProductDraftBuilder plusVariants( } /** - *

    An array of related product variants.

    + *

    The additional Product Variants for the Product.

    */ public ProductDraftBuilder plusVariants( @@ -371,7 +371,7 @@ public ProductDraftBuilder plusVariants( } /** - *

    An array of related product variants.

    + *

    The additional Product Variants for the Product.

    */ public ProductDraftBuilder withVariants( @@ -382,7 +382,7 @@ public ProductDraftBuilder withVariants( } /** - * + *

    The Tax Category to be assigned to the Product.

    */ public ProductDraftBuilder taxCategory( @@ -394,7 +394,7 @@ public ProductDraftBuilder taxCategory( } /** - * + *

    The Tax Category to be assigned to the Product.

    */ public ProductDraftBuilder taxCategory( @@ -404,7 +404,7 @@ public ProductDraftBuilder taxCategory( } /** - * + *

    Used by Product Suggestions, but is also considered for a full text search.

    */ public ProductDraftBuilder searchKeywords( @@ -414,7 +414,7 @@ public ProductDraftBuilder searchKeywords( } /** - * + *

    Used by Product Suggestions, but is also considered for a full text search.

    */ public ProductDraftBuilder searchKeywords( @@ -424,7 +424,7 @@ public ProductDraftBuilder searchKeywords( } /** - * + *

    State to be assigned to the Product.

    */ public ProductDraftBuilder state( @@ -434,7 +434,7 @@ public ProductDraftBuilder state( } /** - * + *

    State to be assigned to the Product.

    */ public ProductDraftBuilder state(@Nullable final com.commercetools.api.models.state.StateResourceIdentifier state) { @@ -443,7 +443,7 @@ public ProductDraftBuilder state(@Nullable final com.commercetools.api.models.st } /** - *

    If true, the product is published immediately.

    + *

    If true, the Product is published immediately to the current projection.

    */ public ProductDraftBuilder publish(@Nullable final Boolean publish) { @@ -452,7 +452,7 @@ public ProductDraftBuilder publish(@Nullable final Boolean publish) { } /** - *

    Specifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Specifies the type of prices used when looking up a price for the Product.

    */ public ProductDraftBuilder priceMode( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java index 27a03fa92a2..36cb7489fd8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java @@ -96,7 +96,7 @@ public ProductDraftImpl() { } /** - *

    A predefined product type assigned to the product. All products must have a product type.

    + *

    The Product Type defining the Attributes for the Product. Cannot be changed later.

    */ public com.commercetools.api.models.product_type.ProductTypeResourceIdentifier getProductType() { @@ -104,7 +104,7 @@ public com.commercetools.api.models.product_type.ProductTypeResourceIdentifier g } /** - * + *

    Name of the Product.

    */ public com.commercetools.api.models.common.LocalizedString getName() { @@ -112,7 +112,7 @@ public com.commercetools.api.models.common.LocalizedString getName() { } /** - *

    Human-readable identifiers usually used as deep-link URLs for the product. A slug must be unique across a project, but a product can have the same slug for different languages. Slugs have a maximum size of 256. Valid characters are: alphabetic characters (A-Z, a-z), numeric characters (0-9), underscores (_) and hyphens (-).

    + *

    User-defined identifier used in a deep-link URL for the Product. It must be unique across a Project, but a Product can have the same slug in different Locales. It must match the pattern [a-zA-Z0-9_\\-]{2,256}.

    */ public com.commercetools.api.models.common.LocalizedString getSlug() { @@ -128,7 +128,7 @@ public String getKey() { } /** - * + *

    Description of the Product.

    */ public com.commercetools.api.models.common.LocalizedString getDescription() { @@ -136,7 +136,7 @@ public com.commercetools.api.models.common.LocalizedString getDescription() { } /** - *

    Categories assigned to the product.

    + *

    Categories assigned to the Product.

    */ public java.util.List getCategories() { @@ -144,7 +144,7 @@ public java.util.ListNumerical values to allow ordering of Products within a specified Category.

    */ public com.commercetools.api.models.product.CategoryOrderHints getCategoryOrderHints() { @@ -152,7 +152,7 @@ public com.commercetools.api.models.product.CategoryOrderHints getCategoryOrderH } /** - * + *

    Title of the Product displayed in search results.

    */ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { @@ -160,7 +160,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - * + *

    Description of the Product displayed in search results.

    */ public com.commercetools.api.models.common.LocalizedString getMetaDescription() { @@ -168,7 +168,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaDescription() } /** - * + *

    Keywords that give additional information about the Product to search engines.

    */ public com.commercetools.api.models.common.LocalizedString getMetaKeywords() { @@ -176,7 +176,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaKeywords() { } /** - *

    The master product variant. Required if the variants array has product variants.

    + *

    The Product Variant to be the Master Variant for the Product. Required if variants are provided also.

    */ public com.commercetools.api.models.product.ProductVariantDraft getMasterVariant() { @@ -184,7 +184,7 @@ public com.commercetools.api.models.product.ProductVariantDraft getMasterVariant } /** - *

    An array of related product variants.

    + *

    The additional Product Variants for the Product.

    */ public java.util.List getVariants() { @@ -192,7 +192,7 @@ public java.util.List } /** - * + *

    The Tax Category to be assigned to the Product.

    */ public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier getTaxCategory() { @@ -200,7 +200,7 @@ public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier g } /** - * + *

    Used by Product Suggestions, but is also considered for a full text search.

    */ public com.commercetools.api.models.product.SearchKeywords getSearchKeywords() { @@ -208,7 +208,7 @@ public com.commercetools.api.models.product.SearchKeywords getSearchKeywords() { } /** - * + *

    State to be assigned to the Product.

    */ public com.commercetools.api.models.state.StateResourceIdentifier getState() { @@ -216,7 +216,7 @@ public com.commercetools.api.models.state.StateResourceIdentifier getState() { } /** - *

    If true, the product is published immediately.

    + *

    If true, the Product is published immediately to the current projection.

    */ public Boolean getPublish() { @@ -224,7 +224,7 @@ public Boolean getPublish() { } /** - *

    Specifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Specifies the type of prices used when looking up a price for the Product.

    */ public com.commercetools.api.models.product.ProductPriceModeEnum getPriceMode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductImpl.java index ba7142576b4..e976430bbf8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * Product + *

    An abstract sellable good with a set of Attributes defined by a Product Type. Products themselves are not sellable. Instead, they act as a parent structure for Product Variants. Each Product must have at least one Product Variant, which is called the Master Variant. A single Product representation contains the current and the staged representation of its product data.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductImpl implements Product, ModelBase { @@ -86,7 +86,7 @@ public String getId() { } /** - *

    The current version of the product.

    + *

    Current version of the Product.

    */ public Long getVersion() { @@ -94,7 +94,7 @@ public Long getVersion() { } /** - * + *

    Date and time (UTC) the Product was initially created.

    */ public java.time.ZonedDateTime getCreatedAt() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

    Date and time (UTC) the Product was last updated.

    */ public java.time.ZonedDateTime getLastModifiedAt() { @@ -126,7 +126,8 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - *

    User-defined unique identifier of the Product. Product keys are different from ProductVariant keys.

    + *

    User-defined unique identifier of the Product.

    + *

    This is different from the key of a ProductVariant.

    */ public String getKey() { @@ -134,7 +135,7 @@ public String getKey() { } /** - * + *

    The Product Type defining the Attributes of the Product. Cannot be changed.

    */ public com.commercetools.api.models.product_type.ProductTypeReference getProductType() { @@ -142,7 +143,7 @@ public com.commercetools.api.models.product_type.ProductTypeReference getProduct } /** - *

    The product data in the master catalog.

    + *

    Contains the current and the staged representation of the product information.

    */ public com.commercetools.api.models.product.ProductCatalogData getMasterData() { @@ -150,7 +151,7 @@ public com.commercetools.api.models.product.ProductCatalogData getMasterData() { } /** - * + *

    The TaxCategory of the Product.

    */ public com.commercetools.api.models.tax_category.TaxCategoryReference getTaxCategory() { @@ -158,7 +159,7 @@ public com.commercetools.api.models.tax_category.TaxCategoryReference getTaxCate } /** - * + *

    State of the Product.

    */ public com.commercetools.api.models.state.StateReference getState() { @@ -166,7 +167,7 @@ public com.commercetools.api.models.state.StateReference getState() { } /** - *

    Statistics about the review ratings taken into account for this product.

    + *

    Review statistics of the Product.

    */ public com.commercetools.api.models.review.ReviewRatingStatistics getReviewRatingStatistics() { @@ -174,7 +175,7 @@ public com.commercetools.api.models.review.ReviewRatingStatistics getReviewRatin } /** - *

    Specifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Type of Price to be used when looking up a price for the Product.

    */ public com.commercetools.api.models.product.ProductPriceModeEnum getPriceMode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionAction.java index 88a6e86ffe6..6cdd35a4610 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductMoveImageToPositionAction + *

    Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -33,35 +33,35 @@ public interface ProductMoveImageToPositionAction extends ProductUpdateAction { String MOVE_IMAGE_TO_POSITION = "moveImageToPosition"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - *

    The URL of the image

    + *

    The URL of the image to update.

    */ @NotNull @JsonProperty("imageUrl") public String getImageUrl(); /** - * + *

    Position in images where the image should be moved. Must be between 0 and the total number of images minus 1.

    */ @NotNull @JsonProperty("position") public Long getPosition(); /** - * + *

    If true, only the staged images is updated. If false, both the current and staged images is updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionActionBuilder.java index f85d2a2b80c..f9ab42456b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionActionBuilder.java @@ -38,7 +38,7 @@ public class ProductMoveImageToPositionActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductMoveImageToPositionActionBuilder variantId(@Nullable final Long variantId) { @@ -47,7 +47,7 @@ public ProductMoveImageToPositionActionBuilder variantId(@Nullable final Long va } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductMoveImageToPositionActionBuilder sku(@Nullable final String sku) { @@ -56,7 +56,7 @@ public ProductMoveImageToPositionActionBuilder sku(@Nullable final String sku) { } /** - *

    The URL of the image

    + *

    The URL of the image to update.

    */ public ProductMoveImageToPositionActionBuilder imageUrl(final String imageUrl) { @@ -65,7 +65,7 @@ public ProductMoveImageToPositionActionBuilder imageUrl(final String imageUrl) { } /** - * + *

    Position in images where the image should be moved. Must be between 0 and the total number of images minus 1.

    */ public ProductMoveImageToPositionActionBuilder position(final Long position) { @@ -74,7 +74,7 @@ public ProductMoveImageToPositionActionBuilder position(final Long position) { } /** - * + *

    If true, only the staged images is updated. If false, both the current and staged images is updated.

    */ public ProductMoveImageToPositionActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionActionImpl.java index 547358f4a8c..52bbda4694a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductMoveImageToPositionActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductMoveImageToPositionAction + *

    Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductMoveImageToPositionActionImpl implements ProductMoveImageToPositionAction, ModelBase { @@ -57,7 +57,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -65,7 +65,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -73,7 +73,7 @@ public String getSku() { } /** - *

    The URL of the image

    + *

    The URL of the image to update.

    */ public String getImageUrl() { @@ -81,7 +81,7 @@ public String getImageUrl() { } /** - * + *

    Position in images where the image should be moved. Must be between 0 and the total number of images minus 1.

    */ public Long getPosition() { @@ -89,7 +89,7 @@ public Long getPosition() { } /** - * + *

    If true, only the staged images is updated. If false, both the current and staged images is updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponse.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponse.java index 09702f983a4..186951890a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponse.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponse.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPagedQueryResponse + *

    PagedQueryResult with results containing an array of Product.

    * *
    * Example to create an instance using the builder pattern @@ -22,8 +22,8 @@ *
    
      *     ProductPagedQueryResponse productPagedQueryResponse = ProductPagedQueryResponse.builder()
      *             .limit(0.3)
    - *             .count(0.3)
      *             .offset(0.3)
    + *             .count(0.3)
      *             .plusResults(resultsBuilder -> resultsBuilder)
      *             .build()
      * 
    @@ -41,28 +41,28 @@ public interface ProductPagedQueryResponse extends com.commercetools.api.models. public Long getLimit(); /** - * + *

    Number of elements skipped.

    + */ + @NotNull + @JsonProperty("offset") + public Long getOffset(); + + /** + *

    Actual number of results returned.

    */ @NotNull @JsonProperty("count") public Long getCount(); /** - * + *

    Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

    */ @JsonProperty("total") public Long getTotal(); /** - *

    Number of elements skipped.

    - */ - @NotNull - @JsonProperty("offset") - public Long getOffset(); - - /** - * + *

    Products matching the query.

    */ @NotNull @Valid @@ -71,12 +71,12 @@ public interface ProductPagedQueryResponse extends com.commercetools.api.models. public void setLimit(final Long limit); + public void setOffset(final Long offset); + public void setCount(final Long count); public void setTotal(final Long total); - public void setOffset(final Long offset); - @JsonIgnore public void setResults(final Product... results); @@ -89,9 +89,9 @@ public static ProductPagedQueryResponse of() { public static ProductPagedQueryResponse of(final ProductPagedQueryResponse template) { ProductPagedQueryResponseImpl instance = new ProductPagedQueryResponseImpl(); instance.setLimit(template.getLimit()); + instance.setOffset(template.getOffset()); instance.setCount(template.getCount()); instance.setTotal(template.getTotal()); - instance.setOffset(template.getOffset()); instance.setResults(template.getResults()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponseBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponseBuilder.java index 1750ef2b2ac..13d15b0f2c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponseBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponseBuilder.java @@ -17,8 +17,8 @@ *
    
      *     ProductPagedQueryResponse productPagedQueryResponse = ProductPagedQueryResponse.builder()
      *             .limit(0.3)
    - *             .count(0.3)
      *             .offset(0.3)
    + *             .count(0.3)
      *             .plusResults(resultsBuilder -> resultsBuilder)
      *             .build()
      * 
    @@ -29,13 +29,13 @@ public class ProductPagedQueryResponseBuilder implements Builder results; /** @@ -48,34 +48,34 @@ public ProductPagedQueryResponseBuilder limit(final Long limit) { } /** - * + *

    Number of elements skipped.

    */ - public ProductPagedQueryResponseBuilder count(final Long count) { - this.count = count; + public ProductPagedQueryResponseBuilder offset(final Long offset) { + this.offset = offset; return this; } /** - * + *

    Actual number of results returned.

    */ - public ProductPagedQueryResponseBuilder total(@Nullable final Long total) { - this.total = total; + public ProductPagedQueryResponseBuilder count(final Long count) { + this.count = count; return this; } /** - *

    Number of elements skipped.

    + *

    Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

    */ - public ProductPagedQueryResponseBuilder offset(final Long offset) { - this.offset = offset; + public ProductPagedQueryResponseBuilder total(@Nullable final Long total) { + this.total = total; return this; } /** - * + *

    Products matching the query.

    */ public ProductPagedQueryResponseBuilder results(final com.commercetools.api.models.product.Product... results) { @@ -84,7 +84,7 @@ public ProductPagedQueryResponseBuilder results(final com.commercetools.api.mode } /** - * + *

    Products matching the query.

    */ public ProductPagedQueryResponseBuilder results( @@ -94,7 +94,7 @@ public ProductPagedQueryResponseBuilder results( } /** - * + *

    Products matching the query.

    */ public ProductPagedQueryResponseBuilder plusResults(final com.commercetools.api.models.product.Product... results) { @@ -106,7 +106,7 @@ public ProductPagedQueryResponseBuilder plusResults(final com.commercetools.api. } /** - * + *

    Products matching the query.

    */ public ProductPagedQueryResponseBuilder plusResults( @@ -119,7 +119,7 @@ public ProductPagedQueryResponseBuilder plusResults( } /** - * + *

    Products matching the query.

    */ public ProductPagedQueryResponseBuilder withResults( @@ -133,6 +133,10 @@ public Long getLimit() { return this.limit; } + public Long getOffset() { + return this.offset; + } + public Long getCount() { return this.count; } @@ -142,27 +146,23 @@ public Long getTotal() { return this.total; } - public Long getOffset() { - return this.offset; - } - public java.util.List getResults() { return this.results; } public ProductPagedQueryResponse build() { Objects.requireNonNull(limit, ProductPagedQueryResponse.class + ": limit is missing"); - Objects.requireNonNull(count, ProductPagedQueryResponse.class + ": count is missing"); Objects.requireNonNull(offset, ProductPagedQueryResponse.class + ": offset is missing"); + Objects.requireNonNull(count, ProductPagedQueryResponse.class + ": count is missing"); Objects.requireNonNull(results, ProductPagedQueryResponse.class + ": results is missing"); - return new ProductPagedQueryResponseImpl(limit, count, total, offset, results); + return new ProductPagedQueryResponseImpl(limit, offset, count, total, results); } /** * builds ProductPagedQueryResponse without checking for non null required values */ public ProductPagedQueryResponse buildUnchecked() { - return new ProductPagedQueryResponseImpl(limit, count, total, offset, results); + return new ProductPagedQueryResponseImpl(limit, offset, count, total, results); } public static ProductPagedQueryResponseBuilder of() { @@ -172,9 +172,9 @@ public static ProductPagedQueryResponseBuilder of() { public static ProductPagedQueryResponseBuilder of(final ProductPagedQueryResponse template) { ProductPagedQueryResponseBuilder builder = new ProductPagedQueryResponseBuilder(); builder.limit = template.getLimit(); + builder.offset = template.getOffset(); builder.count = template.getCount(); builder.total = template.getTotal(); - builder.offset = template.getOffset(); builder.results = template.getResults(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponseImpl.java index beb83ff6fbc..f98cd9378a2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPagedQueryResponseImpl.java @@ -15,29 +15,29 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPagedQueryResponse + *

    PagedQueryResult with results containing an array of Product.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPagedQueryResponseImpl implements ProductPagedQueryResponse, ModelBase { private Long limit; + private Long offset; + private Long count; private Long total; - private Long offset; - private java.util.List results; @JsonCreator - ProductPagedQueryResponseImpl(@JsonProperty("limit") final Long limit, @JsonProperty("count") final Long count, - @JsonProperty("total") final Long total, @JsonProperty("offset") final Long offset, + ProductPagedQueryResponseImpl(@JsonProperty("limit") final Long limit, @JsonProperty("offset") final Long offset, + @JsonProperty("count") final Long count, @JsonProperty("total") final Long total, @JsonProperty("results") final java.util.List results) { this.limit = limit; + this.offset = offset; this.count = count; this.total = total; - this.offset = offset; this.results = results; } @@ -53,31 +53,31 @@ public Long getLimit() { } /** - * + *

    Number of elements skipped.

    */ - public Long getCount() { - return this.count; + public Long getOffset() { + return this.offset; } /** - * + *

    Actual number of results returned.

    */ - public Long getTotal() { - return this.total; + public Long getCount() { + return this.count; } /** - *

    Number of elements skipped.

    + *

    Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

    */ - public Long getOffset() { - return this.offset; + public Long getTotal() { + return this.total; } /** - * + *

    Products matching the query.

    */ public java.util.List getResults() { @@ -88,6 +88,10 @@ public void setLimit(final Long limit) { this.limit = limit; } + public void setOffset(final Long offset) { + this.offset = offset; + } + public void setCount(final Long count) { this.count = count; } @@ -96,10 +100,6 @@ public void setTotal(final Long total) { this.total = total; } - public void setOffset(final Long offset) { - this.offset = offset; - } - public void setResults(final com.commercetools.api.models.product.Product... results) { this.results = new ArrayList<>(Arrays.asList(results)); } @@ -119,9 +119,9 @@ public boolean equals(Object o) { ProductPagedQueryResponseImpl that = (ProductPagedQueryResponseImpl) o; return new EqualsBuilder().append(limit, that.limit) + .append(offset, that.offset) .append(count, that.count) .append(total, that.total) - .append(offset, that.offset) .append(results, that.results) .isEquals(); } @@ -129,9 +129,9 @@ public boolean equals(Object o) { @Override public int hashCode() { return new HashCodeBuilder(17, 37).append(limit) + .append(offset) .append(count) .append(total) - .append(offset) .append(results) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPriceModeEnum.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPriceModeEnum.java index bffe8a29a7b..f18eef9bbab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPriceModeEnum.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPriceModeEnum.java @@ -10,18 +10,18 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    This mode specifies which type of prices should be used when looking up the price of a product.

    + *

    This mode determines the type of Prices used for Product Price Selection as well as for LineItem Price selection.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface ProductPriceModeEnum { /** -

    The API uses the prices located inside the prices field in Product.

    +

    Composable Commerce uses the Embedded Prices located inside the prices field in ProductVariant.

    */ ProductPriceModeEnum EMBEDDED = ProductPriceModeEnumEnum.EMBEDDED; /** -

    The API uses StandalonePrices, which are associated with the ProductVariant through the sku field.

    +

    Composable Commerce uses StandalonePrices, which are associated with the ProductVariant through the sku field.

    */ ProductPriceModeEnum STANDALONE = ProductPriceModeEnumEnum.STANDALONE; diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishAction.java index 92df65b77fa..93c32fa48b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishAction.java @@ -12,7 +12,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductPublishAction + *

    Publishes product data from the Product's staged projection to its current projection. Produces the ProductPublished Message.

    * *
    * Example to create an instance using the builder pattern @@ -30,7 +30,7 @@ public interface ProductPublishAction extends ProductUpdateAction { String PUBLISH = "publish"; /** - * + *

    All or Prices

    */ @JsonProperty("scope") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishActionBuilder.java index 5838ca19fed..1491e5c98e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishActionBuilder.java @@ -26,7 +26,7 @@ public class ProductPublishActionBuilder implements BuilderAll or Prices

    */ public ProductPublishActionBuilder scope( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishActionImpl.java index 58eed01a1f9..56dfae1a123 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductPublishActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductPublishAction + *

    Publishes product data from the Product's staged projection to its current projection. Produces the ProductPublished Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductPublishActionImpl implements ProductPublishAction, ModelBase { @@ -43,7 +43,7 @@ public String getAction() { } /** - * + *

    All or Prices

    */ public com.commercetools.api.models.cart.ProductPublishScope getScope() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetAction.java index 952960fc161..6a67ed22cdb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRemoveAssetAction + *

    Either variantId or sku is required. The Asset to remove must be specified using either assetId or assetKey.

    * *
    * Example to create an instance using the builder pattern @@ -29,35 +29,35 @@ public interface ProductRemoveAssetAction extends ProductUpdateAction { String REMOVE_ASSET = "removeAsset"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Asset is removed. If false, both the current and staged Asset is removed.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    The id of the Asset to remove.

    */ @JsonProperty("assetId") public String getAssetId(); /** - * + *

    The key of the Asset to remove.

    */ @JsonProperty("assetKey") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetActionBuilder.java index 56680df83ee..764ad420494 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetActionBuilder.java @@ -38,7 +38,7 @@ public class ProductRemoveAssetActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductRemoveAssetActionBuilder variantId(@Nullable final Long variantId) { @@ -47,7 +47,7 @@ public ProductRemoveAssetActionBuilder variantId(@Nullable final Long variantId) } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductRemoveAssetActionBuilder sku(@Nullable final String sku) { @@ -56,7 +56,7 @@ public ProductRemoveAssetActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Asset is removed. If false, both the current and staged Asset is removed.

    */ public ProductRemoveAssetActionBuilder staged(@Nullable final Boolean staged) { @@ -65,7 +65,7 @@ public ProductRemoveAssetActionBuilder staged(@Nullable final Boolean staged) { } /** - * + *

    The id of the Asset to remove.

    */ public ProductRemoveAssetActionBuilder assetId(@Nullable final String assetId) { @@ -74,7 +74,7 @@ public ProductRemoveAssetActionBuilder assetId(@Nullable final String assetId) { } /** - * + *

    The key of the Asset to remove.

    */ public ProductRemoveAssetActionBuilder assetKey(@Nullable final String assetKey) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetActionImpl.java index 0c48132f08d..048db358dfd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveAssetActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRemoveAssetAction + *

    Either variantId or sku is required. The Asset to remove must be specified using either assetId or assetKey.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRemoveAssetActionImpl implements ProductRemoveAssetAction, ModelBase { @@ -57,7 +57,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -65,7 +65,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -73,7 +73,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Asset is removed. If false, both the current and staged Asset is removed.

    */ public Boolean getStaged() { @@ -81,7 +81,7 @@ public Boolean getStaged() { } /** - * + *

    The id of the Asset to remove.

    */ public String getAssetId() { @@ -89,7 +89,7 @@ public String getAssetId() { } /** - * + *

    The key of the Asset to remove.

    */ public String getAssetKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryAction.java index e4772a9bd5d..548dfa3f448 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRemoveFromCategoryAction + *

    Produces the ProductRemovedFromCategory Message.

    * *
    * Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ProductRemoveFromCategoryAction extends ProductUpdateAction { String REMOVE_FROM_CATEGORY = "removeFromCategory"; /** - * + *

    The Category to remove.

    */ @NotNull @Valid @@ -42,7 +42,7 @@ public interface ProductRemoveFromCategoryAction extends ProductUpdateAction { public CategoryResourceIdentifier getCategory(); /** - * + *

    If true, only the staged categories and categoryOrderHints are removed. If false, both the current and staged categories and categoryOrderHints are removed.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryActionBuilder.java index 294dca96720..afd3b5bc6f8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryActionBuilder.java @@ -30,7 +30,7 @@ public class ProductRemoveFromCategoryActionBuilder implements BuilderThe Category to remove.

    */ public ProductRemoveFromCategoryActionBuilder category( @@ -41,7 +41,7 @@ public ProductRemoveFromCategoryActionBuilder category( } /** - * + *

    The Category to remove.

    */ public ProductRemoveFromCategoryActionBuilder category( @@ -51,7 +51,7 @@ public ProductRemoveFromCategoryActionBuilder category( } /** - * + *

    If true, only the staged categories and categoryOrderHints are removed. If false, both the current and staged categories and categoryOrderHints are removed.

    */ public ProductRemoveFromCategoryActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryActionImpl.java index ab35f651da7..1374398d038 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveFromCategoryActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRemoveFromCategoryAction + *

    Produces the ProductRemovedFromCategory Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRemoveFromCategoryActionImpl implements ProductRemoveFromCategoryAction, ModelBase { @@ -48,7 +48,7 @@ public String getAction() { } /** - * + *

    The Category to remove.

    */ public com.commercetools.api.models.category.CategoryResourceIdentifier getCategory() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.category.CategoryResourceIdentifier getCateg } /** - * + *

    If true, only the staged categories and categoryOrderHints are removed. If false, both the current and staged categories and categoryOrderHints are removed.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageAction.java index cbb25bf62dc..a2d4fa19b05 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRemoveImageAction + *

    Removes a Product image and deletes it from the Content Delivery Network (external images are not deleted). Deletion from the CDN is not instant, which means the image file itself will stay available for some time after the deletion. Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -32,28 +32,28 @@ public interface ProductRemoveImageAction extends ProductUpdateAction { String REMOVE_IMAGE = "removeImage"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - *

    The URL of the image.

    + *

    The URL of the image to remove.

    */ @NotNull @JsonProperty("imageUrl") public String getImageUrl(); /** - * + *

    If true, only the staged image is removed. If false, both the current and staged image is removed.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageActionBuilder.java index 2763a12d9f9..f1db70457b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageActionBuilder.java @@ -35,7 +35,7 @@ public class ProductRemoveImageActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductRemoveImageActionBuilder variantId(@Nullable final Long variantId) { @@ -44,7 +44,7 @@ public ProductRemoveImageActionBuilder variantId(@Nullable final Long variantId) } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductRemoveImageActionBuilder sku(@Nullable final String sku) { @@ -53,7 +53,7 @@ public ProductRemoveImageActionBuilder sku(@Nullable final String sku) { } /** - *

    The URL of the image.

    + *

    The URL of the image to remove.

    */ public ProductRemoveImageActionBuilder imageUrl(final String imageUrl) { @@ -62,7 +62,7 @@ public ProductRemoveImageActionBuilder imageUrl(final String imageUrl) { } /** - * + *

    If true, only the staged image is removed. If false, both the current and staged image is removed.

    */ public ProductRemoveImageActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageActionImpl.java index 2d1ef7761b3..8902fa00d6e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveImageActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRemoveImageAction + *

    Removes a Product image and deletes it from the Content Delivery Network (external images are not deleted). Deletion from the CDN is not instant, which means the image file itself will stay available for some time after the deletion. Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRemoveImageActionImpl implements ProductRemoveImageAction, ModelBase { @@ -53,7 +53,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -61,7 +61,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -69,7 +69,7 @@ public String getSku() { } /** - *

    The URL of the image.

    + *

    The URL of the image to remove.

    */ public String getImageUrl() { @@ -77,7 +77,7 @@ public String getImageUrl() { } /** - * + *

    If true, only the staged image is removed. If false, both the current and staged image is removed.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceAction.java index c3ff41415b7..15667e246b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceAction.java @@ -32,14 +32,14 @@ public interface ProductRemovePriceAction extends ProductUpdateAction { String REMOVE_PRICE = "removePrice"; /** - *

    ID of the EmbeddedPrice

    + *

    The id of the Embedded Price to remove.

    */ @NotNull @JsonProperty("priceId") public String getPriceId(); /** - * + *

    If true, only the staged Embedded Price is removed. If false, both the current and staged Embedded Price are removed.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceActionBuilder.java index 15d354d2b6a..cd47e0ed47f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceActionBuilder.java @@ -29,7 +29,7 @@ public class ProductRemovePriceActionBuilder implements BuilderID of the EmbeddedPrice

    + *

    The id of the Embedded Price to remove.

    */ public ProductRemovePriceActionBuilder priceId(final String priceId) { @@ -38,7 +38,7 @@ public ProductRemovePriceActionBuilder priceId(final String priceId) { } /** - * + *

    If true, only the staged Embedded Price is removed. If false, both the current and staged Embedded Price are removed.

    */ public ProductRemovePriceActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceActionImpl.java index 65ba77bd7fe..597b8ebb18e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemovePriceActionImpl.java @@ -47,7 +47,7 @@ public String getAction() { } /** - *

    ID of the EmbeddedPrice

    + *

    The id of the Embedded Price to remove.

    */ public String getPriceId() { @@ -55,7 +55,7 @@ public String getPriceId() { } /** - * + *

    If true, only the staged Embedded Price is removed. If false, both the current and staged Embedded Price are removed.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantAction.java index 544564f2138..c678a094c46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRemoveVariantAction + *

    Either id or sku is required. Produces the ProductVariantDeleted Message.

    * *
    * Example to create an instance using the builder pattern @@ -29,21 +29,21 @@ public interface ProductRemoveVariantAction extends ProductUpdateAction { String REMOVE_VARIANT = "removeVariant"; /** - * + *

    The id of the ProductVariant to remove.

    */ @JsonProperty("id") public Long getId(); /** - * + *

    The sku of the ProductVariant to remove.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged ProductVariant is removed. If false, both the current and staged ProductVariant is removed.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantActionBuilder.java index e45379d30c3..8de7cfb3242 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantActionBuilder.java @@ -32,7 +32,7 @@ public class ProductRemoveVariantActionBuilder implements BuilderThe id of the ProductVariant to remove.

    */ public ProductRemoveVariantActionBuilder id(@Nullable final Long id) { @@ -41,7 +41,7 @@ public ProductRemoveVariantActionBuilder id(@Nullable final Long id) { } /** - * + *

    The sku of the ProductVariant to remove.

    */ public ProductRemoveVariantActionBuilder sku(@Nullable final String sku) { @@ -50,7 +50,7 @@ public ProductRemoveVariantActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged ProductVariant is removed. If false, both the current and staged ProductVariant is removed.

    */ public ProductRemoveVariantActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantActionImpl.java index 75ea4454b4a..ffe15138603 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRemoveVariantActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRemoveVariantAction + *

    Either id or sku is required. Produces the ProductVariantDeleted Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRemoveVariantActionImpl implements ProductRemoveVariantAction, ModelBase { @@ -50,7 +50,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to remove.

    */ public Long getId() { @@ -58,7 +58,7 @@ public Long getId() { } /** - * + *

    The sku of the ProductVariant to remove.

    */ public String getSku() { @@ -66,7 +66,7 @@ public String getSku() { } /** - * + *

    If true, only the staged ProductVariant is removed. If false, both the current and staged ProductVariant is removed.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifier.java index 26ce504a16f..01efcb512f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifier.java @@ -12,7 +12,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to a Product.

    + *

    ResourceIdentifier to a Product. Either id or key is required.

    * *
    * Example to create an instance using the builder pattern @@ -31,14 +31,14 @@ public interface ProductResourceIdentifier String PRODUCT = "product"; /** - *

    Unique identifier of the referenced Product. Either id or key is required.

    + *

    Unique identifier of the referenced Product.

    */ @JsonProperty("id") public String getId(); /** - *

    User-defined unique identifier of the referenced Product. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Product.

    */ @JsonProperty("key") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifierBuilder.java index 2ee98216aa1..e9733504274 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ProductResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Product. Either id or key is required.

    + *

    Unique identifier of the referenced Product.

    */ public ProductResourceIdentifierBuilder id(@Nullable final String id) { @@ -38,7 +38,7 @@ public ProductResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced Product. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Product.

    */ public ProductResourceIdentifierBuilder key(@Nullable final String key) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifierImpl.java index b1f82e8663c..aa5569c5059 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductResourceIdentifierImpl.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    ResourceIdentifier to a Product.

    + *

    ResourceIdentifier to a Product. Either id or key is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductResourceIdentifierImpl implements ProductResourceIdentifier, ModelBase { @@ -47,7 +47,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced Product. Either id or key is required.

    + *

    Unique identifier of the referenced Product.

    */ public String getId() { @@ -55,7 +55,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced Product. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Product.

    */ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedChangesAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedChangesAction.java index a1ef7fce9ab..d08225b10e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedChangesAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedChangesAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRevertStagedChangesAction + *

    Reverts the staged version of a Product to the current version. Produces the ProductRevertedStagedChanges Message.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedChangesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedChangesActionImpl.java index b4d6f1dfcfd..ae1225ff910 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedChangesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedChangesActionImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRevertStagedChangesAction + *

    Reverts the staged version of a Product to the current version. Produces the ProductRevertedStagedChanges Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRevertStagedChangesActionImpl implements ProductRevertStagedChangesAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesAction.java index c2be904d19f..185ccc6a5a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductRevertStagedVariantChangesAction + *

    Reverts the staged version of a ProductVariant to the current version.

    * *
    * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface ProductRevertStagedVariantChangesAction extends ProductUpdateAc String REVERT_STAGED_VARIANT_CHANGES = "revertStagedVariantChanges"; /** - * + *

    The id of the ProductVariant to revert.

    */ @NotNull @JsonProperty("variantId") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesActionBuilder.java index 4da96fa8ee4..a1f45c78dd4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesActionBuilder.java @@ -25,7 +25,7 @@ public class ProductRevertStagedVariantChangesActionBuilder private Long variantId; /** - * + *

    The id of the ProductVariant to revert.

    */ public ProductRevertStagedVariantChangesActionBuilder variantId(final Long variantId) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesActionImpl.java index 172b9ed8ac1..02a2ad43ad5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductRevertStagedVariantChangesActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductRevertStagedVariantChangesAction + *

    Reverts the staged version of a ProductVariant to the current version.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductRevertStagedVariantChangesActionImpl implements ProductRevertStagedVariantChangesAction, ModelBase { @@ -43,7 +43,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to revert.

    */ public Long getVariantId() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldAction.java index f25f715c77f..77bcd43bd0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetAssetCustomFieldAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    * *
    * Example to create an instance using the builder pattern @@ -32,35 +32,35 @@ public interface ProductSetAssetCustomFieldAction extends ProductUpdateAction { String SET_ASSET_CUSTOM_FIELD = "setAssetCustomField"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    The id of the Asset to update.

    */ @JsonProperty("assetId") public String getAssetId(); /** - * + *

    The key of the Asset to update.

    */ @JsonProperty("assetKey") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldActionBuilder.java index 287a1ffa70b..b1cdaa4b031 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldActionBuilder.java @@ -44,7 +44,7 @@ public class ProductSetAssetCustomFieldActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductSetAssetCustomFieldActionBuilder variantId(@Nullable final Long variantId) { @@ -53,7 +53,7 @@ public ProductSetAssetCustomFieldActionBuilder variantId(@Nullable final Long va } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetAssetCustomFieldActionBuilder sku(@Nullable final String sku) { @@ -62,7 +62,7 @@ public ProductSetAssetCustomFieldActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public ProductSetAssetCustomFieldActionBuilder staged(@Nullable final Boolean staged) { @@ -71,7 +71,7 @@ public ProductSetAssetCustomFieldActionBuilder staged(@Nullable final Boolean st } /** - * + *

    The id of the Asset to update.

    */ public ProductSetAssetCustomFieldActionBuilder assetId(@Nullable final String assetId) { @@ -80,7 +80,7 @@ public ProductSetAssetCustomFieldActionBuilder assetId(@Nullable final String as } /** - * + *

    The key of the Asset to update.

    */ public ProductSetAssetCustomFieldActionBuilder assetKey(@Nullable final String assetKey) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldActionImpl.java index b1a802a2c53..2a2fc569837 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomFieldActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetAssetCustomFieldAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetAssetCustomFieldActionImpl implements ProductSetAssetCustomFieldAction, ModelBase { @@ -64,7 +64,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -72,7 +72,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -80,7 +80,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public Boolean getStaged() { @@ -88,7 +88,7 @@ public Boolean getStaged() { } /** - * + *

    The id of the Asset to update.

    */ public String getAssetId() { @@ -96,7 +96,7 @@ public String getAssetId() { } /** - * + *

    The key of the Asset to update.

    */ public String getAssetKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeAction.java index 77b2e44d865..4ee898aee89 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetAssetCustomTypeAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    * *
    * Example to create an instance using the builder pattern @@ -33,35 +33,35 @@ public interface ProductSetAssetCustomTypeAction extends ProductUpdateAction { String SET_ASSET_CUSTOM_TYPE = "setAssetCustomType"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    The id of the Asset to update.

    */ @JsonProperty("assetId") public String getAssetId(); /** - * + *

    The key of the Asset to update.

    */ @JsonProperty("assetKey") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeActionBuilder.java index ae6e0832835..1323f661f8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeActionBuilder.java @@ -45,7 +45,7 @@ public class ProductSetAssetCustomTypeActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductSetAssetCustomTypeActionBuilder variantId(@Nullable final Long variantId) { @@ -54,7 +54,7 @@ public ProductSetAssetCustomTypeActionBuilder variantId(@Nullable final Long var } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetAssetCustomTypeActionBuilder sku(@Nullable final String sku) { @@ -63,7 +63,7 @@ public ProductSetAssetCustomTypeActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public ProductSetAssetCustomTypeActionBuilder staged(@Nullable final Boolean staged) { @@ -72,7 +72,7 @@ public ProductSetAssetCustomTypeActionBuilder staged(@Nullable final Boolean sta } /** - * + *

    The id of the Asset to update.

    */ public ProductSetAssetCustomTypeActionBuilder assetId(@Nullable final String assetId) { @@ -81,7 +81,7 @@ public ProductSetAssetCustomTypeActionBuilder assetId(@Nullable final String ass } /** - * + *

    The key of the Asset to update.

    */ public ProductSetAssetCustomTypeActionBuilder assetKey(@Nullable final String assetKey) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeActionImpl.java index f95357fd801..38f6f0cf31d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetCustomTypeActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetAssetCustomTypeAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetAssetCustomTypeActionImpl implements ProductSetAssetCustomTypeAction, ModelBase { @@ -65,7 +65,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -73,7 +73,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -81,7 +81,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public Boolean getStaged() { @@ -89,7 +89,7 @@ public Boolean getStaged() { } /** - * + *

    The id of the Asset to update.

    */ public String getAssetId() { @@ -97,7 +97,7 @@ public String getAssetId() { } /** - * + *

    The key of the Asset to update.

    */ public String getAssetKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionAction.java index dc4324f8a11..1f645d2437e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionAction.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetAssetDescriptionAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    * *
    * Example to create an instance using the builder pattern @@ -32,42 +32,42 @@ public interface ProductSetAssetDescriptionAction extends ProductUpdateAction { String SET_ASSET_DESCRIPTION = "setAssetDescription"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    The id of the Asset to update.

    */ @JsonProperty("assetId") public String getAssetId(); /** - * + *

    The key of the Asset to update.

    */ @JsonProperty("assetKey") public String getAssetKey(); /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ @Valid @JsonProperty("description") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionActionBuilder.java index 875be82dc05..ac2c2f22fd3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionActionBuilder.java @@ -42,7 +42,7 @@ public class ProductSetAssetDescriptionActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductSetAssetDescriptionActionBuilder variantId(@Nullable final Long variantId) { @@ -51,7 +51,7 @@ public ProductSetAssetDescriptionActionBuilder variantId(@Nullable final Long va } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetAssetDescriptionActionBuilder sku(@Nullable final String sku) { @@ -60,7 +60,7 @@ public ProductSetAssetDescriptionActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public ProductSetAssetDescriptionActionBuilder staged(@Nullable final Boolean staged) { @@ -69,7 +69,7 @@ public ProductSetAssetDescriptionActionBuilder staged(@Nullable final Boolean st } /** - * + *

    The id of the Asset to update.

    */ public ProductSetAssetDescriptionActionBuilder assetId(@Nullable final String assetId) { @@ -78,7 +78,7 @@ public ProductSetAssetDescriptionActionBuilder assetId(@Nullable final String as } /** - * + *

    The key of the Asset to update.

    */ public ProductSetAssetDescriptionActionBuilder assetKey(@Nullable final String assetKey) { @@ -87,7 +87,7 @@ public ProductSetAssetDescriptionActionBuilder assetKey(@Nullable final String a } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetAssetDescriptionActionBuilder description( @@ -97,7 +97,7 @@ public ProductSetAssetDescriptionActionBuilder description( } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetAssetDescriptionActionBuilder description( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionActionImpl.java index b3f4b31cdac..8ba183c4e27 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetDescriptionActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetAssetDescriptionAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetAssetDescriptionActionImpl implements ProductSetAssetDescriptionAction, ModelBase { @@ -61,7 +61,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -69,7 +69,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -77,7 +77,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public Boolean getStaged() { @@ -85,7 +85,7 @@ public Boolean getStaged() { } /** - * + *

    The id of the Asset to update.

    */ public String getAssetId() { @@ -93,7 +93,7 @@ public String getAssetId() { } /** - * + *

    The key of the Asset to update.

    */ public String getAssetKey() { @@ -101,7 +101,7 @@ public String getAssetKey() { } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public com.commercetools.api.models.common.LocalizedString getDescription() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyAction.java index abb494d67e8..31cb0cd1056 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetAssetKeyAction + *

    Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -32,35 +32,35 @@ public interface ProductSetAssetKeyAction extends ProductUpdateAction { String SET_ASSET_KEY = "setAssetKey"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    The id of the Asset to update.

    */ @NotNull @JsonProperty("assetId") public String getAssetId(); /** - *

    User-defined identifier for the asset. If left blank or set to null, the asset key is unset/removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ @JsonProperty("assetKey") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyActionBuilder.java index 4b4d80f41f7..4522cbb6634 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyActionBuilder.java @@ -38,7 +38,7 @@ public class ProductSetAssetKeyActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductSetAssetKeyActionBuilder variantId(@Nullable final Long variantId) { @@ -47,7 +47,7 @@ public ProductSetAssetKeyActionBuilder variantId(@Nullable final Long variantId) } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetAssetKeyActionBuilder sku(@Nullable final String sku) { @@ -56,7 +56,7 @@ public ProductSetAssetKeyActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public ProductSetAssetKeyActionBuilder staged(@Nullable final Boolean staged) { @@ -65,7 +65,7 @@ public ProductSetAssetKeyActionBuilder staged(@Nullable final Boolean staged) { } /** - * + *

    The id of the Asset to update.

    */ public ProductSetAssetKeyActionBuilder assetId(final String assetId) { @@ -74,7 +74,7 @@ public ProductSetAssetKeyActionBuilder assetId(final String assetId) { } /** - *

    User-defined identifier for the asset. If left blank or set to null, the asset key is unset/removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetAssetKeyActionBuilder assetKey(@Nullable final String assetKey) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyActionImpl.java index db8a1916de1..f17f7f258a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetKeyActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetAssetKeyAction + *

    Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetAssetKeyActionImpl implements ProductSetAssetKeyAction, ModelBase { @@ -57,7 +57,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -65,7 +65,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -73,7 +73,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public Boolean getStaged() { @@ -81,7 +81,7 @@ public Boolean getStaged() { } /** - * + *

    The id of the Asset to update.

    */ public String getAssetId() { @@ -89,7 +89,7 @@ public String getAssetId() { } /** - *

    User-defined identifier for the asset. If left blank or set to null, the asset key is unset/removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ public String getAssetKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesAction.java index 4a2adc05e2d..13c02b1a8f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetAssetSourcesAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    * *
    * Example to create an instance using the builder pattern @@ -34,42 +34,42 @@ public interface ProductSetAssetSourcesAction extends ProductUpdateAction { String SET_ASSET_SOURCES = "setAssetSources"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Asset is updated. If false both the current and staged Asset is updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    The id of the Asset to update.

    */ @JsonProperty("assetId") public String getAssetId(); /** - * + *

    The key of the Asset to update.

    */ @JsonProperty("assetKey") public String getAssetKey(); /** - * + *

    Value to set.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesActionBuilder.java index 97d1e006c44..6bad20782df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesActionBuilder.java @@ -42,7 +42,7 @@ public class ProductSetAssetSourcesActionBuilder implements Builder sources; /** - * + *

    The id of the ProductVariant to update.

    */ public ProductSetAssetSourcesActionBuilder variantId(@Nullable final Long variantId) { @@ -51,7 +51,7 @@ public ProductSetAssetSourcesActionBuilder variantId(@Nullable final Long varian } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetAssetSourcesActionBuilder sku(@Nullable final String sku) { @@ -60,7 +60,7 @@ public ProductSetAssetSourcesActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Asset is updated. If false both the current and staged Asset is updated.

    */ public ProductSetAssetSourcesActionBuilder staged(@Nullable final Boolean staged) { @@ -69,7 +69,7 @@ public ProductSetAssetSourcesActionBuilder staged(@Nullable final Boolean staged } /** - * + *

    The id of the Asset to update.

    */ public ProductSetAssetSourcesActionBuilder assetId(@Nullable final String assetId) { @@ -78,7 +78,7 @@ public ProductSetAssetSourcesActionBuilder assetId(@Nullable final String assetI } /** - * + *

    The key of the Asset to update.

    */ public ProductSetAssetSourcesActionBuilder assetKey(@Nullable final String assetKey) { @@ -87,7 +87,7 @@ public ProductSetAssetSourcesActionBuilder assetKey(@Nullable final String asset } /** - * + *

    Value to set.

    */ public ProductSetAssetSourcesActionBuilder sources( @@ -97,7 +97,7 @@ public ProductSetAssetSourcesActionBuilder sources( } /** - * + *

    Value to set.

    */ public ProductSetAssetSourcesActionBuilder sources( @@ -107,7 +107,7 @@ public ProductSetAssetSourcesActionBuilder sources( } /** - * + *

    Value to set.

    */ public ProductSetAssetSourcesActionBuilder plusSources( @@ -120,7 +120,7 @@ public ProductSetAssetSourcesActionBuilder plusSources( } /** - * + *

    Value to set.

    */ public ProductSetAssetSourcesActionBuilder plusSources( @@ -133,7 +133,7 @@ public ProductSetAssetSourcesActionBuilder plusSources( } /** - * + *

    Value to set.

    */ public ProductSetAssetSourcesActionBuilder withSources( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesActionImpl.java index eefc9297d4b..4d2f489ec2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetSourcesActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetAssetSourcesAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetAssetSourcesActionImpl implements ProductSetAssetSourcesAction, ModelBase { @@ -61,7 +61,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -69,7 +69,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -77,7 +77,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Asset is updated. If false both the current and staged Asset is updated.

    */ public Boolean getStaged() { @@ -85,7 +85,7 @@ public Boolean getStaged() { } /** - * + *

    The id of the Asset to update.

    */ public String getAssetId() { @@ -93,7 +93,7 @@ public String getAssetId() { } /** - * + *

    The key of the Asset to update.

    */ public String getAssetKey() { @@ -101,7 +101,7 @@ public String getAssetKey() { } /** - * + *

    Value to set.

    */ public java.util.List getSources() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsAction.java index 42fa70cb047..df26b682ae3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetAssetTagsAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    * *
    * Example to create an instance using the builder pattern @@ -29,42 +29,42 @@ public interface ProductSetAssetTagsAction extends ProductUpdateAction { String SET_ASSET_TAGS = "setAssetTags"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    The id of the Asset to update.

    */ @JsonProperty("assetId") public String getAssetId(); /** - * + *

    The key of the Asset to update.

    */ @JsonProperty("assetKey") public String getAssetKey(); /** - * + *

    Keywords for categorizing and organizing Assets.

    */ @JsonProperty("tags") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsActionBuilder.java index 536e6b3ceae..e7a05f12fcf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsActionBuilder.java @@ -41,7 +41,7 @@ public class ProductSetAssetTagsActionBuilder implements Builder tags; /** - * + *

    The id of the ProductVariant to update.

    */ public ProductSetAssetTagsActionBuilder variantId(@Nullable final Long variantId) { @@ -50,7 +50,7 @@ public ProductSetAssetTagsActionBuilder variantId(@Nullable final Long variantId } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetAssetTagsActionBuilder sku(@Nullable final String sku) { @@ -59,7 +59,7 @@ public ProductSetAssetTagsActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public ProductSetAssetTagsActionBuilder staged(@Nullable final Boolean staged) { @@ -68,7 +68,7 @@ public ProductSetAssetTagsActionBuilder staged(@Nullable final Boolean staged) { } /** - * + *

    The id of the Asset to update.

    */ public ProductSetAssetTagsActionBuilder assetId(@Nullable final String assetId) { @@ -77,7 +77,7 @@ public ProductSetAssetTagsActionBuilder assetId(@Nullable final String assetId) } /** - * + *

    The key of the Asset to update.

    */ public ProductSetAssetTagsActionBuilder assetKey(@Nullable final String assetKey) { @@ -86,7 +86,7 @@ public ProductSetAssetTagsActionBuilder assetKey(@Nullable final String assetKey } /** - * + *

    Keywords for categorizing and organizing Assets.

    */ public ProductSetAssetTagsActionBuilder tags(@Nullable final String... tags) { @@ -95,7 +95,7 @@ public ProductSetAssetTagsActionBuilder tags(@Nullable final String... tags) { } /** - * + *

    Keywords for categorizing and organizing Assets.

    */ public ProductSetAssetTagsActionBuilder tags(@Nullable final java.util.List tags) { @@ -104,7 +104,7 @@ public ProductSetAssetTagsActionBuilder tags(@Nullable final java.util.ListKeywords for categorizing and organizing Assets.

    */ public ProductSetAssetTagsActionBuilder plusTags(@Nullable final String... tags) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsActionImpl.java index ece3b5cb73a..091f125990c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAssetTagsActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetAssetTagsAction + *

    Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetAssetTagsActionImpl implements ProductSetAssetTagsAction, ModelBase { @@ -61,7 +61,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -69,7 +69,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -77,7 +77,7 @@ public String getSku() { } /** - * + *

    If true, only the staged Asset is updated. If false, both the current and staged Asset is updated.

    */ public Boolean getStaged() { @@ -85,7 +85,7 @@ public Boolean getStaged() { } /** - * + *

    The id of the Asset to update.

    */ public String getAssetId() { @@ -93,7 +93,7 @@ public String getAssetId() { } /** - * + *

    The key of the Asset to update.

    */ public String getAssetKey() { @@ -101,7 +101,7 @@ public String getAssetKey() { } /** - * + *

    Keywords for categorizing and organizing Assets.

    */ public java.util.List getTags() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeAction.java index 7cd95a20f24..8abd76191bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetAttributeAction + *

    Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -32,35 +32,44 @@ public interface ProductSetAttributeAction extends ProductUpdateAction { String SET_ATTRIBUTE = "setAttribute"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    The name of the Attribute to set.

    */ @NotNull @JsonProperty("name") public String getName(); /** - *

    If the attribute exists and the value is omitted or set to null, the attribute is removed. If the attribute exists and a value is provided, the new value is applied. If the attribute does not exist and a value is provided, it is added as a new attribute.

    + *

    Value to set for the Attribute. If empty, any existing value will be removed.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ @JsonProperty("value") public Object getValue(); /** - * + *

    If true, only the staged Attribute is set. If false, both current and staged Attribute is set.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeActionBuilder.java index 5d255f61b6d..5773b7b8d32 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeActionBuilder.java @@ -38,7 +38,7 @@ public class ProductSetAttributeActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductSetAttributeActionBuilder variantId(@Nullable final Long variantId) { @@ -47,7 +47,7 @@ public ProductSetAttributeActionBuilder variantId(@Nullable final Long variantId } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetAttributeActionBuilder sku(@Nullable final String sku) { @@ -56,7 +56,7 @@ public ProductSetAttributeActionBuilder sku(@Nullable final String sku) { } /** - * + *

    The name of the Attribute to set.

    */ public ProductSetAttributeActionBuilder name(final String name) { @@ -65,7 +65,16 @@ public ProductSetAttributeActionBuilder name(final String name) { } /** - *

    If the attribute exists and the value is omitted or set to null, the attribute is removed. If the attribute exists and a value is provided, the new value is applied. If the attribute does not exist and a value is provided, it is added as a new attribute.

    + *

    Value to set for the Attribute. If empty, any existing value will be removed.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ public ProductSetAttributeActionBuilder value(@Nullable final java.lang.Object value) { @@ -74,7 +83,7 @@ public ProductSetAttributeActionBuilder value(@Nullable final java.lang.Object v } /** - * + *

    If true, only the staged Attribute is set. If false, both current and staged Attribute is set.

    */ public ProductSetAttributeActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeActionImpl.java index 58d67eba468..6cb1daee037 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetAttributeAction + *

    Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetAttributeActionImpl implements ProductSetAttributeAction, ModelBase { @@ -57,7 +57,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -65,7 +65,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -73,7 +73,7 @@ public String getSku() { } /** - * + *

    The name of the Attribute to set.

    */ public String getName() { @@ -81,7 +81,16 @@ public String getName() { } /** - *

    If the attribute exists and the value is omitted or set to null, the attribute is removed. If the attribute exists and a value is provided, the new value is applied. If the attribute does not exist and a value is provided, it is added as a new attribute.

    + *

    Value to set for the Attribute. If empty, any existing value will be removed.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ public java.lang.Object getValue() { @@ -89,7 +98,7 @@ public java.lang.Object getValue() { } /** - * + *

    If true, only the staged Attribute is set. If false, both current and staged Attribute is set.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsAction.java index d0c0801342d..699552d9e64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetAttributeInAllVariantsAction + *

    Adds, removes, or changes a Product Attribute in all Product Variants at the same time. This action is useful for setting values for Attributes with the Constraint SameForAll.

    * *
    * Example to create an instance using the builder pattern @@ -32,21 +32,30 @@ public interface ProductSetAttributeInAllVariantsAction extends ProductUpdateAct String SET_ATTRIBUTE_IN_ALL_VARIANTS = "setAttributeInAllVariants"; /** - * + *

    The name of the Attribute to set.

    */ @NotNull @JsonProperty("name") public String getName(); /** - *

    The same update behavior as for Set Attribute applies.

    + *

    Value to set for the Attributes. If empty, any existing value will be removed.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ @JsonProperty("value") public Object getValue(); /** - * + *

    If true, only the staged Attributes are set. If false, both the current and staged Attributes are set.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsActionBuilder.java index 2fdb1ce5069..0c7f77f5bad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsActionBuilder.java @@ -32,7 +32,7 @@ public class ProductSetAttributeInAllVariantsActionBuilder implements BuilderThe name of the Attribute to set.

    */ public ProductSetAttributeInAllVariantsActionBuilder name(final String name) { @@ -41,7 +41,16 @@ public ProductSetAttributeInAllVariantsActionBuilder name(final String name) { } /** - *

    The same update behavior as for Set Attribute applies.

    + *

    Value to set for the Attributes. If empty, any existing value will be removed.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ public ProductSetAttributeInAllVariantsActionBuilder value(@Nullable final java.lang.Object value) { @@ -50,7 +59,7 @@ public ProductSetAttributeInAllVariantsActionBuilder value(@Nullable final java. } /** - * + *

    If true, only the staged Attributes are set. If false, both the current and staged Attributes are set.

    */ public ProductSetAttributeInAllVariantsActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsActionImpl.java index 434172252fd..19bef11fb69 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetAttributeInAllVariantsActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetAttributeInAllVariantsAction + *

    Adds, removes, or changes a Product Attribute in all Product Variants at the same time. This action is useful for setting values for Attributes with the Constraint SameForAll.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetAttributeInAllVariantsActionImpl implements ProductSetAttributeInAllVariantsAction, ModelBase { @@ -50,7 +50,7 @@ public String getAction() { } /** - * + *

    The name of the Attribute to set.

    */ public String getName() { @@ -58,7 +58,16 @@ public String getName() { } /** - *

    The same update behavior as for Set Attribute applies.

    + *

    Value to set for the Attributes. If empty, any existing value will be removed.

    + *

    The AttributeType determines the format of the Attribute value to be provided:

    + *
      + *
    • For Enum Type and Localized Enum Type, use the key of the Plain Enum Value or Localized Enum Value objects, or the complete objects as value.
    • + *
    • For Localizable Text Type, use the LocalizedString object as value.
    • + *
    • For Money Type Attributes, use the Money object as value.
    • + *
    • For Set Type Attributes, use the entire set object as value.
    • + *
    • For Nested Type Attributes, use the list of values of all Attributes of the nested Product as value.
    • + *
    • For Reference Type Attributes, use the Reference object as value.
    • + *
    */ public java.lang.Object getValue() { @@ -66,7 +75,7 @@ public java.lang.Object getValue() { } /** - * + *

    If true, only the staged Attributes are set. If false, both the current and staged Attributes are set.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintAction.java index ae347182eb1..d95aa36a463 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintAction.java @@ -32,21 +32,21 @@ public interface ProductSetCategoryOrderHintAction extends ProductUpdateAction { String SET_CATEGORY_ORDER_HINT = "setCategoryOrderHint"; /** - * + *

    The id of the Category to add the orderHint.

    */ @NotNull @JsonProperty("categoryId") public String getCategoryId(); /** - * + *

    A string representing a number between 0 and 1. Must start with 0. and cannot end with 0. If empty, any existing value will be removed.

    */ @JsonProperty("orderHint") public String getOrderHint(); /** - * + *

    If true, only the staged categoryOrderHints is updated. If false, both the current and staged categoryOrderHints are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionBuilder.java index 44d1113835d..41f5914fb5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionBuilder.java @@ -32,7 +32,7 @@ public class ProductSetCategoryOrderHintActionBuilder implements BuilderThe id of the Category to add the orderHint.

    */ public ProductSetCategoryOrderHintActionBuilder categoryId(final String categoryId) { @@ -41,7 +41,7 @@ public ProductSetCategoryOrderHintActionBuilder categoryId(final String category } /** - * + *

    A string representing a number between 0 and 1. Must start with 0. and cannot end with 0. If empty, any existing value will be removed.

    */ public ProductSetCategoryOrderHintActionBuilder orderHint(@Nullable final String orderHint) { @@ -50,7 +50,7 @@ public ProductSetCategoryOrderHintActionBuilder orderHint(@Nullable final String } /** - * + *

    If true, only the staged categoryOrderHints is updated. If false, both the current and staged categoryOrderHints are updated.

    */ public ProductSetCategoryOrderHintActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionImpl.java index 3bc5abe4824..f7b515973a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetCategoryOrderHintActionImpl.java @@ -50,7 +50,7 @@ public String getAction() { } /** - * + *

    The id of the Category to add the orderHint.

    */ public String getCategoryId() { @@ -58,7 +58,7 @@ public String getCategoryId() { } /** - * + *

    A string representing a number between 0 and 1. Must start with 0. and cannot end with 0. If empty, any existing value will be removed.

    */ public String getOrderHint() { @@ -66,7 +66,7 @@ public String getOrderHint() { } /** - * + *

    If true, only the staged categoryOrderHints is updated. If false, both the current and staged categoryOrderHints are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionAction.java index 2b86c083d05..da398cc66d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionAction.java @@ -32,14 +32,14 @@ public interface ProductSetDescriptionAction extends ProductUpdateAction { String SET_DESCRIPTION = "setDescription"; /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ @Valid @JsonProperty("description") public LocalizedString getDescription(); /** - * + *

    If true, only the staged description is updated. If false, both the current and staged description are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionActionBuilder.java index cdaea3e8c58..161287ebdc0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionActionBuilder.java @@ -30,7 +30,7 @@ public class ProductSetDescriptionActionBuilder implements BuilderValue to set. If empty, any existing value will be removed.

    */ public ProductSetDescriptionActionBuilder description( @@ -40,7 +40,7 @@ public ProductSetDescriptionActionBuilder description( } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetDescriptionActionBuilder description( @@ -50,7 +50,7 @@ public ProductSetDescriptionActionBuilder description( } /** - * + *

    If true, only the staged description is updated. If false, both the current and staged description are updated.

    */ public ProductSetDescriptionActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionActionImpl.java index f809b36af3c..e5c63fad963 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDescriptionActionImpl.java @@ -48,7 +48,7 @@ public String getAction() { } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public com.commercetools.api.models.common.LocalizedString getDescription() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.LocalizedString getDescription() { } /** - * + *

    If true, only the staged description is updated. If false, both the current and staged description are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceAction.java index 0871fdb22b5..8453cddf38e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetDiscountedPriceAction + *

    Produces the ProductPriceExternalDiscountSet Message.

    * *
    * Example to create an instance using the builder pattern @@ -34,21 +34,21 @@ public interface ProductSetDiscountedPriceAction extends ProductUpdateAction { String SET_DISCOUNTED_PRICE = "setDiscountedPrice"; /** - * + *

    The id of the Embedded Price to set the Discount.

    */ @NotNull @JsonProperty("priceId") public String getPriceId(); /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price are updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - * + *

    Value to set. If empty, any existing value will be removed. The referenced ProductDiscount must have the Type external, be active, and its predicate must match the referenced Price.

    */ @Valid @JsonProperty("discounted") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceActionBuilder.java index 8d8e6a301b7..777a1e166dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceActionBuilder.java @@ -33,7 +33,7 @@ public class ProductSetDiscountedPriceActionBuilder implements BuilderThe id of the Embedded Price to set the Discount.

    */ public ProductSetDiscountedPriceActionBuilder priceId(final String priceId) { @@ -42,7 +42,7 @@ public ProductSetDiscountedPriceActionBuilder priceId(final String priceId) { } /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price are updated.

    */ public ProductSetDiscountedPriceActionBuilder staged(@Nullable final Boolean staged) { @@ -51,7 +51,7 @@ public ProductSetDiscountedPriceActionBuilder staged(@Nullable final Boolean sta } /** - * + *

    Value to set. If empty, any existing value will be removed. The referenced ProductDiscount must have the Type external, be active, and its predicate must match the referenced Price.

    */ public ProductSetDiscountedPriceActionBuilder discounted( @@ -61,7 +61,7 @@ public ProductSetDiscountedPriceActionBuilder discounted( } /** - * + *

    Value to set. If empty, any existing value will be removed. The referenced ProductDiscount must have the Type external, be active, and its predicate must match the referenced Price.

    */ public ProductSetDiscountedPriceActionBuilder discounted( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceActionImpl.java index 887ac4f0146..aa6cfcadd50 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetDiscountedPriceActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetDiscountedPriceAction + *

    Produces the ProductPriceExternalDiscountSet Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetDiscountedPriceActionImpl implements ProductSetDiscountedPriceAction, ModelBase { @@ -51,7 +51,7 @@ public String getAction() { } /** - * + *

    The id of the Embedded Price to set the Discount.

    */ public String getPriceId() { @@ -59,7 +59,7 @@ public String getPriceId() { } /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price are updated.

    */ public Boolean getStaged() { @@ -67,7 +67,7 @@ public Boolean getStaged() { } /** - * + *

    Value to set. If empty, any existing value will be removed. The referenced ProductDiscount must have the Type external, be active, and its predicate must match the referenced Price.

    */ public com.commercetools.api.models.common.DiscountedPriceDraft getDiscounted() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelAction.java index f21140774c9..58c2b3c9b3d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetImageLabelAction + *

    Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -32,35 +32,35 @@ public interface ProductSetImageLabelAction extends ProductUpdateAction { String SET_IMAGE_LABEL = "setImageLabel"; /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - *

    The URL of the image.

    + *

    The URL of the image to set the label.

    */ @NotNull @JsonProperty("imageUrl") public String getImageUrl(); /** - *

    The new image label. If left blank or set to null, the label is removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ @JsonProperty("label") public String getLabel(); /** - * + *

    If true, only the staged image is updated. If false, both the current and staged image is updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelActionBuilder.java index cfaf4e8b13e..bd8ece0490f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelActionBuilder.java @@ -38,7 +38,7 @@ public class ProductSetImageLabelActionBuilder implements BuilderThe sku of the ProductVariant to update.

    */ public ProductSetImageLabelActionBuilder sku(@Nullable final String sku) { @@ -47,7 +47,7 @@ public ProductSetImageLabelActionBuilder sku(@Nullable final String sku) { } /** - * + *

    The id of the ProductVariant to update.

    */ public ProductSetImageLabelActionBuilder variantId(@Nullable final Long variantId) { @@ -56,7 +56,7 @@ public ProductSetImageLabelActionBuilder variantId(@Nullable final Long variantI } /** - *

    The URL of the image.

    + *

    The URL of the image to set the label.

    */ public ProductSetImageLabelActionBuilder imageUrl(final String imageUrl) { @@ -65,7 +65,7 @@ public ProductSetImageLabelActionBuilder imageUrl(final String imageUrl) { } /** - *

    The new image label. If left blank or set to null, the label is removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetImageLabelActionBuilder label(@Nullable final String label) { @@ -74,7 +74,7 @@ public ProductSetImageLabelActionBuilder label(@Nullable final String label) { } /** - * + *

    If true, only the staged image is updated. If false, both the current and staged image is updated.

    */ public ProductSetImageLabelActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelActionImpl.java index 5a49bfaa337..5da7a8e31c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetImageLabelActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetImageLabelAction + *

    Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetImageLabelActionImpl implements ProductSetImageLabelAction, ModelBase { @@ -57,7 +57,7 @@ public String getAction() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -65,7 +65,7 @@ public String getSku() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -73,7 +73,7 @@ public Long getVariantId() { } /** - *

    The URL of the image.

    + *

    The URL of the image to set the label.

    */ public String getImageUrl() { @@ -81,7 +81,7 @@ public String getImageUrl() { } /** - *

    The new image label. If left blank or set to null, the label is removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ public String getLabel() { @@ -89,7 +89,7 @@ public String getLabel() { } /** - * + *

    If true, only the staged image is updated. If false, both the current and staged image is updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java index c7c6b67207a..56112d29241 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java @@ -29,7 +29,7 @@ public interface ProductSetKeyAction extends ProductUpdateAction { String SET_KEY = "setKey"; /** - *

    User-specific unique identifier for the product. If left blank or set to null, the product key is unset/removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ @JsonProperty("key") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionBuilder.java index c41bb0b09ea..4b5de4dd8d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionBuilder.java @@ -26,7 +26,7 @@ public class ProductSetKeyActionBuilder implements Builder private String key; /** - *

    User-specific unique identifier for the product. If left blank or set to null, the product key is unset/removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetKeyActionBuilder key(@Nullable final String key) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionImpl.java index 9178bcb427f..1ebf15dbd1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionImpl.java @@ -43,7 +43,7 @@ public String getAction() { } /** - *

    User-specific unique identifier for the product. If left blank or set to null, the product key is unset/removed.

    + *

    Value to set. If empty, any existing value will be removed.

    */ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionAction.java index 46b3eae17c6..41cc22b864c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionAction.java @@ -32,14 +32,14 @@ public interface ProductSetMetaDescriptionAction extends ProductUpdateAction { String SET_META_DESCRIPTION = "setMetaDescription"; /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ @Valid @JsonProperty("metaDescription") public LocalizedString getMetaDescription(); /** - * + *

    If true, only the staged metaDescription is updated. If false, both the current and staged metaDescription are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionActionBuilder.java index 9f7c8f7b19b..4d601d7e4ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionActionBuilder.java @@ -30,7 +30,7 @@ public class ProductSetMetaDescriptionActionBuilder implements BuilderValue to set. If empty, any existing value will be removed.

    */ public ProductSetMetaDescriptionActionBuilder metaDescription( @@ -40,7 +40,7 @@ public ProductSetMetaDescriptionActionBuilder metaDescription( } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetMetaDescriptionActionBuilder metaDescription( @@ -50,7 +50,7 @@ public ProductSetMetaDescriptionActionBuilder metaDescription( } /** - * + *

    If true, only the staged metaDescription is updated. If false, both the current and staged metaDescription are updated.

    */ public ProductSetMetaDescriptionActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionActionImpl.java index 7f3c417307f..3e8204d9dba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaDescriptionActionImpl.java @@ -48,7 +48,7 @@ public String getAction() { } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public com.commercetools.api.models.common.LocalizedString getMetaDescription() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaDescription() } /** - * + *

    If true, only the staged metaDescription is updated. If false, both the current and staged metaDescription are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsAction.java index d61a435f07f..04fcdb18ecd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsAction.java @@ -32,14 +32,14 @@ public interface ProductSetMetaKeywordsAction extends ProductUpdateAction { String SET_META_KEYWORDS = "setMetaKeywords"; /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ @Valid @JsonProperty("metaKeywords") public LocalizedString getMetaKeywords(); /** - * + *

    If true, only the staged metaKeywords is updated. If false, both the current and staged metaKeywords are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsActionBuilder.java index eef7d77d64c..ae1163a192f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsActionBuilder.java @@ -30,7 +30,7 @@ public class ProductSetMetaKeywordsActionBuilder implements BuilderValue to set. If empty, any existing value will be removed.

    */ public ProductSetMetaKeywordsActionBuilder metaKeywords( @@ -40,7 +40,7 @@ public ProductSetMetaKeywordsActionBuilder metaKeywords( } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetMetaKeywordsActionBuilder metaKeywords( @@ -50,7 +50,7 @@ public ProductSetMetaKeywordsActionBuilder metaKeywords( } /** - * + *

    If true, only the staged metaKeywords is updated. If false, both the current and staged metaKeywords are updated.

    */ public ProductSetMetaKeywordsActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsActionImpl.java index b719943680c..5c915937eea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaKeywordsActionImpl.java @@ -48,7 +48,7 @@ public String getAction() { } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public com.commercetools.api.models.common.LocalizedString getMetaKeywords() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaKeywords() { } /** - * + *

    If true, only the staged metaKeywords is updated. If false, both the current and staged metaKeywords are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleAction.java index 44d9b95d10a..dfae3dbfb43 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleAction.java @@ -32,14 +32,14 @@ public interface ProductSetMetaTitleAction extends ProductUpdateAction { String SET_META_TITLE = "setMetaTitle"; /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ @Valid @JsonProperty("metaTitle") public LocalizedString getMetaTitle(); /** - * + *

    If true, only the staged metaTitle is updated. If false, both the current and staged metaTitle are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleActionBuilder.java index 3912c0cd8fc..ba66ad5b9a7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleActionBuilder.java @@ -30,7 +30,7 @@ public class ProductSetMetaTitleActionBuilder implements BuilderValue to set. If empty, any existing value will be removed.

    */ public ProductSetMetaTitleActionBuilder metaTitle( @@ -40,7 +40,7 @@ public ProductSetMetaTitleActionBuilder metaTitle( } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public ProductSetMetaTitleActionBuilder metaTitle( @@ -50,7 +50,7 @@ public ProductSetMetaTitleActionBuilder metaTitle( } /** - * + *

    If true, only the staged metaTitle is updated. If false, both the current and staged metaTitle are updated.

    */ public ProductSetMetaTitleActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleActionImpl.java index 5b0ddebef88..92e0cd10ec6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetMetaTitleActionImpl.java @@ -48,7 +48,7 @@ public String getAction() { } /** - * + *

    Value to set. If empty, any existing value will be removed.

    */ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.common.LocalizedString getMetaTitle() { } /** - * + *

    If true, only the staged metaTitle is updated. If false, both the current and staged metaTitle are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeAction.java index f6c3de7b091..a001dc93206 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetPriceModeAction + *

    Controls whether the Prices of a Product Variant are embedded into the Product or standalone.

    * *
    * Example to create an instance using the builder pattern @@ -29,7 +29,7 @@ public interface ProductSetPriceModeAction extends ProductUpdateAction { String SET_PRICE_MODE = "setPriceMode"; /** - *

    Specifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Specifies which type of Prices should be used when looking up a price for the Product.

    */ @JsonProperty("priceMode") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeActionBuilder.java index 352e8f81d67..23faf66a15b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeActionBuilder.java @@ -26,7 +26,7 @@ public class ProductSetPriceModeActionBuilder implements BuilderSpecifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Specifies which type of Prices should be used when looking up a price for the Product.

    */ public ProductSetPriceModeActionBuilder priceMode( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeActionImpl.java index c2df938141a..abb2cc1622f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceModeActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetPriceModeAction + *

    Controls whether the Prices of a Product Variant are embedded into the Product or standalone.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetPriceModeActionImpl implements ProductSetPriceModeAction, ModelBase { @@ -44,7 +44,7 @@ public String getAction() { } /** - *

    Specifies which type of prices should be used when looking up a price for this product. If not set, Embedded ProductPriceMode is used.

    + *

    Specifies which type of Prices should be used when looking up a price for the Product.

    */ public com.commercetools.api.models.product.ProductPriceModeEnum getPriceMode() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesAction.java index f686a41d6e8..50ec29ab5b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetPricesAction + *

    Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -34,21 +34,21 @@ public interface ProductSetPricesAction extends ProductUpdateAction { String SET_PRICES = "setPrices"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    The Embedded Prices to set. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ @NotNull @Valid @@ -56,7 +56,7 @@ public interface ProductSetPricesAction extends ProductUpdateAction { public List getPrices(); /** - * + *

    If true, only the staged ProductVariant is updated. If false, both the current and staged ProductVariant are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesActionBuilder.java index a188f96ca2c..4fafa65f6b8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesActionBuilder.java @@ -36,7 +36,7 @@ public class ProductSetPricesActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductSetPricesActionBuilder variantId(@Nullable final Long variantId) { @@ -45,7 +45,7 @@ public ProductSetPricesActionBuilder variantId(@Nullable final Long variantId) { } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetPricesActionBuilder sku(@Nullable final String sku) { @@ -54,7 +54,7 @@ public ProductSetPricesActionBuilder sku(@Nullable final String sku) { } /** - * + *

    The Embedded Prices to set. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductSetPricesActionBuilder prices(final com.commercetools.api.models.common.PriceDraft... prices) { @@ -63,7 +63,7 @@ public ProductSetPricesActionBuilder prices(final com.commercetools.api.models.c } /** - * + *

    The Embedded Prices to set. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductSetPricesActionBuilder prices( @@ -73,7 +73,7 @@ public ProductSetPricesActionBuilder prices( } /** - * + *

    The Embedded Prices to set. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductSetPricesActionBuilder plusPrices(final com.commercetools.api.models.common.PriceDraft... prices) { @@ -85,7 +85,7 @@ public ProductSetPricesActionBuilder plusPrices(final com.commercetools.api.mode } /** - * + *

    The Embedded Prices to set. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductSetPricesActionBuilder plusPrices( @@ -98,7 +98,7 @@ public ProductSetPricesActionBuilder plusPrices( } /** - * + *

    The Embedded Prices to set. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductSetPricesActionBuilder withPrices( @@ -109,7 +109,7 @@ public ProductSetPricesActionBuilder withPrices( } /** - * + *

    If true, only the staged ProductVariant is updated. If false, both the current and staged ProductVariant are updated.

    */ public ProductSetPricesActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesActionImpl.java index 951e2d664a9..7365ff708ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPricesActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetPricesAction + *

    Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetPricesActionImpl implements ProductSetPricesAction, ModelBase { @@ -54,7 +54,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -62,7 +62,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -70,7 +70,7 @@ public String getSku() { } /** - * + *

    The Embedded Prices to set. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public java.util.List getPrices() { @@ -78,7 +78,7 @@ public java.util.List getPrices( } /** - * + *

    If true, only the staged ProductVariant is updated. If false, both the current and staged ProductVariant are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldAction.java index f39de7db44d..828c06c55c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldAction.java @@ -33,14 +33,14 @@ public interface ProductSetProductPriceCustomFieldAction extends ProductUpdateAc String SET_PRODUCT_PRICE_CUSTOM_FIELD = "setProductPriceCustomField"; /** - * + *

    The id of the Embedded Price to update.

    */ @NotNull @JsonProperty("priceId") public String getPriceId(); /** - * + *

    If true, only the staged Embedded Price Custom Field is updated. If false, both the current and staged Embedded Price Custom Field are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldActionBuilder.java index a62d21f7dd6..8e0ec114d79 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldActionBuilder.java @@ -36,7 +36,7 @@ public class ProductSetProductPriceCustomFieldActionBuilder private java.lang.Object value; /** - * + *

    The id of the Embedded Price to update.

    */ public ProductSetProductPriceCustomFieldActionBuilder priceId(final String priceId) { @@ -45,7 +45,7 @@ public ProductSetProductPriceCustomFieldActionBuilder priceId(final String price } /** - * + *

    If true, only the staged Embedded Price Custom Field is updated. If false, both the current and staged Embedded Price Custom Field are updated.

    */ public ProductSetProductPriceCustomFieldActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldActionImpl.java index 19f0272715f..6db4e2c577e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomFieldActionImpl.java @@ -54,7 +54,7 @@ public String getAction() { } /** - * + *

    The id of the Embedded Price to update.

    */ public String getPriceId() { @@ -62,7 +62,7 @@ public String getPriceId() { } /** - * + *

    If true, only the staged Embedded Price Custom Field is updated. If false, both the current and staged Embedded Price Custom Field are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeAction.java index 4013c094b67..33bc26566a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeAction.java @@ -35,28 +35,28 @@ public interface ProductSetProductPriceCustomTypeAction extends ProductUpdateAct String SET_PRODUCT_PRICE_CUSTOM_TYPE = "setProductPriceCustomType"; /** - * + *

    The id of the Embedded Price to update.

    */ @NotNull @JsonProperty("priceId") public String getPriceId(); /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price is updated.

    */ @JsonProperty("staged") public Boolean getStaged(); /** - *

    Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Price.

    + *

    Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Embedded Price.

    */ @Valid @JsonProperty("type") public TypeResourceIdentifier getType(); /** - *

    Sets the Custom Fields fields for the Price.

    + *

    Sets the Custom Fields fields for the Embedded Price.

    */ @Valid @JsonProperty("fields") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeActionBuilder.java index 8dccbc5fb53..a51f35eecb8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeActionBuilder.java @@ -36,7 +36,7 @@ public class ProductSetProductPriceCustomTypeActionBuilder implements BuilderThe id of the Embedded Price to update.

    */ public ProductSetProductPriceCustomTypeActionBuilder priceId(final String priceId) { @@ -45,7 +45,7 @@ public ProductSetProductPriceCustomTypeActionBuilder priceId(final String priceI } /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price is updated.

    */ public ProductSetProductPriceCustomTypeActionBuilder staged(@Nullable final Boolean staged) { @@ -54,7 +54,7 @@ public ProductSetProductPriceCustomTypeActionBuilder staged(@Nullable final Bool } /** - *

    Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Price.

    + *

    Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Embedded Price.

    */ public ProductSetProductPriceCustomTypeActionBuilder type( @@ -64,7 +64,7 @@ public ProductSetProductPriceCustomTypeActionBuilder type( } /** - *

    Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Price.

    + *

    Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Embedded Price.

    */ public ProductSetProductPriceCustomTypeActionBuilder type( @@ -74,7 +74,7 @@ public ProductSetProductPriceCustomTypeActionBuilder type( } /** - *

    Sets the Custom Fields fields for the Price.

    + *

    Sets the Custom Fields fields for the Embedded Price.

    */ public ProductSetProductPriceCustomTypeActionBuilder fields( @@ -84,7 +84,7 @@ public ProductSetProductPriceCustomTypeActionBuilder fields( } /** - *

    Sets the Custom Fields fields for the Price.

    + *

    Sets the Custom Fields fields for the Embedded Price.

    */ public ProductSetProductPriceCustomTypeActionBuilder fields( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeActionImpl.java index 09d203fd98b..16d69782ab6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductPriceCustomTypeActionImpl.java @@ -55,7 +55,7 @@ public String getAction() { } /** - * + *

    The id of the Embedded Price to update.

    */ public String getPriceId() { @@ -63,7 +63,7 @@ public String getPriceId() { } /** - * + *

    If true, only the staged Embedded Price is updated. If false, both the current and staged Embedded Price is updated.

    */ public Boolean getStaged() { @@ -71,7 +71,7 @@ public Boolean getStaged() { } /** - *

    Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Price.

    + *

    Defines the Type that extends the Price with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Embedded Price.

    */ public com.commercetools.api.models.type.TypeResourceIdentifier getType() { @@ -79,7 +79,7 @@ public com.commercetools.api.models.type.TypeResourceIdentifier getType() { } /** - *

    Sets the Custom Fields fields for the Price.

    + *

    Sets the Custom Fields fields for the Embedded Price.

    */ public com.commercetools.api.models.type.FieldContainer getFields() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyAction.java index 54f50426724..db1447a5897 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetProductVariantKeyAction + *

    Either variantId or sku is required.

    * *
    * Example to create an instance using the builder pattern @@ -29,28 +29,28 @@ public interface ProductSetProductVariantKeyAction extends ProductUpdateAction { String SET_PRODUCT_VARIANT_KEY = "setProductVariantKey"; /** - * + *

    The id of the ProductVariant to update.

    */ @JsonProperty("variantId") public Long getVariantId(); /** - * + *

    The sku of the ProductVariant to update.

    */ @JsonProperty("sku") public String getSku(); /** - *

    If left blank or set to null, the key is unset/removed.

    + *

    Value to set. Must be unique. If empty, any existing value will be removed.

    */ @JsonProperty("key") public String getKey(); /** - * + *

    If true, only the staged key is set. If false, both the current and staged key are set.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyActionBuilder.java index 35a6750768b..2f1520cfd46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyActionBuilder.java @@ -35,7 +35,7 @@ public class ProductSetProductVariantKeyActionBuilder implements BuilderThe id of the ProductVariant to update.

    */ public ProductSetProductVariantKeyActionBuilder variantId(@Nullable final Long variantId) { @@ -44,7 +44,7 @@ public ProductSetProductVariantKeyActionBuilder variantId(@Nullable final Long v } /** - * + *

    The sku of the ProductVariant to update.

    */ public ProductSetProductVariantKeyActionBuilder sku(@Nullable final String sku) { @@ -53,7 +53,7 @@ public ProductSetProductVariantKeyActionBuilder sku(@Nullable final String sku) } /** - *

    If left blank or set to null, the key is unset/removed.

    + *

    Value to set. Must be unique. If empty, any existing value will be removed.

    */ public ProductSetProductVariantKeyActionBuilder key(@Nullable final String key) { @@ -62,7 +62,7 @@ public ProductSetProductVariantKeyActionBuilder key(@Nullable final String key) } /** - * + *

    If true, only the staged key is set. If false, both the current and staged key are set.

    */ public ProductSetProductVariantKeyActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyActionImpl.java index 08345bf0547..47e5246e516 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetProductVariantKeyActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetProductVariantKeyAction + *

    Either variantId or sku is required.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetProductVariantKeyActionImpl implements ProductSetProductVariantKeyAction, ModelBase { @@ -54,7 +54,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -62,7 +62,7 @@ public Long getVariantId() { } /** - * + *

    The sku of the ProductVariant to update.

    */ public String getSku() { @@ -70,7 +70,7 @@ public String getSku() { } /** - *

    If left blank or set to null, the key is unset/removed.

    + *

    Value to set. Must be unique. If empty, any existing value will be removed.

    */ public String getKey() { @@ -78,7 +78,7 @@ public String getKey() { } /** - * + *

    If true, only the staged key is set. If false, both the current and staged key are set.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsAction.java index d3111368b7b..a3a38284984 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsAction.java @@ -33,7 +33,7 @@ public interface ProductSetSearchKeywordsAction extends ProductUpdateAction { String SET_SEARCH_KEYWORDS = "setSearchKeywords"; /** - * + *

    Value to set.

    */ @NotNull @Valid @@ -41,7 +41,7 @@ public interface ProductSetSearchKeywordsAction extends ProductUpdateAction { public SearchKeywords getSearchKeywords(); /** - * + *

    If true, only the staged searchKeywords is updated. If false, both the current and staged searchKeywords are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsActionBuilder.java index e5b5b9fd948..d340ae3524b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsActionBuilder.java @@ -30,7 +30,7 @@ public class ProductSetSearchKeywordsActionBuilder implements BuilderValue to set.

    */ public ProductSetSearchKeywordsActionBuilder searchKeywords( @@ -40,7 +40,7 @@ public ProductSetSearchKeywordsActionBuilder searchKeywords( } /** - * + *

    Value to set.

    */ public ProductSetSearchKeywordsActionBuilder searchKeywords( @@ -50,7 +50,7 @@ public ProductSetSearchKeywordsActionBuilder searchKeywords( } /** - * + *

    If true, only the staged searchKeywords is updated. If false, both the current and staged searchKeywords are updated.

    */ public ProductSetSearchKeywordsActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsActionImpl.java index 1c5205c739e..9406b7c69c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSearchKeywordsActionImpl.java @@ -48,7 +48,7 @@ public String getAction() { } /** - * + *

    Value to set.

    */ public com.commercetools.api.models.product.SearchKeywords getSearchKeywords() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.product.SearchKeywords getSearchKeywords() { } /** - * + *

    If true, only the staged searchKeywords is updated. If false, both the current and staged searchKeywords are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuAction.java index 35e4a748732..d920404b496 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuAction.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetSkuAction + *

    SKU cannot be changed or removed if it is associated with an InventoryEntry.

    * *
    * Example to create an instance using the builder pattern @@ -32,21 +32,21 @@ public interface ProductSetSkuAction extends ProductUpdateAction { String SET_SKU = "setSku"; /** - * + *

    The id of the ProductVariant to update.

    */ @NotNull @JsonProperty("variantId") public Long getVariantId(); /** - *

    SKU must be unique. If left blank or set to null, the sku is unset/removed.

    + *

    Value to set. Must be unique. If empty, any existing value will be removed.

    */ @JsonProperty("sku") public String getSku(); /** - * + *

    If true, only the staged sku is updated. If false, both the current and staged sku are updated.

    */ @JsonProperty("staged") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuActionBuilder.java index 9a94101cad7..734c27b519c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuActionBuilder.java @@ -32,7 +32,7 @@ public class ProductSetSkuActionBuilder implements Builder private Boolean staged; /** - * + *

    The id of the ProductVariant to update.

    */ public ProductSetSkuActionBuilder variantId(final Long variantId) { @@ -41,7 +41,7 @@ public ProductSetSkuActionBuilder variantId(final Long variantId) { } /** - *

    SKU must be unique. If left blank or set to null, the sku is unset/removed.

    + *

    Value to set. Must be unique. If empty, any existing value will be removed.

    */ public ProductSetSkuActionBuilder sku(@Nullable final String sku) { @@ -50,7 +50,7 @@ public ProductSetSkuActionBuilder sku(@Nullable final String sku) { } /** - * + *

    If true, only the staged sku is updated. If false, both the current and staged sku are updated.

    */ public ProductSetSkuActionBuilder staged(@Nullable final Boolean staged) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuActionImpl.java index 8844f161759..6aca745ee43 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetSkuActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetSkuAction + *

    SKU cannot be changed or removed if it is associated with an InventoryEntry.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetSkuActionImpl implements ProductSetSkuAction, ModelBase { @@ -50,7 +50,7 @@ public String getAction() { } /** - * + *

    The id of the ProductVariant to update.

    */ public Long getVariantId() { @@ -58,7 +58,7 @@ public Long getVariantId() { } /** - *

    SKU must be unique. If left blank or set to null, the sku is unset/removed.

    + *

    Value to set. Must be unique. If empty, any existing value will be removed.

    */ public String getSku() { @@ -66,7 +66,7 @@ public String getSku() { } /** - * + *

    If true, only the staged sku is updated. If false, both the current and staged sku are updated.

    */ public Boolean getStaged() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryAction.java index eb6394c7b47..8355034de1f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryAction.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductSetTaxCategoryAction + *

    Cannot be staged. Published Products are immediately updated.

    * *
    * Example to create an instance using the builder pattern @@ -32,7 +32,7 @@ public interface ProductSetTaxCategoryAction extends ProductUpdateAction { String SET_TAX_CATEGORY = "setTaxCategory"; /** - *

    If left blank or set to null, the tax category is unset/removed.

    + *

    The Tax Category to set. If empty, any existing value will be removed.

    */ @Valid @JsonProperty("taxCategory") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryActionBuilder.java index 35818c26629..8f01bcd1a59 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryActionBuilder.java @@ -27,7 +27,7 @@ public class ProductSetTaxCategoryActionBuilder implements BuilderIf left blank or set to null, the tax category is unset/removed.

    + *

    The Tax Category to set. If empty, any existing value will be removed.

    */ public ProductSetTaxCategoryActionBuilder taxCategory( @@ -39,7 +39,7 @@ public ProductSetTaxCategoryActionBuilder taxCategory( } /** - *

    If left blank or set to null, the tax category is unset/removed.

    + *

    The Tax Category to set. If empty, any existing value will be removed.

    */ public ProductSetTaxCategoryActionBuilder taxCategory( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryActionImpl.java index e6179e1d456..ce1c9961d97 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetTaxCategoryActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductSetTaxCategoryAction + *

    Cannot be staged. Published Products are immediately updated.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSetTaxCategoryActionImpl implements ProductSetTaxCategoryAction, ModelBase { @@ -44,7 +44,7 @@ public String getAction() { } /** - *

    If left blank or set to null, the tax category is unset/removed.

    + *

    The Tax Category to set. If empty, any existing value will be removed.

    */ public com.commercetools.api.models.tax_category.TaxCategoryResourceIdentifier getTaxCategory() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateAction.java index a63e1f71bb0..8e5212e695a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateAction.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductTransitionStateAction + *

    If the existing State has set transitions, there must be a direct transition to the new State. If transitions is not set, no validation is performed. Produces the ProductStateTransition Message.

    * *
    * Example to create an instance using the builder pattern @@ -32,14 +32,14 @@ public interface ProductTransitionStateAction extends ProductUpdateAction { String TRANSITION_STATE = "transitionState"; /** - * + *

    The State to transition to. If there is no existing State, this must be an initial State.

    */ @Valid @JsonProperty("state") public StateResourceIdentifier getState(); /** - * + *

    If true, validations are disabled.

    */ @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateActionBuilder.java index 9683c9d5da6..08e1bb11e13 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateActionBuilder.java @@ -30,7 +30,7 @@ public class ProductTransitionStateActionBuilder implements BuilderThe State to transition to. If there is no existing State, this must be an initial State.

    */ public ProductTransitionStateActionBuilder state( @@ -40,7 +40,7 @@ public ProductTransitionStateActionBuilder state( } /** - * + *

    The State to transition to. If there is no existing State, this must be an initial State.

    */ public ProductTransitionStateActionBuilder state( @@ -50,7 +50,7 @@ public ProductTransitionStateActionBuilder state( } /** - * + *

    If true, validations are disabled.

    */ public ProductTransitionStateActionBuilder force(@Nullable final Boolean force) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateActionImpl.java index 3f4dac1a663..dd775b48081 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductTransitionStateActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductTransitionStateAction + *

    If the existing State has set transitions, there must be a direct transition to the new State. If transitions is not set, no validation is performed. Produces the ProductStateTransition Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductTransitionStateActionImpl implements ProductTransitionStateAction, ModelBase { @@ -48,7 +48,7 @@ public String getAction() { } /** - * + *

    The State to transition to. If there is no existing State, this must be an initial State.

    */ public com.commercetools.api.models.state.StateResourceIdentifier getState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.state.StateResourceIdentifier getState() { } /** - * + *

    If true, validations are disabled.

    */ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishAction.java index 646adf8431c..c6737a39176 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductUnpublishAction + *

    Removes the current projection of the Product. The staged projection is unaffected. Unpublished Products only appear in query/search results with staged=false. Produces the ProductUnpublished Message.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishActionImpl.java index 585befe4c76..2e04acdc263 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUnpublishActionImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductUnpublishAction + *

    Removes the current projection of the Product. The staged projection is unaffected. Unpublished Products only appear in query/search results with staged=false. Produces the ProductUnpublished Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductUnpublishActionImpl implements ProductUnpublishAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdate.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdate.java index 2905cec8e62..187ffed115d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdate.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdate.java @@ -33,14 +33,14 @@ public interface ProductUpdate extends com.commercetools.api.models.ResourceUpdate { /** - * + *

    Expected version of the Product on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.

    */ @NotNull @JsonProperty("version") public Long getVersion(); /** - * + *

    Update actions to be performed on the Product.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateBuilder.java index 1756c019136..18a7cd17ddf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateBuilder.java @@ -28,7 +28,7 @@ public class ProductUpdateBuilder implements Builder { private java.util.List actions; /** - * + *

    Expected version of the Product on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.

    */ public ProductUpdateBuilder version(final Long version) { @@ -37,7 +37,7 @@ public ProductUpdateBuilder version(final Long version) { } /** - * + *

    Update actions to be performed on the Product.

    */ public ProductUpdateBuilder actions(final com.commercetools.api.models.product.ProductUpdateAction... actions) { @@ -46,7 +46,7 @@ public ProductUpdateBuilder actions(final com.commercetools.api.models.product.P } /** - * + *

    Update actions to be performed on the Product.

    */ public ProductUpdateBuilder actions( @@ -56,7 +56,7 @@ public ProductUpdateBuilder actions( } /** - * + *

    Update actions to be performed on the Product.

    */ public ProductUpdateBuilder plusActions(final com.commercetools.api.models.product.ProductUpdateAction... actions) { @@ -68,7 +68,7 @@ public ProductUpdateBuilder plusActions(final com.commercetools.api.models.produ } /** - * + *

    Update actions to be performed on the Product.

    */ public ProductUpdateBuilder plusActions( @@ -81,7 +81,7 @@ public ProductUpdateBuilder plusActions( } /** - * + *

    Update actions to be performed on the Product.

    */ public ProductUpdateBuilder withActions( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateImpl.java index 20886243191..1d96c029475 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateImpl.java @@ -35,7 +35,7 @@ public ProductUpdateImpl() { } /** - * + *

    Expected version of the Product on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.

    */ public Long getVersion() { @@ -43,7 +43,7 @@ public Long getVersion() { } /** - * + *

    Update actions to be performed on the Product.

    */ public java.util.List getActions() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariant.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariant.java index 93164855472..764400688eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariant.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariant.java @@ -18,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductVariant + *

    A concrete sellable good for which inventory can be tracked. Product Variants are generally mapped to specific SKUs.

    * *
    * Example to create an instance using the builder pattern @@ -35,84 +35,85 @@ public interface ProductVariant { /** - *

    A unique, sequential identifier of the ProductVariant within the Product.

    + *

    A unique, sequential identifier of the Product Variant within the Product.

    */ @NotNull @JsonProperty("id") public Long getId(); /** - * + *

    User-defined unique SKU of the Product Variant.

    */ @JsonProperty("sku") public String getSku(); /** - *

    User-defined unique identifier of the ProductVariant. ProductVariant keys are different from Product keys.

    + *

    User-defined unique identifier of the ProductVariant.

    + *

    This is different from Product key.

    */ @JsonProperty("key") public String getKey(); /** - * + *

    The Embedded Prices of the Product Variant. Cannot contain two Prices of the same Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ @Valid @JsonProperty("prices") public List getPrices(); /** - * + *

    Attributes of the Product Variant.

    */ @Valid @JsonProperty("attributes") public List getAttributes(); /** - * + *

    Only available when Price selection is used. Cannot be used in a Query Predicate.

    */ @Valid @JsonProperty("price") public Price getPrice(); /** - * + *

    Images of the Product Variant.

    */ @Valid @JsonProperty("images") public List getImages(); /** - * + *

    Media assets of the Product Variant.

    */ @Valid @JsonProperty("assets") public List getAssets(); /** - * + *

    Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).

    */ @Valid @JsonProperty("availability") public ProductVariantAvailability getAvailability(); /** - * + *

    true if the Product Variant matches the search query. Only available in response to a Product Projection Search request.

    */ @JsonProperty("isMatchingVariant") public Boolean getIsMatchingVariant(); /** - * + *

    Only available in response to a Product Projection Search request with price selection. Can be used to sort, filter, and facet.

    */ @Valid @JsonProperty("scopedPrice") public ScopedPrice getScopedPrice(); /** - * + *

    Only available in response to a Product Projection Search request with price selection.

    */ @JsonProperty("scopedPriceDiscounted") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailability.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailability.java index 6ea93fad162..3f798d337fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailability.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailability.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductVariantAvailability + *

    The InventoryEntry information of the Product Variant. If there is a supply Channel for the InventoryEntry, then channels is returned. If not, then isOnStock, restockableInDays, and quantityOnStock are returned.

    * *
    * Example to create an instance using the builder pattern @@ -29,32 +29,34 @@ public interface ProductVariantAvailability { /** - * + *

    For each InventoryEntry with a supply Channel, an entry is added to channels.

    + */ + @Valid + @JsonProperty("channels") + public ProductVariantChannelAvailabilityMap getChannels(); + + /** + *

    Indicates whether a Product Variant is in stock.

    */ @JsonProperty("isOnStock") public Boolean getIsOnStock(); /** - * + *

    Number of days to restock a Product Variant once it is out of stock.

    */ @JsonProperty("restockableInDays") public Long getRestockableInDays(); /** - * + *

    Number of items of the Product Variant that are in stock.

    */ @JsonProperty("availableQuantity") public Long getAvailableQuantity(); - /** - * - */ - @Valid - @JsonProperty("channels") - public ProductVariantChannelAvailabilityMap getChannels(); + public void setChannels(final ProductVariantChannelAvailabilityMap channels); public void setIsOnStock(final Boolean isOnStock); @@ -62,18 +64,16 @@ public interface ProductVariantAvailability { public void setAvailableQuantity(final Long availableQuantity); - public void setChannels(final ProductVariantChannelAvailabilityMap channels); - public static ProductVariantAvailability of() { return new ProductVariantAvailabilityImpl(); } public static ProductVariantAvailability of(final ProductVariantAvailability template) { ProductVariantAvailabilityImpl instance = new ProductVariantAvailabilityImpl(); + instance.setChannels(template.getChannels()); instance.setIsOnStock(template.getIsOnStock()); instance.setRestockableInDays(template.getRestockableInDays()); instance.setAvailableQuantity(template.getAvailableQuantity()); - instance.setChannels(template.getChannels()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailabilityBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailabilityBuilder.java index f2841e6c35d..6e2df29dca6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailabilityBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailabilityBuilder.java @@ -23,6 +23,9 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantAvailabilityBuilder implements Builder { + @Nullable + private com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels; + @Nullable private Boolean isOnStock; @@ -32,58 +35,60 @@ public class ProductVariantAvailabilityBuilder implements BuilderFor each InventoryEntry with a supply Channel, an entry is added to channels.

    */ - public ProductVariantAvailabilityBuilder isOnStock(@Nullable final Boolean isOnStock) { - this.isOnStock = isOnStock; + public ProductVariantAvailabilityBuilder channels( + Function builder) { + this.channels = builder + .apply(com.commercetools.api.models.product.ProductVariantChannelAvailabilityMapBuilder.of()) + .build(); return this; } /** - * + *

    For each InventoryEntry with a supply Channel, an entry is added to channels.

    */ - public ProductVariantAvailabilityBuilder restockableInDays(@Nullable final Long restockableInDays) { - this.restockableInDays = restockableInDays; + public ProductVariantAvailabilityBuilder channels( + @Nullable final com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels) { + this.channels = channels; return this; } /** - * + *

    Indicates whether a Product Variant is in stock.

    */ - public ProductVariantAvailabilityBuilder availableQuantity(@Nullable final Long availableQuantity) { - this.availableQuantity = availableQuantity; + public ProductVariantAvailabilityBuilder isOnStock(@Nullable final Boolean isOnStock) { + this.isOnStock = isOnStock; return this; } /** - * + *

    Number of days to restock a Product Variant once it is out of stock.

    */ - public ProductVariantAvailabilityBuilder channels( - Function builder) { - this.channels = builder - .apply(com.commercetools.api.models.product.ProductVariantChannelAvailabilityMapBuilder.of()) - .build(); + public ProductVariantAvailabilityBuilder restockableInDays(@Nullable final Long restockableInDays) { + this.restockableInDays = restockableInDays; return this; } /** - * + *

    Number of items of the Product Variant that are in stock.

    */ - public ProductVariantAvailabilityBuilder channels( - @Nullable final com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels) { - this.channels = channels; + public ProductVariantAvailabilityBuilder availableQuantity(@Nullable final Long availableQuantity) { + this.availableQuantity = availableQuantity; return this; } + @Nullable + public com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap getChannels() { + return this.channels; + } + @Nullable public Boolean getIsOnStock() { return this.isOnStock; @@ -99,20 +104,15 @@ public Long getAvailableQuantity() { return this.availableQuantity; } - @Nullable - public com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap getChannels() { - return this.channels; - } - public ProductVariantAvailability build() { - return new ProductVariantAvailabilityImpl(isOnStock, restockableInDays, availableQuantity, channels); + return new ProductVariantAvailabilityImpl(channels, isOnStock, restockableInDays, availableQuantity); } /** * builds ProductVariantAvailability without checking for non null required values */ public ProductVariantAvailability buildUnchecked() { - return new ProductVariantAvailabilityImpl(isOnStock, restockableInDays, availableQuantity, channels); + return new ProductVariantAvailabilityImpl(channels, isOnStock, restockableInDays, availableQuantity); } public static ProductVariantAvailabilityBuilder of() { @@ -121,10 +121,10 @@ public static ProductVariantAvailabilityBuilder of() { public static ProductVariantAvailabilityBuilder of(final ProductVariantAvailability template) { ProductVariantAvailabilityBuilder builder = new ProductVariantAvailabilityBuilder(); + builder.channels = template.getChannels(); builder.isOnStock = template.getIsOnStock(); builder.restockableInDays = template.getRestockableInDays(); builder.availableQuantity = template.getAvailableQuantity(); - builder.channels = template.getChannels(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailabilityImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailabilityImpl.java index db5601c7153..25d8df803df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailabilityImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantAvailabilityImpl.java @@ -15,35 +15,44 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductVariantAvailability + *

    The InventoryEntry information of the Product Variant. If there is a supply Channel for the InventoryEntry, then channels is returned. If not, then isOnStock, restockableInDays, and quantityOnStock are returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantAvailabilityImpl implements ProductVariantAvailability, ModelBase { + private com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels; + private Boolean isOnStock; private Long restockableInDays; private Long availableQuantity; - private com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels; - @JsonCreator - ProductVariantAvailabilityImpl(@JsonProperty("isOnStock") final Boolean isOnStock, + ProductVariantAvailabilityImpl( + @JsonProperty("channels") final com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels, + @JsonProperty("isOnStock") final Boolean isOnStock, @JsonProperty("restockableInDays") final Long restockableInDays, - @JsonProperty("availableQuantity") final Long availableQuantity, - @JsonProperty("channels") final com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels) { + @JsonProperty("availableQuantity") final Long availableQuantity) { + this.channels = channels; this.isOnStock = isOnStock; this.restockableInDays = restockableInDays; this.availableQuantity = availableQuantity; - this.channels = channels; } public ProductVariantAvailabilityImpl() { } /** - * + *

    For each InventoryEntry with a supply Channel, an entry is added to channels.

    + */ + + public com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap getChannels() { + return this.channels; + } + + /** + *

    Indicates whether a Product Variant is in stock.

    */ public Boolean getIsOnStock() { @@ -51,7 +60,7 @@ public Boolean getIsOnStock() { } /** - * + *

    Number of days to restock a Product Variant once it is out of stock.

    */ public Long getRestockableInDays() { @@ -59,19 +68,15 @@ public Long getRestockableInDays() { } /** - * + *

    Number of items of the Product Variant that are in stock.

    */ public Long getAvailableQuantity() { return this.availableQuantity; } - /** - * - */ - - public com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap getChannels() { - return this.channels; + public void setChannels(final com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels) { + this.channels = channels; } public void setIsOnStock(final Boolean isOnStock) { @@ -86,10 +91,6 @@ public void setAvailableQuantity(final Long availableQuantity) { this.availableQuantity = availableQuantity; } - public void setChannels(final com.commercetools.api.models.product.ProductVariantChannelAvailabilityMap channels) { - this.channels = channels; - } - @Override public boolean equals(Object o) { if (this == o) @@ -100,19 +101,19 @@ public boolean equals(Object o) { ProductVariantAvailabilityImpl that = (ProductVariantAvailabilityImpl) o; - return new EqualsBuilder().append(isOnStock, that.isOnStock) + return new EqualsBuilder().append(channels, that.channels) + .append(isOnStock, that.isOnStock) .append(restockableInDays, that.restockableInDays) .append(availableQuantity, that.availableQuantity) - .append(channels, that.channels) .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(isOnStock) + return new HashCodeBuilder(17, 37).append(channels) + .append(isOnStock) .append(restockableInDays) .append(availableQuantity) - .append(channels) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantBuilder.java index ffbe3f6073f..b9558a27158 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantBuilder.java @@ -60,7 +60,7 @@ public class ProductVariantBuilder implements Builder { private Boolean scopedPriceDiscounted; /** - *

    A unique, sequential identifier of the ProductVariant within the Product.

    + *

    A unique, sequential identifier of the Product Variant within the Product.

    */ public ProductVariantBuilder id(final Long id) { @@ -69,7 +69,7 @@ public ProductVariantBuilder id(final Long id) { } /** - * + *

    User-defined unique SKU of the Product Variant.

    */ public ProductVariantBuilder sku(@Nullable final String sku) { @@ -78,7 +78,8 @@ public ProductVariantBuilder sku(@Nullable final String sku) { } /** - *

    User-defined unique identifier of the ProductVariant. ProductVariant keys are different from Product keys.

    + *

    User-defined unique identifier of the ProductVariant.

    + *

    This is different from Product key.

    */ public ProductVariantBuilder key(@Nullable final String key) { @@ -87,7 +88,7 @@ public ProductVariantBuilder key(@Nullable final String key) { } /** - * + *

    The Embedded Prices of the Product Variant. Cannot contain two Prices of the same Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantBuilder prices(@Nullable final com.commercetools.api.models.common.Price... prices) { @@ -96,7 +97,7 @@ public ProductVariantBuilder prices(@Nullable final com.commercetools.api.models } /** - * + *

    The Embedded Prices of the Product Variant. Cannot contain two Prices of the same Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantBuilder prices( @@ -106,7 +107,7 @@ public ProductVariantBuilder prices( } /** - * + *

    The Embedded Prices of the Product Variant. Cannot contain two Prices of the same Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantBuilder plusPrices(@Nullable final com.commercetools.api.models.common.Price... prices) { @@ -118,7 +119,7 @@ public ProductVariantBuilder plusPrices(@Nullable final com.commercetools.api.mo } /** - * + *

    The Embedded Prices of the Product Variant. Cannot contain two Prices of the same Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantBuilder plusPrices( @@ -131,7 +132,7 @@ public ProductVariantBuilder plusPrices( } /** - * + *

    The Embedded Prices of the Product Variant. Cannot contain two Prices of the same Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantBuilder withPrices( @@ -142,7 +143,7 @@ public ProductVariantBuilder withPrices( } /** - * + *

    Attributes of the Product Variant.

    */ public ProductVariantBuilder attributes( @@ -152,7 +153,7 @@ public ProductVariantBuilder attributes( } /** - * + *

    Attributes of the Product Variant.

    */ public ProductVariantBuilder attributes( @@ -162,7 +163,7 @@ public ProductVariantBuilder attributes( } /** - * + *

    Attributes of the Product Variant.

    */ public ProductVariantBuilder plusAttributes( @@ -175,7 +176,7 @@ public ProductVariantBuilder plusAttributes( } /** - * + *

    Attributes of the Product Variant.

    */ public ProductVariantBuilder plusAttributes( @@ -188,7 +189,7 @@ public ProductVariantBuilder plusAttributes( } /** - * + *

    Attributes of the Product Variant.

    */ public ProductVariantBuilder withAttributes( @@ -199,7 +200,7 @@ public ProductVariantBuilder withAttributes( } /** - * + *

    Only available when Price selection is used. Cannot be used in a Query Predicate.

    */ public ProductVariantBuilder price( @@ -209,7 +210,7 @@ public ProductVariantBuilder price( } /** - * + *

    Only available when Price selection is used. Cannot be used in a Query Predicate.

    */ public ProductVariantBuilder price(@Nullable final com.commercetools.api.models.common.Price price) { @@ -218,7 +219,7 @@ public ProductVariantBuilder price(@Nullable final com.commercetools.api.models. } /** - * + *

    Images of the Product Variant.

    */ public ProductVariantBuilder images(@Nullable final com.commercetools.api.models.common.Image... images) { @@ -227,7 +228,7 @@ public ProductVariantBuilder images(@Nullable final com.commercetools.api.models } /** - * + *

    Images of the Product Variant.

    */ public ProductVariantBuilder images( @@ -237,7 +238,7 @@ public ProductVariantBuilder images( } /** - * + *

    Images of the Product Variant.

    */ public ProductVariantBuilder plusImages(@Nullable final com.commercetools.api.models.common.Image... images) { @@ -249,7 +250,7 @@ public ProductVariantBuilder plusImages(@Nullable final com.commercetools.api.mo } /** - * + *

    Images of the Product Variant.

    */ public ProductVariantBuilder plusImages( @@ -262,7 +263,7 @@ public ProductVariantBuilder plusImages( } /** - * + *

    Images of the Product Variant.

    */ public ProductVariantBuilder withImages( @@ -273,7 +274,7 @@ public ProductVariantBuilder withImages( } /** - * + *

    Media assets of the Product Variant.

    */ public ProductVariantBuilder assets(@Nullable final com.commercetools.api.models.common.Asset... assets) { @@ -282,7 +283,7 @@ public ProductVariantBuilder assets(@Nullable final com.commercetools.api.models } /** - * + *

    Media assets of the Product Variant.

    */ public ProductVariantBuilder assets( @@ -292,7 +293,7 @@ public ProductVariantBuilder assets( } /** - * + *

    Media assets of the Product Variant.

    */ public ProductVariantBuilder plusAssets(@Nullable final com.commercetools.api.models.common.Asset... assets) { @@ -304,7 +305,7 @@ public ProductVariantBuilder plusAssets(@Nullable final com.commercetools.api.mo } /** - * + *

    Media assets of the Product Variant.

    */ public ProductVariantBuilder plusAssets( @@ -317,7 +318,7 @@ public ProductVariantBuilder plusAssets( } /** - * + *

    Media assets of the Product Variant.

    */ public ProductVariantBuilder withAssets( @@ -328,7 +329,7 @@ public ProductVariantBuilder withAssets( } /** - * + *

    Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).

    */ public ProductVariantBuilder availability( @@ -339,7 +340,7 @@ public ProductVariantBuilder availability( } /** - * + *

    Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).

    */ public ProductVariantBuilder availability( @@ -349,7 +350,7 @@ public ProductVariantBuilder availability( } /** - * + *

    true if the Product Variant matches the search query. Only available in response to a Product Projection Search request.

    */ public ProductVariantBuilder isMatchingVariant(@Nullable final Boolean isMatchingVariant) { @@ -358,7 +359,7 @@ public ProductVariantBuilder isMatchingVariant(@Nullable final Boolean isMatchin } /** - * + *

    Only available in response to a Product Projection Search request with price selection. Can be used to sort, filter, and facet.

    */ public ProductVariantBuilder scopedPrice( @@ -368,7 +369,7 @@ public ProductVariantBuilder scopedPrice( } /** - * + *

    Only available in response to a Product Projection Search request with price selection. Can be used to sort, filter, and facet.

    */ public ProductVariantBuilder scopedPrice( @@ -378,7 +379,7 @@ public ProductVariantBuilder scopedPrice( } /** - * + *

    Only available in response to a Product Projection Search request with price selection.

    */ public ProductVariantBuilder scopedPriceDiscounted(@Nullable final Boolean scopedPriceDiscounted) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailability.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailability.java index 096d579b8d3..f179a961d6b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailability.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailability.java @@ -5,6 +5,8 @@ import java.util.*; import java.util.function.Function; +import javax.validation.constraints.NotNull; + import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -18,6 +20,8 @@ *
    *
    
      *     ProductVariantChannelAvailability productVariantChannelAvailability = ProductVariantChannelAvailability.builder()
    + *             .id("{id}")
    + *             .version(0.3)
      *             .build()
      * 
    *
    @@ -27,32 +31,50 @@ public interface ProductVariantChannelAvailability { /** - * + *

    Indicates whether a Product Variant is in stock in a specified Channel.

    */ @JsonProperty("isOnStock") public Boolean getIsOnStock(); /** - * + *

    Number of days to restock a Product Variant once it is out of stock in a specified Channel.

    */ @JsonProperty("restockableInDays") public Long getRestockableInDays(); /** - * + *

    Number of items of this Product Variant that are in stock in a specified Channel.

    */ @JsonProperty("availableQuantity") public Long getAvailableQuantity(); + /** + *

    Unique identifier of the InventoryEntry.

    + */ + @NotNull + @JsonProperty("id") + public String getId(); + + /** + *

    Current version of the InventoryEntry.

    + */ + @NotNull + @JsonProperty("version") + public Long getVersion(); + public void setIsOnStock(final Boolean isOnStock); public void setRestockableInDays(final Long restockableInDays); public void setAvailableQuantity(final Long availableQuantity); + public void setId(final String id); + + public void setVersion(final Long version); + public static ProductVariantChannelAvailability of() { return new ProductVariantChannelAvailabilityImpl(); } @@ -62,6 +84,8 @@ public static ProductVariantChannelAvailability of(final ProductVariantChannelAv instance.setIsOnStock(template.getIsOnStock()); instance.setRestockableInDays(template.getRestockableInDays()); instance.setAvailableQuantity(template.getAvailableQuantity()); + instance.setId(template.getId()); + instance.setVersion(template.getVersion()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityBuilder.java index 5723923586d..0842f1a1f4d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityBuilder.java @@ -15,6 +15,8 @@ *
    *
    
      *     ProductVariantChannelAvailability productVariantChannelAvailability = ProductVariantChannelAvailability.builder()
    + *             .id("{id}")
    + *             .version(0.3)
      *             .build()
      * 
    *
    @@ -31,8 +33,12 @@ public class ProductVariantChannelAvailabilityBuilder implements BuilderIndicates whether a Product Variant is in stock in a specified Channel.

    */ public ProductVariantChannelAvailabilityBuilder isOnStock(@Nullable final Boolean isOnStock) { @@ -41,7 +47,7 @@ public ProductVariantChannelAvailabilityBuilder isOnStock(@Nullable final Boolea } /** - * + *

    Number of days to restock a Product Variant once it is out of stock in a specified Channel.

    */ public ProductVariantChannelAvailabilityBuilder restockableInDays(@Nullable final Long restockableInDays) { @@ -50,7 +56,7 @@ public ProductVariantChannelAvailabilityBuilder restockableInDays(@Nullable fina } /** - * + *

    Number of items of this Product Variant that are in stock in a specified Channel.

    */ public ProductVariantChannelAvailabilityBuilder availableQuantity(@Nullable final Long availableQuantity) { @@ -58,6 +64,24 @@ public ProductVariantChannelAvailabilityBuilder availableQuantity(@Nullable fina return this; } + /** + *

    Unique identifier of the InventoryEntry.

    + */ + + public ProductVariantChannelAvailabilityBuilder id(final String id) { + this.id = id; + return this; + } + + /** + *

    Current version of the InventoryEntry.

    + */ + + public ProductVariantChannelAvailabilityBuilder version(final Long version) { + this.version = version; + return this; + } + @Nullable public Boolean getIsOnStock() { return this.isOnStock; @@ -73,15 +97,25 @@ public Long getAvailableQuantity() { return this.availableQuantity; } + public String getId() { + return this.id; + } + + public Long getVersion() { + return this.version; + } + public ProductVariantChannelAvailability build() { - return new ProductVariantChannelAvailabilityImpl(isOnStock, restockableInDays, availableQuantity); + Objects.requireNonNull(id, ProductVariantChannelAvailability.class + ": id is missing"); + Objects.requireNonNull(version, ProductVariantChannelAvailability.class + ": version is missing"); + return new ProductVariantChannelAvailabilityImpl(isOnStock, restockableInDays, availableQuantity, id, version); } /** * builds ProductVariantChannelAvailability without checking for non null required values */ public ProductVariantChannelAvailability buildUnchecked() { - return new ProductVariantChannelAvailabilityImpl(isOnStock, restockableInDays, availableQuantity); + return new ProductVariantChannelAvailabilityImpl(isOnStock, restockableInDays, availableQuantity, id, version); } public static ProductVariantChannelAvailabilityBuilder of() { @@ -93,6 +127,8 @@ public static ProductVariantChannelAvailabilityBuilder of(final ProductVariantCh builder.isOnStock = template.getIsOnStock(); builder.restockableInDays = template.getRestockableInDays(); builder.availableQuantity = template.getAvailableQuantity(); + builder.id = template.getId(); + builder.version = template.getVersion(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityImpl.java index 26a0bef52d6..d0d7c3f2d5c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityImpl.java @@ -26,20 +26,27 @@ public class ProductVariantChannelAvailabilityImpl implements ProductVariantChan private Long availableQuantity; + private String id; + + private Long version; + @JsonCreator ProductVariantChannelAvailabilityImpl(@JsonProperty("isOnStock") final Boolean isOnStock, @JsonProperty("restockableInDays") final Long restockableInDays, - @JsonProperty("availableQuantity") final Long availableQuantity) { + @JsonProperty("availableQuantity") final Long availableQuantity, @JsonProperty("id") final String id, + @JsonProperty("version") final Long version) { this.isOnStock = isOnStock; this.restockableInDays = restockableInDays; this.availableQuantity = availableQuantity; + this.id = id; + this.version = version; } public ProductVariantChannelAvailabilityImpl() { } /** - * + *

    Indicates whether a Product Variant is in stock in a specified Channel.

    */ public Boolean getIsOnStock() { @@ -47,7 +54,7 @@ public Boolean getIsOnStock() { } /** - * + *

    Number of days to restock a Product Variant once it is out of stock in a specified Channel.

    */ public Long getRestockableInDays() { @@ -55,13 +62,29 @@ public Long getRestockableInDays() { } /** - * + *

    Number of items of this Product Variant that are in stock in a specified Channel.

    */ public Long getAvailableQuantity() { return this.availableQuantity; } + /** + *

    Unique identifier of the InventoryEntry.

    + */ + + public String getId() { + return this.id; + } + + /** + *

    Current version of the InventoryEntry.

    + */ + + public Long getVersion() { + return this.version; + } + public void setIsOnStock(final Boolean isOnStock) { this.isOnStock = isOnStock; } @@ -74,6 +97,14 @@ public void setAvailableQuantity(final Long availableQuantity) { this.availableQuantity = availableQuantity; } + public void setId(final String id) { + this.id = id; + } + + public void setVersion(final Long version) { + this.version = version; + } + @Override public boolean equals(Object o) { if (this == o) @@ -87,6 +118,8 @@ public boolean equals(Object o) { return new EqualsBuilder().append(isOnStock, that.isOnStock) .append(restockableInDays, that.restockableInDays) .append(availableQuantity, that.availableQuantity) + .append(id, that.id) + .append(version, that.version) .isEquals(); } @@ -95,6 +128,8 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(isOnStock) .append(restockableInDays) .append(availableQuantity) + .append(id) + .append(version) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityMap.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityMap.java index 4933a55d1c3..82aacee674f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityMap.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityMap.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductVariantChannelAvailabilityMap + *

    JSON object where the key is a supply Channel id and the value is the ProductVariantChannelAvailability of the InventoryEntry.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityMapImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityMapImpl.java index fb664f12b11..581f6530f7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityMapImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantChannelAvailabilityMapImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductVariantChannelAvailabilityMap + *

    JSON object where the key is a supply Channel id and the value is the ProductVariantChannelAvailability of the InventoryEntry.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantChannelAvailabilityMapImpl implements ProductVariantChannelAvailabilityMap, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraft.java index f561f28bfd9..a7705517676 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraft.java @@ -16,7 +16,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ProductVariantDraft + *

    Creates a Product Variant when included in the masterVariant and variants fields of the ProductDraft.

    * *
    * Example to create an instance using the builder pattern @@ -32,42 +32,42 @@ public interface ProductVariantDraft { /** - * + *

    User-defined unique SKU of the Product Variant.

    */ @JsonProperty("sku") public String getSku(); /** - *

    User-defined unique identifier for the ProductVariant. ProductVariant keys are different from Product keys.

    + *

    User-defined unique identifier for the ProductVariant.

    */ @JsonProperty("key") public String getKey(); /** - * + *

    The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ @Valid @JsonProperty("prices") public List getPrices(); /** - * + *

    Attributes according to the respective AttributeDefinition.

    */ @Valid @JsonProperty("attributes") public List getAttributes(); /** - * + *

    Images for the Product Variant.

    */ @Valid @JsonProperty("images") public List getImages(); /** - * + *

    Media assets for the Product Variant.

    */ @Valid @JsonProperty("assets") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraftBuilder.java index 934bd3ebd54..e3ec5d9dbc7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraftBuilder.java @@ -42,7 +42,7 @@ public class ProductVariantDraftBuilder implements Builder private java.util.List assets; /** - * + *

    User-defined unique SKU of the Product Variant.

    */ public ProductVariantDraftBuilder sku(@Nullable final String sku) { @@ -51,7 +51,7 @@ public ProductVariantDraftBuilder sku(@Nullable final String sku) { } /** - *

    User-defined unique identifier for the ProductVariant. ProductVariant keys are different from Product keys.

    + *

    User-defined unique identifier for the ProductVariant.

    */ public ProductVariantDraftBuilder key(@Nullable final String key) { @@ -60,7 +60,7 @@ public ProductVariantDraftBuilder key(@Nullable final String key) { } /** - * + *

    The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantDraftBuilder prices(@Nullable final com.commercetools.api.models.common.PriceDraft... prices) { @@ -69,7 +69,7 @@ public ProductVariantDraftBuilder prices(@Nullable final com.commercetools.api.m } /** - * + *

    The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantDraftBuilder prices( @@ -79,7 +79,7 @@ public ProductVariantDraftBuilder prices( } /** - * + *

    The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantDraftBuilder plusPrices( @@ -92,7 +92,7 @@ public ProductVariantDraftBuilder plusPrices( } /** - * + *

    The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantDraftBuilder plusPrices( @@ -105,7 +105,7 @@ public ProductVariantDraftBuilder plusPrices( } /** - * + *

    The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public ProductVariantDraftBuilder withPrices( @@ -116,7 +116,7 @@ public ProductVariantDraftBuilder withPrices( } /** - * + *

    Attributes according to the respective AttributeDefinition.

    */ public ProductVariantDraftBuilder attributes( @@ -126,7 +126,7 @@ public ProductVariantDraftBuilder attributes( } /** - * + *

    Attributes according to the respective AttributeDefinition.

    */ public ProductVariantDraftBuilder attributes( @@ -136,7 +136,7 @@ public ProductVariantDraftBuilder attributes( } /** - * + *

    Attributes according to the respective AttributeDefinition.

    */ public ProductVariantDraftBuilder plusAttributes( @@ -149,7 +149,7 @@ public ProductVariantDraftBuilder plusAttributes( } /** - * + *

    Attributes according to the respective AttributeDefinition.

    */ public ProductVariantDraftBuilder plusAttributes( @@ -162,7 +162,7 @@ public ProductVariantDraftBuilder plusAttributes( } /** - * + *

    Attributes according to the respective AttributeDefinition.

    */ public ProductVariantDraftBuilder withAttributes( @@ -173,7 +173,7 @@ public ProductVariantDraftBuilder withAttributes( } /** - * + *

    Images for the Product Variant.

    */ public ProductVariantDraftBuilder images(@Nullable final com.commercetools.api.models.common.Image... images) { @@ -182,7 +182,7 @@ public ProductVariantDraftBuilder images(@Nullable final com.commercetools.api.m } /** - * + *

    Images for the Product Variant.

    */ public ProductVariantDraftBuilder images( @@ -192,7 +192,7 @@ public ProductVariantDraftBuilder images( } /** - * + *

    Images for the Product Variant.

    */ public ProductVariantDraftBuilder plusImages(@Nullable final com.commercetools.api.models.common.Image... images) { @@ -204,7 +204,7 @@ public ProductVariantDraftBuilder plusImages(@Nullable final com.commercetools.a } /** - * + *

    Images for the Product Variant.

    */ public ProductVariantDraftBuilder plusImages( @@ -217,7 +217,7 @@ public ProductVariantDraftBuilder plusImages( } /** - * + *

    Images for the Product Variant.

    */ public ProductVariantDraftBuilder withImages( @@ -228,7 +228,7 @@ public ProductVariantDraftBuilder withImages( } /** - * + *

    Media assets for the Product Variant.

    */ public ProductVariantDraftBuilder assets(@Nullable final com.commercetools.api.models.common.AssetDraft... assets) { @@ -237,7 +237,7 @@ public ProductVariantDraftBuilder assets(@Nullable final com.commercetools.api.m } /** - * + *

    Media assets for the Product Variant.

    */ public ProductVariantDraftBuilder assets( @@ -247,7 +247,7 @@ public ProductVariantDraftBuilder assets( } /** - * + *

    Media assets for the Product Variant.

    */ public ProductVariantDraftBuilder plusAssets( @@ -260,7 +260,7 @@ public ProductVariantDraftBuilder plusAssets( } /** - * + *

    Media assets for the Product Variant.

    */ public ProductVariantDraftBuilder plusAssets( @@ -273,7 +273,7 @@ public ProductVariantDraftBuilder plusAssets( } /** - * + *

    Media assets for the Product Variant.

    */ public ProductVariantDraftBuilder withAssets( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraftImpl.java index d9692e49e80..2fe87a70c7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantDraftImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductVariantDraft + *

    Creates a Product Variant when included in the masterVariant and variants fields of the ProductDraft.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantDraftImpl implements ProductVariantDraft, ModelBase { @@ -50,7 +50,7 @@ public ProductVariantDraftImpl() { } /** - * + *

    User-defined unique SKU of the Product Variant.

    */ public String getSku() { @@ -58,7 +58,7 @@ public String getSku() { } /** - *

    User-defined unique identifier for the ProductVariant. ProductVariant keys are different from Product keys.

    + *

    User-defined unique identifier for the ProductVariant.

    */ public String getKey() { @@ -66,7 +66,7 @@ public String getKey() { } /** - * + *

    The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public java.util.List getPrices() { @@ -74,7 +74,7 @@ public java.util.List getPrices( } /** - * + *

    Attributes according to the respective AttributeDefinition.

    */ public java.util.List getAttributes() { @@ -82,7 +82,7 @@ public java.util.List getAttribu } /** - * + *

    Images for the Product Variant.

    */ public java.util.List getImages() { @@ -90,7 +90,7 @@ public java.util.List getImages() { } /** - * + *

    Media assets for the Product Variant.

    */ public java.util.List getAssets() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantImpl.java index d436802ccbf..90b6b76847f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductVariantImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ProductVariant + *

    A concrete sellable good for which inventory can be tracked. Product Variants are generally mapped to specific SKUs.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantImpl implements ProductVariant, ModelBase { @@ -74,7 +74,7 @@ public ProductVariantImpl() { } /** - *

    A unique, sequential identifier of the ProductVariant within the Product.

    + *

    A unique, sequential identifier of the Product Variant within the Product.

    */ public Long getId() { @@ -82,7 +82,7 @@ public Long getId() { } /** - * + *

    User-defined unique SKU of the Product Variant.

    */ public String getSku() { @@ -90,7 +90,8 @@ public String getSku() { } /** - *

    User-defined unique identifier of the ProductVariant. ProductVariant keys are different from Product keys.

    + *

    User-defined unique identifier of the ProductVariant.

    + *

    This is different from Product key.

    */ public String getKey() { @@ -98,7 +99,7 @@ public String getKey() { } /** - * + *

    The Embedded Prices of the Product Variant. Cannot contain two Prices of the same Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

    */ public java.util.List getPrices() { @@ -106,7 +107,7 @@ public java.util.List getPrices() { } /** - * + *

    Attributes of the Product Variant.

    */ public java.util.List getAttributes() { @@ -114,7 +115,7 @@ public java.util.List getAttribu } /** - * + *

    Only available when Price selection is used. Cannot be used in a Query Predicate.

    */ public com.commercetools.api.models.common.Price getPrice() { @@ -122,7 +123,7 @@ public com.commercetools.api.models.common.Price getPrice() { } /** - * + *

    Images of the Product Variant.

    */ public java.util.List getImages() { @@ -130,7 +131,7 @@ public java.util.List getImages() { } /** - * + *

    Media assets of the Product Variant.

    */ public java.util.List getAssets() { @@ -138,7 +139,7 @@ public java.util.List getAssets() { } /** - * + *

    Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).

    */ public com.commercetools.api.models.product.ProductVariantAvailability getAvailability() { @@ -146,7 +147,7 @@ public com.commercetools.api.models.product.ProductVariantAvailability getAvaila } /** - * + *

    true if the Product Variant matches the search query. Only available in response to a Product Projection Search request.

    */ public Boolean getIsMatchingVariant() { @@ -154,7 +155,7 @@ public Boolean getIsMatchingVariant() { } /** - * + *

    Only available in response to a Product Projection Search request with price selection. Can be used to sort, filter, and facet.

    */ public com.commercetools.api.models.common.ScopedPrice getScopedPrice() { @@ -162,7 +163,7 @@ public com.commercetools.api.models.common.ScopedPrice getScopedPrice() { } /** - * + *

    Only available in response to a Product Projection Search request with price selection.

    */ public Boolean getScopedPriceDiscounted() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeyword.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeyword.java index d9a12ab2423..b57954efccf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeyword.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeyword.java @@ -31,14 +31,14 @@ public interface SearchKeyword { /** - * + *

    Text to return in the result of a suggest query.

    */ @NotNull @JsonProperty("text") public String getText(); /** - * + *

    If no tokenizer is defined, the text is used as a single token.

    */ @Valid @JsonProperty("suggestTokenizer") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordBuilder.java index d6f03fa9223..2dc093aae75 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordBuilder.java @@ -30,7 +30,7 @@ public class SearchKeywordBuilder implements Builder { private com.commercetools.api.models.product.SuggestTokenizer suggestTokenizer; /** - * + *

    Text to return in the result of a suggest query.

    */ public SearchKeywordBuilder text(final String text) { @@ -39,7 +39,7 @@ public SearchKeywordBuilder text(final String text) { } /** - * + *

    If no tokenizer is defined, the text is used as a single token.

    */ public SearchKeywordBuilder suggestTokenizer( @@ -49,7 +49,7 @@ public SearchKeywordBuilder suggestTokenizer( } /** - * + *

    If no tokenizer is defined, the text is used as a single token.

    */ public SearchKeywordBuilder suggestTokenizer( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordImpl.java index 84c5bd38c25..9a265a2d333 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordImpl.java @@ -35,7 +35,7 @@ public SearchKeywordImpl() { } /** - * + *

    Text to return in the result of a suggest query.

    */ public String getText() { @@ -43,7 +43,7 @@ public String getText() { } /** - * + *

    If no tokenizer is defined, the text is used as a single token.

    */ public com.commercetools.api.models.product.SuggestTokenizer getSuggestTokenizer() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywords.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywords.java index cee34d70471..240a0af4062 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywords.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywords.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * SearchKeywords + *

    Search keywords are JSON objects primarily used by Product Suggestions, but are also considered for a full text search. The keys are of type Locale, and the values are an array of SearchKeyword.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordsImpl.java index 693baa81883..608351eab02 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SearchKeywordsImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * SearchKeywords + *

    Search keywords are JSON objects primarily used by Product Suggestions, but are also considered for a full text search. The keys are of type Locale, and the values are an array of SearchKeyword.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class SearchKeywordsImpl implements SearchKeywords, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/WhitespaceTokenizer.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/WhitespaceTokenizer.java index f657f84e791..1255c3feeb3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/WhitespaceTokenizer.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/WhitespaceTokenizer.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * WhitespaceTokenizer + *

    Creates tokens by splitting the text field in SearchKeyword by whitespaces.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/WhitespaceTokenizerImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/WhitespaceTokenizerImpl.java index c307259c4b5..31e5354a620 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/WhitespaceTokenizerImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/WhitespaceTokenizerImpl.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * WhitespaceTokenizer + *

    Creates tokens by splitting the text field in SearchKeyword by whitespaces.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class WhitespaceTokenizerImpl implements WhitespaceTokenizer, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductAction.java index e2753a62231..036657e90db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductAction.java @@ -34,7 +34,7 @@ public interface ProductSelectionAddProductAction extends ProductSelectionUpdate String ADD_PRODUCT = "addProduct"; /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductActionBuilder.java index d451d5200c3..c72840c7497 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductActionBuilder.java @@ -30,7 +30,7 @@ public class ProductSelectionAddProductActionBuilder implements BuilderResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public ProductSelectionAddProductActionBuilder product( @@ -41,7 +41,7 @@ public ProductSelectionAddProductActionBuilder product( } /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public ProductSelectionAddProductActionBuilder product( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductActionImpl.java index 9749874139f..bab58148cc1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAddProductActionImpl.java @@ -48,7 +48,7 @@ public String getAction() { } /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public com.commercetools.api.models.product.ProductResourceIdentifier getProduct() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductAction.java index b9e9e96635c..2b11a4cda7e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductAction.java @@ -34,7 +34,7 @@ public interface ProductSelectionRemoveProductAction extends ProductSelectionUpd String REMOVE_PRODUCT = "removeProduct"; /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductActionBuilder.java index 8d6c1c76751..f16167c3956 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductActionBuilder.java @@ -25,7 +25,7 @@ public class ProductSelectionRemoveProductActionBuilder implements BuilderResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public ProductSelectionRemoveProductActionBuilder product( @@ -36,7 +36,7 @@ public ProductSelectionRemoveProductActionBuilder product( } /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public ProductSelectionRemoveProductActionBuilder product( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductActionImpl.java index 6f40cba9f12..56e6d4a18a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionRemoveProductActionImpl.java @@ -44,7 +44,7 @@ public String getAction() { } /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public com.commercetools.api.models.product.ProductResourceIdentifier getProduct() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionAction.java index bd5108c19f8..64f49e9d1f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionAction.java @@ -34,7 +34,7 @@ public interface ProductSelectionSetVariantSelectionAction extends ProductSelect String SET_VARIANT_SELECTION = "setVariantSelection"; /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionActionBuilder.java index 50817c55ed5..02da4f322ac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionActionBuilder.java @@ -31,7 +31,7 @@ public class ProductSelectionSetVariantSelectionActionBuilder private com.commercetools.api.models.product_selection.ProductVariantSelection variantSelection; /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public ProductSelectionSetVariantSelectionActionBuilder product( @@ -42,7 +42,7 @@ public ProductSelectionSetVariantSelectionActionBuilder product( } /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public ProductSelectionSetVariantSelectionActionBuilder product( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionActionImpl.java index 3ceda4bb733..60416b838b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantSelectionActionImpl.java @@ -49,7 +49,7 @@ public String getAction() { } /** - *

    ResourceIdentifier to Product

    + *

    ResourceIdentifier of the Product

    */ public com.commercetools.api.models.product.ProductResourceIdentifier getProduct() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeType.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeType.java index 5696ed0403a..d2fd092f0a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeType.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeType.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    Umbrellla type for specific attribute types discriminated by property name.

    + *

    Umbrella type for specific attribute types discriminated by property name.

    * *
    * Example to create a subtype instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTypeImpl.java index b98604b10d6..18ef62e427c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTypeImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Umbrellla type for specific attribute types discriminated by property name.

    + *

    Umbrella type for specific attribute types discriminated by property name.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class AttributeTypeImpl implements AttributeType, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationType.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationType.java index 961a4ed029f..3c57259dde2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationType.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationType.java @@ -34,7 +34,7 @@ public interface CartClassificationType extends ShippingRateInputType { String CART_CLASSIFICATION = "CartClassification"; /** - *

    The classification items that can be used for specifiying any ShippingRatePriceTier.

    + *

    The classification items that can be used for specifying any ShippingRatePriceTier.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationTypeBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationTypeBuilder.java index 3d85fb34868..1c1bc1f4470 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationTypeBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationTypeBuilder.java @@ -25,7 +25,7 @@ public class CartClassificationTypeBuilder implements Builder values; /** - *

    The classification items that can be used for specifiying any ShippingRatePriceTier.

    + *

    The classification items that can be used for specifying any ShippingRatePriceTier.

    */ public CartClassificationTypeBuilder values( @@ -35,7 +35,7 @@ public CartClassificationTypeBuilder values( } /** - *

    The classification items that can be used for specifiying any ShippingRatePriceTier.

    + *

    The classification items that can be used for specifying any ShippingRatePriceTier.

    */ public CartClassificationTypeBuilder values( @@ -45,7 +45,7 @@ public CartClassificationTypeBuilder values( } /** - *

    The classification items that can be used for specifiying any ShippingRatePriceTier.

    + *

    The classification items that can be used for specifying any ShippingRatePriceTier.

    */ public CartClassificationTypeBuilder plusValues( @@ -58,7 +58,7 @@ public CartClassificationTypeBuilder plusValues( } /** - *

    The classification items that can be used for specifiying any ShippingRatePriceTier.

    + *

    The classification items that can be used for specifying any ShippingRatePriceTier.

    */ public CartClassificationTypeBuilder plusValues( @@ -72,7 +72,7 @@ public CartClassificationTypeBuilder plusValues( } /** - *

    The classification items that can be used for specifiying any ShippingRatePriceTier.

    + *

    The classification items that can be used for specifying any ShippingRatePriceTier.

    */ public CartClassificationTypeBuilder withValues( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationTypeImpl.java index 4497eb0bb23..67ac2606f79 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartClassificationTypeImpl.java @@ -45,7 +45,7 @@ public com.commercetools.api.models.shipping_method.ShippingRateTierType getType } /** - *

    The classification items that can be used for specifiying any ShippingRatePriceTier.

    + *

    The classification items that can be used for specifying any ShippingRatePriceTier.

    */ public java.util.List getValues() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/Quote.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/Quote.java index 562dcd253ab..81c811b0ec7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/Quote.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/Quote.java @@ -29,6 +29,7 @@ import com.commercetools.api.models.order.PaymentInfo; import com.commercetools.api.models.quote_request.QuoteRequestReference; import com.commercetools.api.models.staged_quote.StagedQuoteReference; +import com.commercetools.api.models.state.StateReference; import com.commercetools.api.models.store.StoreKeyReference; import com.commercetools.api.models.type.CustomFields; import com.fasterxml.jackson.annotation.*; @@ -114,7 +115,7 @@ public interface Quote extends BaseResource { public CreatedBy getCreatedBy(); /** - *

    The Quote Request related to this Quote.

    + *

    Quote Request related to the Quote.

    */ @NotNull @Valid @@ -122,7 +123,7 @@ public interface Quote extends BaseResource { public QuoteRequestReference getQuoteRequest(); /** - *

    The Staged Quote related to this Quote.

    + *

    Staged Quote related to the Quote.

    */ @NotNull @Valid @@ -130,7 +131,7 @@ public interface Quote extends BaseResource { public StagedQuoteReference getStagedQuote(); /** - *

    The Buyer who requested this Quote.

    + *

    The Buyer who requested the Quote.

    */ @Valid @JsonProperty("customer") @@ -151,12 +152,19 @@ public interface Quote extends BaseResource { public ZonedDateTime getValidTo(); /** - *

    The text message included in the offer from the Seller.

    + *

    Message from the Seller included in the offer.

    */ @JsonProperty("sellerComment") public String getSellerComment(); + /** + *

    Message from the Buyer included in the renegotiation request.

    + */ + + @JsonProperty("buyerComment") + public String getBuyerComment(); + /** *

    The Store to which the Buyer belongs.

    */ @@ -181,7 +189,7 @@ public interface Quote extends BaseResource { public List getCustomLineItems(); /** - *

    The sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    + *

    Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    */ @NotNull @Valid @@ -203,21 +211,21 @@ public interface Quote extends BaseResource { public Address getShippingAddress(); /** - *

    The address used for invoicing.

    + *

    Address used for invoicing.

    */ @Valid @JsonProperty("billingAddress") public Address getBillingAddress(); /** - *

    The inventory mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Inventory mode of the Cart referenced in the QuoteRequestDraft.

    */ @JsonProperty("inventoryMode") public InventoryMode getInventoryMode(); /** - *

    The tax mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Tax mode of the Cart referenced in the QuoteRequestDraft.

    */ @NotNull @JsonProperty("taxMode") @@ -252,7 +260,7 @@ public interface Quote extends BaseResource { public ShippingInfo getShippingInfo(); /** - *

    Log of payment transactions related to this quote.

    + *

    Log of payment transactions related to the Quote.

    */ @Valid @JsonProperty("paymentInfo") @@ -273,19 +281,26 @@ public interface Quote extends BaseResource { public List
    getItemShippingAddresses(); /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ @Valid @JsonProperty("directDiscounts") public List getDirectDiscounts(); /** - *

    Custom Fields of this Quote.

    + *

    Custom Fields on the Quote.

    */ @Valid @JsonProperty("custom") public CustomFields getCustom(); + /** + *

    State of the Quote. This reference can point to a State in a custom workflow.

    + */ + @Valid + @JsonProperty("state") + public StateReference getState(); + public void setId(final String id); public void setVersion(final Long version); @@ -312,6 +327,8 @@ public interface Quote extends BaseResource { public void setSellerComment(final String sellerComment); + public void setBuyerComment(final String buyerComment); + public void setStore(final StoreKeyReference store); @JsonIgnore @@ -360,6 +377,8 @@ public interface Quote extends BaseResource { public void setCustom(final CustomFields custom); + public void setState(final StateReference state); + public static Quote of() { return new QuoteImpl(); } @@ -379,6 +398,7 @@ public static Quote of(final Quote template) { instance.setCustomerGroup(template.getCustomerGroup()); instance.setValidTo(template.getValidTo()); instance.setSellerComment(template.getSellerComment()); + instance.setBuyerComment(template.getBuyerComment()); instance.setStore(template.getStore()); instance.setLineItems(template.getLineItems()); instance.setCustomLineItems(template.getCustomLineItems()); @@ -397,6 +417,7 @@ public static Quote of(final Quote template) { instance.setItemShippingAddresses(template.getItemShippingAddresses()); instance.setDirectDiscounts(template.getDirectDiscounts()); instance.setCustom(template.getCustom()); + instance.setState(template.getState()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteBuilder.java index 447e16fa00c..b27f5fadc6d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteBuilder.java @@ -68,6 +68,9 @@ public class QuoteBuilder implements Builder { @Nullable private String sellerComment; + @Nullable + private String buyerComment; + @Nullable private com.commercetools.api.models.store.StoreKeyReference store; @@ -116,6 +119,9 @@ public class QuoteBuilder implements Builder { @Nullable private com.commercetools.api.models.type.CustomFields custom; + @Nullable + private com.commercetools.api.models.state.StateReference state; + /** *

    Unique identifier of the Quote.

    */ @@ -201,7 +207,7 @@ public QuoteBuilder createdBy(@Nullable final com.commercetools.api.models.commo } /** - *

    The Quote Request related to this Quote.

    + *

    Quote Request related to the Quote.

    */ public QuoteBuilder quoteRequest( @@ -212,7 +218,7 @@ public QuoteBuilder quoteRequest( } /** - *

    The Quote Request related to this Quote.

    + *

    Quote Request related to the Quote.

    */ public QuoteBuilder quoteRequest( @@ -222,7 +228,7 @@ public QuoteBuilder quoteRequest( } /** - *

    The Staged Quote related to this Quote.

    + *

    Staged Quote related to the Quote.

    */ public QuoteBuilder stagedQuote( @@ -233,7 +239,7 @@ public QuoteBuilder stagedQuote( } /** - *

    The Staged Quote related to this Quote.

    + *

    Staged Quote related to the Quote.

    */ public QuoteBuilder stagedQuote(final com.commercetools.api.models.staged_quote.StagedQuoteReference stagedQuote) { @@ -242,7 +248,7 @@ public QuoteBuilder stagedQuote(final com.commercetools.api.models.staged_quote. } /** - *

    The Buyer who requested this Quote.

    + *

    The Buyer who requested the Quote.

    */ public QuoteBuilder customer( @@ -252,7 +258,7 @@ public QuoteBuilder customer( } /** - *

    The Buyer who requested this Quote.

    + *

    The Buyer who requested the Quote.

    */ public QuoteBuilder customer(@Nullable final com.commercetools.api.models.customer.CustomerReference customer) { @@ -292,7 +298,7 @@ public QuoteBuilder validTo(@Nullable final java.time.ZonedDateTime validTo) { } /** - *

    The text message included in the offer from the Seller.

    + *

    Message from the Seller included in the offer.

    */ public QuoteBuilder sellerComment(@Nullable final String sellerComment) { @@ -300,6 +306,15 @@ public QuoteBuilder sellerComment(@Nullable final String sellerComment) { return this; } + /** + *

    Message from the Buyer included in the renegotiation request.

    + */ + + public QuoteBuilder buyerComment(@Nullable final String buyerComment) { + this.buyerComment = buyerComment; + return this; + } + /** *

    The Store to which the Buyer belongs.

    */ @@ -429,7 +444,7 @@ public QuoteBuilder withCustomLineItems( } /** - *

    The sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    + *

    Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    */ public QuoteBuilder totalPrice(final com.commercetools.api.models.common.TypedMoney totalPrice) { @@ -438,7 +453,7 @@ public QuoteBuilder totalPrice(final com.commercetools.api.models.common.TypedMo } /** - *

    The sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    + *

    Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    */ public QuoteBuilder totalPrice( @@ -486,7 +501,7 @@ public QuoteBuilder shippingAddress(@Nullable final com.commercetools.api.models } /** - *

    The address used for invoicing.

    + *

    Address used for invoicing.

    */ public QuoteBuilder billingAddress( @@ -496,7 +511,7 @@ public QuoteBuilder billingAddress( } /** - *

    The address used for invoicing.

    + *

    Address used for invoicing.

    */ public QuoteBuilder billingAddress(@Nullable final com.commercetools.api.models.common.Address billingAddress) { @@ -505,7 +520,7 @@ public QuoteBuilder billingAddress(@Nullable final com.commercetools.api.models. } /** - *

    The inventory mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Inventory mode of the Cart referenced in the QuoteRequestDraft.

    */ public QuoteBuilder inventoryMode(@Nullable final com.commercetools.api.models.cart.InventoryMode inventoryMode) { @@ -514,7 +529,7 @@ public QuoteBuilder inventoryMode(@Nullable final com.commercetools.api.models.c } /** - *

    The tax mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Tax mode of the Cart referenced in the QuoteRequestDraft.

    */ public QuoteBuilder taxMode(final com.commercetools.api.models.cart.TaxMode taxMode) { @@ -570,7 +585,7 @@ public QuoteBuilder shippingInfo(@Nullable final com.commercetools.api.models.ca } /** - *

    Log of payment transactions related to this quote.

    + *

    Log of payment transactions related to the Quote.

    */ public QuoteBuilder paymentInfo( @@ -580,7 +595,7 @@ public QuoteBuilder paymentInfo( } /** - *

    Log of payment transactions related to this quote.

    + *

    Log of payment transactions related to the Quote.

    */ public QuoteBuilder paymentInfo(@Nullable final com.commercetools.api.models.order.PaymentInfo paymentInfo) { @@ -666,7 +681,7 @@ public QuoteBuilder withItemShippingAddresses( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteBuilder directDiscounts( @@ -676,7 +691,7 @@ public QuoteBuilder directDiscounts( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteBuilder directDiscounts( @@ -686,7 +701,7 @@ public QuoteBuilder directDiscounts( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteBuilder plusDirectDiscounts( @@ -699,7 +714,7 @@ public QuoteBuilder plusDirectDiscounts( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteBuilder plusDirectDiscounts( @@ -712,7 +727,7 @@ public QuoteBuilder plusDirectDiscounts( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteBuilder withDirectDiscounts( @@ -723,7 +738,7 @@ public QuoteBuilder withDirectDiscounts( } /** - *

    Custom Fields of this Quote.

    + *

    Custom Fields on the Quote.

    */ public QuoteBuilder custom( @@ -733,7 +748,7 @@ public QuoteBuilder custom( } /** - *

    Custom Fields of this Quote.

    + *

    Custom Fields on the Quote.

    */ public QuoteBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFields custom) { @@ -741,6 +756,25 @@ public QuoteBuilder custom(@Nullable final com.commercetools.api.models.type.Cus return this; } + /** + *

    State of the Quote. This reference can point to a State in a custom workflow.

    + */ + + public QuoteBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote. This reference can point to a State in a custom workflow.

    + */ + + public QuoteBuilder state(@Nullable final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + public String getId() { return this.id; } @@ -800,6 +834,11 @@ public String getSellerComment() { return this.sellerComment; } + @Nullable + public String getBuyerComment() { + return this.buyerComment; + } + @Nullable public com.commercetools.api.models.store.StoreKeyReference getStore() { return this.store; @@ -884,6 +923,11 @@ public com.commercetools.api.models.type.CustomFields getCustom() { return this.custom; } + @Nullable + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public Quote build() { Objects.requireNonNull(id, Quote.class + ": id is missing"); Objects.requireNonNull(version, Quote.class + ": version is missing"); @@ -898,9 +942,10 @@ public Quote build() { Objects.requireNonNull(taxRoundingMode, Quote.class + ": taxRoundingMode is missing"); Objects.requireNonNull(taxCalculationMode, Quote.class + ": taxCalculationMode is missing"); return new QuoteImpl(id, version, createdAt, lastModifiedAt, key, lastModifiedBy, createdBy, quoteRequest, - stagedQuote, customer, customerGroup, validTo, sellerComment, store, lineItems, customLineItems, totalPrice, - taxedPrice, shippingAddress, billingAddress, inventoryMode, taxMode, taxRoundingMode, taxCalculationMode, - country, shippingInfo, paymentInfo, shippingRateInput, itemShippingAddresses, directDiscounts, custom); + stagedQuote, customer, customerGroup, validTo, sellerComment, buyerComment, store, lineItems, + customLineItems, totalPrice, taxedPrice, shippingAddress, billingAddress, inventoryMode, taxMode, + taxRoundingMode, taxCalculationMode, country, shippingInfo, paymentInfo, shippingRateInput, + itemShippingAddresses, directDiscounts, custom, state); } /** @@ -908,9 +953,10 @@ public Quote build() { */ public Quote buildUnchecked() { return new QuoteImpl(id, version, createdAt, lastModifiedAt, key, lastModifiedBy, createdBy, quoteRequest, - stagedQuote, customer, customerGroup, validTo, sellerComment, store, lineItems, customLineItems, totalPrice, - taxedPrice, shippingAddress, billingAddress, inventoryMode, taxMode, taxRoundingMode, taxCalculationMode, - country, shippingInfo, paymentInfo, shippingRateInput, itemShippingAddresses, directDiscounts, custom); + stagedQuote, customer, customerGroup, validTo, sellerComment, buyerComment, store, lineItems, + customLineItems, totalPrice, taxedPrice, shippingAddress, billingAddress, inventoryMode, taxMode, + taxRoundingMode, taxCalculationMode, country, shippingInfo, paymentInfo, shippingRateInput, + itemShippingAddresses, directDiscounts, custom, state); } public static QuoteBuilder of() { @@ -932,6 +978,7 @@ public static QuoteBuilder of(final Quote template) { builder.customerGroup = template.getCustomerGroup(); builder.validTo = template.getValidTo(); builder.sellerComment = template.getSellerComment(); + builder.buyerComment = template.getBuyerComment(); builder.store = template.getStore(); builder.lineItems = template.getLineItems(); builder.customLineItems = template.getCustomLineItems(); @@ -950,6 +997,7 @@ public static QuoteBuilder of(final Quote template) { builder.itemShippingAddresses = template.getItemShippingAddresses(); builder.directDiscounts = template.getDirectDiscounts(); builder.custom = template.getCustom(); + builder.state = template.getState(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateAction.java index c7e9929a1fb..87a78dd982a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateAction.java @@ -32,7 +32,7 @@ public interface QuoteChangeQuoteStateAction extends QuoteUpdateAction { String CHANGE_QUOTE_STATE = "changeQuoteState"; /** - *

    The new quote state to be set for the Quote.

    + *

    New state to be set for the Quote.

    */ @NotNull @JsonProperty("quoteState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateActionBuilder.java index 1408200fd13..a8e97d9ba7a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateActionBuilder.java @@ -24,7 +24,7 @@ public class QuoteChangeQuoteStateActionBuilder implements BuilderThe new quote state to be set for the Quote.

    + *

    New state to be set for the Quote.

    */ public QuoteChangeQuoteStateActionBuilder quoteState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateActionImpl.java index e82f182f845..94c64c849f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeQuoteStateActionImpl.java @@ -44,7 +44,7 @@ public String getAction() { } /** - *

    The new quote state to be set for the Quote.

    + *

    New state to be set for the Quote.

    */ public com.commercetools.api.models.quote.QuoteState getQuoteState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraft.java index 4ea84f57d11..ed6c8bd3187 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraft.java @@ -9,6 +9,7 @@ import javax.validation.constraints.NotNull; import com.commercetools.api.models.staged_quote.StagedQuoteResourceIdentifier; +import com.commercetools.api.models.state.StateReference; import com.commercetools.api.models.type.CustomFieldsDraft; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -34,7 +35,7 @@ public interface QuoteDraft { /** - *

    The StagedQuote from which this Quote is created.

    + *

    StagedQuote from which the Quote is created.

    */ @NotNull @Valid @@ -66,6 +67,13 @@ public interface QuoteDraft { @JsonProperty("custom") public CustomFieldsDraft getCustom(); + /** + *

    State of the Quote. This reference can point to a State in a custom workflow.

    + */ + @Valid + @JsonProperty("state") + public StateReference getState(); + public void setStagedQuote(final StagedQuoteResourceIdentifier stagedQuote); public void setStagedQuoteVersion(final Long stagedQuoteVersion); @@ -74,6 +82,8 @@ public interface QuoteDraft { public void setCustom(final CustomFieldsDraft custom); + public void setState(final StateReference state); + public static QuoteDraft of() { return new QuoteDraftImpl(); } @@ -84,6 +94,7 @@ public static QuoteDraft of(final QuoteDraft template) { instance.setStagedQuoteVersion(template.getStagedQuoteVersion()); instance.setKey(template.getKey()); instance.setCustom(template.getCustom()); + instance.setState(template.getState()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraftBuilder.java index 4fd48300eb5..e0c87835387 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraftBuilder.java @@ -35,8 +35,11 @@ public class QuoteDraftBuilder implements Builder { @Nullable private com.commercetools.api.models.type.CustomFieldsDraft custom; + @Nullable + private com.commercetools.api.models.state.StateReference state; + /** - *

    The StagedQuote from which this Quote is created.

    + *

    StagedQuote from which the Quote is created.

    */ public QuoteDraftBuilder stagedQuote( @@ -48,7 +51,7 @@ public QuoteDraftBuilder stagedQuote( } /** - *

    The StagedQuote from which this Quote is created.

    + *

    StagedQuote from which the Quote is created.

    */ public QuoteDraftBuilder stagedQuote( @@ -102,6 +105,25 @@ public QuoteDraftBuilder custom(@Nullable final com.commercetools.api.models.typ return this; } + /** + *

    State of the Quote. This reference can point to a State in a custom workflow.

    + */ + + public QuoteDraftBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote. This reference can point to a State in a custom workflow.

    + */ + + public QuoteDraftBuilder state(@Nullable final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + public com.commercetools.api.models.staged_quote.StagedQuoteResourceIdentifier getStagedQuote() { return this.stagedQuote; } @@ -120,17 +142,22 @@ public com.commercetools.api.models.type.CustomFieldsDraft getCustom() { return this.custom; } + @Nullable + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public QuoteDraft build() { Objects.requireNonNull(stagedQuote, QuoteDraft.class + ": stagedQuote is missing"); Objects.requireNonNull(stagedQuoteVersion, QuoteDraft.class + ": stagedQuoteVersion is missing"); - return new QuoteDraftImpl(stagedQuote, stagedQuoteVersion, key, custom); + return new QuoteDraftImpl(stagedQuote, stagedQuoteVersion, key, custom, state); } /** * builds QuoteDraft without checking for non null required values */ public QuoteDraft buildUnchecked() { - return new QuoteDraftImpl(stagedQuote, stagedQuoteVersion, key, custom); + return new QuoteDraftImpl(stagedQuote, stagedQuoteVersion, key, custom, state); } public static QuoteDraftBuilder of() { @@ -143,6 +170,7 @@ public static QuoteDraftBuilder of(final QuoteDraft template) { builder.stagedQuoteVersion = template.getStagedQuoteVersion(); builder.key = template.getKey(); builder.custom = template.getCustom(); + builder.state = template.getState(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraftImpl.java index 67778ea75b8..1637dccb66e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteDraftImpl.java @@ -28,22 +28,26 @@ public class QuoteDraftImpl implements QuoteDraft, ModelBase { private com.commercetools.api.models.type.CustomFieldsDraft custom; + private com.commercetools.api.models.state.StateReference state; + @JsonCreator QuoteDraftImpl( @JsonProperty("stagedQuote") final com.commercetools.api.models.staged_quote.StagedQuoteResourceIdentifier stagedQuote, @JsonProperty("stagedQuoteVersion") final Long stagedQuoteVersion, @JsonProperty("key") final String key, - @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom) { + @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state) { this.stagedQuote = stagedQuote; this.stagedQuoteVersion = stagedQuoteVersion; this.key = key; this.custom = custom; + this.state = state; } public QuoteDraftImpl() { } /** - *

    The StagedQuote from which this Quote is created.

    + *

    StagedQuote from which the Quote is created.

    */ public com.commercetools.api.models.staged_quote.StagedQuoteResourceIdentifier getStagedQuote() { @@ -78,6 +82,14 @@ public com.commercetools.api.models.type.CustomFieldsDraft getCustom() { return this.custom; } + /** + *

    State of the Quote. This reference can point to a State in a custom workflow.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public void setStagedQuote( final com.commercetools.api.models.staged_quote.StagedQuoteResourceIdentifier stagedQuote) { this.stagedQuote = stagedQuote; @@ -95,6 +107,10 @@ public void setCustom(final com.commercetools.api.models.type.CustomFieldsDraft this.custom = custom; } + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + @Override public boolean equals(Object o) { if (this == o) @@ -109,6 +125,7 @@ public boolean equals(Object o) { .append(stagedQuoteVersion, that.stagedQuoteVersion) .append(key, that.key) .append(custom, that.custom) + .append(state, that.state) .isEquals(); } @@ -118,6 +135,7 @@ public int hashCode() { .append(stagedQuoteVersion) .append(key) .append(custom) + .append(state) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteImpl.java index 644247f4841..840fdeb2fb2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteImpl.java @@ -46,6 +46,8 @@ public class QuoteImpl implements Quote, ModelBase { private String sellerComment; + private String buyerComment; + private com.commercetools.api.models.store.StoreKeyReference store; private java.util.List lineItems; @@ -82,6 +84,8 @@ public class QuoteImpl implements Quote, ModelBase { private com.commercetools.api.models.type.CustomFields custom; + private com.commercetools.api.models.state.StateReference state; + @JsonCreator QuoteImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -95,6 +99,7 @@ public class QuoteImpl implements Quote, ModelBase { @JsonProperty("customerGroup") final com.commercetools.api.models.customer_group.CustomerGroupReference customerGroup, @JsonProperty("validTo") final java.time.ZonedDateTime validTo, @JsonProperty("sellerComment") final String sellerComment, + @JsonProperty("buyerComment") final String buyerComment, @JsonProperty("store") final com.commercetools.api.models.store.StoreKeyReference store, @JsonProperty("lineItems") final java.util.List lineItems, @JsonProperty("customLineItems") final java.util.List customLineItems, @@ -112,7 +117,8 @@ public class QuoteImpl implements Quote, ModelBase { @JsonProperty("shippingRateInput") final com.commercetools.api.models.cart.ShippingRateInput shippingRateInput, @JsonProperty("itemShippingAddresses") final java.util.List itemShippingAddresses, @JsonProperty("directDiscounts") final java.util.List directDiscounts, - @JsonProperty("custom") final com.commercetools.api.models.type.CustomFields custom) { + @JsonProperty("custom") final com.commercetools.api.models.type.CustomFields custom, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -126,6 +132,7 @@ public class QuoteImpl implements Quote, ModelBase { this.customerGroup = customerGroup; this.validTo = validTo; this.sellerComment = sellerComment; + this.buyerComment = buyerComment; this.store = store; this.lineItems = lineItems; this.customLineItems = customLineItems; @@ -144,6 +151,7 @@ public class QuoteImpl implements Quote, ModelBase { this.itemShippingAddresses = itemShippingAddresses; this.directDiscounts = directDiscounts; this.custom = custom; + this.state = state; } public QuoteImpl() { @@ -206,7 +214,7 @@ public com.commercetools.api.models.common.CreatedBy getCreatedBy() { } /** - *

    The Quote Request related to this Quote.

    + *

    Quote Request related to the Quote.

    */ public com.commercetools.api.models.quote_request.QuoteRequestReference getQuoteRequest() { @@ -214,7 +222,7 @@ public com.commercetools.api.models.quote_request.QuoteRequestReference getQuote } /** - *

    The Staged Quote related to this Quote.

    + *

    Staged Quote related to the Quote.

    */ public com.commercetools.api.models.staged_quote.StagedQuoteReference getStagedQuote() { @@ -222,7 +230,7 @@ public com.commercetools.api.models.staged_quote.StagedQuoteReference getStagedQ } /** - *

    The Buyer who requested this Quote.

    + *

    The Buyer who requested the Quote.

    */ public com.commercetools.api.models.customer.CustomerReference getCustomer() { @@ -246,13 +254,21 @@ public java.time.ZonedDateTime getValidTo() { } /** - *

    The text message included in the offer from the Seller.

    + *

    Message from the Seller included in the offer.

    */ public String getSellerComment() { return this.sellerComment; } + /** + *

    Message from the Buyer included in the renegotiation request.

    + */ + + public String getBuyerComment() { + return this.buyerComment; + } + /** *

    The Store to which the Buyer belongs.

    */ @@ -278,7 +294,7 @@ public java.util.List getCusto } /** - *

    The sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    + *

    Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    */ public com.commercetools.api.models.common.TypedMoney getTotalPrice() { @@ -302,7 +318,7 @@ public com.commercetools.api.models.common.Address getShippingAddress() { } /** - *

    The address used for invoicing.

    + *

    Address used for invoicing.

    */ public com.commercetools.api.models.common.Address getBillingAddress() { @@ -310,7 +326,7 @@ public com.commercetools.api.models.common.Address getBillingAddress() { } /** - *

    The inventory mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Inventory mode of the Cart referenced in the QuoteRequestDraft.

    */ public com.commercetools.api.models.cart.InventoryMode getInventoryMode() { @@ -318,7 +334,7 @@ public com.commercetools.api.models.cart.InventoryMode getInventoryMode() { } /** - *

    The tax mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Tax mode of the Cart referenced in the QuoteRequestDraft.

    */ public com.commercetools.api.models.cart.TaxMode getTaxMode() { @@ -358,7 +374,7 @@ public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { } /** - *

    Log of payment transactions related to this quote.

    + *

    Log of payment transactions related to the Quote.

    */ public com.commercetools.api.models.order.PaymentInfo getPaymentInfo() { @@ -382,7 +398,7 @@ public java.util.List getItemShippi } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public java.util.List getDirectDiscounts() { @@ -390,13 +406,21 @@ public java.util.List getDirec } /** - *

    Custom Fields of this Quote.

    + *

    Custom Fields on the Quote.

    */ public com.commercetools.api.models.type.CustomFields getCustom() { return this.custom; } + /** + *

    State of the Quote. This reference can point to a State in a custom workflow.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public void setId(final String id) { this.id = id; } @@ -450,6 +474,10 @@ public void setSellerComment(final String sellerComment) { this.sellerComment = sellerComment; } + public void setBuyerComment(final String buyerComment) { + this.buyerComment = buyerComment; + } + public void setStore(final com.commercetools.api.models.store.StoreKeyReference store) { this.store = store; } @@ -541,6 +569,10 @@ public void setCustom(final com.commercetools.api.models.type.CustomFields custo this.custom = custom; } + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + @Override public boolean equals(Object o) { if (this == o) @@ -564,6 +596,7 @@ public boolean equals(Object o) { .append(customerGroup, that.customerGroup) .append(validTo, that.validTo) .append(sellerComment, that.sellerComment) + .append(buyerComment, that.buyerComment) .append(store, that.store) .append(lineItems, that.lineItems) .append(customLineItems, that.customLineItems) @@ -582,6 +615,7 @@ public boolean equals(Object o) { .append(itemShippingAddresses, that.itemShippingAddresses) .append(directDiscounts, that.directDiscounts) .append(custom, that.custom) + .append(state, that.state) .isEquals(); } @@ -600,6 +634,7 @@ public int hashCode() { .append(customerGroup) .append(validTo) .append(sellerComment) + .append(buyerComment) .append(store) .append(lineItems) .append(customLineItems) @@ -618,6 +653,7 @@ public int hashCode() { .append(itemShippingAddresses) .append(directDiscounts) .append(custom) + .append(state) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationAction.java new file mode 100644 index 00000000000..d7cc81f319c --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationAction.java @@ -0,0 +1,71 @@ + +package com.commercetools.api.models.quote; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Represents the Buyer requesting renegotiation for a Quote. Valid for Quotes in a Pending or Failed state.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteRequestQuoteRenegotiationAction quoteRequestQuoteRenegotiationAction = QuoteRequestQuoteRenegotiationAction.builder()
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = QuoteRequestQuoteRenegotiationActionImpl.class) +public interface QuoteRequestQuoteRenegotiationAction extends QuoteUpdateAction { + + String REQUEST_QUOTE_RENEGOTIATION = "requestQuoteRenegotiation"; + + /** + *

    Message from the Buyer regarding the Quote renegotiation request.

    + */ + + @JsonProperty("buyerComment") + public String getBuyerComment(); + + public void setBuyerComment(final String buyerComment); + + public static QuoteRequestQuoteRenegotiationAction of() { + return new QuoteRequestQuoteRenegotiationActionImpl(); + } + + public static QuoteRequestQuoteRenegotiationAction of(final QuoteRequestQuoteRenegotiationAction template) { + QuoteRequestQuoteRenegotiationActionImpl instance = new QuoteRequestQuoteRenegotiationActionImpl(); + instance.setBuyerComment(template.getBuyerComment()); + return instance; + } + + public static QuoteRequestQuoteRenegotiationActionBuilder builder() { + return QuoteRequestQuoteRenegotiationActionBuilder.of(); + } + + public static QuoteRequestQuoteRenegotiationActionBuilder builder( + final QuoteRequestQuoteRenegotiationAction template) { + return QuoteRequestQuoteRenegotiationActionBuilder.of(template); + } + + default T withQuoteRequestQuoteRenegotiationAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationActionBuilder.java new file mode 100644 index 00000000000..e4aeefe37e5 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationActionBuilder.java @@ -0,0 +1,63 @@ + +package com.commercetools.api.models.quote; + +import java.util.*; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * QuoteRequestQuoteRenegotiationActionBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteRequestQuoteRenegotiationAction quoteRequestQuoteRenegotiationAction = QuoteRequestQuoteRenegotiationAction.builder()
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteRequestQuoteRenegotiationActionBuilder implements Builder { + + @Nullable + private String buyerComment; + + /** + *

    Message from the Buyer regarding the Quote renegotiation request.

    + */ + + public QuoteRequestQuoteRenegotiationActionBuilder buyerComment(@Nullable final String buyerComment) { + this.buyerComment = buyerComment; + return this; + } + + @Nullable + public String getBuyerComment() { + return this.buyerComment; + } + + public QuoteRequestQuoteRenegotiationAction build() { + return new QuoteRequestQuoteRenegotiationActionImpl(buyerComment); + } + + /** + * builds QuoteRequestQuoteRenegotiationAction without checking for non null required values + */ + public QuoteRequestQuoteRenegotiationAction buildUnchecked() { + return new QuoteRequestQuoteRenegotiationActionImpl(buyerComment); + } + + public static QuoteRequestQuoteRenegotiationActionBuilder of() { + return new QuoteRequestQuoteRenegotiationActionBuilder(); + } + + public static QuoteRequestQuoteRenegotiationActionBuilder of(final QuoteRequestQuoteRenegotiationAction template) { + QuoteRequestQuoteRenegotiationActionBuilder builder = new QuoteRequestQuoteRenegotiationActionBuilder(); + builder.buyerComment = template.getBuyerComment(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationActionImpl.java new file mode 100644 index 00000000000..62bebfda9f2 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteRequestQuoteRenegotiationActionImpl.java @@ -0,0 +1,75 @@ + +package com.commercetools.api.models.quote; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Represents the Buyer requesting renegotiation for a Quote. Valid for Quotes in a Pending or Failed state.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteRequestQuoteRenegotiationActionImpl implements QuoteRequestQuoteRenegotiationAction, ModelBase { + + private String action; + + private String buyerComment; + + @JsonCreator + QuoteRequestQuoteRenegotiationActionImpl(@JsonProperty("buyerComment") final String buyerComment) { + this.buyerComment = buyerComment; + this.action = REQUEST_QUOTE_RENEGOTIATION; + } + + public QuoteRequestQuoteRenegotiationActionImpl() { + this.action = REQUEST_QUOTE_RENEGOTIATION; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

    Message from the Buyer regarding the Quote renegotiation request.

    + */ + + public String getBuyerComment() { + return this.buyerComment; + } + + public void setBuyerComment(final String buyerComment) { + this.buyerComment = buyerComment; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + QuoteRequestQuoteRenegotiationActionImpl that = (QuoteRequestQuoteRenegotiationActionImpl) o; + + return new EqualsBuilder().append(action, that.action).append(buyerComment, that.buyerComment).isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).append(buyerComment).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteState.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteState.java index 1deae2d42a0..f99ca091260 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteState.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteState.java @@ -21,17 +21,22 @@ public interface QuoteState { */ QuoteState PENDING = QuoteStateEnum.PENDING; /** -

    A state indicating the Quote has been declined the Buyer.

    +

    A state indicating the Quote has been declined by the Buyer.

    */ QuoteState DECLINED = QuoteStateEnum.DECLINED; + /** +

    A state indicating the Quote has been declined by the Buyer with the request for renegotiation.

    + + */ + QuoteState DECLINED_FOR_RENEGOTIATION = QuoteStateEnum.DECLINED_FOR_RENEGOTIATION; /**

    A state indicating the Buyer has accepted the Quote.

    */ QuoteState ACCEPTED = QuoteStateEnum.ACCEPTED; /** -

    A state indicating a circumstance other than declining by the Buyer that led the quote to fail.

    +

    A state indicating a circumstance - other than the Buyer declining - that led to the Quote failing.

    */ QuoteState FAILED = QuoteStateEnum.FAILED; @@ -46,6 +51,8 @@ enum QuoteStateEnum implements QuoteState { DECLINED("Declined"), + DECLINED_FOR_RENEGOTIATION("DeclinedForRenegotiation"), + ACCEPTED("Accepted"), FAILED("Failed"), diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateAction.java new file mode 100644 index 00000000000..aeeb9352d31 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateAction.java @@ -0,0 +1,86 @@ + +package com.commercetools.api.models.quote; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateResourceIdentifier; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    If the existing State has set transitions, there must be a direct transition to the new State. If transitions is not set, no validation is performed. This update action produces the Quote State Transition Message.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteTransitionStateAction quoteTransitionStateAction = QuoteTransitionStateAction.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = QuoteTransitionStateActionImpl.class) +public interface QuoteTransitionStateAction extends QuoteUpdateAction { + + String TRANSITION_STATE = "transitionState"; + + /** + *

    Value to set. If there is no State yet, this must be an initial State.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateResourceIdentifier getState(); + + /** + *

    Switch validations on or off.

    + */ + + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateResourceIdentifier state); + + public void setForce(final Boolean force); + + public static QuoteTransitionStateAction of() { + return new QuoteTransitionStateActionImpl(); + } + + public static QuoteTransitionStateAction of(final QuoteTransitionStateAction template) { + QuoteTransitionStateActionImpl instance = new QuoteTransitionStateActionImpl(); + instance.setState(template.getState()); + instance.setForce(template.getForce()); + return instance; + } + + public static QuoteTransitionStateActionBuilder builder() { + return QuoteTransitionStateActionBuilder.of(); + } + + public static QuoteTransitionStateActionBuilder builder(final QuoteTransitionStateAction template) { + return QuoteTransitionStateActionBuilder.of(template); + } + + default T withQuoteTransitionStateAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateActionBuilder.java new file mode 100644 index 00000000000..6bd1bd679e3 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateActionBuilder.java @@ -0,0 +1,93 @@ + +package com.commercetools.api.models.quote; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * QuoteTransitionStateActionBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteTransitionStateAction quoteTransitionStateAction = QuoteTransitionStateAction.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteTransitionStateActionBuilder implements Builder { + + private com.commercetools.api.models.state.StateResourceIdentifier state; + + @Nullable + private Boolean force; + + /** + *

    Value to set. If there is no State yet, this must be an initial State.

    + */ + + public QuoteTransitionStateActionBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateResourceIdentifierBuilder.of()).build(); + return this; + } + + /** + *

    Value to set. If there is no State yet, this must be an initial State.

    + */ + + public QuoteTransitionStateActionBuilder state( + final com.commercetools.api.models.state.StateResourceIdentifier state) { + this.state = state; + return this; + } + + /** + *

    Switch validations on or off.

    + */ + + public QuoteTransitionStateActionBuilder force(@Nullable final Boolean force) { + this.force = force; + return this; + } + + public com.commercetools.api.models.state.StateResourceIdentifier getState() { + return this.state; + } + + @Nullable + public Boolean getForce() { + return this.force; + } + + public QuoteTransitionStateAction build() { + Objects.requireNonNull(state, QuoteTransitionStateAction.class + ": state is missing"); + return new QuoteTransitionStateActionImpl(state, force); + } + + /** + * builds QuoteTransitionStateAction without checking for non null required values + */ + public QuoteTransitionStateAction buildUnchecked() { + return new QuoteTransitionStateActionImpl(state, force); + } + + public static QuoteTransitionStateActionBuilder of() { + return new QuoteTransitionStateActionBuilder(); + } + + public static QuoteTransitionStateActionBuilder of(final QuoteTransitionStateAction template) { + QuoteTransitionStateActionBuilder builder = new QuoteTransitionStateActionBuilder(); + builder.state = template.getState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateActionImpl.java new file mode 100644 index 00000000000..27e112b095b --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteTransitionStateActionImpl.java @@ -0,0 +1,95 @@ + +package com.commercetools.api.models.quote; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    If the existing State has set transitions, there must be a direct transition to the new State. If transitions is not set, no validation is performed. This update action produces the Quote State Transition Message.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteTransitionStateActionImpl implements QuoteTransitionStateAction, ModelBase { + + private String action; + + private com.commercetools.api.models.state.StateResourceIdentifier state; + + private Boolean force; + + @JsonCreator + QuoteTransitionStateActionImpl( + @JsonProperty("state") final com.commercetools.api.models.state.StateResourceIdentifier state, + @JsonProperty("force") final Boolean force) { + this.state = state; + this.force = force; + this.action = TRANSITION_STATE; + } + + public QuoteTransitionStateActionImpl() { + this.action = TRANSITION_STATE; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

    Value to set. If there is no State yet, this must be an initial State.

    + */ + + public com.commercetools.api.models.state.StateResourceIdentifier getState() { + return this.state; + } + + /** + *

    Switch validations on or off.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setState(final com.commercetools.api.models.state.StateResourceIdentifier state) { + this.state = state; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + QuoteTransitionStateActionImpl that = (QuoteTransitionStateActionImpl) o; + + return new EqualsBuilder().append(action, that.action) + .append(state, that.state) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateAction.java index 49b38cc980e..834fd5135a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateAction.java @@ -27,8 +27,10 @@ */ @JsonSubTypes({ @JsonSubTypes.Type(value = com.commercetools.api.models.quote.QuoteChangeQuoteStateActionImpl.class, name = QuoteChangeQuoteStateAction.CHANGE_QUOTE_STATE), + @JsonSubTypes.Type(value = com.commercetools.api.models.quote.QuoteRequestQuoteRenegotiationActionImpl.class, name = QuoteRequestQuoteRenegotiationAction.REQUEST_QUOTE_RENEGOTIATION), @JsonSubTypes.Type(value = com.commercetools.api.models.quote.QuoteSetCustomFieldActionImpl.class, name = QuoteSetCustomFieldAction.SET_CUSTOM_FIELD), - @JsonSubTypes.Type(value = com.commercetools.api.models.quote.QuoteSetCustomTypeActionImpl.class, name = QuoteSetCustomTypeAction.SET_CUSTOM_TYPE) }) + @JsonSubTypes.Type(value = com.commercetools.api.models.quote.QuoteSetCustomTypeActionImpl.class, name = QuoteSetCustomTypeAction.SET_CUSTOM_TYPE), + @JsonSubTypes.Type(value = com.commercetools.api.models.quote.QuoteTransitionStateActionImpl.class, name = QuoteTransitionStateAction.TRANSITION_STATE) }) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "action", defaultImpl = QuoteUpdateActionImpl.class, visible = true) @JsonDeserialize(as = QuoteUpdateActionImpl.class) @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") @@ -45,6 +47,10 @@ public static com.commercetools.api.models.quote.QuoteChangeQuoteStateActionBuil return com.commercetools.api.models.quote.QuoteChangeQuoteStateActionBuilder.of(); } + public static com.commercetools.api.models.quote.QuoteRequestQuoteRenegotiationActionBuilder requestQuoteRenegotiationBuilder() { + return com.commercetools.api.models.quote.QuoteRequestQuoteRenegotiationActionBuilder.of(); + } + public static com.commercetools.api.models.quote.QuoteSetCustomFieldActionBuilder setCustomFieldBuilder() { return com.commercetools.api.models.quote.QuoteSetCustomFieldActionBuilder.of(); } @@ -53,6 +59,10 @@ public static com.commercetools.api.models.quote.QuoteSetCustomTypeActionBuilder return com.commercetools.api.models.quote.QuoteSetCustomTypeActionBuilder.of(); } + public static com.commercetools.api.models.quote.QuoteTransitionStateActionBuilder transitionStateBuilder() { + return com.commercetools.api.models.quote.QuoteTransitionStateActionBuilder.of(); + } + default T withQuoteUpdateAction(Function helper) { return helper.apply(this); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateActionBuilder.java index 2c67847cdc9..37f92fcce7a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateActionBuilder.java @@ -15,6 +15,10 @@ public com.commercetools.api.models.quote.QuoteChangeQuoteStateActionBuilder cha return com.commercetools.api.models.quote.QuoteChangeQuoteStateActionBuilder.of(); } + public com.commercetools.api.models.quote.QuoteRequestQuoteRenegotiationActionBuilder requestQuoteRenegotiationBuilder() { + return com.commercetools.api.models.quote.QuoteRequestQuoteRenegotiationActionBuilder.of(); + } + public com.commercetools.api.models.quote.QuoteSetCustomFieldActionBuilder setCustomFieldBuilder() { return com.commercetools.api.models.quote.QuoteSetCustomFieldActionBuilder.of(); } @@ -23,6 +27,10 @@ public com.commercetools.api.models.quote.QuoteSetCustomTypeActionBuilder setCus return com.commercetools.api.models.quote.QuoteSetCustomTypeActionBuilder.of(); } + public com.commercetools.api.models.quote.QuoteTransitionStateActionBuilder transitionStateBuilder() { + return com.commercetools.api.models.quote.QuoteTransitionStateActionBuilder.of(); + } + public static QuoteUpdateActionBuilder of() { return new QuoteUpdateActionBuilder(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequest.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequest.java index b82960272bd..4e2d311cb28 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequest.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequest.java @@ -27,6 +27,7 @@ import com.commercetools.api.models.customer.CustomerReference; import com.commercetools.api.models.customer_group.CustomerGroupReference; import com.commercetools.api.models.order.PaymentInfo; +import com.commercetools.api.models.state.StateReference; import com.commercetools.api.models.store.StoreKeyReference; import com.commercetools.api.models.type.CustomFields; import com.fasterxml.jackson.annotation.*; @@ -119,7 +120,7 @@ public interface QuoteRequest extends BaseResource { public QuoteRequestState getQuoteRequestState(); /** - *

    Text message included in the request.

    + *

    Message from the Buyer included in the Quote Request.

    */ @JsonProperty("comment") @@ -148,7 +149,7 @@ public interface QuoteRequest extends BaseResource { public StoreKeyReference getStore(); /** - *

    The Line Items for which a quote is requested.

    + *

    The Line Items for which a Quote is requested.

    */ @NotNull @Valid @@ -156,7 +157,7 @@ public interface QuoteRequest extends BaseResource { public List getLineItems(); /** - *

    The Custom Line Items for which a quote is requested.

    + *

    The Custom Line Items for which a Quote is requested.

    */ @NotNull @Valid @@ -164,7 +165,7 @@ public interface QuoteRequest extends BaseResource { public List getCustomLineItems(); /** - *

    The sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    + *

    Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    */ @NotNull @Valid @@ -186,21 +187,21 @@ public interface QuoteRequest extends BaseResource { public Address getShippingAddress(); /** - *

    The address used for invoicing.

    + *

    Address used for invoicing.

    */ @Valid @JsonProperty("billingAddress") public Address getBillingAddress(); /** - *

    The inventory mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Inventory mode of the Cart referenced in the QuoteRequestDraft.

    */ @JsonProperty("inventoryMode") public InventoryMode getInventoryMode(); /** - *

    The tax mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Tax mode of the Cart referenced in the QuoteRequestDraft.

    */ @NotNull @JsonProperty("taxMode") @@ -235,7 +236,7 @@ public interface QuoteRequest extends BaseResource { public ShippingInfo getShippingInfo(); /** - *

    Log of payment transactions related to this quote.

    + *

    Log of payment transactions related to the Quote.

    */ @Valid @JsonProperty("paymentInfo") @@ -256,19 +257,26 @@ public interface QuoteRequest extends BaseResource { public List
    getItemShippingAddresses(); /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ @Valid @JsonProperty("directDiscounts") public List getDirectDiscounts(); /** - *

    Custom Fields of this Quote Request.

    + *

    Custom Fields of the Quote Request.

    */ @Valid @JsonProperty("custom") public CustomFields getCustom(); + /** + *

    State of the Quote Request. This reference can point to a State in a custom workflow.

    + */ + @Valid + @JsonProperty("state") + public StateReference getState(); + public void setId(final String id); public void setVersion(final Long version); @@ -339,6 +347,8 @@ public interface QuoteRequest extends BaseResource { public void setCustom(final CustomFields custom); + public void setState(final StateReference state); + public static QuoteRequest of() { return new QuoteRequestImpl(); } @@ -374,6 +384,7 @@ public static QuoteRequest of(final QuoteRequest template) { instance.setItemShippingAddresses(template.getItemShippingAddresses()); instance.setDirectDiscounts(template.getDirectDiscounts()); instance.setCustom(template.getCustom()); + instance.setState(template.getState()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestBuilder.java index 668a0c64ff6..eab46267911 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestBuilder.java @@ -110,6 +110,9 @@ public class QuoteRequestBuilder implements Builder { @Nullable private com.commercetools.api.models.type.CustomFields custom; + @Nullable + private com.commercetools.api.models.state.StateReference state; + /** *

    Unique identifier of the QuoteRequest.

    */ @@ -205,7 +208,7 @@ public QuoteRequestBuilder quoteRequestState( } /** - *

    Text message included in the request.

    + *

    Message from the Buyer included in the Quote Request.

    */ public QuoteRequestBuilder comment(@Nullable final String comment) { @@ -274,7 +277,7 @@ public QuoteRequestBuilder store(@Nullable final com.commercetools.api.models.st } /** - *

    The Line Items for which a quote is requested.

    + *

    The Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder lineItems(final com.commercetools.api.models.cart.LineItem... lineItems) { @@ -283,7 +286,7 @@ public QuoteRequestBuilder lineItems(final com.commercetools.api.models.cart.Lin } /** - *

    The Line Items for which a quote is requested.

    + *

    The Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder lineItems(final java.util.List lineItems) { @@ -292,7 +295,7 @@ public QuoteRequestBuilder lineItems(final java.util.ListThe Line Items for which a quote is requested.

    + *

    The Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder plusLineItems(final com.commercetools.api.models.cart.LineItem... lineItems) { @@ -304,7 +307,7 @@ public QuoteRequestBuilder plusLineItems(final com.commercetools.api.models.cart } /** - *

    The Line Items for which a quote is requested.

    + *

    The Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder plusLineItems( @@ -317,7 +320,7 @@ public QuoteRequestBuilder plusLineItems( } /** - *

    The Line Items for which a quote is requested.

    + *

    The Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder withLineItems( @@ -328,7 +331,7 @@ public QuoteRequestBuilder withLineItems( } /** - *

    The Custom Line Items for which a quote is requested.

    + *

    The Custom Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder customLineItems( @@ -338,7 +341,7 @@ public QuoteRequestBuilder customLineItems( } /** - *

    The Custom Line Items for which a quote is requested.

    + *

    The Custom Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder customLineItems( @@ -348,7 +351,7 @@ public QuoteRequestBuilder customLineItems( } /** - *

    The Custom Line Items for which a quote is requested.

    + *

    The Custom Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder plusCustomLineItems( @@ -361,7 +364,7 @@ public QuoteRequestBuilder plusCustomLineItems( } /** - *

    The Custom Line Items for which a quote is requested.

    + *

    The Custom Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder plusCustomLineItems( @@ -374,7 +377,7 @@ public QuoteRequestBuilder plusCustomLineItems( } /** - *

    The Custom Line Items for which a quote is requested.

    + *

    The Custom Line Items for which a Quote is requested.

    */ public QuoteRequestBuilder withCustomLineItems( @@ -385,7 +388,7 @@ public QuoteRequestBuilder withCustomLineItems( } /** - *

    The sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    + *

    Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    */ public QuoteRequestBuilder totalPrice(final com.commercetools.api.models.common.TypedMoney totalPrice) { @@ -394,7 +397,7 @@ public QuoteRequestBuilder totalPrice(final com.commercetools.api.models.common. } /** - *

    The sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    + *

    Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    */ public QuoteRequestBuilder totalPrice( @@ -443,7 +446,7 @@ public QuoteRequestBuilder shippingAddress( } /** - *

    The address used for invoicing.

    + *

    Address used for invoicing.

    */ public QuoteRequestBuilder billingAddress( @@ -453,7 +456,7 @@ public QuoteRequestBuilder billingAddress( } /** - *

    The address used for invoicing.

    + *

    Address used for invoicing.

    */ public QuoteRequestBuilder billingAddress( @@ -463,7 +466,7 @@ public QuoteRequestBuilder billingAddress( } /** - *

    The inventory mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Inventory mode of the Cart referenced in the QuoteRequestDraft.

    */ public QuoteRequestBuilder inventoryMode( @@ -473,7 +476,7 @@ public QuoteRequestBuilder inventoryMode( } /** - *

    The tax mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Tax mode of the Cart referenced in the QuoteRequestDraft.

    */ public QuoteRequestBuilder taxMode(final com.commercetools.api.models.cart.TaxMode taxMode) { @@ -530,7 +533,7 @@ public QuoteRequestBuilder shippingInfo( } /** - *

    Log of payment transactions related to this quote.

    + *

    Log of payment transactions related to the Quote.

    */ public QuoteRequestBuilder paymentInfo( @@ -540,7 +543,7 @@ public QuoteRequestBuilder paymentInfo( } /** - *

    Log of payment transactions related to this quote.

    + *

    Log of payment transactions related to the Quote.

    */ public QuoteRequestBuilder paymentInfo(@Nullable final com.commercetools.api.models.order.PaymentInfo paymentInfo) { @@ -626,7 +629,7 @@ public QuoteRequestBuilder withItemShippingAddresses( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteRequestBuilder directDiscounts( @@ -636,7 +639,7 @@ public QuoteRequestBuilder directDiscounts( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteRequestBuilder directDiscounts( @@ -646,7 +649,7 @@ public QuoteRequestBuilder directDiscounts( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteRequestBuilder plusDirectDiscounts( @@ -659,7 +662,7 @@ public QuoteRequestBuilder plusDirectDiscounts( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteRequestBuilder plusDirectDiscounts( @@ -672,7 +675,7 @@ public QuoteRequestBuilder plusDirectDiscounts( } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public QuoteRequestBuilder withDirectDiscounts( @@ -683,7 +686,7 @@ public QuoteRequestBuilder withDirectDiscounts( } /** - *

    Custom Fields of this Quote Request.

    + *

    Custom Fields of the Quote Request.

    */ public QuoteRequestBuilder custom( @@ -693,7 +696,7 @@ public QuoteRequestBuilder custom( } /** - *

    Custom Fields of this Quote Request.

    + *

    Custom Fields of the Quote Request.

    */ public QuoteRequestBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFields custom) { @@ -701,6 +704,25 @@ public QuoteRequestBuilder custom(@Nullable final com.commercetools.api.models.t return this; } + /** + *

    State of the Quote Request. This reference can point to a State in a custom workflow.

    + */ + + public QuoteRequestBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Quote Request. This reference can point to a State in a custom workflow.

    + */ + + public QuoteRequestBuilder state(@Nullable final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + public String getId() { return this.id; } @@ -834,6 +856,11 @@ public com.commercetools.api.models.type.CustomFields getCustom() { return this.custom; } + @Nullable + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public QuoteRequest build() { Objects.requireNonNull(id, QuoteRequest.class + ": id is missing"); Objects.requireNonNull(version, QuoteRequest.class + ": version is missing"); @@ -850,7 +877,8 @@ public QuoteRequest build() { return new QuoteRequestImpl(id, version, createdAt, lastModifiedAt, key, lastModifiedBy, createdBy, quoteRequestState, comment, customer, customerGroup, store, lineItems, customLineItems, totalPrice, taxedPrice, shippingAddress, billingAddress, inventoryMode, taxMode, taxRoundingMode, taxCalculationMode, - country, shippingInfo, paymentInfo, shippingRateInput, itemShippingAddresses, directDiscounts, custom); + country, shippingInfo, paymentInfo, shippingRateInput, itemShippingAddresses, directDiscounts, custom, + state); } /** @@ -860,7 +888,8 @@ public QuoteRequest buildUnchecked() { return new QuoteRequestImpl(id, version, createdAt, lastModifiedAt, key, lastModifiedBy, createdBy, quoteRequestState, comment, customer, customerGroup, store, lineItems, customLineItems, totalPrice, taxedPrice, shippingAddress, billingAddress, inventoryMode, taxMode, taxRoundingMode, taxCalculationMode, - country, shippingInfo, paymentInfo, shippingRateInput, itemShippingAddresses, directDiscounts, custom); + country, shippingInfo, paymentInfo, shippingRateInput, itemShippingAddresses, directDiscounts, custom, + state); } public static QuoteRequestBuilder of() { @@ -898,6 +927,7 @@ public static QuoteRequestBuilder of(final QuoteRequest template) { builder.itemShippingAddresses = template.getItemShippingAddresses(); builder.directDiscounts = template.getDirectDiscounts(); builder.custom = template.getCustom(); + builder.state = template.getState(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateAction.java index 30bfd060ffd..2983cc9a839 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateAction.java @@ -32,7 +32,7 @@ public interface QuoteRequestChangeQuoteRequestStateAction extends QuoteRequestU String CHANGE_QUOTE_REQUEST_STATE = "changeQuoteRequestState"; /** - *

    The new state to be set for the Quote Request.

    + *

    New state to be set for the Quote Request.

    */ @NotNull @JsonProperty("quoteRequestState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateActionBuilder.java index 8f977e2a49e..0292718f1f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateActionBuilder.java @@ -25,7 +25,7 @@ public class QuoteRequestChangeQuoteRequestStateActionBuilder private com.commercetools.api.models.quote_request.QuoteRequestState quoteRequestState; /** - *

    The new state to be set for the Quote Request.

    + *

    New state to be set for the Quote Request.

    */ public QuoteRequestChangeQuoteRequestStateActionBuilder quoteRequestState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateActionImpl.java index 009839a9693..d59556db3a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeQuoteRequestStateActionImpl.java @@ -45,7 +45,7 @@ public String getAction() { } /** - *

    The new state to be set for the Quote Request.

    + *

    New state to be set for the Quote Request.

    */ public com.commercetools.api.models.quote_request.QuoteRequestState getQuoteRequestState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraft.java index 2693c1dd94b..c238c107080 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraft.java @@ -9,6 +9,7 @@ import javax.validation.constraints.NotNull; import com.commercetools.api.models.cart.CartResourceIdentifier; +import com.commercetools.api.models.state.StateReference; import com.commercetools.api.models.type.CustomFieldsDraft; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -57,7 +58,7 @@ public interface QuoteRequestDraft { public String getKey(); /** - *

    Text message included in the request.

    + *

    Message from the Buyer included in the Quote Request.

    */ @NotNull @JsonProperty("comment") @@ -70,6 +71,13 @@ public interface QuoteRequestDraft { @JsonProperty("custom") public CustomFieldsDraft getCustom(); + /** + *

    State of this Quote Request. This reference can point to a State in a custom workflow.

    + */ + @Valid + @JsonProperty("state") + public StateReference getState(); + public void setCart(final CartResourceIdentifier cart); public void setCartVersion(final Long cartVersion); @@ -80,6 +88,8 @@ public interface QuoteRequestDraft { public void setCustom(final CustomFieldsDraft custom); + public void setState(final StateReference state); + public static QuoteRequestDraft of() { return new QuoteRequestDraftImpl(); } @@ -91,6 +101,7 @@ public static QuoteRequestDraft of(final QuoteRequestDraft template) { instance.setKey(template.getKey()); instance.setComment(template.getComment()); instance.setCustom(template.getCustom()); + instance.setState(template.getState()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraftBuilder.java index 7e5f27b2f33..ef7d0ed3d73 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraftBuilder.java @@ -38,6 +38,9 @@ public class QuoteRequestDraftBuilder implements Builder { @Nullable private com.commercetools.api.models.type.CustomFieldsDraft custom; + @Nullable + private com.commercetools.api.models.state.StateReference state; + /** *

    Cart for which a Quote is requested. Anonymous Carts as well as Carts with Discount Codes are not supported.

    */ @@ -76,7 +79,7 @@ public QuoteRequestDraftBuilder key(@Nullable final String key) { } /** - *

    Text message included in the request.

    + *

    Message from the Buyer included in the Quote Request.

    */ public QuoteRequestDraftBuilder comment(final String comment) { @@ -103,6 +106,25 @@ public QuoteRequestDraftBuilder custom(@Nullable final com.commercetools.api.mod return this; } + /** + *

    State of this Quote Request. This reference can point to a State in a custom workflow.

    + */ + + public QuoteRequestDraftBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of this Quote Request. This reference can point to a State in a custom workflow.

    + */ + + public QuoteRequestDraftBuilder state(@Nullable final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + public com.commercetools.api.models.cart.CartResourceIdentifier getCart() { return this.cart; } @@ -125,18 +147,23 @@ public com.commercetools.api.models.type.CustomFieldsDraft getCustom() { return this.custom; } + @Nullable + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public QuoteRequestDraft build() { Objects.requireNonNull(cart, QuoteRequestDraft.class + ": cart is missing"); Objects.requireNonNull(cartVersion, QuoteRequestDraft.class + ": cartVersion is missing"); Objects.requireNonNull(comment, QuoteRequestDraft.class + ": comment is missing"); - return new QuoteRequestDraftImpl(cart, cartVersion, key, comment, custom); + return new QuoteRequestDraftImpl(cart, cartVersion, key, comment, custom, state); } /** * builds QuoteRequestDraft without checking for non null required values */ public QuoteRequestDraft buildUnchecked() { - return new QuoteRequestDraftImpl(cart, cartVersion, key, comment, custom); + return new QuoteRequestDraftImpl(cart, cartVersion, key, comment, custom, state); } public static QuoteRequestDraftBuilder of() { @@ -150,6 +177,7 @@ public static QuoteRequestDraftBuilder of(final QuoteRequestDraft template) { builder.key = template.getKey(); builder.comment = template.getComment(); builder.custom = template.getCustom(); + builder.state = template.getState(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraftImpl.java index a22cab58f87..ba283bfce28 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestDraftImpl.java @@ -30,16 +30,20 @@ public class QuoteRequestDraftImpl implements QuoteRequestDraft, ModelBase { private com.commercetools.api.models.type.CustomFieldsDraft custom; + private com.commercetools.api.models.state.StateReference state; + @JsonCreator QuoteRequestDraftImpl(@JsonProperty("cart") final com.commercetools.api.models.cart.CartResourceIdentifier cart, @JsonProperty("cartVersion") final Long cartVersion, @JsonProperty("key") final String key, @JsonProperty("comment") final String comment, - @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom) { + @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state) { this.cart = cart; this.cartVersion = cartVersion; this.key = key; this.comment = comment; this.custom = custom; + this.state = state; } public QuoteRequestDraftImpl() { @@ -70,7 +74,7 @@ public String getKey() { } /** - *

    Text message included in the request.

    + *

    Message from the Buyer included in the Quote Request.

    */ public String getComment() { @@ -85,6 +89,14 @@ public com.commercetools.api.models.type.CustomFieldsDraft getCustom() { return this.custom; } + /** + *

    State of this Quote Request. This reference can point to a State in a custom workflow.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public void setCart(final com.commercetools.api.models.cart.CartResourceIdentifier cart) { this.cart = cart; } @@ -105,6 +117,10 @@ public void setCustom(final com.commercetools.api.models.type.CustomFieldsDraft this.custom = custom; } + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + @Override public boolean equals(Object o) { if (this == o) @@ -120,6 +136,7 @@ public boolean equals(Object o) { .append(key, that.key) .append(comment, that.comment) .append(custom, that.custom) + .append(state, that.state) .isEquals(); } @@ -130,6 +147,7 @@ public int hashCode() { .append(key) .append(comment) .append(custom) + .append(state) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestImpl.java index d6281a767e7..c28314bce1b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestImpl.java @@ -78,6 +78,8 @@ public class QuoteRequestImpl implements QuoteRequest, ModelBase { private com.commercetools.api.models.type.CustomFields custom; + private com.commercetools.api.models.state.StateReference state; + @JsonCreator QuoteRequestImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -106,7 +108,8 @@ public class QuoteRequestImpl implements QuoteRequest, ModelBase { @JsonProperty("shippingRateInput") final com.commercetools.api.models.cart.ShippingRateInput shippingRateInput, @JsonProperty("itemShippingAddresses") final java.util.List itemShippingAddresses, @JsonProperty("directDiscounts") final java.util.List directDiscounts, - @JsonProperty("custom") final com.commercetools.api.models.type.CustomFields custom) { + @JsonProperty("custom") final com.commercetools.api.models.type.CustomFields custom, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -136,6 +139,7 @@ public class QuoteRequestImpl implements QuoteRequest, ModelBase { this.itemShippingAddresses = itemShippingAddresses; this.directDiscounts = directDiscounts; this.custom = custom; + this.state = state; } public QuoteRequestImpl() { @@ -206,7 +210,7 @@ public com.commercetools.api.models.quote_request.QuoteRequestState getQuoteRequ } /** - *

    Text message included in the request.

    + *

    Message from the Buyer included in the Quote Request.

    */ public String getComment() { @@ -238,7 +242,7 @@ public com.commercetools.api.models.store.StoreKeyReference getStore() { } /** - *

    The Line Items for which a quote is requested.

    + *

    The Line Items for which a Quote is requested.

    */ public java.util.List getLineItems() { @@ -246,7 +250,7 @@ public java.util.List getLineItems() } /** - *

    The Custom Line Items for which a quote is requested.

    + *

    The Custom Line Items for which a Quote is requested.

    */ public java.util.List getCustomLineItems() { @@ -254,7 +258,7 @@ public java.util.List getCusto } /** - *

    The sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    + *

    Sum of all totalPrice fields of the lineItems and customLineItems, as well as the price field of shippingInfo (if it exists). totalPrice may or may not include the taxes: it depends on the taxRate.includedInPrice property of each price.

    */ public com.commercetools.api.models.common.TypedMoney getTotalPrice() { @@ -278,7 +282,7 @@ public com.commercetools.api.models.common.Address getShippingAddress() { } /** - *

    The address used for invoicing.

    + *

    Address used for invoicing.

    */ public com.commercetools.api.models.common.Address getBillingAddress() { @@ -286,7 +290,7 @@ public com.commercetools.api.models.common.Address getBillingAddress() { } /** - *

    The inventory mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Inventory mode of the Cart referenced in the QuoteRequestDraft.

    */ public com.commercetools.api.models.cart.InventoryMode getInventoryMode() { @@ -294,7 +298,7 @@ public com.commercetools.api.models.cart.InventoryMode getInventoryMode() { } /** - *

    The tax mode of the Cart referenced in the QuoteRequestDraft.

    + *

    Tax mode of the Cart referenced in the QuoteRequestDraft.

    */ public com.commercetools.api.models.cart.TaxMode getTaxMode() { @@ -334,7 +338,7 @@ public com.commercetools.api.models.cart.ShippingInfo getShippingInfo() { } /** - *

    Log of payment transactions related to this quote.

    + *

    Log of payment transactions related to the Quote.

    */ public com.commercetools.api.models.order.PaymentInfo getPaymentInfo() { @@ -358,7 +362,7 @@ public java.util.List getItemShippi } /** - *

    Discounts only valid for this Quote, those cannot be associated to any other Cart or Order.

    + *

    Discounts that are only valid for the Quote and cannot be associated to any other Cart or Order.

    */ public java.util.List getDirectDiscounts() { @@ -366,13 +370,21 @@ public java.util.List getDirec } /** - *

    Custom Fields of this Quote Request.

    + *

    Custom Fields of the Quote Request.

    */ public com.commercetools.api.models.type.CustomFields getCustom() { return this.custom; } + /** + *

    State of the Quote Request. This reference can point to a State in a custom workflow.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public void setId(final String id) { this.id = id; } @@ -510,6 +522,10 @@ public void setCustom(final com.commercetools.api.models.type.CustomFields custo this.custom = custom; } + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + @Override public boolean equals(Object o) { if (this == o) @@ -549,6 +565,7 @@ public boolean equals(Object o) { .append(itemShippingAddresses, that.itemShippingAddresses) .append(directDiscounts, that.directDiscounts) .append(custom, that.custom) + .append(state, that.state) .isEquals(); } @@ -583,6 +600,7 @@ public int hashCode() { .append(itemShippingAddresses) .append(directDiscounts) .append(custom) + .append(state) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateAction.java new file mode 100644 index 00000000000..eb09f873b43 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateAction.java @@ -0,0 +1,86 @@ + +package com.commercetools.api.models.quote_request; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateResourceIdentifier; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    If the existing State has set transitions, there must be a direct transition to the new State. If transitions is not set, no validation is performed. This update action produces the Quote Request State Transition Message.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteRequestTransitionStateAction quoteRequestTransitionStateAction = QuoteRequestTransitionStateAction.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = QuoteRequestTransitionStateActionImpl.class) +public interface QuoteRequestTransitionStateAction extends QuoteRequestUpdateAction { + + String TRANSITION_STATE = "transitionState"; + + /** + *

    Value to set. If there is no State yet, this must be an initial State.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateResourceIdentifier getState(); + + /** + *

    Switch validations on or off.

    + */ + + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateResourceIdentifier state); + + public void setForce(final Boolean force); + + public static QuoteRequestTransitionStateAction of() { + return new QuoteRequestTransitionStateActionImpl(); + } + + public static QuoteRequestTransitionStateAction of(final QuoteRequestTransitionStateAction template) { + QuoteRequestTransitionStateActionImpl instance = new QuoteRequestTransitionStateActionImpl(); + instance.setState(template.getState()); + instance.setForce(template.getForce()); + return instance; + } + + public static QuoteRequestTransitionStateActionBuilder builder() { + return QuoteRequestTransitionStateActionBuilder.of(); + } + + public static QuoteRequestTransitionStateActionBuilder builder(final QuoteRequestTransitionStateAction template) { + return QuoteRequestTransitionStateActionBuilder.of(template); + } + + default T withQuoteRequestTransitionStateAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateActionBuilder.java new file mode 100644 index 00000000000..42e5f2bbc76 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateActionBuilder.java @@ -0,0 +1,93 @@ + +package com.commercetools.api.models.quote_request; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * QuoteRequestTransitionStateActionBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     QuoteRequestTransitionStateAction quoteRequestTransitionStateAction = QuoteRequestTransitionStateAction.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteRequestTransitionStateActionBuilder implements Builder { + + private com.commercetools.api.models.state.StateResourceIdentifier state; + + @Nullable + private Boolean force; + + /** + *

    Value to set. If there is no State yet, this must be an initial State.

    + */ + + public QuoteRequestTransitionStateActionBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateResourceIdentifierBuilder.of()).build(); + return this; + } + + /** + *

    Value to set. If there is no State yet, this must be an initial State.

    + */ + + public QuoteRequestTransitionStateActionBuilder state( + final com.commercetools.api.models.state.StateResourceIdentifier state) { + this.state = state; + return this; + } + + /** + *

    Switch validations on or off.

    + */ + + public QuoteRequestTransitionStateActionBuilder force(@Nullable final Boolean force) { + this.force = force; + return this; + } + + public com.commercetools.api.models.state.StateResourceIdentifier getState() { + return this.state; + } + + @Nullable + public Boolean getForce() { + return this.force; + } + + public QuoteRequestTransitionStateAction build() { + Objects.requireNonNull(state, QuoteRequestTransitionStateAction.class + ": state is missing"); + return new QuoteRequestTransitionStateActionImpl(state, force); + } + + /** + * builds QuoteRequestTransitionStateAction without checking for non null required values + */ + public QuoteRequestTransitionStateAction buildUnchecked() { + return new QuoteRequestTransitionStateActionImpl(state, force); + } + + public static QuoteRequestTransitionStateActionBuilder of() { + return new QuoteRequestTransitionStateActionBuilder(); + } + + public static QuoteRequestTransitionStateActionBuilder of(final QuoteRequestTransitionStateAction template) { + QuoteRequestTransitionStateActionBuilder builder = new QuoteRequestTransitionStateActionBuilder(); + builder.state = template.getState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateActionImpl.java new file mode 100644 index 00000000000..1aa026aacb5 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestTransitionStateActionImpl.java @@ -0,0 +1,95 @@ + +package com.commercetools.api.models.quote_request; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    If the existing State has set transitions, there must be a direct transition to the new State. If transitions is not set, no validation is performed. This update action produces the Quote Request State Transition Message.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class QuoteRequestTransitionStateActionImpl implements QuoteRequestTransitionStateAction, ModelBase { + + private String action; + + private com.commercetools.api.models.state.StateResourceIdentifier state; + + private Boolean force; + + @JsonCreator + QuoteRequestTransitionStateActionImpl( + @JsonProperty("state") final com.commercetools.api.models.state.StateResourceIdentifier state, + @JsonProperty("force") final Boolean force) { + this.state = state; + this.force = force; + this.action = TRANSITION_STATE; + } + + public QuoteRequestTransitionStateActionImpl() { + this.action = TRANSITION_STATE; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

    Value to set. If there is no State yet, this must be an initial State.

    + */ + + public com.commercetools.api.models.state.StateResourceIdentifier getState() { + return this.state; + } + + /** + *

    Switch validations on or off.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setState(final com.commercetools.api.models.state.StateResourceIdentifier state) { + this.state = state; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + QuoteRequestTransitionStateActionImpl that = (QuoteRequestTransitionStateActionImpl) o; + + return new EqualsBuilder().append(action, that.action) + .append(state, that.state) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateAction.java index 5f30558875b..a55fadbf27e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateAction.java @@ -28,7 +28,8 @@ @JsonSubTypes({ @JsonSubTypes.Type(value = com.commercetools.api.models.quote_request.QuoteRequestChangeQuoteRequestStateActionImpl.class, name = QuoteRequestChangeQuoteRequestStateAction.CHANGE_QUOTE_REQUEST_STATE), @JsonSubTypes.Type(value = com.commercetools.api.models.quote_request.QuoteRequestSetCustomFieldActionImpl.class, name = QuoteRequestSetCustomFieldAction.SET_CUSTOM_FIELD), - @JsonSubTypes.Type(value = com.commercetools.api.models.quote_request.QuoteRequestSetCustomTypeActionImpl.class, name = QuoteRequestSetCustomTypeAction.SET_CUSTOM_TYPE) }) + @JsonSubTypes.Type(value = com.commercetools.api.models.quote_request.QuoteRequestSetCustomTypeActionImpl.class, name = QuoteRequestSetCustomTypeAction.SET_CUSTOM_TYPE), + @JsonSubTypes.Type(value = com.commercetools.api.models.quote_request.QuoteRequestTransitionStateActionImpl.class, name = QuoteRequestTransitionStateAction.TRANSITION_STATE) }) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "action", defaultImpl = QuoteRequestUpdateActionImpl.class, visible = true) @JsonDeserialize(as = QuoteRequestUpdateActionImpl.class) @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") @@ -54,6 +55,10 @@ public static com.commercetools.api.models.quote_request.QuoteRequestSetCustomTy return com.commercetools.api.models.quote_request.QuoteRequestSetCustomTypeActionBuilder.of(); } + public static com.commercetools.api.models.quote_request.QuoteRequestTransitionStateActionBuilder transitionStateBuilder() { + return com.commercetools.api.models.quote_request.QuoteRequestTransitionStateActionBuilder.of(); + } + default T withQuoteRequestUpdateAction(Function helper) { return helper.apply(this); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateActionBuilder.java index 4f0f849cacf..b002a0b72a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateActionBuilder.java @@ -23,6 +23,10 @@ public com.commercetools.api.models.quote_request.QuoteRequestSetCustomTypeActio return com.commercetools.api.models.quote_request.QuoteRequestSetCustomTypeActionBuilder.of(); } + public com.commercetools.api.models.quote_request.QuoteRequestTransitionStateActionBuilder transitionStateBuilder() { + return com.commercetools.api.models.quote_request.QuoteRequestTransitionStateActionBuilder.of(); + } + public static QuoteRequestUpdateActionBuilder of() { return new QuoteRequestUpdateActionBuilder(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingAction.java index bff08b43dea..72658f8b513 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    This update action produces the ReviewRatingSetMessage.

    + *

    This update action produces the ReviewRatingSet Message.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionImpl.java index 8b29736c378..32b6aef60b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    This update action produces the ReviewRatingSetMessage.

    + *

    This update action produces the ReviewRatingSet Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewSetRatingActionImpl implements ReviewSetRatingAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateAction.java index 612747540ce..43e7f653eb8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    Transition to a new State. This update action produces the ReviewStateTransitionMessage.

    + *

    Transition to a new State. This update action produces the Review State Transition Message.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionImpl.java index 5a5e307d43b..0ba7a54d266 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Transition to a new State. This update action produces the ReviewStateTransitionMessage.

    + *

    Transition to a new State. This update action produces the Review State Transition Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewTransitionStateActionImpl implements ReviewTransitionStateAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItem.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItem.java index 28578830d18..3d6851de5ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItem.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItem.java @@ -106,7 +106,7 @@ public interface ShoppingListLineItem extends com.commercetools.api.models.Custo public Integer getQuantity(); /** - * + *

    A concrete sellable good for which inventory can be tracked. Product Variants are generally mapped to specific SKUs.

    */ @Valid @JsonProperty("variant") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemBuilder.java index b63aa1b343d..d464b31d4bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemBuilder.java @@ -181,7 +181,7 @@ public ShoppingListLineItemBuilder quantity(final Integer quantity) { } /** - * + *

    A concrete sellable good for which inventory can be tracked. Product Variants are generally mapped to specific SKUs.

    */ public ShoppingListLineItemBuilder variant( @@ -191,7 +191,7 @@ public ShoppingListLineItemBuilder variant( } /** - * + *

    A concrete sellable good for which inventory can be tracked. Product Variants are generally mapped to specific SKUs.

    */ public ShoppingListLineItemBuilder variant( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemImpl.java index 5a9488195ae..af1dbd36d73 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemImpl.java @@ -143,7 +143,7 @@ public Integer getQuantity() { } /** - * + *

    A concrete sellable good for which inventory can be tracked. Product Variants are generally mapped to specific SKUs.

    */ public com.commercetools.api.models.product.ProductVariant getVariant() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuote.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuote.java index 93489333c06..9aaa203adf7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuote.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuote.java @@ -15,6 +15,7 @@ import com.commercetools.api.models.common.LastModifiedBy; import com.commercetools.api.models.customer.CustomerReference; import com.commercetools.api.models.quote_request.QuoteRequestReference; +import com.commercetools.api.models.state.StateReference; import com.commercetools.api.models.type.CustomFields; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -101,14 +102,14 @@ public interface StagedQuote extends BaseResource { public StagedQuoteState getStagedQuoteState(); /** - *

    The Buyer who requested the quote.

    + *

    The Buyer who requested the Quote.

    */ @Valid @JsonProperty("customer") public CustomerReference getCustomer(); /** - *

    The Quote Request related to this Staged Quote.

    + *

    Quote Request related to the Staged Quote.

    */ @NotNull @Valid @@ -116,7 +117,7 @@ public interface StagedQuote extends BaseResource { public QuoteRequestReference getQuoteRequest(); /** - *

    The Cart containing the offered items.

    + *

    Cart containing the offered items. May contain either DirectDiscounts or CartDiscounts.

    */ @NotNull @Valid @@ -124,26 +125,33 @@ public interface StagedQuote extends BaseResource { public CartReference getQuotationCart(); /** - *

    Expiration date for the quote.

    + *

    Expiration date for the Quote.

    */ @JsonProperty("validTo") public ZonedDateTime getValidTo(); /** - *

    The text message included in the offer from the Seller.

    + *

    Message from the Seller included in the offer.

    */ @JsonProperty("sellerComment") public String getSellerComment(); /** - *

    Custom Fields of this Staged Quote.

    + *

    Custom Fields of the Staged Quote.

    */ @Valid @JsonProperty("custom") public CustomFields getCustom(); + /** + *

    State of the Staged Quote. This reference can point to a State in a custom workflow.

    + */ + @Valid + @JsonProperty("state") + public StateReference getState(); + public void setId(final String id); public void setVersion(final Long version); @@ -172,6 +180,8 @@ public interface StagedQuote extends BaseResource { public void setCustom(final CustomFields custom); + public void setState(final StateReference state); + public static StagedQuote of() { return new StagedQuoteImpl(); } @@ -192,6 +202,7 @@ public static StagedQuote of(final StagedQuote template) { instance.setValidTo(template.getValidTo()); instance.setSellerComment(template.getSellerComment()); instance.setCustom(template.getCustom()); + instance.setState(template.getState()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteBuilder.java index 4b5b32333c8..a8ced7bdd4a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteBuilder.java @@ -65,6 +65,9 @@ public class StagedQuoteBuilder implements Builder { @Nullable private com.commercetools.api.models.type.CustomFields custom; + @Nullable + private com.commercetools.api.models.state.StateReference state; + /** *

    The unique ID of the StagedQuote.

    */ @@ -160,7 +163,7 @@ public StagedQuoteBuilder stagedQuoteState( } /** - *

    The Buyer who requested the quote.

    + *

    The Buyer who requested the Quote.

    */ public StagedQuoteBuilder customer( @@ -170,7 +173,7 @@ public StagedQuoteBuilder customer( } /** - *

    The Buyer who requested the quote.

    + *

    The Buyer who requested the Quote.

    */ public StagedQuoteBuilder customer( @@ -180,7 +183,7 @@ public StagedQuoteBuilder customer( } /** - *

    The Quote Request related to this Staged Quote.

    + *

    Quote Request related to the Staged Quote.

    */ public StagedQuoteBuilder quoteRequest( @@ -191,7 +194,7 @@ public StagedQuoteBuilder quoteRequest( } /** - *

    The Quote Request related to this Staged Quote.

    + *

    Quote Request related to the Staged Quote.

    */ public StagedQuoteBuilder quoteRequest( @@ -201,7 +204,7 @@ public StagedQuoteBuilder quoteRequest( } /** - *

    The Cart containing the offered items.

    + *

    Cart containing the offered items. May contain either DirectDiscounts or CartDiscounts.

    */ public StagedQuoteBuilder quotationCart( @@ -211,7 +214,7 @@ public StagedQuoteBuilder quotationCart( } /** - *

    The Cart containing the offered items.

    + *

    Cart containing the offered items. May contain either DirectDiscounts or CartDiscounts.

    */ public StagedQuoteBuilder quotationCart(final com.commercetools.api.models.cart.CartReference quotationCart) { @@ -220,7 +223,7 @@ public StagedQuoteBuilder quotationCart(final com.commercetools.api.models.cart. } /** - *

    Expiration date for the quote.

    + *

    Expiration date for the Quote.

    */ public StagedQuoteBuilder validTo(@Nullable final java.time.ZonedDateTime validTo) { @@ -229,7 +232,7 @@ public StagedQuoteBuilder validTo(@Nullable final java.time.ZonedDateTime validT } /** - *

    The text message included in the offer from the Seller.

    + *

    Message from the Seller included in the offer.

    */ public StagedQuoteBuilder sellerComment(@Nullable final String sellerComment) { @@ -238,7 +241,7 @@ public StagedQuoteBuilder sellerComment(@Nullable final String sellerComment) { } /** - *

    Custom Fields of this Staged Quote.

    + *

    Custom Fields of the Staged Quote.

    */ public StagedQuoteBuilder custom( @@ -248,7 +251,7 @@ public StagedQuoteBuilder custom( } /** - *

    Custom Fields of this Staged Quote.

    + *

    Custom Fields of the Staged Quote.

    */ public StagedQuoteBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFields custom) { @@ -256,6 +259,25 @@ public StagedQuoteBuilder custom(@Nullable final com.commercetools.api.models.ty return this; } + /** + *

    State of the Staged Quote. This reference can point to a State in a custom workflow.

    + */ + + public StagedQuoteBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Staged Quote. This reference can point to a State in a custom workflow.

    + */ + + public StagedQuoteBuilder state(@Nullable final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + public String getId() { return this.id; } @@ -319,6 +341,11 @@ public com.commercetools.api.models.type.CustomFields getCustom() { return this.custom; } + @Nullable + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public StagedQuote build() { Objects.requireNonNull(id, StagedQuote.class + ": id is missing"); Objects.requireNonNull(version, StagedQuote.class + ": version is missing"); @@ -328,7 +355,7 @@ public StagedQuote build() { Objects.requireNonNull(quoteRequest, StagedQuote.class + ": quoteRequest is missing"); Objects.requireNonNull(quotationCart, StagedQuote.class + ": quotationCart is missing"); return new StagedQuoteImpl(id, version, createdAt, lastModifiedAt, key, lastModifiedBy, createdBy, - stagedQuoteState, customer, quoteRequest, quotationCart, validTo, sellerComment, custom); + stagedQuoteState, customer, quoteRequest, quotationCart, validTo, sellerComment, custom, state); } /** @@ -336,7 +363,7 @@ public StagedQuote build() { */ public StagedQuote buildUnchecked() { return new StagedQuoteImpl(id, version, createdAt, lastModifiedAt, key, lastModifiedBy, createdBy, - stagedQuoteState, customer, quoteRequest, quotationCart, validTo, sellerComment, custom); + stagedQuoteState, customer, quoteRequest, quotationCart, validTo, sellerComment, custom, state); } public static StagedQuoteBuilder of() { @@ -359,6 +386,7 @@ public static StagedQuoteBuilder of(final StagedQuote template) { builder.validTo = template.getValidTo(); builder.sellerComment = template.getSellerComment(); builder.custom = template.getCustom(); + builder.state = template.getState(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateAction.java index 00ff1d6ee7d..52fb952ae73 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateAction.java @@ -32,7 +32,7 @@ public interface StagedQuoteChangeStagedQuoteStateAction extends StagedQuoteUpda String CHANGE_STAGED_QUOTE_STATE = "changeStagedQuoteState"; /** - *

    The new quote staged state to be set for the Quote Staged.

    + *

    New state to be set for the Staged Quote.

    */ @NotNull @JsonProperty("stagedQuoteState") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateActionBuilder.java index 71f360380f0..6d0f2583f79 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateActionBuilder.java @@ -25,7 +25,7 @@ public class StagedQuoteChangeStagedQuoteStateActionBuilder private com.commercetools.api.models.staged_quote.StagedQuoteState stagedQuoteState; /** - *

    The new quote staged state to be set for the Quote Staged.

    + *

    New state to be set for the Staged Quote.

    */ public StagedQuoteChangeStagedQuoteStateActionBuilder stagedQuoteState( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateActionImpl.java index f1994af0b6d..bb1eb7ddb1c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteChangeStagedQuoteStateActionImpl.java @@ -44,7 +44,7 @@ public String getAction() { } /** - *

    The new quote staged state to be set for the Quote Staged.

    + *

    New state to be set for the Staged Quote.

    */ public com.commercetools.api.models.staged_quote.StagedQuoteState getStagedQuoteState() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraft.java index 5bdbeb17e22..c5c3d45e0ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraft.java @@ -9,6 +9,7 @@ import javax.validation.constraints.NotNull; import com.commercetools.api.models.quote_request.QuoteRequestResourceIdentifier; +import com.commercetools.api.models.state.StateReference; import com.commercetools.api.models.type.CustomFieldsDraft; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -34,7 +35,7 @@ public interface StagedQuoteDraft { /** - *

    The QuoteRequest from which this StagedQuote is created.

    + *

    QuoteRequest from which the StagedQuote is created.

    */ @NotNull @Valid @@ -66,6 +67,13 @@ public interface StagedQuoteDraft { @JsonProperty("custom") public CustomFieldsDraft getCustom(); + /** + *

    State of the Staged Quote. This reference can point to a State in a custom workflow.

    + */ + @Valid + @JsonProperty("state") + public StateReference getState(); + public void setQuoteRequest(final QuoteRequestResourceIdentifier quoteRequest); public void setQuoteRequestVersion(final Long quoteRequestVersion); @@ -74,6 +82,8 @@ public interface StagedQuoteDraft { public void setCustom(final CustomFieldsDraft custom); + public void setState(final StateReference state); + public static StagedQuoteDraft of() { return new StagedQuoteDraftImpl(); } @@ -84,6 +94,7 @@ public static StagedQuoteDraft of(final StagedQuoteDraft template) { instance.setQuoteRequestVersion(template.getQuoteRequestVersion()); instance.setKey(template.getKey()); instance.setCustom(template.getCustom()); + instance.setState(template.getState()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraftBuilder.java index ebc7c1593de..0ba8896a62d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraftBuilder.java @@ -35,8 +35,11 @@ public class StagedQuoteDraftBuilder implements Builder { @Nullable private com.commercetools.api.models.type.CustomFieldsDraft custom; + @Nullable + private com.commercetools.api.models.state.StateReference state; + /** - *

    The QuoteRequest from which this StagedQuote is created.

    + *

    QuoteRequest from which the StagedQuote is created.

    */ public StagedQuoteDraftBuilder quoteRequest( @@ -48,7 +51,7 @@ public StagedQuoteDraftBuilder quoteRequest( } /** - *

    The QuoteRequest from which this StagedQuote is created.

    + *

    QuoteRequest from which the StagedQuote is created.

    */ public StagedQuoteDraftBuilder quoteRequest( @@ -102,6 +105,25 @@ public StagedQuoteDraftBuilder custom(@Nullable final com.commercetools.api.mode return this; } + /** + *

    State of the Staged Quote. This reference can point to a State in a custom workflow.

    + */ + + public StagedQuoteDraftBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateReferenceBuilder.of()).build(); + return this; + } + + /** + *

    State of the Staged Quote. This reference can point to a State in a custom workflow.

    + */ + + public StagedQuoteDraftBuilder state(@Nullable final com.commercetools.api.models.state.StateReference state) { + this.state = state; + return this; + } + public com.commercetools.api.models.quote_request.QuoteRequestResourceIdentifier getQuoteRequest() { return this.quoteRequest; } @@ -120,17 +142,22 @@ public com.commercetools.api.models.type.CustomFieldsDraft getCustom() { return this.custom; } + @Nullable + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public StagedQuoteDraft build() { Objects.requireNonNull(quoteRequest, StagedQuoteDraft.class + ": quoteRequest is missing"); Objects.requireNonNull(quoteRequestVersion, StagedQuoteDraft.class + ": quoteRequestVersion is missing"); - return new StagedQuoteDraftImpl(quoteRequest, quoteRequestVersion, key, custom); + return new StagedQuoteDraftImpl(quoteRequest, quoteRequestVersion, key, custom, state); } /** * builds StagedQuoteDraft without checking for non null required values */ public StagedQuoteDraft buildUnchecked() { - return new StagedQuoteDraftImpl(quoteRequest, quoteRequestVersion, key, custom); + return new StagedQuoteDraftImpl(quoteRequest, quoteRequestVersion, key, custom, state); } public static StagedQuoteDraftBuilder of() { @@ -143,6 +170,7 @@ public static StagedQuoteDraftBuilder of(final StagedQuoteDraft template) { builder.quoteRequestVersion = template.getQuoteRequestVersion(); builder.key = template.getKey(); builder.custom = template.getCustom(); + builder.state = template.getState(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraftImpl.java index 131513950ae..ff44b409f0d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteDraftImpl.java @@ -28,22 +28,26 @@ public class StagedQuoteDraftImpl implements StagedQuoteDraft, ModelBase { private com.commercetools.api.models.type.CustomFieldsDraft custom; + private com.commercetools.api.models.state.StateReference state; + @JsonCreator StagedQuoteDraftImpl( @JsonProperty("quoteRequest") final com.commercetools.api.models.quote_request.QuoteRequestResourceIdentifier quoteRequest, @JsonProperty("quoteRequestVersion") final Long quoteRequestVersion, @JsonProperty("key") final String key, - @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom) { + @JsonProperty("custom") final com.commercetools.api.models.type.CustomFieldsDraft custom, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state) { this.quoteRequest = quoteRequest; this.quoteRequestVersion = quoteRequestVersion; this.key = key; this.custom = custom; + this.state = state; } public StagedQuoteDraftImpl() { } /** - *

    The QuoteRequest from which this StagedQuote is created.

    + *

    QuoteRequest from which the StagedQuote is created.

    */ public com.commercetools.api.models.quote_request.QuoteRequestResourceIdentifier getQuoteRequest() { @@ -78,6 +82,14 @@ public com.commercetools.api.models.type.CustomFieldsDraft getCustom() { return this.custom; } + /** + *

    State of the Staged Quote. This reference can point to a State in a custom workflow.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public void setQuoteRequest( final com.commercetools.api.models.quote_request.QuoteRequestResourceIdentifier quoteRequest) { this.quoteRequest = quoteRequest; @@ -95,6 +107,10 @@ public void setCustom(final com.commercetools.api.models.type.CustomFieldsDraft this.custom = custom; } + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + @Override public boolean equals(Object o) { if (this == o) @@ -109,6 +125,7 @@ public boolean equals(Object o) { .append(quoteRequestVersion, that.quoteRequestVersion) .append(key, that.key) .append(custom, that.custom) + .append(state, that.state) .isEquals(); } @@ -118,6 +135,7 @@ public int hashCode() { .append(quoteRequestVersion) .append(key) .append(custom) + .append(state) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteImpl.java index 7ea833c145e..cf0297fc642 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteImpl.java @@ -48,6 +48,8 @@ public class StagedQuoteImpl implements StagedQuote, ModelBase { private com.commercetools.api.models.type.CustomFields custom; + private com.commercetools.api.models.state.StateReference state; + @JsonCreator StagedQuoteImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -61,7 +63,8 @@ public class StagedQuoteImpl implements StagedQuote, ModelBase { @JsonProperty("quotationCart") final com.commercetools.api.models.cart.CartReference quotationCart, @JsonProperty("validTo") final java.time.ZonedDateTime validTo, @JsonProperty("sellerComment") final String sellerComment, - @JsonProperty("custom") final com.commercetools.api.models.type.CustomFields custom) { + @JsonProperty("custom") final com.commercetools.api.models.type.CustomFields custom, + @JsonProperty("state") final com.commercetools.api.models.state.StateReference state) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -76,6 +79,7 @@ public class StagedQuoteImpl implements StagedQuote, ModelBase { this.validTo = validTo; this.sellerComment = sellerComment; this.custom = custom; + this.state = state; } public StagedQuoteImpl() { @@ -146,7 +150,7 @@ public com.commercetools.api.models.staged_quote.StagedQuoteState getStagedQuote } /** - *

    The Buyer who requested the quote.

    + *

    The Buyer who requested the Quote.

    */ public com.commercetools.api.models.customer.CustomerReference getCustomer() { @@ -154,7 +158,7 @@ public com.commercetools.api.models.customer.CustomerReference getCustomer() { } /** - *

    The Quote Request related to this Staged Quote.

    + *

    Quote Request related to the Staged Quote.

    */ public com.commercetools.api.models.quote_request.QuoteRequestReference getQuoteRequest() { @@ -162,7 +166,7 @@ public com.commercetools.api.models.quote_request.QuoteRequestReference getQuote } /** - *

    The Cart containing the offered items.

    + *

    Cart containing the offered items. May contain either DirectDiscounts or CartDiscounts.

    */ public com.commercetools.api.models.cart.CartReference getQuotationCart() { @@ -170,7 +174,7 @@ public com.commercetools.api.models.cart.CartReference getQuotationCart() { } /** - *

    Expiration date for the quote.

    + *

    Expiration date for the Quote.

    */ public java.time.ZonedDateTime getValidTo() { @@ -178,7 +182,7 @@ public java.time.ZonedDateTime getValidTo() { } /** - *

    The text message included in the offer from the Seller.

    + *

    Message from the Seller included in the offer.

    */ public String getSellerComment() { @@ -186,13 +190,21 @@ public String getSellerComment() { } /** - *

    Custom Fields of this Staged Quote.

    + *

    Custom Fields of the Staged Quote.

    */ public com.commercetools.api.models.type.CustomFields getCustom() { return this.custom; } + /** + *

    State of the Staged Quote. This reference can point to a State in a custom workflow.

    + */ + + public com.commercetools.api.models.state.StateReference getState() { + return this.state; + } + public void setId(final String id) { this.id = id; } @@ -249,6 +261,10 @@ public void setCustom(final com.commercetools.api.models.type.CustomFields custo this.custom = custom; } + public void setState(final com.commercetools.api.models.state.StateReference state) { + this.state = state; + } + @Override public boolean equals(Object o) { if (this == o) @@ -273,6 +289,7 @@ public boolean equals(Object o) { .append(validTo, that.validTo) .append(sellerComment, that.sellerComment) .append(custom, that.custom) + .append(state, that.state) .isEquals(); } @@ -292,6 +309,7 @@ public int hashCode() { .append(validTo) .append(sellerComment) .append(custom) + .append(state) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateAction.java new file mode 100644 index 00000000000..17e50a288e1 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateAction.java @@ -0,0 +1,86 @@ + +package com.commercetools.api.models.staged_quote; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.state.StateResourceIdentifier; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    If the existing State has set transitions, there must be a direct transition to the new State. If transitions is not set, no validation is performed. This update action produces the Staged Quote State Transition Message.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StagedQuoteTransitionStateAction stagedQuoteTransitionStateAction = StagedQuoteTransitionStateAction.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StagedQuoteTransitionStateActionImpl.class) +public interface StagedQuoteTransitionStateAction extends StagedQuoteUpdateAction { + + String TRANSITION_STATE = "transitionState"; + + /** + *

    Value to set. If there is no State yet, the new State must be an initial State.

    + */ + @NotNull + @Valid + @JsonProperty("state") + public StateResourceIdentifier getState(); + + /** + *

    Switch validations on or off.

    + */ + + @JsonProperty("force") + public Boolean getForce(); + + public void setState(final StateResourceIdentifier state); + + public void setForce(final Boolean force); + + public static StagedQuoteTransitionStateAction of() { + return new StagedQuoteTransitionStateActionImpl(); + } + + public static StagedQuoteTransitionStateAction of(final StagedQuoteTransitionStateAction template) { + StagedQuoteTransitionStateActionImpl instance = new StagedQuoteTransitionStateActionImpl(); + instance.setState(template.getState()); + instance.setForce(template.getForce()); + return instance; + } + + public static StagedQuoteTransitionStateActionBuilder builder() { + return StagedQuoteTransitionStateActionBuilder.of(); + } + + public static StagedQuoteTransitionStateActionBuilder builder(final StagedQuoteTransitionStateAction template) { + return StagedQuoteTransitionStateActionBuilder.of(template); + } + + default T withStagedQuoteTransitionStateAction(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateActionBuilder.java new file mode 100644 index 00000000000..16367f58462 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateActionBuilder.java @@ -0,0 +1,93 @@ + +package com.commercetools.api.models.staged_quote; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StagedQuoteTransitionStateActionBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StagedQuoteTransitionStateAction stagedQuoteTransitionStateAction = StagedQuoteTransitionStateAction.builder()
    + *             .state(stateBuilder -> stateBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StagedQuoteTransitionStateActionBuilder implements Builder { + + private com.commercetools.api.models.state.StateResourceIdentifier state; + + @Nullable + private Boolean force; + + /** + *

    Value to set. If there is no State yet, the new State must be an initial State.

    + */ + + public StagedQuoteTransitionStateActionBuilder state( + Function builder) { + this.state = builder.apply(com.commercetools.api.models.state.StateResourceIdentifierBuilder.of()).build(); + return this; + } + + /** + *

    Value to set. If there is no State yet, the new State must be an initial State.

    + */ + + public StagedQuoteTransitionStateActionBuilder state( + final com.commercetools.api.models.state.StateResourceIdentifier state) { + this.state = state; + return this; + } + + /** + *

    Switch validations on or off.

    + */ + + public StagedQuoteTransitionStateActionBuilder force(@Nullable final Boolean force) { + this.force = force; + return this; + } + + public com.commercetools.api.models.state.StateResourceIdentifier getState() { + return this.state; + } + + @Nullable + public Boolean getForce() { + return this.force; + } + + public StagedQuoteTransitionStateAction build() { + Objects.requireNonNull(state, StagedQuoteTransitionStateAction.class + ": state is missing"); + return new StagedQuoteTransitionStateActionImpl(state, force); + } + + /** + * builds StagedQuoteTransitionStateAction without checking for non null required values + */ + public StagedQuoteTransitionStateAction buildUnchecked() { + return new StagedQuoteTransitionStateActionImpl(state, force); + } + + public static StagedQuoteTransitionStateActionBuilder of() { + return new StagedQuoteTransitionStateActionBuilder(); + } + + public static StagedQuoteTransitionStateActionBuilder of(final StagedQuoteTransitionStateAction template) { + StagedQuoteTransitionStateActionBuilder builder = new StagedQuoteTransitionStateActionBuilder(); + builder.state = template.getState(); + builder.force = template.getForce(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateActionImpl.java new file mode 100644 index 00000000000..970848b6ff0 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteTransitionStateActionImpl.java @@ -0,0 +1,95 @@ + +package com.commercetools.api.models.staged_quote; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    If the existing State has set transitions, there must be a direct transition to the new State. If transitions is not set, no validation is performed. This update action produces the Staged Quote State Transition Message.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StagedQuoteTransitionStateActionImpl implements StagedQuoteTransitionStateAction, ModelBase { + + private String action; + + private com.commercetools.api.models.state.StateResourceIdentifier state; + + private Boolean force; + + @JsonCreator + StagedQuoteTransitionStateActionImpl( + @JsonProperty("state") final com.commercetools.api.models.state.StateResourceIdentifier state, + @JsonProperty("force") final Boolean force) { + this.state = state; + this.force = force; + this.action = TRANSITION_STATE; + } + + public StagedQuoteTransitionStateActionImpl() { + this.action = TRANSITION_STATE; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + /** + *

    Value to set. If there is no State yet, the new State must be an initial State.

    + */ + + public com.commercetools.api.models.state.StateResourceIdentifier getState() { + return this.state; + } + + /** + *

    Switch validations on or off.

    + */ + + public Boolean getForce() { + return this.force; + } + + public void setState(final com.commercetools.api.models.state.StateResourceIdentifier state) { + this.state = state; + } + + public void setForce(final Boolean force) { + this.force = force; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StagedQuoteTransitionStateActionImpl that = (StagedQuoteTransitionStateActionImpl) o; + + return new EqualsBuilder().append(action, that.action) + .append(state, that.state) + .append(force, that.force) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateAction.java index 085b2806375..2c48a02116d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateAction.java @@ -30,7 +30,8 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.staged_quote.StagedQuoteSetCustomFieldActionImpl.class, name = StagedQuoteSetCustomFieldAction.SET_CUSTOM_FIELD), @JsonSubTypes.Type(value = com.commercetools.api.models.staged_quote.StagedQuoteSetCustomTypeActionImpl.class, name = StagedQuoteSetCustomTypeAction.SET_CUSTOM_TYPE), @JsonSubTypes.Type(value = com.commercetools.api.models.staged_quote.StagedQuoteSetSellerCommentActionImpl.class, name = StagedQuoteSetSellerCommentAction.SET_SELLER_COMMENT), - @JsonSubTypes.Type(value = com.commercetools.api.models.staged_quote.StagedQuoteSetValidToActionImpl.class, name = StagedQuoteSetValidToAction.SET_VALID_TO) }) + @JsonSubTypes.Type(value = com.commercetools.api.models.staged_quote.StagedQuoteSetValidToActionImpl.class, name = StagedQuoteSetValidToAction.SET_VALID_TO), + @JsonSubTypes.Type(value = com.commercetools.api.models.staged_quote.StagedQuoteTransitionStateActionImpl.class, name = StagedQuoteTransitionStateAction.TRANSITION_STATE) }) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "action", defaultImpl = StagedQuoteUpdateActionImpl.class, visible = true) @JsonDeserialize(as = StagedQuoteUpdateActionImpl.class) @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") @@ -64,6 +65,10 @@ public static com.commercetools.api.models.staged_quote.StagedQuoteSetValidToAct return com.commercetools.api.models.staged_quote.StagedQuoteSetValidToActionBuilder.of(); } + public static com.commercetools.api.models.staged_quote.StagedQuoteTransitionStateActionBuilder transitionStateBuilder() { + return com.commercetools.api.models.staged_quote.StagedQuoteTransitionStateActionBuilder.of(); + } + default T withStagedQuoteUpdateAction(Function helper) { return helper.apply(this); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateActionBuilder.java index c2c4cd3b828..987b9987807 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateActionBuilder.java @@ -31,6 +31,10 @@ public com.commercetools.api.models.staged_quote.StagedQuoteSetValidToActionBuil return com.commercetools.api.models.staged_quote.StagedQuoteSetValidToActionBuilder.of(); } + public com.commercetools.api.models.staged_quote.StagedQuoteTransitionStateActionBuilder transitionStateBuilder() { + return com.commercetools.api.models.staged_quote.StagedQuoteTransitionStateActionBuilder.of(); + } + public static StagedQuoteUpdateActionBuilder of() { return new StagedQuoteUpdateActionBuilder(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePrice.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePrice.java new file mode 100644 index 00000000000..8c386a633c9 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePrice.java @@ -0,0 +1,87 @@ + +package com.commercetools.api.models.standalone_price; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.DiscountedPrice; +import com.commercetools.api.models.common.TypedMoney; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Staged changes on a Standalone Price. To update the value property of a Staged Standalone Price, use the corresponding update action. To apply all staged changes to the Standalone Price, use the applyStagedChanges update action.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StagedStandalonePrice stagedStandalonePrice = StagedStandalonePrice.builder()
    + *             .value(valueBuilder -> valueBuilder)
    + *             .discounted(discountedBuilder -> discountedBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StagedStandalonePriceImpl.class) +public interface StagedStandalonePrice { + + /** + *

    Money value of the StagedStandalonePrice.

    + */ + @NotNull + @Valid + @JsonProperty("value") + public TypedMoney getValue(); + + /** + *

    Discounted price for the StagedStandalonePrice.

    + */ + @NotNull + @Valid + @JsonProperty("discounted") + public DiscountedPrice getDiscounted(); + + public void setValue(final TypedMoney value); + + public void setDiscounted(final DiscountedPrice discounted); + + public static StagedStandalonePrice of() { + return new StagedStandalonePriceImpl(); + } + + public static StagedStandalonePrice of(final StagedStandalonePrice template) { + StagedStandalonePriceImpl instance = new StagedStandalonePriceImpl(); + instance.setValue(template.getValue()); + instance.setDiscounted(template.getDiscounted()); + return instance; + } + + public static StagedStandalonePriceBuilder builder() { + return StagedStandalonePriceBuilder.of(); + } + + public static StagedStandalonePriceBuilder builder(final StagedStandalonePrice template) { + return StagedStandalonePriceBuilder.of(template); + } + + default T withStagedStandalonePrice(Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePriceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePriceBuilder.java new file mode 100644 index 00000000000..f6ba9407857 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePriceBuilder.java @@ -0,0 +1,101 @@ + +package com.commercetools.api.models.standalone_price; + +import java.util.*; +import java.util.function.Function; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StagedStandalonePriceBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StagedStandalonePrice stagedStandalonePrice = StagedStandalonePrice.builder()
    + *             .value(valueBuilder -> valueBuilder)
    + *             .discounted(discountedBuilder -> discountedBuilder)
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StagedStandalonePriceBuilder implements Builder { + + private com.commercetools.api.models.common.TypedMoney value; + + private com.commercetools.api.models.common.DiscountedPrice discounted; + + /** + *

    Money value of the StagedStandalonePrice.

    + */ + + public StagedStandalonePriceBuilder value(final com.commercetools.api.models.common.TypedMoney value) { + this.value = value; + return this; + } + + /** + *

    Money value of the StagedStandalonePrice.

    + */ + + public StagedStandalonePriceBuilder value( + Function> builder) { + this.value = builder.apply(com.commercetools.api.models.common.TypedMoneyBuilder.of()).build(); + return this; + } + + /** + *

    Discounted price for the StagedStandalonePrice.

    + */ + + public StagedStandalonePriceBuilder discounted( + Function builder) { + this.discounted = builder.apply(com.commercetools.api.models.common.DiscountedPriceBuilder.of()).build(); + return this; + } + + /** + *

    Discounted price for the StagedStandalonePrice.

    + */ + + public StagedStandalonePriceBuilder discounted( + final com.commercetools.api.models.common.DiscountedPrice discounted) { + this.discounted = discounted; + return this; + } + + public com.commercetools.api.models.common.TypedMoney getValue() { + return this.value; + } + + public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { + return this.discounted; + } + + public StagedStandalonePrice build() { + Objects.requireNonNull(value, StagedStandalonePrice.class + ": value is missing"); + Objects.requireNonNull(discounted, StagedStandalonePrice.class + ": discounted is missing"); + return new StagedStandalonePriceImpl(value, discounted); + } + + /** + * builds StagedStandalonePrice without checking for non null required values + */ + public StagedStandalonePrice buildUnchecked() { + return new StagedStandalonePriceImpl(value, discounted); + } + + public static StagedStandalonePriceBuilder of() { + return new StagedStandalonePriceBuilder(); + } + + public static StagedStandalonePriceBuilder of(final StagedStandalonePrice template) { + StagedStandalonePriceBuilder builder = new StagedStandalonePriceBuilder(); + builder.value = template.getValue(); + builder.discounted = template.getDiscounted(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePriceImpl.java new file mode 100644 index 00000000000..a61c3954a90 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedStandalonePriceImpl.java @@ -0,0 +1,79 @@ + +package com.commercetools.api.models.standalone_price; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Staged changes on a Standalone Price. To update the value property of a Staged Standalone Price, use the corresponding update action. To apply all staged changes to the Standalone Price, use the applyStagedChanges update action.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StagedStandalonePriceImpl implements StagedStandalonePrice, ModelBase { + + private com.commercetools.api.models.common.TypedMoney value; + + private com.commercetools.api.models.common.DiscountedPrice discounted; + + @JsonCreator + StagedStandalonePriceImpl(@JsonProperty("value") final com.commercetools.api.models.common.TypedMoney value, + @JsonProperty("discounted") final com.commercetools.api.models.common.DiscountedPrice discounted) { + this.value = value; + this.discounted = discounted; + } + + public StagedStandalonePriceImpl() { + } + + /** + *

    Money value of the StagedStandalonePrice.

    + */ + + public com.commercetools.api.models.common.TypedMoney getValue() { + return this.value; + } + + /** + *

    Discounted price for the StagedStandalonePrice.

    + */ + + public com.commercetools.api.models.common.DiscountedPrice getDiscounted() { + return this.discounted; + } + + public void setValue(final com.commercetools.api.models.common.TypedMoney value) { + this.value = value; + } + + public void setDiscounted(final com.commercetools.api.models.common.DiscountedPrice discounted) { + this.discounted = discounted; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StagedStandalonePriceImpl that = (StagedStandalonePriceImpl) o; + + return new EqualsBuilder().append(value, that.value).append(discounted, that.discounted).isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(value).append(discounted).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePrice.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePrice.java index 872deb257fb..25a5f441e81 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePrice.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePrice.java @@ -165,6 +165,13 @@ public interface StandalonePrice extends BaseResource, com.commercetools.api.mod @JsonProperty("custom") public CustomFields getCustom(); + /** + *

    Staged changes of the StandalonePrice. Only present if the StandalonePrice has staged changes.

    + */ + @Valid + @JsonProperty("staged") + public StagedStandalonePrice getStaged(); + public void setId(final String id); public void setVersion(final Long version); @@ -202,6 +209,8 @@ public interface StandalonePrice extends BaseResource, com.commercetools.api.mod public void setCustom(final CustomFields custom); + public void setStaged(final StagedStandalonePrice staged); + public static StandalonePrice of() { return new StandalonePriceImpl(); } @@ -225,6 +234,7 @@ public static StandalonePrice of(final StandalonePrice template) { instance.setTiers(template.getTiers()); instance.setDiscounted(template.getDiscounted()); instance.setCustom(template.getCustom()); + instance.setStaged(template.getStaged()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesAction.java new file mode 100644 index 00000000000..52472b8b71a --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesAction.java @@ -0,0 +1,62 @@ + +package com.commercetools.api.models.standalone_price; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

    Applies all staged changes to the StandalonePrice by overwriting all current values with the values in the StagedStandalonePrice. After successfully applied, the StagedStandalonePrice will be removed from the StandalonePrice. An applyStagedChanges update action on a StandalonePrice that does not contain any staged changes will return a 400 Bad Request error. Applying staged changes successfully will produce the StandalonePriceStagedChangesApplied Message.

    + * + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StandalonePriceApplyStagedChangesAction standalonePriceApplyStagedChangesAction = StandalonePriceApplyStagedChangesAction.builder()
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = StandalonePriceApplyStagedChangesActionImpl.class) +public interface StandalonePriceApplyStagedChangesAction extends StandalonePriceUpdateAction { + + String APPLY_STAGED_CHANGES = "applyStagedChanges"; + + public static StandalonePriceApplyStagedChangesAction of() { + return new StandalonePriceApplyStagedChangesActionImpl(); + } + + public static StandalonePriceApplyStagedChangesAction of(final StandalonePriceApplyStagedChangesAction template) { + StandalonePriceApplyStagedChangesActionImpl instance = new StandalonePriceApplyStagedChangesActionImpl(); + return instance; + } + + public static StandalonePriceApplyStagedChangesActionBuilder builder() { + return StandalonePriceApplyStagedChangesActionBuilder.of(); + } + + public static StandalonePriceApplyStagedChangesActionBuilder builder( + final StandalonePriceApplyStagedChangesAction template) { + return StandalonePriceApplyStagedChangesActionBuilder.of(template); + } + + default T withStandalonePriceApplyStagedChangesAction( + Function helper) { + return helper.apply(this); + } + + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesActionBuilder.java new file mode 100644 index 00000000000..ec6a3adfc41 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesActionBuilder.java @@ -0,0 +1,45 @@ + +package com.commercetools.api.models.standalone_price; + +import java.util.*; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * StandalonePriceApplyStagedChangesActionBuilder + *
    + * Example to create an instance using the builder pattern + *
    + *
    
    + *     StandalonePriceApplyStagedChangesAction standalonePriceApplyStagedChangesAction = StandalonePriceApplyStagedChangesAction.builder()
    + *             .build()
    + * 
    + *
    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StandalonePriceApplyStagedChangesActionBuilder + implements Builder { + + public StandalonePriceApplyStagedChangesAction build() { + return new StandalonePriceApplyStagedChangesActionImpl(); + } + + /** + * builds StandalonePriceApplyStagedChangesAction without checking for non null required values + */ + public StandalonePriceApplyStagedChangesAction buildUnchecked() { + return new StandalonePriceApplyStagedChangesActionImpl(); + } + + public static StandalonePriceApplyStagedChangesActionBuilder of() { + return new StandalonePriceApplyStagedChangesActionBuilder(); + } + + public static StandalonePriceApplyStagedChangesActionBuilder of( + final StandalonePriceApplyStagedChangesAction template) { + StandalonePriceApplyStagedChangesActionBuilder builder = new StandalonePriceApplyStagedChangesActionBuilder(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesActionImpl.java new file mode 100644 index 00000000000..528bf9cb23a --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceApplyStagedChangesActionImpl.java @@ -0,0 +1,55 @@ + +package com.commercetools.api.models.standalone_price; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

    Applies all staged changes to the StandalonePrice by overwriting all current values with the values in the StagedStandalonePrice. After successfully applied, the StagedStandalonePrice will be removed from the StandalonePrice. An applyStagedChanges update action on a StandalonePrice that does not contain any staged changes will return a 400 Bad Request error. Applying staged changes successfully will produce the StandalonePriceStagedChangesApplied Message.

    + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class StandalonePriceApplyStagedChangesActionImpl implements StandalonePriceApplyStagedChangesAction, ModelBase { + + private String action; + + @JsonCreator + StandalonePriceApplyStagedChangesActionImpl() { + this.action = APPLY_STAGED_CHANGES; + } + + /** + * + */ + + public String getAction() { + return this.action; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + StandalonePriceApplyStagedChangesActionImpl that = (StandalonePriceApplyStagedChangesActionImpl) o; + + return new EqualsBuilder().append(action, that.action).isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(action).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceBuilder.java index 9de8d396680..edbdb7e055a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceBuilder.java @@ -74,6 +74,9 @@ public class StandalonePriceBuilder implements Builder { @Nullable private com.commercetools.api.models.type.CustomFields custom; + @Nullable + private com.commercetools.api.models.standalone_price.StagedStandalonePrice staged; + /** *

    Unique identifier of the StandalonePrice.

    */ @@ -349,6 +352,27 @@ public StandalonePriceBuilder custom(@Nullable final com.commercetools.api.model return this; } + /** + *

    Staged changes of the StandalonePrice. Only present if the StandalonePrice has staged changes.

    + */ + + public StandalonePriceBuilder staged( + Function builder) { + this.staged = builder.apply(com.commercetools.api.models.standalone_price.StagedStandalonePriceBuilder.of()) + .build(); + return this; + } + + /** + *

    Staged changes of the StandalonePrice. Only present if the StandalonePrice has staged changes.

    + */ + + public StandalonePriceBuilder staged( + @Nullable final com.commercetools.api.models.standalone_price.StagedStandalonePrice staged) { + this.staged = staged; + return this; + } + public String getId() { return this.id; } @@ -428,6 +452,11 @@ public com.commercetools.api.models.type.CustomFields getCustom() { return this.custom; } + @Nullable + public com.commercetools.api.models.standalone_price.StagedStandalonePrice getStaged() { + return this.staged; + } + public StandalonePrice build() { Objects.requireNonNull(id, StandalonePrice.class + ": id is missing"); Objects.requireNonNull(version, StandalonePrice.class + ": version is missing"); @@ -436,7 +465,7 @@ public StandalonePrice build() { Objects.requireNonNull(sku, StandalonePrice.class + ": sku is missing"); Objects.requireNonNull(value, StandalonePrice.class + ": value is missing"); return new StandalonePriceImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, key, sku, - value, country, customerGroup, channel, validFrom, validUntil, tiers, discounted, custom); + value, country, customerGroup, channel, validFrom, validUntil, tiers, discounted, custom, staged); } /** @@ -444,7 +473,7 @@ public StandalonePrice build() { */ public StandalonePrice buildUnchecked() { return new StandalonePriceImpl(id, version, createdAt, lastModifiedAt, lastModifiedBy, createdBy, key, sku, - value, country, customerGroup, channel, validFrom, validUntil, tiers, discounted, custom); + value, country, customerGroup, channel, validFrom, validUntil, tiers, discounted, custom, staged); } public static StandalonePriceBuilder of() { @@ -470,6 +499,7 @@ public static StandalonePriceBuilder of(final StandalonePrice template) { builder.tiers = template.getTiers(); builder.discounted = template.getDiscounted(); builder.custom = template.getCustom(); + builder.staged = template.getStaged(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueAction.java index 661ddaa2339..868b45fb736 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    Produces the StandalonePriceValueChangedMessage.

    + *

    Updating the value of a StandalonePrice produces the StandalonePriceValueChangedMessage.

    * *
    * Example to create an instance using the builder pattern @@ -41,8 +41,17 @@ public interface StandalonePriceChangeValueAction extends StandalonePriceUpdateA @JsonProperty("value") public Money getValue(); + /** + *

    If set to true the update action applies to the StagedStandalonePrice. If set to false, the update action applies to the current StandalonePrice.

    + */ + + @JsonProperty("staged") + public Boolean getStaged(); + public void setValue(final Money value); + public void setStaged(final Boolean staged); + public static StandalonePriceChangeValueAction of() { return new StandalonePriceChangeValueActionImpl(); } @@ -50,6 +59,7 @@ public static StandalonePriceChangeValueAction of() { public static StandalonePriceChangeValueAction of(final StandalonePriceChangeValueAction template) { StandalonePriceChangeValueActionImpl instance = new StandalonePriceChangeValueActionImpl(); instance.setValue(template.getValue()); + instance.setStaged(template.getStaged()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionBuilder.java index 5bd267bc3fc..fa4961628a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionBuilder.java @@ -4,6 +4,8 @@ import java.util.*; import java.util.function.Function; +import javax.annotation.Nullable; + import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @@ -24,6 +26,9 @@ public class StandalonePriceChangeValueActionBuilder implements BuilderNew value to set. Must not be empty.

    */ @@ -43,20 +48,34 @@ public StandalonePriceChangeValueActionBuilder value(final com.commercetools.api return this; } + /** + *

    If set to true the update action applies to the StagedStandalonePrice. If set to false, the update action applies to the current StandalonePrice.

    + */ + + public StandalonePriceChangeValueActionBuilder staged(@Nullable final Boolean staged) { + this.staged = staged; + return this; + } + public com.commercetools.api.models.common.Money getValue() { return this.value; } + @Nullable + public Boolean getStaged() { + return this.staged; + } + public StandalonePriceChangeValueAction build() { Objects.requireNonNull(value, StandalonePriceChangeValueAction.class + ": value is missing"); - return new StandalonePriceChangeValueActionImpl(value); + return new StandalonePriceChangeValueActionImpl(value, staged); } /** * builds StandalonePriceChangeValueAction without checking for non null required values */ public StandalonePriceChangeValueAction buildUnchecked() { - return new StandalonePriceChangeValueActionImpl(value); + return new StandalonePriceChangeValueActionImpl(value, staged); } public static StandalonePriceChangeValueActionBuilder of() { @@ -66,6 +85,7 @@ public static StandalonePriceChangeValueActionBuilder of() { public static StandalonePriceChangeValueActionBuilder of(final StandalonePriceChangeValueAction template) { StandalonePriceChangeValueActionBuilder builder = new StandalonePriceChangeValueActionBuilder(); builder.value = template.getValue(); + builder.staged = template.getStaged(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionImpl.java index a5a7f6f6dda..fb1ab1f51c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    Produces the StandalonePriceValueChangedMessage.

    + *

    Updating the value of a StandalonePrice produces the StandalonePriceValueChangedMessage.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StandalonePriceChangeValueActionImpl implements StandalonePriceChangeValueAction, ModelBase { @@ -24,9 +24,13 @@ public class StandalonePriceChangeValueActionImpl implements StandalonePriceChan private com.commercetools.api.models.common.Money value; + private Boolean staged; + @JsonCreator - StandalonePriceChangeValueActionImpl(@JsonProperty("value") final com.commercetools.api.models.common.Money value) { + StandalonePriceChangeValueActionImpl(@JsonProperty("value") final com.commercetools.api.models.common.Money value, + @JsonProperty("staged") final Boolean staged) { this.value = value; + this.staged = staged; this.action = CHANGE_VALUE; } @@ -50,10 +54,22 @@ public com.commercetools.api.models.common.Money getValue() { return this.value; } + /** + *

    If set to true the update action applies to the StagedStandalonePrice. If set to false, the update action applies to the current StandalonePrice.

    + */ + + public Boolean getStaged() { + return this.staged; + } + public void setValue(final com.commercetools.api.models.common.Money value) { this.value = value; } + public void setStaged(final Boolean staged) { + this.staged = staged; + } + @Override public boolean equals(Object o) { if (this == o) @@ -64,12 +80,15 @@ public boolean equals(Object o) { StandalonePriceChangeValueActionImpl that = (StandalonePriceChangeValueActionImpl) o; - return new EqualsBuilder().append(action, that.action).append(value, that.value).isEquals(); + return new EqualsBuilder().append(action, that.action) + .append(value, that.value) + .append(staged, that.staged) + .isEquals(); } @Override public int hashCode() { - return new HashCodeBuilder(17, 37).append(action).append(value).toHashCode(); + return new HashCodeBuilder(17, 37).append(action).append(value).append(staged).toHashCode(); } } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java index e8c5bb5412d..909a6af1b7a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java @@ -82,14 +82,14 @@ public interface StandalonePriceDraft { public ChannelResourceIdentifier getChannel(); /** - *

    Sets the date from which the Price is valid.

    + *

    Sets the date from which the Price is valid. Must be at least 1 ms earlier than validUntil.

    */ @JsonProperty("validFrom") public ZonedDateTime getValidFrom(); /** - *

    Sets the date until the Price is valid.

    + *

    Sets the date until the Price is valid. Must be at least 1 ms later than validFrom.

    */ @JsonProperty("validUntil") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java index 0582f86ecbd..fb982c1ddf6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java @@ -146,7 +146,7 @@ public StandalonePriceDraftBuilder channel( } /** - *

    Sets the date from which the Price is valid.

    + *

    Sets the date from which the Price is valid. Must be at least 1 ms earlier than validUntil.

    */ public StandalonePriceDraftBuilder validFrom(@Nullable final java.time.ZonedDateTime validFrom) { @@ -155,7 +155,7 @@ public StandalonePriceDraftBuilder validFrom(@Nullable final java.time.ZonedDate } /** - *

    Sets the date until the Price is valid.

    + *

    Sets the date until the Price is valid. Must be at least 1 ms later than validFrom.

    */ public StandalonePriceDraftBuilder validUntil(@Nullable final java.time.ZonedDateTime validUntil) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java index 718b27b498c..4d9ff41e615 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java @@ -118,7 +118,7 @@ public com.commercetools.api.models.channel.ChannelResourceIdentifier getChannel } /** - *

    Sets the date from which the Price is valid.

    + *

    Sets the date from which the Price is valid. Must be at least 1 ms earlier than validUntil.

    */ public java.time.ZonedDateTime getValidFrom() { @@ -126,7 +126,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - *

    Sets the date until the Price is valid.

    + *

    Sets the date until the Price is valid. Must be at least 1 ms later than validFrom.

    */ public java.time.ZonedDateTime getValidUntil() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceImpl.java index e16665490d6..31b307214b4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceImpl.java @@ -54,6 +54,8 @@ public class StandalonePriceImpl implements StandalonePrice, ModelBase { private com.commercetools.api.models.type.CustomFields custom; + private com.commercetools.api.models.standalone_price.StagedStandalonePrice staged; + @JsonCreator StandalonePriceImpl(@JsonProperty("id") final String id, @JsonProperty("version") final Long version, @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, @@ -69,7 +71,8 @@ public class StandalonePriceImpl implements StandalonePrice, ModelBase { @JsonProperty("validUntil") final java.time.ZonedDateTime validUntil, @JsonProperty("tiers") final java.util.List tiers, @JsonProperty("discounted") final com.commercetools.api.models.common.DiscountedPrice discounted, - @JsonProperty("custom") final com.commercetools.api.models.type.CustomFields custom) { + @JsonProperty("custom") final com.commercetools.api.models.type.CustomFields custom, + @JsonProperty("staged") final com.commercetools.api.models.standalone_price.StagedStandalonePrice staged) { this.id = id; this.version = version; this.createdAt = createdAt; @@ -87,6 +90,7 @@ public class StandalonePriceImpl implements StandalonePrice, ModelBase { this.tiers = tiers; this.discounted = discounted; this.custom = custom; + this.staged = staged; } public StandalonePriceImpl() { @@ -228,6 +232,14 @@ public com.commercetools.api.models.type.CustomFields getCustom() { return this.custom; } + /** + *

    Staged changes of the StandalonePrice. Only present if the StandalonePrice has staged changes.

    + */ + + public com.commercetools.api.models.standalone_price.StagedStandalonePrice getStaged() { + return this.staged; + } + public void setId(final String id) { this.id = id; } @@ -301,6 +313,10 @@ public void setCustom(final com.commercetools.api.models.type.CustomFields custo this.custom = custom; } + public void setStaged(final com.commercetools.api.models.standalone_price.StagedStandalonePrice staged) { + this.staged = staged; + } + @Override public boolean equals(Object o) { if (this == o) @@ -328,6 +344,7 @@ public boolean equals(Object o) { .append(tiers, that.tiers) .append(discounted, that.discounted) .append(custom, that.custom) + .append(staged, that.staged) .isEquals(); } @@ -350,6 +367,7 @@ public int hashCode() { .append(tiers) .append(discounted) .append(custom) + .append(staged) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateAction.java index a4894ea8d4c..6bb131e32c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateAction.java @@ -19,13 +19,13 @@ * Example to create a subtype instance using the builder pattern *
    *
    
    - *     StandalonePriceUpdateAction standalonePriceUpdateAction = StandalonePriceUpdateAction.changeValueBuilder()
    - *             value(valueBuilder -> valueBuilder)
    + *     StandalonePriceUpdateAction standalonePriceUpdateAction = StandalonePriceUpdateAction.applyStagedChangesBuilder()
      *             .build()
      * 
    *
    */ @JsonSubTypes({ + @JsonSubTypes.Type(value = com.commercetools.api.models.standalone_price.StandalonePriceApplyStagedChangesActionImpl.class, name = StandalonePriceApplyStagedChangesAction.APPLY_STAGED_CHANGES), @JsonSubTypes.Type(value = com.commercetools.api.models.standalone_price.StandalonePriceChangeValueActionImpl.class, name = StandalonePriceChangeValueAction.CHANGE_VALUE), @JsonSubTypes.Type(value = com.commercetools.api.models.standalone_price.StandalonePriceSetCustomFieldActionImpl.class, name = StandalonePriceSetCustomFieldAction.SET_CUSTOM_FIELD), @JsonSubTypes.Type(value = com.commercetools.api.models.standalone_price.StandalonePriceSetCustomTypeActionImpl.class, name = StandalonePriceSetCustomTypeAction.SET_CUSTOM_TYPE), @@ -43,6 +43,10 @@ public interface StandalonePriceUpdateAction @JsonProperty("action") public String getAction(); + public static com.commercetools.api.models.standalone_price.StandalonePriceApplyStagedChangesActionBuilder applyStagedChangesBuilder() { + return com.commercetools.api.models.standalone_price.StandalonePriceApplyStagedChangesActionBuilder.of(); + } + public static com.commercetools.api.models.standalone_price.StandalonePriceChangeValueActionBuilder changeValueBuilder() { return com.commercetools.api.models.standalone_price.StandalonePriceChangeValueActionBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateActionBuilder.java index 786ddbf8a8f..3f3f0c19f88 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateActionBuilder.java @@ -11,6 +11,10 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StandalonePriceUpdateActionBuilder { + public com.commercetools.api.models.standalone_price.StandalonePriceApplyStagedChangesActionBuilder applyStagedChangesBuilder() { + return com.commercetools.api.models.standalone_price.StandalonePriceApplyStagedChangesActionBuilder.of(); + } + public com.commercetools.api.models.standalone_price.StandalonePriceChangeValueActionBuilder changeValueBuilder() { return com.commercetools.api.models.standalone_price.StandalonePriceChangeValueActionBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateTypeEnum.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateTypeEnum.java index c31c652e544..b6178dbfa02 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateTypeEnum.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateTypeEnum.java @@ -40,6 +40,21 @@ public interface StateTypeEnum { */ StateTypeEnum PAYMENT_STATE = StateTypeEnumEnum.PAYMENT_STATE; + /** +

    Used by QuoteRequest.

    + + */ + StateTypeEnum QUOTE_REQUEST_STATE = StateTypeEnumEnum.QUOTE_REQUEST_STATE; + /** +

    Used by StagedQuote.

    + + */ + StateTypeEnum STAGED_QUOTE_STATE = StateTypeEnumEnum.STAGED_QUOTE_STATE; + /** +

    Used by Quote.

    + + */ + StateTypeEnum QUOTE_STATE = StateTypeEnumEnum.QUOTE_STATE; enum StateTypeEnumEnum implements StateTypeEnum { ORDER_STATE("OrderState"), @@ -50,7 +65,13 @@ enum StateTypeEnumEnum implements StateTypeEnum { REVIEW_STATE("ReviewState"), - PAYMENT_STATE("PaymentState"); + PAYMENT_STATE("PaymentState"), + + QUOTE_REQUEST_STATE("QuoteRequestState"), + + STAGED_QUOTE_STATE("StagedQuoteState"), + + QUOTE_STATE("QuoteState"); private final String jsonName; private StateTypeEnumEnum(final String jsonName) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddDistributionChannelAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddDistributionChannelAction.java index 069bf30afc6..cf1fb1ed345 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddDistributionChannelAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddDistributionChannelAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    This update action produces the StoreDistributionChannelsChangedMessage. It has no effect if a given distribution channel is already present in a Store.

    + *

    This update action produces the StoreDistributionChannelsChanged Message. It has no effect if a given distribution channel is already present in a Store.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddDistributionChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddDistributionChannelActionImpl.java index e661a076fd4..494f8c46094 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddDistributionChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddDistributionChannelActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    This update action produces the StoreDistributionChannelsChangedMessage. It has no effect if a given distribution channel is already present in a Store.

    + *

    This update action produces the StoreDistributionChannelsChanged Message. It has no effect if a given distribution channel is already present in a Store.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreAddDistributionChannelActionImpl implements StoreAddDistributionChannelAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraft.java index 340fd80e884..c463dfb62cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraft.java @@ -55,14 +55,14 @@ public interface StoreDraft extends com.commercetools.api.models.CustomizableDra public List getLanguages(); /** - *

    ResourceIdentifier to a Channel with ProductDistribution ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with ProductDistribution ChannelRoleEnum.

    */ @Valid @JsonProperty("distributionChannels") public List getDistributionChannels(); /** - *

    ResourceIdentifier to a Channel with InventorySupply ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with InventorySupply ChannelRoleEnum.

    */ @Valid @JsonProperty("supplyChannels") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraftBuilder.java index c459c7662e4..618d0a24345 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraftBuilder.java @@ -103,7 +103,7 @@ public StoreDraftBuilder plusLanguages(@Nullable final String... languages) { } /** - *

    ResourceIdentifier to a Channel with ProductDistribution ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with ProductDistribution ChannelRoleEnum.

    */ public StoreDraftBuilder distributionChannels( @@ -113,7 +113,7 @@ public StoreDraftBuilder distributionChannels( } /** - *

    ResourceIdentifier to a Channel with ProductDistribution ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with ProductDistribution ChannelRoleEnum.

    */ public StoreDraftBuilder distributionChannels( @@ -123,7 +123,7 @@ public StoreDraftBuilder distributionChannels( } /** - *

    ResourceIdentifier to a Channel with ProductDistribution ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with ProductDistribution ChannelRoleEnum.

    */ public StoreDraftBuilder plusDistributionChannels( @@ -136,7 +136,7 @@ public StoreDraftBuilder plusDistributionChannels( } /** - *

    ResourceIdentifier to a Channel with ProductDistribution ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with ProductDistribution ChannelRoleEnum.

    */ public StoreDraftBuilder plusDistributionChannels( @@ -150,7 +150,7 @@ public StoreDraftBuilder plusDistributionChannels( } /** - *

    ResourceIdentifier to a Channel with ProductDistribution ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with ProductDistribution ChannelRoleEnum.

    */ public StoreDraftBuilder withDistributionChannels( @@ -162,7 +162,7 @@ public StoreDraftBuilder withDistributionChannels( } /** - *

    ResourceIdentifier to a Channel with InventorySupply ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with InventorySupply ChannelRoleEnum.

    */ public StoreDraftBuilder supplyChannels( @@ -172,7 +172,7 @@ public StoreDraftBuilder supplyChannels( } /** - *

    ResourceIdentifier to a Channel with InventorySupply ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with InventorySupply ChannelRoleEnum.

    */ public StoreDraftBuilder supplyChannels( @@ -182,7 +182,7 @@ public StoreDraftBuilder supplyChannels( } /** - *

    ResourceIdentifier to a Channel with InventorySupply ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with InventorySupply ChannelRoleEnum.

    */ public StoreDraftBuilder plusSupplyChannels( @@ -195,7 +195,7 @@ public StoreDraftBuilder plusSupplyChannels( } /** - *

    ResourceIdentifier to a Channel with InventorySupply ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with InventorySupply ChannelRoleEnum.

    */ public StoreDraftBuilder plusSupplyChannels( @@ -209,7 +209,7 @@ public StoreDraftBuilder plusSupplyChannels( } /** - *

    ResourceIdentifier to a Channel with InventorySupply ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with InventorySupply ChannelRoleEnum.

    */ public StoreDraftBuilder withSupplyChannels( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraftImpl.java index d8b1d181398..306e4606b64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreDraftImpl.java @@ -79,7 +79,7 @@ public java.util.List getLanguages() { } /** - *

    ResourceIdentifier to a Channel with ProductDistribution ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with ProductDistribution ChannelRoleEnum.

    */ public java.util.List getDistributionChannels() { @@ -87,7 +87,7 @@ public java.util.ListResourceIdentifier to a Channel with InventorySupply ChannelRoleEnum.

    + *

    ResourceIdentifier of a Channel with InventorySupply ChannelRoleEnum.

    */ public java.util.List getSupplyChannels() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveDistributionChannelAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveDistributionChannelAction.java index b46e2a788d3..eed089ea91f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveDistributionChannelAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveDistributionChannelAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    This update action produces the StoreDistributionChannelsChangedMessage.

    + *

    This update action produces the StoreDistributionChannelsChanged Message.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveDistributionChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveDistributionChannelActionImpl.java index 6f90b5fcea8..4bac99d79d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveDistributionChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveDistributionChannelActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    This update action produces the StoreDistributionChannelsChangedMessage.

    + *

    This update action produces the StoreDistributionChannelsChanged Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreRemoveDistributionChannelActionImpl implements StoreRemoveDistributionChannelAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetDistributionChannelsAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetDistributionChannelsAction.java index ab6c1b60e9c..09d3e0c710a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetDistributionChannelsAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetDistributionChannelsAction.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    This update action produces the StoreDistributionChannelsChangedMessage.

    + *

    This update action produces the StoreDistributionChannelsChanged Message.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetDistributionChannelsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetDistributionChannelsActionImpl.java index 465c4a39e38..9ba4cae460f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetDistributionChannelsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetDistributionChannelsActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    This update action produces the StoreDistributionChannelsChangedMessage.

    + *

    This update action produces the StoreDistributionChannelsChanged Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreSetDistributionChannelsActionImpl implements StoreSetDistributionChannelsAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetLanguagesAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetLanguagesAction.java index dae6a3b9d55..1c34bf68acb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetLanguagesAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetLanguagesAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * StoreSetLanguagesAction + *

    This update action produces the StoreLanguagesChanged Message.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetLanguagesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetLanguagesActionImpl.java index 85507123076..ac0c96fa2fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetLanguagesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetLanguagesActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * StoreSetLanguagesAction + *

    This update action produces the StoreLanguagesChanged Message.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreSetLanguagesActionImpl implements StoreSetLanguagesAction, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryPayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryPayload.java index 90c7951cc92..ab909b9ff6f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryPayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryPayload.java @@ -69,7 +69,7 @@ public interface DeliveryPayload { public Reference getResource(); /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ @Valid @JsonProperty("resourceUserProvidedIdentifiers") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryPayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryPayloadImpl.java index 3857f65869e..dcbffa5d93e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryPayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryPayloadImpl.java @@ -67,7 +67,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageDeliveryPayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageDeliveryPayloadBuilder.java index 2902ab2961b..a0f65c8cb9f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageDeliveryPayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageDeliveryPayloadBuilder.java @@ -82,7 +82,7 @@ public MessageDeliveryPayloadBuilder resource( } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public MessageDeliveryPayloadBuilder resourceUserProvidedIdentifiers( @@ -94,7 +94,7 @@ public MessageDeliveryPayloadBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public MessageDeliveryPayloadBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageDeliveryPayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageDeliveryPayloadImpl.java index 3a9b03181a4..577ebd1cfa6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageDeliveryPayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageDeliveryPayloadImpl.java @@ -94,7 +94,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceCreatedDeliveryPayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceCreatedDeliveryPayloadBuilder.java index 2542069ead3..1c2aa5f4d11 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceCreatedDeliveryPayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceCreatedDeliveryPayloadBuilder.java @@ -68,7 +68,7 @@ public ResourceCreatedDeliveryPayloadBuilder resource( } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public ResourceCreatedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( @@ -80,7 +80,7 @@ public ResourceCreatedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public ResourceCreatedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceCreatedDeliveryPayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceCreatedDeliveryPayloadImpl.java index 29a2a2bbd5e..05b987a89cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceCreatedDeliveryPayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceCreatedDeliveryPayloadImpl.java @@ -75,7 +75,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceDeletedDeliveryPayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceDeletedDeliveryPayloadBuilder.java index 5e2fc6c0e39..23bbcf2e1cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceDeletedDeliveryPayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceDeletedDeliveryPayloadBuilder.java @@ -71,7 +71,7 @@ public ResourceDeletedDeliveryPayloadBuilder resource( } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public ResourceDeletedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( @@ -83,7 +83,7 @@ public ResourceDeletedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public ResourceDeletedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceDeletedDeliveryPayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceDeletedDeliveryPayloadImpl.java index 0989fff8de9..60c26ba4a74 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceDeletedDeliveryPayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceDeletedDeliveryPayloadImpl.java @@ -79,7 +79,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceUpdatedDeliveryPayloadBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceUpdatedDeliveryPayloadBuilder.java index b2f40742099..64a67b91b50 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceUpdatedDeliveryPayloadBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceUpdatedDeliveryPayloadBuilder.java @@ -71,7 +71,7 @@ public ResourceUpdatedDeliveryPayloadBuilder resource( } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public ResourceUpdatedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( @@ -83,7 +83,7 @@ public ResourceUpdatedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public ResourceUpdatedDeliveryPayloadBuilder resourceUserProvidedIdentifiers( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceUpdatedDeliveryPayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceUpdatedDeliveryPayloadImpl.java index 1243499758a..f5544e34bda 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceUpdatedDeliveryPayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ResourceUpdatedDeliveryPayloadImpl.java @@ -78,7 +78,7 @@ public com.commercetools.api.models.common.Reference getResource() { } /** - * + *

    User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.

    */ public com.commercetools.api.models.message.UserProvidedIdentifiers getResourceUserProvidedIdentifiers() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRate.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRate.java index 440b7234ec2..1bfbef685f6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRate.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRate.java @@ -55,7 +55,7 @@ public interface TaxRate { public Double getAmount(); /** - *

    If true, tax is included in Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    + *

    If true, tax is included in Embedded Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    */ @NotNull @JsonProperty("includedInPrice") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateBuilder.java index d12e83629b1..5128ca4b469 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateBuilder.java @@ -72,7 +72,7 @@ public TaxRateBuilder amount(final Double amount) { } /** - *

    If true, tax is included in Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    + *

    If true, tax is included in Embedded Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    */ public TaxRateBuilder includedInPrice(final Boolean includedInPrice) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraft.java index 8c5d0ae4fcd..02242380e98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraft.java @@ -47,7 +47,7 @@ public interface TaxRateDraft { public Double getAmount(); /** - *

    If true, tax is included in Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    + *

    If true, tax is included in Embedded Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    */ @NotNull @JsonProperty("includedInPrice") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftBuilder.java index 700b2e10ef4..6fa5c3ae8f5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftBuilder.java @@ -60,7 +60,7 @@ public TaxRateDraftBuilder amount(@Nullable final Double amount) { } /** - *

    If true, tax is included in Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    + *

    If true, tax is included in Embedded Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    */ public TaxRateDraftBuilder includedInPrice(final Boolean includedInPrice) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftImpl.java index 10658c88cad..d2d0c9cdd7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateDraftImpl.java @@ -65,7 +65,7 @@ public Double getAmount() { } /** - *

    If true, tax is included in Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    + *

    If true, tax is included in Embedded Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    */ public Boolean getIncludedInPrice() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateImpl.java index ec8d2e12eda..c398190f8e5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxRateImpl.java @@ -76,7 +76,7 @@ public Double getAmount() { } /** - *

    If true, tax is included in Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    + *

    If true, tax is included in Embedded Prices and the taxedPrice is present on LineItems. In this case, the totalNet price on TaxedPrice includes the TaxRate.

    */ public Boolean getIncludedInPrice() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/ResourceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/ResourceTypeId.java index 6db2cf05f78..9437cd619fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/ResourceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/ResourceTypeId.java @@ -108,7 +108,7 @@ public interface ResourceTypeId { */ ResourceTypeId PAYMENT_INTERFACE_INTERACTION = ResourceTypeIdEnum.PAYMENT_INTERFACE_INTERACTION; /** -

    Price on ProductVariant

    +

    Embedded Price on ProductVariant

    */ ResourceTypeId PRODUCT_PRICE = ResourceTypeIdEnum.PRODUCT_PRICE; diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeActiveCartTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeActiveCartTest.java index 467c157ae06..c1694861923 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeActiveCartTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeActiveCartTest.java @@ -64,12 +64,21 @@ public void executeClientException(ClientRequestCommand httpRequest) throws E @DataProvider public static Object[][] requestWithMethodParameters() { return new Object[][] { + new Object[] { apiRoot.withProjectKey("test_projectKey") + .me() + .activeCart() + .get() + .withExpand("expand") + .createHttpRequest(), "get", "/test_projectKey/me/active-cart?expand=expand", }, new Object[] { apiRoot.withProjectKey("test_projectKey").me().activeCart().get().createHttpRequest(), "get", "/test_projectKey/me/active-cart", } }; } @DataProvider public static Object[][] executeMethodParameters() { - return new Object[][] { new Object[] { apiRoot.withProjectKey("test_projectKey").me().activeCart().get(), } }; + return new Object[][] { + new Object[] { + apiRoot.withProjectKey("test_projectKey").me().activeCart().get().withExpand("expand"), }, + new Object[] { apiRoot.withProjectKey("test_projectKey").me().activeCart().get(), } }; } } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersQuotesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersQuotesTest.java new file mode 100644 index 00000000000..29979a0d732 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersQuotesTest.java @@ -0,0 +1,76 @@ + +package com.commercetools.api.client.resource; + +import java.nio.charset.StandardCharsets; +import java.util.concurrent.CompletableFuture; + +import com.commercetools.api.client.ApiRoot; +import com.tngtech.junit.dataprovider.DataProvider; +import com.tngtech.junit.dataprovider.DataProviderExtension; +import com.tngtech.junit.dataprovider.UseDataProvider; +import com.tngtech.junit.dataprovider.UseDataProviderExtension; + +import io.vrap.rmf.base.client.*; +import io.vrap.rmf.base.client.ApiHttpClient; +import io.vrap.rmf.base.client.ApiHttpRequest; +import io.vrap.rmf.base.client.VrapHttpClient; +import io.vrap.rmf.base.client.error.ApiClientException; +import io.vrap.rmf.base.client.error.ApiServerException; +import io.vrap.rmf.base.client.utils.Generated; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.TestTemplate; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.Mockito; + +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@ExtendWith(UseDataProviderExtension.class) +@ExtendWith(DataProviderExtension.class) +public class ByProjectKeyOrdersQuotesTest { + private final VrapHttpClient httpClientMock = Mockito.mock(VrapHttpClient.class); + private final String projectKey = "test_projectKey"; + private final static ApiRoot apiRoot = ApiRoot.of(); + private final ApiHttpClient client = ClientBuilder.of(httpClientMock).defaultClient("").build(); + + @TestTemplate + @UseDataProvider("requestWithMethodParameters") + public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { + Assertions.assertThat(httpMethod).isEqualTo(request.getMethod().name().toLowerCase()); + Assertions.assertThat(uri).isEqualTo(request.getUri().toString()); + } + + @TestTemplate + @UseDataProvider("executeMethodParameters") + public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + Mockito.when(httpClientMock.execute(Mockito.any())) + .thenReturn(CompletableFuture.completedFuture( + new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); + + Assertions.assertThatThrownBy(() -> client.execute(httpRequest).toCompletableFuture().get()) + .hasCauseInstanceOf(ApiServerException.class); + } + + @TestTemplate + @UseDataProvider("executeMethodParameters") + public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + Mockito.when(httpClientMock.execute(Mockito.any())) + .thenReturn(CompletableFuture.completedFuture( + new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); + + Assertions.assertThatThrownBy(() -> client.execute(httpRequest).toCompletableFuture().get()) + .hasCauseInstanceOf(ApiClientException.class); + } + + @DataProvider + public static Object[][] requestWithMethodParameters() { + return new Object[][] { new Object[] { + apiRoot.withProjectKey("test_projectKey").orders().orderQuote().post(null).createHttpRequest(), "post", + "/test_projectKey/orders/quotes", } }; + } + + @DataProvider + public static Object[][] executeMethodParameters() { + return new Object[][] { + new Object[] { apiRoot.withProjectKey("test_projectKey").orders().orderQuote().post(null), } }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java index cef1c59a2e1..431ae3cde69 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java @@ -63,7 +63,9 @@ public void executeClientException(ClientRequestCommand httpRequest) throws E @DataProvider public static Object[][] requestWithMethodParameters() { - return new Object[][] { + return new Object[][] { new Object[] { + apiRoot.withProjectKey("test_projectKey").products().get().withWhere("where").createHttpRequest(), + "get", "/test_projectKey/products?where=where", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .get() @@ -105,11 +107,6 @@ public static Object[][] requestWithMethodParameters() { .get() .withWithTotal(true) .createHttpRequest(), "get", "/test_projectKey/products?withTotal=true", }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .get() - .withWhere("where") - .createHttpRequest(), "get", "/test_projectKey/products?where=where", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .get() @@ -117,6 +114,11 @@ public static Object[][] requestWithMethodParameters() { .createHttpRequest(), "get", "/test_projectKey/products?var.varName=var.varName", }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().createHttpRequest(), "get", "/test_projectKey/products", }, + new Object[] { apiRoot.withProjectKey("test_projectKey") + .products() + .head() + .withWhere("where") + .createHttpRequest(), "head", "/test_projectKey/products?where=where", }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().head().createHttpRequest(), "head", "/test_projectKey/products", }, new Object[] { @@ -154,8 +156,12 @@ public static Object[][] requestWithMethodParameters() { @DataProvider public static Object[][] executeMethodParameters() { - return new Object[][] { new Object[] { - apiRoot.withProjectKey("test_projectKey").products().get().withPriceCurrency("priceCurrency"), }, + return new Object[][] { + new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withWhere("where"), }, + new Object[] { apiRoot.withProjectKey("test_projectKey") + .products() + .get() + .withPriceCurrency("priceCurrency"), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withPriceCountry("priceCountry"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") @@ -169,12 +175,12 @@ public static Object[][] executeMethodParameters() { new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withLimit(7), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withOffset(3), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withWithTotal(true), }, - new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withWhere("where"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .get() .withPredicateVar("varName", "var.varName"), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get(), }, + new Object[] { apiRoot.withProjectKey("test_projectKey").products().head().withWhere("where"), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().head(), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddress.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddress.java index c4404c73c87..5dcaa0066bb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddress.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddress.java @@ -5,8 +5,10 @@ import java.util.*; import java.util.function.Function; +import javax.validation.Valid; import javax.validation.constraints.NotNull; +import com.commercetools.importapi.models.customfields.Custom; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -198,6 +200,13 @@ public interface CustomerAddress { @JsonProperty("externalId") public String getExternalId(); + /** + *

    Custom Fields for the address.

    + */ + @Valid + @JsonProperty("custom") + public Custom getCustom(); + public void setKey(final String key); public void setTitle(final String title); @@ -246,6 +255,8 @@ public interface CustomerAddress { public void setExternalId(final String externalId); + public void setCustom(final Custom custom); + public static CustomerAddress of() { return new CustomerAddressImpl(); } @@ -276,6 +287,7 @@ public static CustomerAddress of(final CustomerAddress template) { instance.setFax(template.getFax()); instance.setAdditionalAddressInfo(template.getAdditionalAddressInfo()); instance.setExternalId(template.getExternalId()); + instance.setCustom(template.getCustom()); return instance; } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressBuilder.java index c08641649a8..63a3c1bd588 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressBuilder.java @@ -2,6 +2,7 @@ package com.commercetools.importapi.models.customers; import java.util.*; +import java.util.function.Function; import javax.annotation.Nullable; @@ -94,6 +95,9 @@ public class CustomerAddressBuilder implements Builder { @Nullable private String externalId; + @Nullable + private com.commercetools.importapi.models.customfields.Custom custom; + /** *

    User-defined identifier for the address. Must follow the pattern [a-zA-Z0-9_\-]{2,256} and must be unique per customer.

    */ @@ -310,6 +314,26 @@ public CustomerAddressBuilder externalId(@Nullable final String externalId) { return this; } + /** + *

    Custom Fields for the address.

    + */ + + public CustomerAddressBuilder custom( + Function builder) { + this.custom = builder.apply(com.commercetools.importapi.models.customfields.CustomBuilder.of()).build(); + return this; + } + + /** + *

    Custom Fields for the address.

    + */ + + public CustomerAddressBuilder custom( + @Nullable final com.commercetools.importapi.models.customfields.Custom custom) { + this.custom = custom; + return this; + } + public String getKey() { return this.key; } @@ -428,12 +452,17 @@ public String getExternalId() { return this.externalId; } + @Nullable + public com.commercetools.importapi.models.customfields.Custom getCustom() { + return this.custom; + } + public CustomerAddress build() { Objects.requireNonNull(key, CustomerAddress.class + ": key is missing"); Objects.requireNonNull(country, CustomerAddress.class + ": country is missing"); return new CustomerAddressImpl(key, title, salutation, firstName, lastName, streetName, streetNumber, additionalStreetInfo, postalCode, city, region, state, country, company, department, building, apartment, - pOBox, phone, mobile, email, fax, additionalAddressInfo, externalId); + pOBox, phone, mobile, email, fax, additionalAddressInfo, externalId, custom); } /** @@ -442,7 +471,7 @@ public CustomerAddress build() { public CustomerAddress buildUnchecked() { return new CustomerAddressImpl(key, title, salutation, firstName, lastName, streetName, streetNumber, additionalStreetInfo, postalCode, city, region, state, country, company, department, building, apartment, - pOBox, phone, mobile, email, fax, additionalAddressInfo, externalId); + pOBox, phone, mobile, email, fax, additionalAddressInfo, externalId, custom); } public static CustomerAddressBuilder of() { @@ -475,6 +504,7 @@ public static CustomerAddressBuilder of(final CustomerAddress template) { builder.fax = template.getFax(); builder.additionalAddressInfo = template.getAdditionalAddressInfo(); builder.externalId = template.getExternalId(); + builder.custom = template.getCustom(); return builder; } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressImpl.java index 208f3e49454..efae084ef98 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressImpl.java @@ -68,6 +68,8 @@ public class CustomerAddressImpl implements CustomerAddress, ModelBase { private String externalId; + private com.commercetools.importapi.models.customfields.Custom custom; + @JsonCreator CustomerAddressImpl(@JsonProperty("key") final String key, @JsonProperty("title") final String title, @JsonProperty("salutation") final String salutation, @JsonProperty("firstName") final String firstName, @@ -82,7 +84,8 @@ public class CustomerAddressImpl implements CustomerAddress, ModelBase { @JsonProperty("phone") final String phone, @JsonProperty("mobile") final String mobile, @JsonProperty("email") final String email, @JsonProperty("fax") final String fax, @JsonProperty("additionalAddressInfo") final String additionalAddressInfo, - @JsonProperty("externalId") final String externalId) { + @JsonProperty("externalId") final String externalId, + @JsonProperty("custom") final com.commercetools.importapi.models.customfields.Custom custom) { this.key = key; this.title = title; this.salutation = salutation; @@ -107,6 +110,7 @@ public class CustomerAddressImpl implements CustomerAddress, ModelBase { this.fax = fax; this.additionalAddressInfo = additionalAddressInfo; this.externalId = externalId; + this.custom = custom; } public CustomerAddressImpl() { @@ -304,6 +308,14 @@ public String getExternalId() { return this.externalId; } + /** + *

    Custom Fields for the address.

    + */ + + public com.commercetools.importapi.models.customfields.Custom getCustom() { + return this.custom; + } + public void setKey(final String key) { this.key = key; } @@ -400,6 +412,10 @@ public void setExternalId(final String externalId) { this.externalId = externalId; } + public void setCustom(final com.commercetools.importapi.models.customfields.Custom custom) { + this.custom = custom; + } + @Override public boolean equals(Object o) { if (this == o) @@ -434,6 +450,7 @@ public boolean equals(Object o) { .append(fax, that.fax) .append(additionalAddressInfo, that.additionalAddressInfo) .append(externalId, that.externalId) + .append(custom, that.custom) .isEquals(); } @@ -463,6 +480,7 @@ public int hashCode() { .append(fax) .append(additionalAddressInfo) .append(externalId) + .append(custom) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperation.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperation.java index 735f450ce7a..f83bcb6c53b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperation.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperation.java @@ -77,7 +77,7 @@ public interface ImportOperation { public ProcessingState getState(); /** - *

    The version of the impmorted resource when the import was successful.

    + *

    The version of the imported resource when the import was successful.

    */ @JsonProperty("resourceVersion") diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationBuilder.java index d9a412440a9..4d969f98c75 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationBuilder.java @@ -102,7 +102,7 @@ public ImportOperationBuilder state(final com.commercetools.importapi.models.com } /** - *

    The version of the impmorted resource when the import was successful.

    + *

    The version of the imported resource when the import was successful.

    */ public ImportOperationBuilder resourceVersion(@Nullable final Long resourceVersion) { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationImpl.java index 80760a3000e..5686d792b03 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationImpl.java @@ -110,7 +110,7 @@ public com.commercetools.importapi.models.common.ProcessingState getState() { } /** - *

    The version of the impmorted resource when the import was successful.

    + *

    The version of the imported resource when the import was successful.

    */ public Long getResourceVersion() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/PriceImportRequest.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/PriceImportRequest.java index 84a80d5420e..826ae15cdb9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/PriceImportRequest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/PriceImportRequest.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    The request body to import Prices. Contains data for EmbeddedPrices to be created or updated in a Project.

    + *

    The request body to import Prices. Contains data for Embedded Prices to be created or updated in a Project.

    * *
    * Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/PriceImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/PriceImportRequestImpl.java index 51181761fc5..c27cf9b2280 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/PriceImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/PriceImportRequestImpl.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    The request body to import Prices. Contains data for EmbeddedPrices to be created or updated in a Project.

    + *

    The request body to import Prices. Contains data for Embedded Prices to be created or updated in a Project.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PriceImportRequestImpl implements PriceImportRequest, ModelBase { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraft.java index 60d1ea0bfff..aae74cfac90 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraft.java @@ -11,6 +11,7 @@ import com.commercetools.importapi.models.common.ChannelKeyReference; import com.commercetools.importapi.models.common.LocalizedString; import com.commercetools.importapi.models.common.ProductKeyReference; +import com.commercetools.importapi.models.customfields.Custom; import com.commercetools.importapi.models.prices.TaxRate; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -111,6 +112,13 @@ public interface LineItemImportDraft { @JsonProperty("shippingDetails") public ItemShippingDetailsDraft getShippingDetails(); + /** + *

    Custom Fields for this Line Item.

    + */ + @Valid + @JsonProperty("custom") + public Custom getCustom(); + public void setProduct(final ProductKeyReference product); public void setName(final LocalizedString name); @@ -134,6 +142,8 @@ public interface LineItemImportDraft { public void setShippingDetails(final ItemShippingDetailsDraft shippingDetails); + public void setCustom(final Custom custom); + public static LineItemImportDraft of() { return new LineItemImportDraftImpl(); } @@ -150,6 +160,7 @@ public static LineItemImportDraft of(final LineItemImportDraft template) { instance.setDistributionChannel(template.getDistributionChannel()); instance.setTaxRate(template.getTaxRate()); instance.setShippingDetails(template.getShippingDetails()); + instance.setCustom(template.getCustom()); return instance; } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftBuilder.java index 20302de230b..7ac52ed3260 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftBuilder.java @@ -53,6 +53,9 @@ public class LineItemImportDraftBuilder implements Builder @Nullable private com.commercetools.importapi.models.orders.ItemShippingDetailsDraft shippingDetails; + @Nullable + private com.commercetools.importapi.models.customfields.Custom custom; + /** *

    Maps to LineItem.productId.

    */ @@ -284,6 +287,26 @@ public LineItemImportDraftBuilder shippingDetails( return this; } + /** + *

    Custom Fields for this Line Item.

    + */ + + public LineItemImportDraftBuilder custom( + Function builder) { + this.custom = builder.apply(com.commercetools.importapi.models.customfields.CustomBuilder.of()).build(); + return this; + } + + /** + *

    Custom Fields for this Line Item.

    + */ + + public LineItemImportDraftBuilder custom( + @Nullable final com.commercetools.importapi.models.customfields.Custom custom) { + this.custom = custom; + return this; + } + @Nullable public com.commercetools.importapi.models.common.ProductKeyReference getProduct() { return this.product; @@ -330,13 +353,18 @@ public com.commercetools.importapi.models.orders.ItemShippingDetailsDraft getShi return this.shippingDetails; } + @Nullable + public com.commercetools.importapi.models.customfields.Custom getCustom() { + return this.custom; + } + public LineItemImportDraft build() { Objects.requireNonNull(name, LineItemImportDraft.class + ": name is missing"); Objects.requireNonNull(variant, LineItemImportDraft.class + ": variant is missing"); Objects.requireNonNull(price, LineItemImportDraft.class + ": price is missing"); Objects.requireNonNull(quantity, LineItemImportDraft.class + ": quantity is missing"); return new LineItemImportDraftImpl(product, name, variant, price, quantity, state, supplyChannel, - distributionChannel, taxRate, shippingDetails); + distributionChannel, taxRate, shippingDetails, custom); } /** @@ -344,7 +372,7 @@ public LineItemImportDraft build() { */ public LineItemImportDraft buildUnchecked() { return new LineItemImportDraftImpl(product, name, variant, price, quantity, state, supplyChannel, - distributionChannel, taxRate, shippingDetails); + distributionChannel, taxRate, shippingDetails, custom); } public static LineItemImportDraftBuilder of() { @@ -363,6 +391,7 @@ public static LineItemImportDraftBuilder of(final LineItemImportDraft template) builder.distributionChannel = template.getDistributionChannel(); builder.taxRate = template.getTaxRate(); builder.shippingDetails = template.getShippingDetails(); + builder.custom = template.getCustom(); return builder; } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftImpl.java index 973c8622998..46763896605 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftImpl.java @@ -41,6 +41,8 @@ public class LineItemImportDraftImpl implements LineItemImportDraft, ModelBase { private com.commercetools.importapi.models.orders.ItemShippingDetailsDraft shippingDetails; + private com.commercetools.importapi.models.customfields.Custom custom; + @JsonCreator LineItemImportDraftImpl( @JsonProperty("product") final com.commercetools.importapi.models.common.ProductKeyReference product, @@ -52,7 +54,8 @@ public class LineItemImportDraftImpl implements LineItemImportDraft, ModelBase { @JsonProperty("supplyChannel") final com.commercetools.importapi.models.common.ChannelKeyReference supplyChannel, @JsonProperty("distributionChannel") final com.commercetools.importapi.models.common.ChannelKeyReference distributionChannel, @JsonProperty("taxRate") final com.commercetools.importapi.models.prices.TaxRate taxRate, - @JsonProperty("shippingDetails") final com.commercetools.importapi.models.orders.ItemShippingDetailsDraft shippingDetails) { + @JsonProperty("shippingDetails") final com.commercetools.importapi.models.orders.ItemShippingDetailsDraft shippingDetails, + @JsonProperty("custom") final com.commercetools.importapi.models.customfields.Custom custom) { this.product = product; this.name = name; this.variant = variant; @@ -63,6 +66,7 @@ public class LineItemImportDraftImpl implements LineItemImportDraft, ModelBase { this.distributionChannel = distributionChannel; this.taxRate = taxRate; this.shippingDetails = shippingDetails; + this.custom = custom; } public LineItemImportDraftImpl() { @@ -148,6 +152,14 @@ public com.commercetools.importapi.models.orders.ItemShippingDetailsDraft getShi return this.shippingDetails; } + /** + *

    Custom Fields for this Line Item.

    + */ + + public com.commercetools.importapi.models.customfields.Custom getCustom() { + return this.custom; + } + public void setProduct(final com.commercetools.importapi.models.common.ProductKeyReference product) { this.product = product; } @@ -194,6 +206,10 @@ public void setShippingDetails( this.shippingDetails = shippingDetails; } + public void setCustom(final com.commercetools.importapi.models.customfields.Custom custom) { + this.custom = custom; + } + @Override public boolean equals(Object o) { if (this == o) @@ -214,6 +230,7 @@ public boolean equals(Object o) { .append(distributionChannel, that.distributionChannel) .append(taxRate, that.taxRate) .append(shippingDetails, that.shippingDetails) + .append(custom, that.custom) .isEquals(); } @@ -229,6 +246,7 @@ public int hashCode() { .append(distributionChannel) .append(taxRate) .append(shippingDetails) + .append(custom) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImport.java index 7bc39f5d729..c36b0fb51a6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImport.java @@ -24,7 +24,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    The data representation for a price to be imported that is persisted as an EmbeddedPrice in the Project.

    + *

    The data representation for a price to be imported that is persisted as an Embedded Price in the Project.

    * *
    * Example to create an instance using the builder pattern @@ -73,14 +73,14 @@ public interface PriceImport extends ImportResource { public ZonedDateTime getValidUntil(); /** - *

    The Reference to the CustomerGroup with which the EmbeddedPrice is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

    + *

    The Reference to the CustomerGroup with which the Embedded Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

    */ @Valid @JsonProperty("customerGroup") public CustomerGroupKeyReference getCustomerGroup(); /** - *

    The Reference to the Channel with which the EmbeddedPrice is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

    + *

    The Reference to the Channel with which the Embedded Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

    */ @Valid @JsonProperty("channel") @@ -94,7 +94,7 @@ public interface PriceImport extends ImportResource { public DiscountedPrice getDiscounted(); /** - *

    Only the EmbeddedPrice updates will be published to staged and current projection.

    + *

    Only the Embedded Price updates will be published to staged and current projection.

    */ @JsonProperty("publish") @@ -115,7 +115,7 @@ public interface PriceImport extends ImportResource { public Custom getCustom(); /** - *

    The ProductVariant in which this EmbeddedPrice is contained. The Reference to the ProductVariant with which the EmbeddedPrice is associated. If referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Embedded Price is associated. If referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    */ @NotNull @Valid @@ -123,7 +123,7 @@ public interface PriceImport extends ImportResource { public ProductVariantKeyReference getProductVariant(); /** - *

    The Product in which the Product Variant containing this EmbeddedPrice is contained. Maps to ProductVariant.product. The Reference to the Product with which the EmbeddedPrice is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

    + *

    The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Embedded Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

    */ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportBuilder.java index 701d1853c8d..a9dc0e96a7c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportBuilder.java @@ -118,7 +118,7 @@ public PriceImportBuilder validUntil(@Nullable final java.time.ZonedDateTime val } /** - *

    The Reference to the CustomerGroup with which the EmbeddedPrice is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

    + *

    The Reference to the CustomerGroup with which the Embedded Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

    */ public PriceImportBuilder customerGroup( @@ -130,7 +130,7 @@ public PriceImportBuilder customerGroup( } /** - *

    The Reference to the CustomerGroup with which the EmbeddedPrice is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

    + *

    The Reference to the CustomerGroup with which the Embedded Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

    */ public PriceImportBuilder customerGroup( @@ -140,7 +140,7 @@ public PriceImportBuilder customerGroup( } /** - *

    The Reference to the Channel with which the EmbeddedPrice is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

    + *

    The Reference to the Channel with which the Embedded Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

    */ public PriceImportBuilder channel( @@ -150,7 +150,7 @@ public PriceImportBuilder channel( } /** - *

    The Reference to the Channel with which the EmbeddedPrice is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

    + *

    The Reference to the Channel with which the Embedded Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

    */ public PriceImportBuilder channel( @@ -180,7 +180,7 @@ public PriceImportBuilder discounted( } /** - *

    Only the EmbeddedPrice updates will be published to staged and current projection.

    + *

    Only the Embedded Price updates will be published to staged and current projection.

    */ public PriceImportBuilder publish(@Nullable final Boolean publish) { @@ -263,7 +263,7 @@ public PriceImportBuilder custom(@Nullable final com.commercetools.importapi.mod } /** - *

    The ProductVariant in which this EmbeddedPrice is contained. The Reference to the ProductVariant with which the EmbeddedPrice is associated. If referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Embedded Price is associated. If referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    */ public PriceImportBuilder productVariant( @@ -275,7 +275,7 @@ public PriceImportBuilder productVariant( } /** - *

    The ProductVariant in which this EmbeddedPrice is contained. The Reference to the ProductVariant with which the EmbeddedPrice is associated. If referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Embedded Price is associated. If referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    */ public PriceImportBuilder productVariant( @@ -285,7 +285,7 @@ public PriceImportBuilder productVariant( } /** - *

    The Product in which the Product Variant containing this EmbeddedPrice is contained. Maps to ProductVariant.product. The Reference to the Product with which the EmbeddedPrice is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

    + *

    The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Embedded Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

    */ public PriceImportBuilder product( @@ -295,7 +295,7 @@ public PriceImportBuilder product( } /** - *

    The Product in which the Product Variant containing this EmbeddedPrice is contained. Maps to ProductVariant.product. The Reference to the Product with which the EmbeddedPrice is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

    + *

    The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Embedded Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

    */ public PriceImportBuilder product(final com.commercetools.importapi.models.common.ProductKeyReference product) { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportImpl.java index c703d10a0f3..07a4cfcc5f1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

    The data representation for a price to be imported that is persisted as an EmbeddedPrice in the Project.

    + *

    The data representation for a price to be imported that is persisted as an Embedded Price in the Project.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PriceImportImpl implements PriceImport, ModelBase { @@ -119,7 +119,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

    The Reference to the CustomerGroup with which the EmbeddedPrice is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

    + *

    The Reference to the CustomerGroup with which the Embedded Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

    */ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() { @@ -127,7 +127,7 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

    The Reference to the Channel with which the EmbeddedPrice is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

    + *

    The Reference to the Channel with which the Embedded Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

    */ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() { @@ -143,7 +143,7 @@ public com.commercetools.importapi.models.common.DiscountedPrice getDiscounted() } /** - *

    Only the EmbeddedPrice updates will be published to staged and current projection.

    + *

    Only the Embedded Price updates will be published to staged and current projection.

    */ public Boolean getPublish() { @@ -167,7 +167,7 @@ public com.commercetools.importapi.models.customfields.Custom getCustom() { } /** - *

    The ProductVariant in which this EmbeddedPrice is contained. The Reference to the ProductVariant with which the EmbeddedPrice is associated. If referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Embedded Price is associated. If referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    */ public com.commercetools.importapi.models.common.ProductVariantKeyReference getProductVariant() { @@ -175,7 +175,7 @@ public com.commercetools.importapi.models.common.ProductVariantKeyReference getP } /** - *

    The Product in which the Product Variant containing this EmbeddedPrice is contained. Maps to ProductVariant.product. The Reference to the Product with which the EmbeddedPrice is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

    + *

    The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Embedded Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

    */ public com.commercetools.importapi.models.common.ProductKeyReference getProduct() {