diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientDraftImpl.java index ab22a399581..92cad126c8d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApiClientDraft @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("scope", scope) + .append("deleteDaysAfterCreation", deleteDaysAfterCreation) + .append("accessTokenValiditySeconds", accessTokenValiditySeconds) + .append("refreshTokenValiditySeconds", refreshTokenValiditySeconds) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientImpl.java index de1f59e49de..07a79833fcf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApiClient @@ -219,4 +221,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .append("scope", scope) + .append("secret", secret) + .append("lastUsedAt", lastUsedAt) + .append("deleteAt", deleteAt) + .append("createdAt", createdAt) + .append("accessTokenValiditySeconds", accessTokenValiditySeconds) + .append("refreshTokenValiditySeconds", refreshTokenValiditySeconds) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientPagedQueryResponseImpl.java index 31de0da32b0..0fbd1e753ea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/api_client/ApiClientPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

PagedQueryResult with results containing an array of APIClient.

@@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowApprovalImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowApprovalImpl.java index 36dcd0cb341..519bc83e774 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowApprovalImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowApprovalImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalFlowApproval @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(approver).append(approvedAt).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("approver", approver) + .append("approvedAt", approvedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowApproveActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowApproveActionImpl.java index 0adfb4e9484..1b1a0e437de 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowApproveActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowApproveActionImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

This update action allows an Associate to approve an Approval Flow. The process takes into account all Associate Roles held by the Associate, aligning with the matched Approval Rules and their respective approver hierarchies.

@@ -56,4 +58,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowImpl.java index e3a14cfc960..e27f15824d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalFlow @@ -361,4 +363,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("createdBy", createdBy) + .append("lastModifiedBy", lastModifiedBy) + .append("order", order) + .append("businessUnit", businessUnit) + .append("rules", rules) + .append("status", status) + .append("rejection", rejection) + .append("approvals", approvals) + .append("eligibleApprovers", eligibleApprovers) + .append("pendingApprovers", pendingApprovers) + .append("currentTierPendingApprovers", currentTierPendingApprovers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowPagedQueryResponseImpl.java index 978fefdb559..b9e161b4deb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

PagedQueryResult with results containing an array of ApprovalFlow.

@@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowRejectActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowRejectActionImpl.java index 027da27c4d6..f6bbe273e7e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowRejectActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowRejectActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

This update action allows an Associate to reject an Approval Flow, setting its status to Rejected. The process takes into account all Associate Roles held by the Associate, aligning with the matched Approval Rules and their respective approver hierarchies. Even a single rejection in the process will result in the rejection of the entire Approval Flow.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(reason).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("reason", reason) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowRejectionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowRejectionImpl.java index 65972bbc046..2741b49efe0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowRejectionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowRejectionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalFlowRejection @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(rejecter).append(rejectedAt).append(reason).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("rejecter", rejecter) + .append("rejectedAt", rejectedAt) + .append("reason", reason) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowUpdateActionImpl.java index 305f9450e87..162517e7282 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalFlowUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowUpdateImpl.java index 77e3acc8894..75cbd36643b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_flow/ApprovalFlowUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalFlowUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleDraftImpl.java index 83ac199ac72..2df1cbf9358 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalRuleDraft @@ -187,4 +189,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("description", description) + .append("status", status) + .append("predicate", predicate) + .append("approvers", approvers) + .append("requesters", requesters) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleImpl.java index 6224ddc1492..4065258cab1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalRule @@ -320,4 +322,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("createdBy", createdBy) + .append("lastModifiedBy", lastModifiedBy) + .append("key", key) + .append("name", name) + .append("description", description) + .append("status", status) + .append("predicate", predicate) + .append("approvers", approvers) + .append("requesters", requesters) + .append("businessUnit", businessUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRulePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRulePagedQueryResponseImpl.java index 3ab735a16f2..9ccabea3ed1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRulePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRulePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

PagedQueryResult with results containing an array of ApprovalRule.

@@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetApproversActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetApproversActionImpl.java index 1310a723910..f0c76f1ca36 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetApproversActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetApproversActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the approvers for an Approval Rule generates an ApprovalRuleApproversSet Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(approvers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("approvers", approvers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetDescriptionActionImpl.java index 26d4b2b0a68..47f4554da27 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the description for an Approval Rule generates an ApprovalRuleDescriptionSet Message.

@@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetKeyActionImpl.java index 5f2cad56565..8e8b404cb9a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the key for an Approval Rule generates an ApprovalRuleKeySet Message.

@@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetNameActionImpl.java index 5fda46c27af..8d969d72f22 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the name for an Approval Rule generates an ApprovalRuleNameSet Message.

@@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetPredicateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetPredicateActionImpl.java index 0f6cca7a1e9..7b367f22444 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetPredicateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetPredicateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the Order Predicate for an Approval Rule generates an ApprovalRulePredicateSet Message.

@@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(predicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("predicate", predicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetRequestersActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetRequestersActionImpl.java index f3671626c96..4156cfcac58 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetRequestersActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetRequestersActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Sets the requesters for an Approval Rule generates an ApprovalRuleRequestersSet Message.

@@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(requesters).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("requesters", requesters) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetStatusActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetStatusActionImpl.java index 42f2b95e786..50ccca826aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetStatusActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleSetStatusActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the status for an Approval Rule generates an ApprovalRuleStatusSet Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(status).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("status", status) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateActionImpl.java index 706cac8fc9b..f1f9eaea3d9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalRuleUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateImpl.java index 09acdf94a86..083b8373b7c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApprovalRuleUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApprovalRuleUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverConjunctionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverConjunctionDraftImpl.java index 4ae257154e2..a0ea08a9ca0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverConjunctionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverConjunctionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApproverConjunctionDraft @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(and).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("and", and).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverConjunctionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverConjunctionImpl.java index fcafea986a6..996243e335f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverConjunctionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverConjunctionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApproverConjunction @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(and).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("and", and).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverDisjunctionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverDisjunctionDraftImpl.java index 734909f5d45..7107cef3bcb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverDisjunctionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverDisjunctionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApproverDisjunctionDraft @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(or).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("or", or).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverDisjunctionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverDisjunctionImpl.java index de05b30f005..869253078d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverDisjunctionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverDisjunctionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ApproverDisjunction @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(or).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("or", or).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverHierarchyDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverHierarchyDraftImpl.java index 9545db4f5d6..5a77fae81d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverHierarchyDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverHierarchyDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Describes the sequence in which Associates can approve an Order.

@@ -72,4 +74,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(tiers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("tiers", tiers).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverHierarchyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverHierarchyImpl.java index fc5faa5dae7..aff56ed06d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverHierarchyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/ApproverHierarchyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Describes the order in which Associates can approve the matched Order.

@@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(tiers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("tiers", tiers).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleApproverDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleApproverDraftImpl.java index 282206bd5fd..db1f73d082d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleApproverDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleApproverDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * RuleApproverDraft @@ -70,4 +72,10 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleApproverImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleApproverImpl.java index a927bc2349d..ac1f2a5e9b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleApproverImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleApproverImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * RuleApprover @@ -70,4 +72,10 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleRequesterDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleRequesterDraftImpl.java index b5e9f76cab8..0ad069d09d8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleRequesterDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleRequesterDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * RuleRequesterDraft @@ -70,4 +72,10 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleRequesterImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleRequesterImpl.java index 2885cd46386..58822cb98b8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleRequesterImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/approval_rule/RuleRequesterImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * RuleRequester @@ -70,4 +72,10 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleAddPermissionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleAddPermissionActionImpl.java index 3b164667ad6..5dcb976ce8a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleAddPermissionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleAddPermissionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding a Permission to an AssociateRole generates an AssociateRolePermissionAdded Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(permission).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("permission", permission) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleChangeBuyerAssignableActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleChangeBuyerAssignableActionImpl.java index f3d025f833c..4f2d9dcafe9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleChangeBuyerAssignableActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleChangeBuyerAssignableActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Changing the buyerAssignable value of an AssociateRole generates an AssociateRoleBuyerAssignableChanged Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(buyerAssignable).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("buyerAssignable", buyerAssignable) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleDraftImpl.java index f06a0da1293..723a1132b63 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleDraft @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("buyerAssignable", buyerAssignable) + .append("permissions", permissions) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleImpl.java index 73a92459b9d..1deb1aa67a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRole @@ -262,4 +264,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("buyerAssignable", buyerAssignable) + .append("name", name) + .append("permissions", permissions) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleKeyReferenceImpl.java index a5bfec8850a..ba12b4ca257 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleKeyReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Reference to an AssociateRole by its key.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRolePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRolePagedQueryResponseImpl.java index c8f37e52e17..b2008820070 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRolePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRolePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

PagedQueryResult with results containing an array of AssociateRole.

@@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleReferenceImpl.java index 1e8146b64c2..8891efc2e6d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Reference to an AssociateRole.

@@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleRemovePermissionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleRemovePermissionActionImpl.java index 8ff4c0457d7..52809b31dc5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleRemovePermissionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleRemovePermissionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Removing a Permission from an AssociateRole generates an AssociateRolePermissionRemoved Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(permission).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("permission", permission) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifier.java index adb7a56e26c..8176bcf8e9f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

ResourceIdentifier of an AssociateRole.

+ *

ResourceIdentifier of an AssociateRole. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

* *
* Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface AssociateRoleResourceIdentifier String ASSOCIATE_ROLE = "associate-role"; /** - *

Unique identifier of the referenced AssociateRole. Either id or key is required.

+ *

Unique identifier of the referenced AssociateRole. Required if key is absent.

* @return id */ @@ -44,7 +44,7 @@ public interface AssociateRoleResourceIdentifier public String getId(); /** - *

Unique key of the referenced AssociateRole. Either id or key is required.

+ *

Unique key of the referenced AssociateRole. Required if id is absent.

* @return key */ @@ -52,14 +52,14 @@ public interface AssociateRoleResourceIdentifier public String getKey(); /** - *

Unique identifier of the referenced AssociateRole. Either id or key is required.

+ *

Unique identifier of the referenced AssociateRole. Required if key is absent.

* @param id value to be set */ public void setId(final String id); /** - *

Unique key of the referenced AssociateRole. Either id or key is required.

+ *

Unique key of the referenced AssociateRole. Required if id is absent.

* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifierBuilder.java index 83cdd0bf353..2b3828fd7fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class AssociateRoleResourceIdentifierBuilder implements BuilderUnique identifier of the referenced AssociateRole. Either id or key is required.

+ *

Unique identifier of the referenced AssociateRole. Required if key is absent.

* @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public AssociateRoleResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

Unique key of the referenced AssociateRole. Either id or key is required.

+ *

Unique key of the referenced AssociateRole. Required if id is absent.

* @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public AssociateRoleResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

Unique identifier of the referenced AssociateRole. Either id or key is required.

+ *

Unique identifier of the referenced AssociateRole. Required if key is absent.

* @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

Unique key of the referenced AssociateRole. Either id or key is required.

+ *

Unique key of the referenced AssociateRole. Required if id is absent.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifierImpl.java index e8c38139a76..fc33e898c8c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

ResourceIdentifier of an AssociateRole.

+ *

ResourceIdentifier of an AssociateRole. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class AssociateRoleResourceIdentifierImpl implements AssociateRoleResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

Unique identifier of the referenced AssociateRole. Either id or key is required.

+ *

Unique identifier of the referenced AssociateRole. Required if key is absent.

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

Unique key of the referenced AssociateRole. Either id or key is required.

+ *

Unique key of the referenced AssociateRole. Required if id is absent.

*/ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetCustomFieldActionImpl.java index c5e86e18138..f589c9c8426 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetCustomTypeActionImpl.java index 8d170b0d1b3..bf359f7fade 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetNameActionImpl.java index 53b87c0651e..bc1ed83759c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Updating the name of an AssociateRole generates an AssociateRoleNameSet Message.

@@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetPermissionsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetPermissionsActionImpl.java index f3cb6ed5236..ba5f86eb22a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetPermissionsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleSetPermissionsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Updating the Permissions on an AssociateRole generates an AssociateRolePermissionsSet Message.

@@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(permissions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("permissions", permissions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleUpdateActionImpl.java index 9819ced547c..eada49c86c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleUpdateImpl.java index 81382f9b453..0fa169e01d9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/associate_role/AssociateRoleUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupAddAttributeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupAddAttributeActionImpl.java index db75792bc24..df974e325bd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupAddAttributeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupAddAttributeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupAddAttributeAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attribute).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attribute", attribute) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupChangeNameActionImpl.java index 493d4cd3178..86d4e97e09f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupChangeNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupDraftImpl.java index 134389356f8..ccc663a976f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupDraft @@ -127,4 +129,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(description).append(attributes).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("description", description) + .append("attributes", attributes) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupImpl.java index 88cb8e3c7f2..4a53041d339 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroup @@ -244,4 +246,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("name", name) + .append("description", description) + .append("attributes", attributes) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupPagedQueryResponseImpl.java index f81f24d8347..89b81b2d82c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

PagedQueryResult with results containing an array of AttributeGroup.

@@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupReferenceImpl.java index 66ad603b334..badd847fff7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Reference to an AttributeGroup.

@@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupRemoveAttributeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupRemoveAttributeActionImpl.java index 3fab5ed8db2..0cf4e28f06b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupRemoveAttributeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupRemoveAttributeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupRemoveAttributeAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attribute).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attribute", attribute) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifier.java index b2f6c3564bf..eb5d6468d4e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

ResourceIdentifier to an AttributeGroup.

+ *

ResourceIdentifier to an AttributeGroup. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

* *
* Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface AttributeGroupResourceIdentifier String ATTRIBUTE_GROUP = "attribute-group"; /** - *

Platform-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

Platform-generated unique identifier of the referenced AttributeGroup. Required if key is absent.

* @return id */ @@ -44,7 +44,7 @@ public interface AttributeGroupResourceIdentifier public String getId(); /** - *

User-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

User-generated unique identifier of the referenced AttributeGroup. Required if id is absent.

* @return key */ @@ -52,14 +52,14 @@ public interface AttributeGroupResourceIdentifier public String getKey(); /** - *

Platform-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

Platform-generated unique identifier of the referenced AttributeGroup. Required if key is absent.

* @param id value to be set */ public void setId(final String id); /** - *

User-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

User-generated unique identifier of the referenced AttributeGroup. Required if id is absent.

* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifierBuilder.java index b90ba6e18af..413e7359ab2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class AttributeGroupResourceIdentifierBuilder implements BuilderPlatform-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

Platform-generated unique identifier of the referenced AttributeGroup. Required if key is absent.

* @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public AttributeGroupResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

User-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

User-generated unique identifier of the referenced AttributeGroup. Required if id is absent.

* @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public AttributeGroupResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

Platform-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

Platform-generated unique identifier of the referenced AttributeGroup. Required if key is absent.

* @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

User-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

User-generated unique identifier of the referenced AttributeGroup. Required if id is absent.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifierImpl.java index 788cd5b0804..c9827ec49c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

ResourceIdentifier to an AttributeGroup.

+ *

ResourceIdentifier to an AttributeGroup. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class AttributeGroupResourceIdentifierImpl implements AttributeGroupResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

Platform-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

Platform-generated unique identifier of the referenced AttributeGroup. Required if key is absent.

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

User-generated unique identifier of the referenced AttributeGroup. Either id or key is required.

+ *

User-generated unique identifier of the referenced AttributeGroup. Required if id is absent.

*/ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetAttributesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetAttributesActionImpl.java index d870c9a4fc0..f843ced7e1b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetAttributesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetAttributesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupSetAttributesAction @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetDescriptionActionImpl.java index f718229f395..ef027f05b9a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetKeyActionImpl.java index 78bc62b9232..a67bf93a59b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupUpdateActionImpl.java index 58c9955b3d2..27a69102302 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupUpdateImpl.java index 5cd3f56455f..9faed2da51a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeGroupUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeGroupUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeReferenceImpl.java index 39c6b8a9b60..b584af4878b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/attribute_group/AttributeReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeReference @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateDraftImpl.java index f7de1c8c9b0..afe2c9e7c19 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateDraft @@ -93,4 +95,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRoleAssignments).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("associateRoleAssignments", associateRoleAssignments) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateImpl.java index 3672eb08486..da1d2f253cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Associate @@ -93,4 +95,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRoleAssignments).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("associateRoleAssignments", associateRoleAssignments) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateRoleAssignmentDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateRoleAssignmentDraftImpl.java index c70f1d09aeb..4655cbe3715 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateRoleAssignmentDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateRoleAssignmentDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleAssignmentDraft @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).append(inheritance).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .append("inheritance", inheritance) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateRoleAssignmentImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateRoleAssignmentImpl.java index 3c483a579d3..3622913df51 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateRoleAssignmentImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/AssociateRoleAssignmentImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleAssignment @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).append(inheritance).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .append("inheritance", inheritance) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddAddressActionImpl.java index b7eb21ebff8..76193ae3f52 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding an address to a Business Unit generates a BusinessUnitAddressAdded Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddAssociateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddAssociateActionImpl.java index 52d9ea4e39f..7521cbd085b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddAssociateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddAssociateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding an Associate to a Business Unit generates a BusinessUnitAssociateAdded Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(associate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddBillingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddBillingAddressIdActionImpl.java index 21b7c612a6f..1d38c88c03d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddBillingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddBillingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding a billing address to a Business Unit generates a BusinessUnitBillingAddressAdded Message.

@@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddShippingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddShippingAddressIdActionImpl.java index 55c9e1ffcc3..0dd55029144 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddShippingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddShippingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding a shipping address to a Business Unit generates a BusinessUnitShippingAddressAdded Message.

@@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddStoreActionImpl.java index 61d1fcd64bb..ef9eea85e63 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitAddStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding a Store to a Business Unit generates a BusinessUnitStoreAdded Message. Only applicable when storeMode is Explicit.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAddressActionImpl.java index a39a03b1601..ac89e6c3ade 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Changing the address on a Business Unit generates the BusinessUnitAddressChanged Message.

@@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAssociateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAssociateActionImpl.java index 818afc55d7c..26ed616561b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAssociateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAssociateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Updating the Associate on a Business Unit generates the BusinessUnitAssociateChanged Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(associate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAssociateModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAssociateModeActionImpl.java index ae222803a62..8b6bbee488e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAssociateModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeAssociateModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Only Business Units of type Division can be changed to ExplicitAndFromParent. This update action generates a BusinessUnitAssociateModeChanged Message.

@@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(associateMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("associateMode", associateMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeNameActionImpl.java index 7e735903d36..700a3a7b80a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Updating the name on a Business Unit generates a BusinessUnitNameChanged Message.

@@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeParentUnitActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeParentUnitActionImpl.java index 9d0b4af3ea5..79cc1c3bdfa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeParentUnitActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeParentUnitActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Changing the parent of a Business Unit generates a BusinessUnitParentChanged Message.

@@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(parentUnit).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parentUnit", parentUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeStatusActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeStatusActionImpl.java index 237073b114b..9a96a8e7d71 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeStatusActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitChangeStatusActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Changing the status of a Business Unit generates a BusinessUnitStatusChanged Message.

@@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(status).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("status", status) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitDraftImpl.java index 8671d5f4c2e..dd53d653cc0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Generic draft type to model those fields all Business Units have in common. The additional fields required for creating a Company or Division are represented on CompanyDraft and DivisionDraft.

@@ -354,4 +356,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("status", status) + .append("stores", stores) + .append("storeMode", storeMode) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("associateMode", associateMode) + .append("associates", associates) + .append("addresses", addresses) + .append("shippingAddresses", shippingAddresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("billingAddresses", billingAddresses) + .append("defaultBillingAddress", defaultBillingAddress) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitImpl.java index 598ae0f9f89..cc795cbd2eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Generic type to model the fields that all types of Business Units have in common.

@@ -530,4 +532,33 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("status", status) + .append("stores", stores) + .append("storeMode", storeMode) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("custom", custom) + .append("addresses", addresses) + .append("shippingAddressIds", shippingAddressIds) + .append("defaultShippingAddressId", defaultShippingAddressId) + .append("billingAddressIds", billingAddressIds) + .append("defaultBillingAddressId", defaultBillingAddressId) + .append("associateMode", associateMode) + .append("associates", associates) + .append("inheritedAssociates", inheritedAssociates) + .append("parentUnit", parentUnit) + .append("topLevelUnit", topLevelUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitKeyReferenceImpl.java index 88b55e0791a..be11149cf5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitKeyReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Reference to a BusinessUnit by its key.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitPagedQueryResponseImpl.java index 7779abaccf2..3efcf1d79b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

PagedQueryResult with results containing an array of BusinessUnit.

@@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitReferenceImpl.java index c08f9c1c621..10839b0fe3e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Reference to a BusinessUnit.

@@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveAddressActionImpl.java index 6f14980fef9..b1e157b7a42 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Removing the address from a Business Unit generates the BusinessUnitAddressRemoved Message.

@@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveAssociateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveAssociateActionImpl.java index 16ce8dd4506..4ffbfbf7be9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveAssociateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveAssociateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Removing an Associate from a Business Unit generates a BusinessUnitAssociateRemoved Message.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveBillingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveBillingAddressIdActionImpl.java index 06272b1a391..266960682b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveBillingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveBillingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Removing a billing address from a Business Unit generates a BusinessUnitBillingAddressRemoved Message.

@@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveShippingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveShippingAddressIdActionImpl.java index 33b37bf20d7..9cb95d49ee6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveShippingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveShippingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Removing a shipping address from a Business Unit generates a BusinessUnitShippingAddressRemoved Message.

@@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveStoreActionImpl.java index 41c90eccc2a..f3ad6cf1154 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitRemoveStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Removes a Store from the Business Unit. Newly created Carts and Orders can no longer reference the removed Store for the Business Unit. We recommend cleaning up unordered Carts that still have the Store assigned after calling this update action since those cannot be converted to Orders. Orders created before the Store was removed remain unchanged. Generates a BusinessUnitStoreRemoved Message. Only applicable when storeMode is Explicit.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifier.java index 77e9eb654a6..67a46ebfa51 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

ResourceIdentifier to a BusinessUnit.

+ *

ResourceIdentifier to a BusinessUnit. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

* *
* Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface BusinessUnitResourceIdentifier String BUSINESS_UNIT = "business-unit"; /** - *

Unique identifier of the referenced BusinessUnit. Either id or key is required.

+ *

Unique identifier of the referenced BusinessUnit. Required if key is absent.

* @return id */ @@ -44,7 +44,7 @@ public interface BusinessUnitResourceIdentifier public String getId(); /** - *

Unique key of the referenced BusinessUnit. Either id or key is required.

+ *

Unique key of the referenced BusinessUnit. Required if id is absent.

* @return key */ @@ -52,14 +52,14 @@ public interface BusinessUnitResourceIdentifier public String getKey(); /** - *

Unique identifier of the referenced BusinessUnit. Either id or key is required.

+ *

Unique identifier of the referenced BusinessUnit. Required if key is absent.

* @param id value to be set */ public void setId(final String id); /** - *

Unique key of the referenced BusinessUnit. Either id or key is required.

+ *

Unique key of the referenced BusinessUnit. Required if id is absent.

* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifierBuilder.java index ddd2f6008d6..7393ebc6862 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class BusinessUnitResourceIdentifierBuilder implements BuilderUnique identifier of the referenced BusinessUnit. Either id or key is required.

+ *

Unique identifier of the referenced BusinessUnit. Required if key is absent.

* @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public BusinessUnitResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

Unique key of the referenced BusinessUnit. Either id or key is required.

+ *

Unique key of the referenced BusinessUnit. Required if id is absent.

* @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public BusinessUnitResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

Unique identifier of the referenced BusinessUnit. Either id or key is required.

+ *

Unique identifier of the referenced BusinessUnit. Required if key is absent.

* @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

Unique key of the referenced BusinessUnit. Either id or key is required.

+ *

Unique key of the referenced BusinessUnit. Required if id is absent.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifierImpl.java index 7a8fbeb10dc..1c0d8324535 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

ResourceIdentifier to a BusinessUnit.

+ *

ResourceIdentifier to a BusinessUnit. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class BusinessUnitResourceIdentifierImpl implements BusinessUnitResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

Unique identifier of the referenced BusinessUnit. Either id or key is required.

+ *

Unique identifier of the referenced BusinessUnit. Required if key is absent.

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

Unique key of the referenced BusinessUnit. Either id or key is required.

+ *

Unique key of the referenced BusinessUnit. Required if id is absent.

*/ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAddressCustomFieldActionImpl.java index a348ba787a6..e0d0b12c772 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding a Custom Field to an Address of a Business Unit generates the BusinessUnitAddressCustomFieldAdded Message, removing one generates the BusinessUnitAddressCustomFieldRemoved Message, and updating an existing one generates the BusinessUnitAddressCustomFieldChanged Message.

@@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAddressCustomTypeActionImpl.java index 24fbd3e39ec..2c2c28dc46b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding or updating a Custom Type on an Address of a Business Unit generates the BusinessUnitAddressCustomTypeSet Message, and removing one generates the BusinessUnitAddressCustomTypeRemoved Message.

@@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).append(addressId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .append("addressId", addressId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAssociatesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAssociatesActionImpl.java index 67b530a4df4..bf6ba90ccb1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAssociatesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetAssociatesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Changes the Associates of a Business Unit, generates a BusinessUnitAssociatesSet Message.

@@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(associates).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("associates", associates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetContactEmailActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetContactEmailActionImpl.java index da07d1ad4d4..f9c0825e09e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetContactEmailActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetContactEmailActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the contact email on a Business Unit generates a BusinessUnitContactEmailSet Message.

@@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(contactEmail).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("contactEmail", contactEmail) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetCustomFieldActionImpl.java index 8c9a594ac1c..dcd9d7fbd7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding a Custom Field to a Business Unit generates the BusinessUnitCustomFieldAdded Message, removing one generates the BusinessUnitCustomFieldRemoved Message, and updating an existing one generates the BusinessUnitCustomFieldChanged Message.

@@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetCustomTypeActionImpl.java index 04052d08847..575cb86208e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adding or updating a Custom Type on a Business Unit generates the BusinessUnitCustomTypeSet Message, removing one generates the BusinessUnitCustomTypeRemoved Message.

@@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetDefaultBillingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetDefaultBillingAddressActionImpl.java index b866d708362..ff9f16fbb58 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetDefaultBillingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetDefaultBillingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the default billing address on a Business Unit generates the BusinessUnitDefaultBillingAddressSet Message.

@@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetDefaultShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetDefaultShippingAddressActionImpl.java index 95fdc3b2f14..58b1a2922ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetDefaultShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetDefaultShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Setting the default shipping address on a Business Unit generates a BusinessUnitDefaultShippingAddressSet Message.

@@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetStoreModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetStoreModeActionImpl.java index 7517d1d87f3..ee9643e8112 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetStoreModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetStoreModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Only Business Units of type Division can be have a store mode of FromParent. Changing the storeMode to FromParent empties the stores array on the BusinessUnit. This update action generates a BusinessUnitStoreModeChanged Message.

@@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(storeMode).append(stores).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("storeMode", storeMode) + .append("stores", stores) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetStoresActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetStoresActionImpl.java index 28f5cc1797b..e2e034c30de 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetStoresActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitSetStoresActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Sets the Stores of the Business Unit. Can only be set if the Business Unit storeMode is Explicit. Carts and Orders created after the Set Stores update must use the new Stores of the Business Unit and, if set, their Product Selections, and Channels. Orders created before the Set Stores update action remain unchanged. Setting the Stores on a Business Unit generates a BusinessUnitStoresSet Message.

@@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(stores).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("stores", stores) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitUpdateActionImpl.java index d83c5b715f2..8844311709a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * BusinessUnitUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitUpdateImpl.java index e6a8e0fe72d..42c89a08760 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/BusinessUnitUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * BusinessUnitUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/CompanyDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/CompanyDraftImpl.java index 99e58e0716f..293209b3d67 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/CompanyDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/CompanyDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Draft type to represent the top level of a business. Contains the fields and values of the generic BusinessUnitDraft that are used specifically for creating a Company.

@@ -354,4 +356,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("status", status) + .append("stores", stores) + .append("storeMode", storeMode) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("associateMode", associateMode) + .append("associates", associates) + .append("addresses", addresses) + .append("shippingAddresses", shippingAddresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("billingAddresses", billingAddresses) + .append("defaultBillingAddress", defaultBillingAddress) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/CompanyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/CompanyImpl.java index 2f7e15cbdb9..0f99e3afa17 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/CompanyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/CompanyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Business Unit type to represent the top level of a business. Contains specific fields and values that differentiate a Company from the generic BusinessUnit.

@@ -530,4 +532,33 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("status", status) + .append("stores", stores) + .append("storeMode", storeMode) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("custom", custom) + .append("addresses", addresses) + .append("shippingAddressIds", shippingAddressIds) + .append("defaultShippingAddressId", defaultShippingAddressId) + .append("billingAddressIds", billingAddressIds) + .append("defaultBillingAddressId", defaultBillingAddressId) + .append("associateMode", associateMode) + .append("associates", associates) + .append("inheritedAssociates", inheritedAssociates) + .append("parentUnit", parentUnit) + .append("topLevelUnit", topLevelUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/DivisionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/DivisionDraftImpl.java index 7a194456405..32af8a315e0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/DivisionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/DivisionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Draft type to model divisions that are part of a Company or a higher-order Division. Contains the fields and values of the generic BusinessUnitDraft that are used specifically for creating a Division.

@@ -374,4 +376,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("status", status) + .append("stores", stores) + .append("storeMode", storeMode) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("associateMode", associateMode) + .append("associates", associates) + .append("addresses", addresses) + .append("shippingAddresses", shippingAddresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("billingAddresses", billingAddresses) + .append("defaultBillingAddress", defaultBillingAddress) + .append("custom", custom) + .append("parentUnit", parentUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/DivisionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/DivisionImpl.java index b897233a223..cd49986e855 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/DivisionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/DivisionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Business Unit type to model divisions that are part of the Company or a higher-order Division. Contains specific fields and values that differentiate a Division from the generic BusinessUnit.

@@ -530,4 +532,33 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("status", status) + .append("stores", stores) + .append("storeMode", storeMode) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("custom", custom) + .append("addresses", addresses) + .append("shippingAddressIds", shippingAddressIds) + .append("defaultShippingAddressId", defaultShippingAddressId) + .append("billingAddressIds", billingAddressIds) + .append("defaultBillingAddressId", defaultBillingAddressId) + .append("associateMode", associateMode) + .append("associates", associates) + .append("inheritedAssociates", inheritedAssociates) + .append("parentUnit", parentUnit) + .append("topLevelUnit", topLevelUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/InheritedAssociateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/InheritedAssociateImpl.java index 7583c00f98e..2c6d4d0385b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/InheritedAssociateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/InheritedAssociateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InheritedAssociate @@ -93,4 +95,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRoleAssignments).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("associateRoleAssignments", associateRoleAssignments) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/InheritedAssociateRoleAssignmentImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/InheritedAssociateRoleAssignmentImpl.java index 28916cc463e..e88f3115919 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/InheritedAssociateRoleAssignmentImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/business_unit/InheritedAssociateRoleAssignmentImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InheritedAssociateRoleAssignment @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).append(source).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .append("source", source) + .build(); + } + } 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 bc4385c5722..a9ea22df03f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

If the Cart already contains a CustomLineItem with the same slug, name, money, taxCategory, state, and Custom Fields, then only the quantity of the existing Custom Line Item is increased. If CustomLineItem shippingDetails are set, they are merged with the targets that already exist on the ItemShippingDetails of the Custom Line Item. In case of overlapping address keys the ItemShippingTarget quantity is summed up.

@@ -261,4 +263,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("money", money) + .append("name", name) + .append("key", key) + .append("quantity", quantity) + .append("slug", slug) + .append("taxCategory", taxCategory) + .append("externalTaxRate", externalTaxRate) + .append("shippingDetails", shippingDetails) + .append("custom", custom) + .append("priceMode", priceMode) + .build(); + } + } 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 index 88c3d69b1f8..470c4b97485 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

To add a custom Shipping Method (independent of the ShippingMethods managed through the Shipping Methods API) to the Cart, it must have the Multiple ShippingMode.

@@ -246,4 +248,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .append("shippingMethodName", shippingMethodName) + .append("shippingAddress", shippingAddress) + .append("shippingRate", shippingRate) + .append("shippingRateInput", shippingRateInput) + .append("taxCategory", taxCategory) + .append("externalTaxRate", externalTaxRate) + .append("deliveries", deliveries) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddDiscountCodeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddDiscountCodeActionImpl.java index 5c2776dbd65..e32adb38df6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddDiscountCodeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddDiscountCodeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adds a DiscountCode to the Cart to activate the related Cart Discounts. Adding a Discount Code is only possible if no DirectDiscount has been applied to the Cart. Discount Codes can be added to frozen Carts, but their DiscountCodeState is then DoesNotMatchCart.

@@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(code).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("code", code) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddItemShippingAddressActionImpl.java index 48008267fa7..b0eb482ba73 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adds an address to a Cart when shipping to multiple addresses is desired.

@@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddLineItemActionImpl.java index 25646ea96b9..56e0c0905db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem shippingDetails is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the externalPrice or externalTotalPrice is set in this update action. The LineItem price is set as described in LineItem Price selection.

@@ -337,4 +339,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .append("productId", productId) + .append("variantId", variantId) + .append("sku", sku) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("distributionChannel", distributionChannel) + .append("supplyChannel", supplyChannel) + .append("externalPrice", externalPrice) + .append("externalTotalPrice", externalTotalPrice) + .append("externalTaxRate", externalTaxRate) + .append("inventoryMode", inventoryMode) + .append("shippingDetails", shippingDetails) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddPaymentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddPaymentActionImpl.java index 18171b2a67b..347a1be552a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddPaymentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddPaymentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartAddPaymentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("payment", payment) + .build(); + } + } 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 index 58daf84ca91..1d186185812 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adds a Shipping Method for a specified shipping address to a Cart with Multiple ShippingMode.

@@ -208,4 +210,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .append("shippingMethod", shippingMethod) + .append("shippingAddress", shippingAddress) + .append("shippingRateInput", shippingRateInput) + .append("externalTaxRate", externalTaxRate) + .append("deliveries", deliveries) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShoppingListActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShoppingListActionImpl.java index 4cefd10a387..4d52d9e75ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShoppingListActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddShoppingListActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Adds all LineItems of a ShoppingList to the Cart.

@@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shoppingList", shoppingList) + .append("distributionChannel", distributionChannel) + .append("supplyChannel", supplyChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionImpl.java index 340e66b4a8e..0524298a13d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction @@ -129,4 +131,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("targetsDelta", targetsDelta) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.java index f16a1d6abae..e9852a25dbb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

To override the shipping details, see Set LineItem ShippingDetails.

@@ -128,4 +130,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("targetsDelta", targetsDelta) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemMoneyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemMoneyActionImpl.java index 816452dc1f0..11853c19b3f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemMoneyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemMoneyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartChangeCustomLineItemMoneyAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemPriceModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemPriceModeActionImpl.java index 52595134c69..b60d600ebb7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemPriceModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemPriceModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartChangeCustomLineItemPriceModeAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("mode", mode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemQuantityActionImpl.java index a3eb1fff6b7..db34265f2a2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeCustomLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

When multiple shipping addresses are set for a Custom Line Item, use the Add CustomLineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Custom Line Item quantity should be distributed over the sub-quantities, the shippingDetails field is kept in its current state to avoid data loss.

@@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeLineItemQuantityActionImpl.java index 28c058e4f96..92dc66dcb57 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the shippingDetails field is kept in its current state to avoid data loss.

@@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .append("externalPrice", externalPrice) + .append("externalTotalPrice", externalTotalPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxCalculationModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxCalculationModeActionImpl.java index fbcd9d529a4..fad1e8d9250 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxCalculationModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxCalculationModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

Changing the tax calculation mode leads to recalculation of taxes.

@@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxCalculationMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxCalculationMode", taxCalculationMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxModeActionImpl.java index 9ed0b9f6bd5..2c064daf082 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *
    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxRoundingModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxRoundingModeActionImpl.java index 71b85b41bce..6e2ea8a28eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxRoundingModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeTaxRoundingModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changing the tax rounding mode leads to recalculation of taxes.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxRoundingMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxRoundingMode", taxRoundingMode) + .build(); + } + } 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 188dabd4360..f189bd2a909 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDraft @@ -642,4 +644,38 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("currency", currency) + .append("key", key) + .append("customerId", customerId) + .append("customerEmail", customerEmail) + .append("customerGroup", customerGroup) + .append("anonymousId", anonymousId) + .append("businessUnit", businessUnit) + .append("store", store) + .append("lineItems", lineItems) + .append("customLineItems", customLineItems) + .append("taxMode", taxMode) + .append("externalTaxRateForShippingMethod", externalTaxRateForShippingMethod) + .append("taxRoundingMode", taxRoundingMode) + .append("taxCalculationMode", taxCalculationMode) + .append("inventoryMode", inventoryMode) + .append("billingAddress", billingAddress) + .append("shippingAddress", shippingAddress) + .append("shippingMethod", shippingMethod) + .append("shippingRateInput", shippingRateInput) + .append("shippingMode", shippingMode) + .append("customShipping", customShipping) + .append("shipping", shipping) + .append("itemShippingAddresses", itemShippingAddresses) + .append("discountCodes", discountCodes) + .append("country", country) + .append("locale", locale) + .append("origin", origin) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartFreezeCartActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartFreezeCartActionImpl.java index 47b19b8d859..23de484697c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartFreezeCartActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartFreezeCartActionImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changes the CartState from Active to Frozen. Results in a Frozen Cart. Fails with InvalidOperation error when the Cart is empty.

    @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } 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 f13d15c99a7..7d43f5fa416 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Cart @@ -912,4 +914,52 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("key", key) + .append("customerId", customerId) + .append("customerEmail", customerEmail) + .append("customerGroup", customerGroup) + .append("anonymousId", anonymousId) + .append("businessUnit", businessUnit) + .append("store", store) + .append("lineItems", lineItems) + .append("customLineItems", customLineItems) + .append("totalLineItemQuantity", totalLineItemQuantity) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("taxedShippingPrice", taxedShippingPrice) + .append("discountOnTotalPrice", discountOnTotalPrice) + .append("taxMode", taxMode) + .append("taxRoundingMode", taxRoundingMode) + .append("taxCalculationMode", taxCalculationMode) + .append("inventoryMode", inventoryMode) + .append("cartState", cartState) + .append("billingAddress", billingAddress) + .append("shippingAddress", shippingAddress) + .append("shippingMode", shippingMode) + .append("shippingKey", shippingKey) + .append("shippingInfo", shippingInfo) + .append("shippingRateInput", shippingRateInput) + .append("shippingCustomFields", shippingCustomFields) + .append("shipping", shipping) + .append("itemShippingAddresses", itemShippingAddresses) + .append("discountCodes", discountCodes) + .append("directDiscounts", directDiscounts) + .append("refusedGifts", refusedGifts) + .append("paymentInfo", paymentInfo) + .append("country", country) + .append("locale", locale) + .append("origin", origin) + .append("custom", custom) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartPagedQueryResponseImpl.java index b0166ee62b9..1611f265c5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of Cart.

    @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRecalculateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRecalculateActionImpl.java index 24c7827063c..d4c5742c3cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRecalculateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRecalculateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This update action does not set any Cart field in particular, but it triggers several Cart updates to bring prices and discounts to the latest state. Those can become stale over time when no Cart updates have been performed for a while and prices on related Products have changed in the meanwhile.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(updateProductData).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("updateProductData", updateProductData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartReferenceImpl.java index 737d8d07cdc..a092e3cbeb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a Cart.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveCustomLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveCustomLineItemActionImpl.java index 74858457092..9d0f2a2921e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveCustomLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveCustomLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This update action does not support specifying quantities, unlike the Remove LineItem update action.

    @@ -104,4 +106,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveDiscountCodeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveDiscountCodeActionImpl.java index 0aee76a7164..8ca2e7bdfbe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveDiscountCodeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveDiscountCodeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartRemoveDiscountCodeAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(discountCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("discountCode", discountCode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveItemShippingAddressActionImpl.java index 7310a5f6b9e..bc4e36f0ed3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    An address can only be removed if it is not referenced in any ItemShippingTarget of the Cart.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveLineItemActionImpl.java index fcac0194bb4..8e77ca853f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemoveLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    The LineItem price is updated as described in LineItem Price selection.

    @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .append("externalPrice", externalPrice) + .append("externalTotalPrice", externalTotalPrice) + .append("shippingDetailsToRemove", shippingDetailsToRemove) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemovePaymentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemovePaymentActionImpl.java index 166f8e5f559..5047a2ce427 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemovePaymentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartRemovePaymentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartRemovePaymentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("payment", payment) + .build(); + } + } 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 index 33c49f70224..9c6e2a14add 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removes a Shipping Method from a Cart that has the Multiple ShippingMode.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifier.java index 59fb85db51e..c58c3680100 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to a Cart.

    + *

    ResourceIdentifier to a Cart. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    * *
    * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface CartResourceIdentifier extends ResourceIdentifier, com.commerce String CART = "cart"; /** - *

    Unique identifier of the referenced Cart. Either id or key is required.

    + *

    Unique identifier of the referenced Cart. Required if key is absent.

    * @return id */ @@ -43,7 +43,7 @@ public interface CartResourceIdentifier extends ResourceIdentifier, com.commerce public String getId(); /** - *

    User-defined unique identifier of the referenced Cart. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Cart. Required if id is absent.

    * @return key */ @@ -51,14 +51,14 @@ public interface CartResourceIdentifier extends ResourceIdentifier, com.commerce public String getKey(); /** - *

    Unique identifier of the referenced Cart. Either id or key is required.

    + *

    Unique identifier of the referenced Cart. Required if key is absent.

    * @param id value to be set */ public void setId(final String id); /** - *

    User-defined unique identifier of the referenced Cart. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Cart. Required if id is absent.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifierBuilder.java index 71f2dc408a3..155f74f05fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class CartResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Cart. Either id or key is required.

    + *

    Unique identifier of the referenced Cart. Required if key is absent.

    * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public CartResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced Cart. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Cart. Required if id is absent.

    * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public CartResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

    Unique identifier of the referenced Cart. Either id or key is required.

    + *

    Unique identifier of the referenced Cart. Required if key is absent.

    * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced Cart. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Cart. Required if id is absent.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifierImpl.java index 03143d085ee..5e5fcb2948b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    ResourceIdentifier to a Cart.

    + *

    ResourceIdentifier to a Cart. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CartResourceIdentifierImpl implements CartResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced Cart. Either id or key is required.

    + *

    Unique identifier of the referenced Cart. Required if key is absent.

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

    User-defined unique identifier of the referenced Cart. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Cart. Required if id is absent.

    */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetAnonymousIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetAnonymousIdActionImpl.java index f1757bb5215..842b1e76114 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetAnonymousIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetAnonymousIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetAnonymousIdAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(anonymousId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("anonymousId", anonymousId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressActionImpl.java index 0bf88d830f6..06c49385197 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetBillingAddressAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressCustomFieldActionImpl.java index a3812fe3437..523cceb60fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetBillingAddressCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressCustomTypeActionImpl.java index f8b6d114352..09235438e60 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBillingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetBillingAddressCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBusinessUnitActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBusinessUnitActionImpl.java index 23ac94b11a1..52bb47dbef6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBusinessUnitActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetBusinessUnitActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Updates the Business Unit on the Cart. The Cart must have an existing Business Unit assigned already.

    @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(businessUnit).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("businessUnit", businessUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCartTotalTaxActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCartTotalTaxActionImpl.java index 07fbb7bb4a7..2901f557f75 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCartTotalTaxActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCartTotalTaxActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This update action results in the taxedPrice field being added to the Cart when the ExternalAmount TaxMode is used.

    @@ -109,4 +111,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("externalTotalGross", externalTotalGross) + .append("externalTaxPortions", externalTaxPortions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCountryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCountryActionImpl.java index 51871868f7b..cdc5a29a592 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCountryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCountryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the country can lead to changes in the LineItem prices.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(country).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("country", country) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomFieldActionImpl.java index 29161c5ea3e..bbc0d68da40 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemCustomFieldActionImpl.java index 0de65d1052b..fe7333b3b90 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetCustomLineItemCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemCustomTypeActionImpl.java index 51f8a119ae2..3fb5910ec64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetCustomLineItemCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemShippingDetailsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemShippingDetailsActionImpl.java index 44b0f5de3a6..1ee2fce288a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemShippingDetailsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemShippingDetailsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetCustomLineItemShippingDetailsAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("shippingDetails", shippingDetails) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemTaxAmountActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemTaxAmountActionImpl.java index 2e614231981..a3f8ed966cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemTaxAmountActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemTaxAmountActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Can be used if the Cart has the ExternalAmount TaxMode.

    @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("externalTaxAmount", externalTaxAmount) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemTaxRateActionImpl.java index 71096c7f11b..9f7177d665b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomLineItemTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Can be used if the Cart has the External TaxMode.

    @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("externalTaxRate", externalTaxRate) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomShippingMethodActionImpl.java index 2adbbfef3af..8ae9831dcaa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomShippingMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomShippingMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    To set the Cart's custom Shipping Method (independent of the ShippingMethods managed through the Shipping Methods API) the Cart must have the Single ShippingMode and a shippingAddress.

    @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingMethodName", shippingMethodName) + .append("shippingRate", shippingRate) + .append("taxCategory", taxCategory) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomTypeActionImpl.java index 1dfcf0a6e0a..f4e76f31200 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerEmailActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerEmailActionImpl.java index f14e6b5f0d1..7649b578631 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerEmailActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerEmailActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetCustomerEmailAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(email).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("email", email) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerGroupActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerGroupActionImpl.java index 06ca5855e8d..82654b389ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerGroupActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerGroupActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This update action can only be used if a Customer is not assigned to a Cart. If a Customer is already assigned, the Cart has the same Customer Group as the assigned Customer.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customerGroup).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customerGroup", customerGroup) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerIdActionImpl.java index 162cab949c0..93d78eefeb5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetCustomerIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the Cart's customerId can lead to updates on all its LineItem prices.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customerId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customerId", customerId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetDeleteDaysAfterLastModificationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetDeleteDaysAfterLastModificationActionImpl.java index 131fd3d9c94..c610e6f49ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetDeleteDaysAfterLastModificationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetDeleteDaysAfterLastModificationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Number of days after which a Cart with Active CartState is deleted since its last modification.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(deleteDaysAfterLastModification).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetDirectDiscountsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetDirectDiscountsActionImpl.java index e8fa7f61dcf..56a571dfa32 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetDirectDiscountsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetDirectDiscountsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adds a DirectDiscount, but only if no DiscountCode has been added to the Cart. Either a Discount Code or a Direct Discount can exist on a Cart at the same time.

    @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(discounts).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("discounts", discounts) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetItemShippingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetItemShippingAddressCustomFieldActionImpl.java index f5aa008fb34..c3c34c39040 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetItemShippingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetItemShippingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetItemShippingAddressCustomFieldAction @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetItemShippingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetItemShippingAddressCustomTypeActionImpl.java index 2d3442bbef0..743ae350d15 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetItemShippingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetItemShippingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetItemShippingAddressCustomTypeAction @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetKeyActionImpl.java index 71dd18ff5a9..6148aea36a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemCustomFieldActionImpl.java index 303e6e53ba8..b5c5e723cc6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetLineItemCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemCustomTypeActionImpl.java index 0a6ebc1568e..1fc53cdb5db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetLineItemCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemDistributionChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemDistributionChannelActionImpl.java index 4a2f970e233..4c3dfd07dee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemDistributionChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemDistributionChannelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting a distribution channel for a LineItem can lead to an updated price as described in LineItem Price selection.

    @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("distributionChannel", distributionChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemInventoryModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemInventoryModeActionImpl.java index ac1d69811da..ad66e1943ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemInventoryModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemInventoryModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetLineItemInventoryModeAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("inventoryMode", inventoryMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemPriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemPriceActionImpl.java index 36568593d21..51bafd8c196 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemPriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemPriceActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Sets the LineItem price and changes the priceMode to ExternalPrice LineItemPriceMode.

    @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("externalPrice", externalPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemShippingDetailsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemShippingDetailsActionImpl.java index 77cd65dff09..d90475bc0d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemShippingDetailsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemShippingDetailsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetLineItemShippingDetailsAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("shippingDetails", shippingDetails) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemSupplyChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemSupplyChannelActionImpl.java index acc8240aa24..ce668aa49b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemSupplyChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemSupplyChannelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Performing this action has no impact on inventory that should be reserved.

    @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("supplyChannel", supplyChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTaxAmountActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTaxAmountActionImpl.java index 88a51d7b650..edb5fe5620d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTaxAmountActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTaxAmountActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Can be used if the Cart has the ExternalAmount TaxMode.

    @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("externalTaxAmount", externalTaxAmount) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTaxRateActionImpl.java index 9b2e959d09b..8be426736a2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Can be used if the Cart has the External TaxMode.

    @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("externalTaxRate", externalTaxRate) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTotalPriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTotalPriceActionImpl.java index 85908ab70f1..101b05095f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTotalPriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLineItemTotalPriceActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Sets the LineItem totalPrice and price, and changes the priceMode to ExternalTotal LineItemPriceMode.

    @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("externalTotalPrice", externalTotalPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLocaleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLocaleActionImpl.java index 65ecac66d69..1357096bdc6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLocaleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetLocaleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetLocaleAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(locale).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("locale", locale) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressActionImpl.java index 2b1f80a551e..d570e46ae12 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the shipping address also sets the TaxRate of Line Items and calculates the TaxedPrice.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressCustomFieldActionImpl.java index 79bdd331fb4..4ba25e941a8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetShippingAddressCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressCustomTypeActionImpl.java index 73fcd837212..625727f6b21 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetShippingAddressCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } 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 index 41bb466583f..5757a753455 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartSetShippingCustomFieldAction @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingKey).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .append("name", name) + .append("value", value) + .build(); + } + } 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 index 4c6ecaea34f..be545ec8019 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This action sets, overwrites, or removes any existing Custom Type and Custom Fields for the Cart's shippingMethod or shipping.

    @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingKey).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodActionImpl.java index 60f85f88c99..20c662ee77b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    To set the Cart's Shipping Method the Cart must have the Single ShippingMode and a shippingAddress.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingMethod).append(externalTaxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingMethod", shippingMethod) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodTaxAmountActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodTaxAmountActionImpl.java index 69f4f5e0c4d..82dcdb81b6c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodTaxAmountActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodTaxAmountActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    A Shipping Method tax amount can be set if the Cart has the ExternalAmount TaxMode.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingKey).append(externalTaxAmount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .append("externalTaxAmount", externalTaxAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodTaxRateActionImpl.java index 3893ed06e01..88447517859 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingMethodTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    A Shipping Method Tax Rate can be set if the Cart has the External TaxMode.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingKey).append(externalTaxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingRateInputActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingRateInputActionImpl.java index 722fca8afd5..57b03fc2d58 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingRateInputActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartSetShippingRateInputActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Input used to select a ShippingRatePriceTier. If no matching tier can be found, or the input is not set, the default price for the shipping rate is used.

    @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingRateInput).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingRateInput", shippingRateInput) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUnfreezeCartActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUnfreezeCartActionImpl.java index 50205da8bad..ca3626e60cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUnfreezeCartActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUnfreezeCartActionImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changes the CartState from Frozen to Active. Reactivates a Frozen Cart. This action updates all prices in the Cart according to latest Prices on related Product Variants and Shipping Methods and by applying all discounts currently being active and applicable for the Cart.

    @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateActionImpl.java index f9870a49b53..83d341f2cbc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateImpl.java index 96d65d3e536..c2ebc4294c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateItemShippingAddressActionImpl.java index d43e637415e..eb430b26dc8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartUpdateItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Updates an address in itemShippingAddresses by keeping the Address key.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ClassificationShippingRateInputDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ClassificationShippingRateInputDraftImpl.java index 7f5bbef8863..1ba67928dac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ClassificationShippingRateInputDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ClassificationShippingRateInputDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ClassificationShippingRateInputDraft @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ClassificationShippingRateInputImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ClassificationShippingRateInputImpl.java index f23ac7903ab..b4f367b6600 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ClassificationShippingRateInputImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ClassificationShippingRateInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ClassificationShippingRateInput @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("label", label) + .build(); + } + } 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 0b5803d5853..6daebaa3fcb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomLineItemDraft @@ -243,4 +245,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("key", key) + .append("quantity", quantity) + .append("money", money) + .append("slug", slug) + .append("taxCategory", taxCategory) + .append("externalTaxRate", externalTaxRate) + .append("custom", custom) + .append("shippingDetails", shippingDetails) + .append("priceMode", priceMode) + .build(); + } + } 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 9fdf568e443..33dbcc67c75 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    A generic item that can be added to the Cart but is not bound to a Product that can be used for discounts (negative money), vouchers, complex cart rules, additional services, or fees. You control the lifecycle of this item.

    @@ -395,4 +397,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("name", name) + .append("money", money) + .append("taxedPrice", taxedPrice) + .append("taxedPricePortions", taxedPricePortions) + .append("totalPrice", totalPrice) + .append("slug", slug) + .append("quantity", quantity) + .append("state", state) + .append("taxCategory", taxCategory) + .append("taxRate", taxRate) + .append("perMethodTaxRate", perMethodTaxRate) + .append("discountedPricePerQuantity", discountedPricePerQuantity) + .append("custom", custom) + .append("shippingDetails", shippingDetails) + .append("priceMode", priceMode) + .build(); + } + } 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 index e4b3a84b603..dffc0c97343 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomShippingDraft @@ -231,4 +233,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("shippingMethodName", shippingMethodName) + .append("shippingAddress", shippingAddress) + .append("shippingRate", shippingRate) + .append("shippingRateInput", shippingRateInput) + .append("taxCategory", taxCategory) + .append("externalTaxRate", externalTaxRate) + .append("deliveries", deliveries) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountDraftImpl.java index b42aeaca65f..7a6325eeac4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Represents a CartDiscount that can only be associated with a single Cart or Order.

    @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(target).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("target", target) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountImpl.java index a5a1cbd6f83..a428adf32a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Represents a CartDiscount that is only associated with a single Cart or Order.

    @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(value).append(target).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("value", value) + .append("target", target) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountReferenceImpl.java index 74d836f5a10..d11c43d4e27 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DirectDiscountReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a DirectDiscount.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountCodeInfoImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountCodeInfoImpl.java index e7c1d9ee27b..e989dc9d9ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountCodeInfoImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountCodeInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeInfo @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(discountCode).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("discountCode", discountCode) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java index 2039c742543..41214f30a32 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountOnTotalPrice @@ -133,4 +135,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("discountedAmount", discountedAmount) + .append("includedDiscounts", includedDiscounts) + .append("discountedNetAmount", discountedNetAmount) + .append("discountedGrossAmount", discountedGrossAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPortionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPortionImpl.java index c8c2608f610..4009a119e50 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPortionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPortionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPortion @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(discount).append(discountedAmount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("discount", discount) + .append("discountedAmount", discountedAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceForQuantityImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceForQuantityImpl.java index 765f931e527..2cec8e7c176 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceForQuantityImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceForQuantityImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPriceForQuantity @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(quantity).append(discountedPrice).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quantity", quantity) + .append("discountedPrice", discountedPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceImpl.java index e3663c99b6b..1a4c01e48c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedLineItemPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPrice @@ -92,4 +94,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(includedDiscounts).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("includedDiscounts", includedDiscounts) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedTotalPricePortionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedTotalPricePortionImpl.java index 3025bd0f748..0bcab7719ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedTotalPricePortionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountedTotalPricePortionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedTotalPricePortion @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(discount).append(discountedAmount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("discount", discount) + .append("discountedAmount", discountedAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalLineItemTotalPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalLineItemTotalPriceImpl.java index de507ba8752..af3f93c544c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalLineItemTotalPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalLineItemTotalPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExternalLineItemTotalPrice @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(price).append(totalPrice).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("price", price) + .append("totalPrice", totalPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxAmountDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxAmountDraftImpl.java index 893ed327296..f8654d107fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxAmountDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxAmountDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Cannot be used in LineItemDraft or CustomLineItemDraft.

    @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalGross).append(taxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalGross", totalGross) + .append("taxRate", taxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftImpl.java index 2a6d21a60dc..a1b2ead99e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ExternalTaxRateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.

    @@ -173,4 +175,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("amount", amount) + .append("includedInPrice", includedInPrice) + .append("country", country) + .append("state", state) + .append("subRates", subRates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingDetailsDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingDetailsDraftImpl.java index 2bc49a27250..7621f60bef1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingDetailsDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingDetailsDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    For order creation and updates, the sum of the targets must match the quantity of the Line Items or Custom Line Items.

    @@ -72,4 +74,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(targets).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("targets", targets).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingDetailsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingDetailsImpl.java index 5e7b47427c0..3f7fd740ace 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingDetailsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ItemShippingDetailsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ItemShippingDetails @@ -94,4 +96,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(targets).append(valid).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("targets", targets) + .append("valid", valid) + .build(); + } + } 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 82e3a3e03bc..ed2b72c6a70 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Determines the address (as a reference to an address in itemShippingAddresses) and the quantity shipped to the address.

    @@ -107,4 +109,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(addressKey).append(quantity).append(shippingMethodKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("addressKey", addressKey) + .append("quantity", quantity) + .append("shippingMethodKey", shippingMethodKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemDraftImpl.java index ef0c96c3f13..f6978587866 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    For Product Variant identification, either the productId and variantId, or sku must be provided.

    @@ -343,4 +345,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("productId", productId) + .append("variantId", variantId) + .append("sku", sku) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("distributionChannel", distributionChannel) + .append("supplyChannel", supplyChannel) + .append("externalPrice", externalPrice) + .append("externalTotalPrice", externalTotalPrice) + .append("externalTaxRate", externalTaxRate) + .append("perMethodExternalTaxRate", perMethodExternalTaxRate) + .append("inventoryMode", inventoryMode) + .append("shippingDetails", shippingDetails) + .append("custom", custom) + .build(); + } + } 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 81d0444dacd..1de9bcc2b75 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    The representation of a Line Item in a Cart or in an Order.

    @@ -573,4 +575,35 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("productId", productId) + .append("productKey", productKey) + .append("name", name) + .append("productSlug", productSlug) + .append("productType", productType) + .append("variant", variant) + .append("price", price) + .append("quantity", quantity) + .append("totalPrice", totalPrice) + .append("discountedPricePerQuantity", discountedPricePerQuantity) + .append("taxedPrice", taxedPrice) + .append("taxedPricePortions", taxedPricePortions) + .append("state", state) + .append("taxRate", taxRate) + .append("perMethodTaxRate", perMethodTaxRate) + .append("supplyChannel", supplyChannel) + .append("distributionChannel", distributionChannel) + .append("priceMode", priceMode) + .append("lineItemMode", lineItemMode) + .append("inventoryMode", inventoryMode) + .append("shippingDetails", shippingDetails) + .append("custom", custom) + .append("addedAt", addedAt) + .append("lastModifiedAt", lastModifiedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodExternalTaxRateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodExternalTaxRateDraftImpl.java index 4eebaf92ed8..ffa86596519 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodExternalTaxRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/MethodExternalTaxRateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MethodExternalTaxRateDraft @@ -86,4 +88,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(shippingMethodKey).append(taxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("shippingMethodKey", shippingMethodKey) + .append("taxRate", taxRate) + .build(); + } + } 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 index 28efe4e9924..55cfcc21729 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MethodTaxRate @@ -86,4 +88,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(shippingMethodKey).append(taxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("shippingMethodKey", shippingMethodKey) + .append("taxRate", taxRate) + .build(); + } + } 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 index 881e8f67309..6946d20f389 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MethodTaxedPrice @@ -86,4 +88,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(shippingMethodKey).append(taxedPrice).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("shippingMethodKey", shippingMethodKey) + .append("taxedPrice", taxedPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ReplicaCartDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ReplicaCartDraftImpl.java index be9d621efca..a6cf401bf3c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ReplicaCartDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ReplicaCartDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Used for replicating an existing Cart or Order.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(reference).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("reference", reference) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftImpl.java index 28579703378..1fdea37f868 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ScoreShippingRateInputDraft @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(score).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("score", score) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputImpl.java index efbb1468419..58b11e431a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ScoreShippingRateInput @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(score).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("score", score) + .build(); + } + } 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 index c9a2242647e..392ee3360a8 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

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

    @@ -193,4 +195,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("shippingMethod", shippingMethod) + .append("shippingAddress", shippingAddress) + .append("shippingRateInput", shippingRateInput) + .append("externalTaxRate", externalTaxRate) + .append("deliveries", deliveries) + .append("custom", custom) + .build(); + } + } 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 index 89d0bf9a8f0..a27a0135e46 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Shipping @@ -150,4 +152,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("shippingKey", shippingKey) + .append("shippingInfo", shippingInfo) + .append("shippingAddress", shippingAddress) + .append("shippingRateInput", shippingRateInput) + .append("shippingCustomFields", shippingCustomFields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingInfoImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingInfoImpl.java index dc8bab34bc4..daa3406da3e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingInfoImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingInfo @@ -247,4 +249,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("shippingMethodName", shippingMethodName) + .append("price", price) + .append("shippingRate", shippingRate) + .append("taxedPrice", taxedPrice) + .append("taxRate", taxRate) + .append("taxCategory", taxCategory) + .append("shippingMethod", shippingMethod) + .append("deliveries", deliveries) + .append("discountedPrice", discountedPrice) + .append("shippingMethodState", shippingMethodState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputDraftImpl.java index 2b828b6360e..5c13cba8d99 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Generic type holding specifc ShippingRateInputDraft types.

    @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputImpl.java index 810b414eece..fbe848d8e18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ShippingRateInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRateInput @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxPortionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxPortionDraftImpl.java index 73ee8285862..b5e118356ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxPortionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxPortionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Represents the portions that sum up to the totalGross field of a TaxedPrice.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(rate).append(amount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("rate", rate) + .append("amount", amount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxPortionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxPortionImpl.java index e351209f365..8f443901199 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxPortionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxPortionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    The tax portions are calculated from the TaxRates. If a Tax Rate has SubRates, they are used and can be identified by name. Tax portions from Line Items with the same rate and name are accumulated to the same tax portion.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(rate).append(amount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("rate", rate) + .append("amount", amount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedItemPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedItemPriceImpl.java index f7b24fb5bae..692f38d8e9e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedItemPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedItemPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxedItemPrice @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalNet).append(totalGross).append(totalTax).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalNet", totalNet) + .append("totalGross", totalGross) + .append("totalTax", totalTax) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedPriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedPriceDraftImpl.java index 9725dc0bc47..dbf4ee43f23 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedPriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedPriceDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxedPriceDraft @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalNet).append(totalGross).append(taxPortions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalNet", totalNet) + .append("totalGross", totalGross) + .append("taxPortions", taxPortions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedPriceImpl.java index 444c28bbb1e..bf53c569556 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/TaxedPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxedPrice @@ -132,4 +134,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalNet", totalNet) + .append("totalGross", totalGross) + .append("taxPortions", taxPortions) + .append("totalTax", totalTax) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountAddStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountAddStoreActionImpl.java index 810c8ce8c32..1da80c2a537 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountAddStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountAddStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    If a referenced Store does not exist, a ReferencedResourceNotFound error is returned.

    @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeCartPredicateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeCartPredicateActionImpl.java index 78fd3665960..0e877295da6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeCartPredicateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeCartPredicateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountChangeCartPredicateAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(cartPredicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("cartPredicate", cartPredicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeIsActiveActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeIsActiveActionImpl.java index cb4b7f4ff14..33abbf89253 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeIsActiveActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeIsActiveActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountChangeIsActiveAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(isActive).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("isActive", isActive) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeNameActionImpl.java index e58e0eec726..a2e1706d1f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountChangeNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeRequiresDiscountCodeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeRequiresDiscountCodeActionImpl.java index e6cbe3487cf..e7f2e969f7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeRequiresDiscountCodeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeRequiresDiscountCodeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountChangeRequiresDiscountCodeAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(requiresDiscountCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("requiresDiscountCode", requiresDiscountCode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeSortOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeSortOrderActionImpl.java index cf844162610..461f6cdc4a2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeSortOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeSortOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountChangeSortOrderAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(sortOrder).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("sortOrder", sortOrder) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeStackingModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeStackingModeActionImpl.java index f4ae9cc69ec..12f16cda2f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeStackingModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeStackingModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountChangeStackingModeAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(stackingMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("stackingMode", stackingMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeTargetActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeTargetActionImpl.java index f1c23fe75fb..2d2a7a56b18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeTargetActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeTargetActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountChangeTargetAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(target).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("target", target) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeValueActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeValueActionImpl.java index 28d735b55cc..3cc31115006 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeValueActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountChangeValueActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changes the CartDiscountValue for relative, absolute and fixed price CartDiscounts. Changing to Gift Line Item is not supported.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountCustomLineItemsTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountCustomLineItemsTargetImpl.java index bd666ba90ab..9b408dcb2ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountCustomLineItemsTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountCustomLineItemsTargetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Discount is applied to CustomLineItems matching the predicate.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(predicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountDraftImpl.java index 725f3733557..c6b0c0cca65 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountDraft @@ -326,4 +328,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("key", key) + .append("description", description) + .append("value", value) + .append("cartPredicate", cartPredicate) + .append("target", target) + .append("sortOrder", sortOrder) + .append("stores", stores) + .append("isActive", isActive) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("requiresDiscountCode", requiresDiscountCode) + .append("stackingMode", stackingMode) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountImpl.java index bd698b0f30c..efc5e9e49be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscount @@ -460,4 +462,30 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("name", name) + .append("key", key) + .append("description", description) + .append("value", value) + .append("cartPredicate", cartPredicate) + .append("target", target) + .append("sortOrder", sortOrder) + .append("stores", stores) + .append("isActive", isActive) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("requiresDiscountCode", requiresDiscountCode) + .append("references", references) + .append("stackingMode", stackingMode) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountLineItemsTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountLineItemsTargetImpl.java index 9957c67b2d1..3c0557bff0f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountLineItemsTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountLineItemsTargetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Discount is applied to LineItems matching the predicate.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(predicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPagedQueryResponseImpl.java index 93ad4a00027..efc1b7b84c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of CartDiscount.

    @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountReferenceImpl.java index a5290905ba4..f6bafa5ed51 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a CartDiscount.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountRemoveStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountRemoveStoreActionImpl.java index 938a2256d8b..d7d3f57678a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountRemoveStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountRemoveStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    If a referenced Store does not exist, a ReferencedResourceNotFound error is returned.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifier.java index 9b8d5f1bd79..256eaf06083 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to a CartDiscount.

    + *

    ResourceIdentifier to a CartDiscount. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    * *
    * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface CartDiscountResourceIdentifier String CART_DISCOUNT = "cart-discount"; /** - *

    Unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    Unique identifier of the referenced CartDiscount. Required if key is absent.

    * @return id */ @@ -44,7 +44,7 @@ public interface CartDiscountResourceIdentifier public String getId(); /** - *

    User-defined unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CartDiscount. Required if id is absent.

    * @return key */ @@ -52,14 +52,14 @@ public interface CartDiscountResourceIdentifier public String getKey(); /** - *

    Unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    Unique identifier of the referenced CartDiscount. Required if key is absent.

    * @param id value to be set */ public void setId(final String id); /** - *

    User-defined unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CartDiscount. Required if id is absent.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifierBuilder.java index 7faf19004fd..f79a42baf3c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class CartDiscountResourceIdentifierBuilder implements BuilderUnique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    Unique identifier of the referenced CartDiscount. Required if key is absent.

    * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public CartDiscountResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CartDiscount. Required if id is absent.

    * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public CartDiscountResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

    Unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    Unique identifier of the referenced CartDiscount. Required if key is absent.

    * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CartDiscount. Required if id is absent.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifierImpl.java index cb0b7a3d33d..396418dd9fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    ResourceIdentifier to a CartDiscount.

    + *

    ResourceIdentifier to a CartDiscount. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CartDiscountResourceIdentifierImpl implements CartDiscountResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    Unique identifier of the referenced CartDiscount. Required if key is absent.

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

    User-defined unique identifier of the referenced CartDiscount. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CartDiscount. Required if id is absent.

    */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetCustomFieldActionImpl.java index f22888402c7..9809298a42b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetCustomTypeActionImpl.java index a7fb3b7c2b1..d2c353d7241 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetDescriptionActionImpl.java index 34364764b10..be5194e1b0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetKeyActionImpl.java index 43258a89528..0df223d0f0f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetStoresActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetStoresActionImpl.java index b88eeb0b342..5eccc12212b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetStoresActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetStoresActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    If a referenced Store does not exist, a ReferencedResourceNotFound error is returned.

    @@ -92,4 +94,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(stores).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("stores", stores) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidFromActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidFromActionImpl.java index de01481249b..d8a2568aa38 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidFromActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidFromActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountSetValidFromAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validFrom).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validFrom", validFrom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidFromAndUntilActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidFromAndUntilActionImpl.java index 2c7fa0348ea..3ac0ad9abfa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidFromAndUntilActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidFromAndUntilActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountSetValidFromAndUntilAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validFrom).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidUntilActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidUntilActionImpl.java index c0b53687073..3fc1b127957 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidUntilActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountSetValidUntilActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountSetValidUntilAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountShippingCostTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountShippingCostTargetImpl.java index 3d335d88415..a274271a258 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountShippingCostTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountShippingCostTargetImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Discount is applied to the shipping costs of the Cart.

    @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTargetImpl.java index b217aecced3..e7991d64164 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTargetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountTarget @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java index 716650d8d69..ee73158e275 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Discount is applied to the total price of the Cart.

    @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountUpdateActionImpl.java index 670fce1613f..ab53214e143 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountUpdateImpl.java index 1c44d61840d..884eeaf42c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java index 525da9901dd..c60f6e30571 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountValueAbsoluteDraft @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(money).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteImpl.java index 3b8f667f298..9ab0a88983e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Discounts the CartDiscountTarget by an absolute amount (not allowed for MultiBuyLineItemsTarget and MultiBuyCustomLineItemsTarget).

    @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(money).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueDraftImpl.java index 5af0e278a60..a4667d80bc2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountValueDraft @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftImpl.java index 209e4e6a67e..e7b840aa903 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Sets the DiscountedLineItemPrice of the CartDiscountLineItemsTarget or CartDiscountCustomLineItemsTarget to the value specified in the money field, if it is lower than the current Line Item price for the same currency. If the Line Item price is already discounted to a price equal to or lower than the respective price in the money field, this Discount is not applied.

    @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(money).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedImpl.java index 87379e5e1d5..96083bd1640 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Sets the DiscountedLineItemPrice of the CartDiscountLineItemsTarget or CartDiscountCustomLineItemsTarget to the value specified in the money field, if it is lower than the current Line Item price for the same currency. If the Line Item price is already discounted to a price equal to or lower than the respective price in the money field, this Discount is not applied. If the quantity of the Line Item eligible for the Discount is greater than 1, the fixed price discount is only applied to the Line Item portion for which the money value is lesser than their current price.

    @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(money).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueGiftLineItemDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueGiftLineItemDraftImpl.java index 19248a1d22a..1902733df6e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueGiftLineItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueGiftLineItemDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Can only be used in a CartDiscountDraft with no target specified. Hence, this type can not be used in the Change Value update action.

    @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("product", product) + .append("variantId", variantId) + .append("supplyChannel", supplyChannel) + .append("distributionChannel", distributionChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueGiftLineItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueGiftLineItemImpl.java index eca3a620bb7..1b5a2813499 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueGiftLineItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueGiftLineItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountValueGiftLineItem @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("product", product) + .append("variantId", variantId) + .append("supplyChannel", supplyChannel) + .append("distributionChannel", distributionChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueImpl.java index a303dcaa1d6..8c525092baf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountValue @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueRelativeDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueRelativeDraftImpl.java index 2926d5da4bf..3ad1b1376a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueRelativeDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueRelativeDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartDiscountValueRelativeDraft @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(permyriad).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("permyriad", permyriad) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueRelativeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueRelativeImpl.java index 5f6a2b3c971..b22ecd8090b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueRelativeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueRelativeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Discounts the CartDiscountTarget relative to its price.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(permyriad).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("permyriad", permyriad) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/MultiBuyCustomLineItemsTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/MultiBuyCustomLineItemsTargetImpl.java index b05f2cdae82..53938aeeffb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/MultiBuyCustomLineItemsTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/MultiBuyCustomLineItemsTargetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This Discount target is similar to MultiBuyLineItems, but is applied on Custom Line Items instead of Line Items.

    @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .append("triggerQuantity", triggerQuantity) + .append("discountedQuantity", discountedQuantity) + .append("maxOccurrence", maxOccurrence) + .append("selectionMode", selectionMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/MultiBuyLineItemsTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/MultiBuyLineItemsTargetImpl.java index eb2731718c9..a23c0b39088 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/MultiBuyLineItemsTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/MultiBuyLineItemsTargetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MultiBuyLineItemsTarget @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .append("triggerQuantity", triggerQuantity) + .append("discountedQuantity", discountedQuantity) + .append("maxOccurrence", maxOccurrence) + .append("selectionMode", selectionMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryAddAssetActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryAddAssetActionImpl.java index d42b2d54e52..c8a8e5a7485 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryAddAssetActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryAddAssetActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryAddAssetAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(asset).append(position).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("asset", asset) + .append("position", position) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeAssetNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeAssetNameActionImpl.java index 1634ca753bc..54eae5e4238 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeAssetNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeAssetNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryChangeAssetNameAction @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(assetId).append(assetKey).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeAssetOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeAssetOrderActionImpl.java index 8d953ff0e67..69ba499b0fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeAssetOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeAssetOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This update action changes the order of the assets array. The new order is defined by listing the ids of the Assets.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(assetOrder).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetOrder", assetOrder) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeNameActionImpl.java index f72d426a40b..2c28ec08943 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeOrderHintActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeOrderHintActionImpl.java index ba46d9d6806..293704607db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeOrderHintActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeOrderHintActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryChangeOrderHintAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(orderHint).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("orderHint", orderHint) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeParentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeParentActionImpl.java index 02dffb66813..9e16bb3b54f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeParentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryChangeParentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryChangeParentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(parent).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parent", parent) + .build(); + } + } 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 afa88cc957b..1c15bc2e226 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changing the slug produces the CategorySlugChanged Message.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(slug).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("slug", slug) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java index 5e5684c0d55..651108e5028 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryDraft @@ -281,4 +283,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("slug", slug) + .append("description", description) + .append("parent", parent) + .append("orderHint", orderHint) + .append("externalId", externalId) + .append("metaTitle", metaTitle) + .append("metaDescription", metaDescription) + .append("metaKeywords", metaKeywords) + .append("custom", custom) + .append("assets", assets) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryImpl.java index 7ff09b00127..14de6d863cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Category @@ -417,4 +419,28 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("name", name) + .append("slug", slug) + .append("description", description) + .append("ancestors", ancestors) + .append("parent", parent) + .append("orderHint", orderHint) + .append("externalId", externalId) + .append("metaTitle", metaTitle) + .append("metaDescription", metaDescription) + .append("metaKeywords", metaKeywords) + .append("custom", custom) + .append("assets", assets) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryPagedQueryResponseImpl.java index 01d6e30dc0b..b372087aac3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of Category.

    @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryReferenceImpl.java index 33c418206b6..af588f997e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a Category.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryRemoveAssetActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryRemoveAssetActionImpl.java index 28cf037be2e..b98d94ee25d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryRemoveAssetActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryRemoveAssetActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryRemoveAssetAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(assetId).append(assetKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetId", assetId) + .append("assetKey", assetKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifier.java index 5a8aa83d608..c5dd729c054 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to a Category.

    + *

    ResourceIdentifier to a Category. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    * *
    * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface CategoryResourceIdentifier String CATEGORY = "category"; /** - *

    Unique identifier of the referenced Category. Either id or key is required.

    + *

    Unique identifier of the referenced Category. Required if key is absent.

    * @return id */ @@ -44,7 +44,7 @@ public interface CategoryResourceIdentifier public String getId(); /** - *

    User-defined unique identifier of the referenced Category. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Category. Required if id is absent.

    * @return key */ @@ -52,14 +52,14 @@ public interface CategoryResourceIdentifier public String getKey(); /** - *

    Unique identifier of the referenced Category. Either id or key is required.

    + *

    Unique identifier of the referenced Category. Required if key is absent.

    * @param id value to be set */ public void setId(final String id); /** - *

    User-defined unique identifier of the referenced Category. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Category. Required if id is absent.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifierBuilder.java index 577c2864377..992aeb10dac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class CategoryResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Category. Either id or key is required.

    + *

    Unique identifier of the referenced Category. Required if key is absent.

    * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public CategoryResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced Category. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Category. Required if id is absent.

    * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public CategoryResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

    Unique identifier of the referenced Category. Either id or key is required.

    + *

    Unique identifier of the referenced Category. Required if key is absent.

    * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced Category. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Category. Required if id is absent.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifierImpl.java index 0717a19b1b9..0082737ab8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    ResourceIdentifier to a Category.

    + *

    ResourceIdentifier to a Category. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryResourceIdentifierImpl implements CategoryResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced Category. Either id or key is required.

    + *

    Unique identifier of the referenced Category. Required if key is absent.

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

    User-defined unique identifier of the referenced Category. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Category. Required if id is absent.

    */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetCustomFieldActionImpl.java index f3b6e5f712f..539c2031e5f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetAssetCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetCustomTypeActionImpl.java index fcaf758d64a..1d248cf69c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetAssetCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetDescriptionActionImpl.java index 941a381a2c5..f1ad239b13c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetAssetDescriptionAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetKeyActionImpl.java index d6497b35168..90f176bbf31 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Set or remove the key of an Asset.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(assetId).append(assetKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetId", assetId) + .append("assetKey", assetKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetSourcesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetSourcesActionImpl.java index 0c03f37fe4c..2a0bba9dc04 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetSourcesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetSourcesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetAssetSourcesAction @@ -122,4 +124,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(assetId).append(assetKey).append(sources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("sources", sources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetTagsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetTagsActionImpl.java index b5867ee6dcb..d947a9f6dcb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetTagsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetAssetTagsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetAssetTagsAction @@ -121,4 +123,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(assetId).append(assetKey).append(tags).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("tags", tags) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetCustomFieldActionImpl.java index c57ad3c3df3..9ffb6d4d9a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetCustomTypeActionImpl.java index 7c2561f5dd1..842ad7f21bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetDescriptionActionImpl.java index 10b19277e9d..2e71a2ea262 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetExternalIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetExternalIdActionImpl.java index 1dda387307e..1cfc0a1ff86 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetExternalIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetExternalIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This update action sets a new ID that can be used as an additional identifier for external systems like Customer Relationship Management (CRM) or Enterprise Resource Planning (ERP).

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(externalId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("externalId", externalId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetKeyActionImpl.java index a46b413ad8f..d8c084df1be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaDescriptionActionImpl.java index 4264eda7fb0..1b907a9e863 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetMetaDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(metaDescription).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("metaDescription", metaDescription) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaKeywordsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaKeywordsActionImpl.java index c32010189ab..f825e97eec6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaKeywordsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaKeywordsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetMetaKeywordsAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(metaKeywords).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("metaKeywords", metaKeywords) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaTitleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaTitleActionImpl.java index e9096fb4126..5980d9a4833 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaTitleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategorySetMetaTitleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategorySetMetaTitleAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(metaTitle).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("metaTitle", metaTitle) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryUpdateActionImpl.java index 6ca086e5d93..c67a6e13ec3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryUpdateImpl.java index f401ad02eca..f4d689b5dd6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelAddRolesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelAddRolesActionImpl.java index e3d26d87e47..1994432ceca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelAddRolesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelAddRolesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelAddRolesAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(roles).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("roles", roles) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeDescriptionActionImpl.java index 8bb35b5b845..62ba1ef690d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelChangeDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeKeyActionImpl.java index f1c124f13b2..a78fe0a33cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelChangeKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeNameActionImpl.java index a6b5e115740..978e483cf33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelDraftImpl.java index 80d3785f272..543df4411c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelDraft @@ -187,4 +189,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("roles", roles) + .append("name", name) + .append("description", description) + .append("address", address) + .append("custom", custom) + .append("geoLocation", geoLocation) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelImpl.java index a61af5ff633..a010c1e25c0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Channel @@ -320,4 +322,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("roles", roles) + .append("name", name) + .append("description", description) + .append("address", address) + .append("reviewRatingStatistics", reviewRatingStatistics) + .append("custom", custom) + .append("geoLocation", geoLocation) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelPagedQueryResponseImpl.java index 7b0acec9151..7501bd5c562 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of Channel.

    @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelReferenceImpl.java index 5d04c476c03..0a21c47dbd2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a Channel.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelRemoveRolesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelRemoveRolesActionImpl.java index 4cafed7d36f..f99f7e3e0c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelRemoveRolesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelRemoveRolesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelRemoveRolesAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(roles).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("roles", roles) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifier.java index ab80c5cb20c..7ceedcc10e5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to a Channel.

    + *

    ResourceIdentifier to a Channel. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    * *
    * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ChannelResourceIdentifier String CHANNEL = "channel"; /** - *

    Unique identifier of the referenced Channel. Either id or key is required.

    + *

    Unique identifier of the referenced Channel. Required if key is absent.

    * @return id */ @@ -44,7 +44,7 @@ public interface ChannelResourceIdentifier public String getId(); /** - *

    User-defined unique identifier of the referenced Channel. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Channel. Required if id is absent.

    * @return key */ @@ -52,14 +52,14 @@ public interface ChannelResourceIdentifier public String getKey(); /** - *

    Unique identifier of the referenced Channel. Either id or key is required.

    + *

    Unique identifier of the referenced Channel. Required if key is absent.

    * @param id value to be set */ public void setId(final String id); /** - *

    User-defined unique identifier of the referenced Channel. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Channel. Required if id is absent.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifierBuilder.java index c91f17bcbe8..c993a7084e0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ChannelResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Channel. Either id or key is required.

    + *

    Unique identifier of the referenced Channel. Required if key is absent.

    * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ChannelResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced Channel. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Channel. Required if id is absent.

    * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ChannelResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

    Unique identifier of the referenced Channel. Either id or key is required.

    + *

    Unique identifier of the referenced Channel. Required if key is absent.

    * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced Channel. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Channel. Required if id is absent.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifierImpl.java index f2a3c073cbb..5cdd535982d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    ResourceIdentifier to a Channel.

    + *

    ResourceIdentifier to a Channel. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ChannelResourceIdentifierImpl implements ChannelResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced Channel. Either id or key is required.

    + *

    Unique identifier of the referenced Channel. Required if key is absent.

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

    User-defined unique identifier of the referenced Channel. Either id or key is required.

    + *

    User-defined unique identifier of the referenced Channel. Required if id is absent.

    */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressActionImpl.java index e8f6b5da6a3..21328a46aa4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelSetAddressAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressCustomFieldActionImpl.java index ceb02893ac5..890cb15711a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelSetAddressCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressCustomTypeActionImpl.java index 970d83e19fb..7f41e5d37bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelSetAddressCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetCustomFieldActionImpl.java index 320f4828385..14c938ac07f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetCustomTypeActionImpl.java index a31c7f1af41..f09a6caa1d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetGeoLocationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetGeoLocationActionImpl.java index 357fef5c299..7792404b493 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetGeoLocationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetGeoLocationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelSetGeoLocationAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(geoLocation).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("geoLocation", geoLocation) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetRolesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetRolesActionImpl.java index 3007d8bd6cd..4b4b33782dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetRolesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelSetRolesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelSetRolesAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(roles).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("roles", roles) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelUpdateActionImpl.java index 04532214b46..0746035e8f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelUpdateImpl.java index 0bb5cf7644c..51d58f248aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/channel/ChannelUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChannelUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AddressDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AddressDraftImpl.java index 13584144eaa..3fda6a4be78 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AddressDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AddressDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Address type to be used on write methods. Optionally, use the custom field in addition to the fields of a BaseAddress.

    @@ -535,4 +537,35 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("country", country) + .append("title", title) + .append("salutation", salutation) + .append("firstName", firstName) + .append("lastName", lastName) + .append("streetName", streetName) + .append("streetNumber", streetNumber) + .append("additionalStreetInfo", additionalStreetInfo) + .append("postalCode", postalCode) + .append("city", city) + .append("region", region) + .append("state", state) + .append("company", company) + .append("department", department) + .append("building", building) + .append("apartment", apartment) + .append("pOBox", pOBox) + .append("phone", phone) + .append("mobile", mobile) + .append("email", email) + .append("fax", fax) + .append("additionalAddressInfo", additionalAddressInfo) + .append("externalId", externalId) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AddressImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AddressImpl.java index 032bfbe991b..c9f03f4abaf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AddressImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AddressImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Address type returned by read methods. Optionally, the custom field can be present in addition to the fields of a BaseAddress.

    @@ -534,4 +536,35 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("country", country) + .append("title", title) + .append("salutation", salutation) + .append("firstName", firstName) + .append("lastName", lastName) + .append("streetName", streetName) + .append("streetNumber", streetNumber) + .append("additionalStreetInfo", additionalStreetInfo) + .append("postalCode", postalCode) + .append("city", city) + .append("region", region) + .append("state", state) + .append("company", company) + .append("department", department) + .append("building", building) + .append("apartment", apartment) + .append("pOBox", pOBox) + .append("phone", phone) + .append("mobile", mobile) + .append("email", email) + .append("fax", fax) + .append("additionalAddressInfo", additionalAddressInfo) + .append("externalId", externalId) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetDimensionsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetDimensionsImpl.java index 33bb444fc69..0589e3151cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetDimensionsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetDimensionsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Dimensions of the Asset source specified by the number of pixels.

    @@ -81,4 +83,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(w).append(h).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("w", w).append("h", h).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetDraftImpl.java index 8dc419b771d..675f2c4f20f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssetDraft @@ -173,4 +175,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("sources", sources) + .append("name", name) + .append("description", description) + .append("tags", tags) + .append("custom", custom) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetImpl.java index 5a723641274..0ffd047fc71 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Asset @@ -191,4 +193,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("sources", sources) + .append("name", name) + .append("description", description) + .append("tags", tags) + .append("custom", custom) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetSourceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetSourceImpl.java index 9c707f0c92b..f646a1e981e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetSourceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetSourceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Representation of an Asset in a specific format, for example a video in a certain encoding, or an image in a certain resolution.

    @@ -121,4 +123,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(uri).append(key).append(dimensions).append(contentType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("uri", uri) + .append("key", key) + .append("dimensions", dimensions) + .append("contentType", contentType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/BaseAddressImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/BaseAddressImpl.java index 1d019cdafb3..f437f596931 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/BaseAddressImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/BaseAddressImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Polymorphic base type that represents a postal address and contact details. Depending on the read or write action, it can be either Address or AddressDraft that only differ in the data type for the optional custom field.

    @@ -516,4 +518,34 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("country", country) + .append("title", title) + .append("salutation", salutation) + .append("firstName", firstName) + .append("lastName", lastName) + .append("streetName", streetName) + .append("streetNumber", streetNumber) + .append("additionalStreetInfo", additionalStreetInfo) + .append("postalCode", postalCode) + .append("city", city) + .append("region", region) + .append("state", state) + .append("company", company) + .append("department", department) + .append("building", building) + .append("apartment", apartment) + .append("pOBox", pOBox) + .append("phone", phone) + .append("mobile", mobile) + .append("email", email) + .append("fax", fax) + .append("additionalAddressInfo", additionalAddressInfo) + .append("externalId", externalId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/BaseResourceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/BaseResourceImpl.java index a58eb22217e..72d6aa49cb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/BaseResourceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/BaseResourceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * BaseResource @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyDraftImpl.java index f838960c4d9..b177be5be48 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This draft type is the alternative to Money.

    @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .append("type", type) + .append("fractionDigits", fractionDigits) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyImpl.java index e1f488bfe50..75f88b4f219 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Object that stores cent amounts in a specific currency.

    @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .append("type", type) + .append("fractionDigits", fractionDigits) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ClientLoggingImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ClientLoggingImpl.java index 7c4e3b2e4ee..ed82aff3ea2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ClientLoggingImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ClientLoggingImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    These objects represent information about which API Client created or modified a resource. For more information, see Client Logging.

    @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("clientId", clientId) + .append("externalUserId", externalUserId) + .append("customer", customer) + .append("anonymousId", anonymousId) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CreatedByImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CreatedByImpl.java index a8d55a735fb..7c0479350e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CreatedByImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CreatedByImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

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

    @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("clientId", clientId) + .append("externalUserId", externalUserId) + .append("customer", customer) + .append("anonymousId", anonymousId) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftImpl.java index 6c4743194a8..e943ee5a0e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedPriceDraft @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(discount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("discount", discount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceImpl.java index 6eabd105a27..66e88165db8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedPrice @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(discount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("discount", discount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/GeoJsonImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/GeoJsonImpl.java index b5bf1e7392b..7daeaf3b84a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/GeoJsonImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/GeoJsonImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    GeoJSON Geometry represents a Geometry Object as defined in the GeoJSON standard.

    @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/GeoJsonPointImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/GeoJsonPointImpl.java index 13c9e029be9..6df7296291b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/GeoJsonPointImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/GeoJsonPointImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GeoJsonPoint @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(coordinates).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("coordinates", coordinates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyDraftImpl.java index fe9e19e5b65..c1a69201392 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Money draft object to store an amount of a fraction of the smallest indivisible unit of the specified currency.

    @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .append("type", type) + .append("fractionDigits", fractionDigits) + .append("preciseAmount", preciseAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyImpl.java index 142a0f0f57d..eb70dea34d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Money object that stores an amount of a fraction of the smallest indivisible unit of the specified currency.

    @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .append("type", type) + .append("fractionDigits", fractionDigits) + .append("preciseAmount", preciseAmount) + .build(); + } + } 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 c6325e634f4..bf33bbcbd6a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ImageDimensions @@ -81,4 +83,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(w).append(h).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("w", w).append("h", h).build(); + } + } 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 7e2f7450493..42a42e6f47f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Image @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(url).append(dimensions).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("url", url) + .append("dimensions", dimensions) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/KeyReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/KeyReferenceImpl.java index bef3d99b1a1..b6fb0c8ca28 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/KeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/KeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    A KeyReference represents a loose reference to another resource in the same Project identified by the resource's key field. If available, the key is immutable and mandatory. KeyReferences do not support Reference Expansion.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/LastModifiedByImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/LastModifiedByImpl.java index a7884e9d6bc..01563cb6d7a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/LastModifiedByImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/LastModifiedByImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

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

    @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("clientId", clientId) + .append("externalUserId", externalUserId) + .append("customer", customer) + .append("anonymousId", anonymousId) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PagedQueryResponseImpl.java index 03496700571..018911b3693 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PagedQueryResponse @@ -166,4 +168,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .append("meta", meta) + .build(); + } + } 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 6295c5b0e63..0ce8b2ed82b 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

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

    @@ -251,4 +253,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("value", value) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("discounted", discounted) + .append("tiers", tiers) + .append("custom", custom) + .build(); + } + } 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 e506c91f221..f77e2984e00 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

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

    @@ -263,4 +265,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("value", value) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("discounted", discounted) + .append("tiers", tiers) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftImpl.java index 4211d644dac..955a9a5a3b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Specifies a Price tier that applies when the minimum quantity for the LineItem of a ProductVariant with the related Price is reached in a Cart.

    @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(minimumQuantity).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("minimumQuantity", minimumQuantity) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierImpl.java index 63b72109d9c..59fa60ee47e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    A Price tier is selected instead of the default Price when a certain quantity of the ProductVariant is added to a Cart and ordered. For example: the Price can be lower if more than 10 items are ordered. If no Price tier is found for the Order quantity, the base Price is used. A Price tier is applied for the entire quantity of a Product Variant put as LineItem in a Cart as soon as the minimum quantity for the Price tier is reached. The Price tier is applied per Line Item of the Product Variant. If, for example, the same Product Variant appears in the same Cart as several Line Items, (what can be achieved by different values of a Custom Field on the Line Items) for each Line Item the minimum quantity must be reached to get the Price tier.

    @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(minimumQuantity).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("minimumQuantity", minimumQuantity) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/QueryPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/QueryPriceImpl.java index 21f79b07066..582dafe72cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/QueryPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/QueryPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QueryPrice @@ -245,4 +247,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("value", value) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("discounted", discounted) + .append("custom", custom) + .append("tiers", tiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceImpl.java index a59ca22d455..c57e1bd1ced 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

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

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ResourceIdentifierImpl.java index 4c4a0f48283..4397405c65f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ResourceIdentifierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Draft type to create a Reference or a KeyReference to a resource. Provide either the id or (wherever supported) the key of the resource to reference, but depending on the API endpoint the response returns either a Reference or a KeyReference. For example, the field parent of a CategoryDraft takes a ResourceIdentifier for its value while the value of the corresponding field of a Category is a Reference.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } 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 8b4adbe4c6d..213c1708687 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

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

    @@ -242,4 +244,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("value", value) + .append("currentValue", currentValue) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("discounted", discounted) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyDraftImpl.java index 5a202d51d0e..79e9ecb37d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Base polymorphic money type containing common fields for Money and HighPrecisionMoneyDraft.

    @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .append("type", type) + .append("fractionDigits", fractionDigits) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyImpl.java index 60434575c71..83714750a18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Base polymorphic read-only money type that stores currency in cent precision or high precision, that is in sub-cents.

    @@ -130,4 +132,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .append("type", type) + .append("fractionDigits", fractionDigits) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/UpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/UpdateActionImpl.java index 3ab008b189c..b1a71ca02c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/UpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/UpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * UpdateAction @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/UpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/UpdateImpl.java index 210424af4ce..3526dce941d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/UpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/UpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Update @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectDraftImpl.java index 25b5e3144d5..5df416098ec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomObjectDraft @@ -120,4 +122,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(container).append(key).append(value).append(version).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("container", container) + .append("key", key) + .append("value", value) + .append("version", version) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectImpl.java index 12aef244359..8e7615122c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomObject @@ -219,4 +221,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("container", container) + .append("key", key) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectPagedQueryResponseImpl.java index 08aa7b54e85..a644926172e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of CustomObject.

    @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectReferenceImpl.java index dc3cfdced33..36fe284a637 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object/CustomObjectReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a CustomObject.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddAddressActionImpl.java index 948f2583572..454667effc8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding an address to the Customer produces the CustomerAddressAdded Message.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddBillingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddBillingAddressIdActionImpl.java index 33e452b7205..9c8b3e398d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddBillingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddBillingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adds an Address from the addresses array to billingAddressIds. Either addressId or addressKey is required.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddShippingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddShippingAddressIdActionImpl.java index 5a8b61641b4..67f826a09dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddShippingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddShippingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adds an Address from the addresses array to shippingAddressIds. Either addressId or addressKey is required.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddStoreActionImpl.java index 59244cd32cf..b29d072f6ea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerAddStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Associates the Customer with a Store.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangeAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangeAddressActionImpl.java index 3ff38e91ec4..f3b03e9e3f8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangeAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangeAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changing an address of the Customer produces the CustomerAddressChanged Message.

    @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangeEmailActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangeEmailActionImpl.java index c58bb534a3f..688cab8a067 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangeEmailActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangeEmailActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changing the email of the Customer produces the CustomerEmailChanged Message.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(email).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("email", email) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangePasswordImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangePasswordImpl.java index def85a2fd41..92a9ec4d946 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangePasswordImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerChangePasswordImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerChangePassword @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("currentPassword", currentPassword) + .append("newPassword", newPassword) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerCreateEmailTokenImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerCreateEmailTokenImpl.java index 87a9b579f2d..a0c338382b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerCreateEmailTokenImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerCreateEmailTokenImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerCreateEmailToken @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(version).append(ttlMinutes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("ttlMinutes", ttlMinutes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerCreatePasswordResetTokenImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerCreatePasswordResetTokenImpl.java index ec52749a1e5..6c58af3daab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerCreatePasswordResetTokenImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerCreatePasswordResetTokenImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerCreatePasswordResetToken @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(email).append(ttlMinutes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("email", email) + .append("ttlMinutes", ttlMinutes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java index 069768b527a..5e3405a739f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerDraft @@ -585,4 +587,36 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("customerNumber", customerNumber) + .append("externalId", externalId) + .append("email", email) + .append("password", password) + .append("firstName", firstName) + .append("lastName", lastName) + .append("middleName", middleName) + .append("title", title) + .append("anonymousCartId", anonymousCartId) + .append("anonymousCart", anonymousCart) + .append("anonymousId", anonymousId) + .append("dateOfBirth", dateOfBirth) + .append("companyName", companyName) + .append("vatId", vatId) + .append("addresses", addresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("shippingAddresses", shippingAddresses) + .append("defaultBillingAddress", defaultBillingAddress) + .append("billingAddresses", billingAddresses) + .append("isEmailVerified", isEmailVerified) + .append("customerGroup", customerGroup) + .append("custom", custom) + .append("locale", locale) + .append("salutation", salutation) + .append("stores", stores) + .append("authenticationMode", authenticationMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceImpl.java index e9b4198691c..e73619fbb56 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a CustomerToken for email verification.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailVerifyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailVerifyImpl.java index 659797c6814..7ecdfdfd893 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailVerifyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailVerifyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerEmailVerify @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(tokenValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("tokenValue", tokenValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerImpl.java index b7fdad41381..e428e9d5b1e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    If stores is not empty, the Customer is specific to those Stores.

    @@ -636,4 +638,39 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("key", key) + .append("customerNumber", customerNumber) + .append("externalId", externalId) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("email", email) + .append("password", password) + .append("firstName", firstName) + .append("lastName", lastName) + .append("middleName", middleName) + .append("title", title) + .append("dateOfBirth", dateOfBirth) + .append("companyName", companyName) + .append("vatId", vatId) + .append("addresses", addresses) + .append("defaultShippingAddressId", defaultShippingAddressId) + .append("shippingAddressIds", shippingAddressIds) + .append("defaultBillingAddressId", defaultBillingAddressId) + .append("billingAddressIds", billingAddressIds) + .append("isEmailVerified", isEmailVerified) + .append("customerGroup", customerGroup) + .append("custom", custom) + .append("locale", locale) + .append("salutation", salutation) + .append("stores", stores) + .append("authenticationMode", authenticationMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPagedQueryResponseImpl.java index 815f49717c4..9446efe086a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of Customer.

    @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceImpl.java index 66436949b03..9c43756ab35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a CustomerToken for password reset.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerReferenceImpl.java index 11075b5a7c0..8bad60e0911 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a Customer.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveAddressActionImpl.java index b9c836305cb..461f9630ea2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removing an address from the Customer produces the CustomerAddressRemoved Message.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveBillingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveBillingAddressIdActionImpl.java index 34ddea771b7..49a8c05018e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveBillingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveBillingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removes a billing address from billingAddressesIds. If the billing address is the default billing address, the defaultBillingAddressId is unset. Either addressId or addressKey is required.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveShippingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveShippingAddressIdActionImpl.java index 99a5a7f6073..fa3055c4fc3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveShippingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveShippingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removes a shipping address from shippingAddressesIds. If the shipping address is the default shipping address, the defaultShippingAddressId is unset. Either addressId or addressKey is required.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveStoreActionImpl.java index 6bff2e9e26e..0dc39465243 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerRemoveStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removes the association to a Store from the Customer. If no more Stores are assigned, the Customer becomes a global Customer.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResetPasswordImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResetPasswordImpl.java index 694752f3e4b..2c45bb5c6f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResetPasswordImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResetPasswordImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerResetPassword @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(tokenValue).append(newPassword).append(version).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("tokenValue", tokenValue) + .append("newPassword", newPassword) + .append("version", version) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifier.java index 52a29b84737..9234f3ae7c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to a Customer. Either id or key is required.

    + *

    ResourceIdentifier to a Customer. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    * *
    * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface CustomerResourceIdentifier String CUSTOMER = "customer"; /** - *

    Unique identifier of the referenced Customer.

    + *

    Unique identifier of the referenced Customer. Required if key is absent.

    * @return id */ @@ -44,7 +44,7 @@ public interface CustomerResourceIdentifier public String getId(); /** - *

    User-defined unique identifier of the referenced Customer.

    + *

    User-defined unique identifier of the referenced Customer. Required if id is absent.

    * @return key */ @@ -52,14 +52,14 @@ public interface CustomerResourceIdentifier public String getKey(); /** - *

    Unique identifier of the referenced Customer.

    + *

    Unique identifier of the referenced Customer. Required if key is absent.

    * @param id value to be set */ public void setId(final String id); /** - *

    User-defined unique identifier of the referenced Customer.

    + *

    User-defined unique identifier of the referenced Customer. Required if id is absent.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifierBuilder.java index 2e53e573c8f..b843b895782 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class CustomerResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Customer.

    + *

    Unique identifier of the referenced Customer. Required if key is absent.

    * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public CustomerResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced Customer.

    + *

    User-defined unique identifier of the referenced Customer. Required if id is absent.

    * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public CustomerResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

    Unique identifier of the referenced Customer.

    + *

    Unique identifier of the referenced Customer. Required if key is absent.

    * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced Customer.

    + *

    User-defined unique identifier of the referenced Customer. Required if id is absent.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifierImpl.java index 0ed53b076e9..a56f38eb74e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    ResourceIdentifier to a Customer. Either id or key is required.

    + *

    ResourceIdentifier to a Customer. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerResourceIdentifierImpl implements CustomerResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced Customer.

    + *

    Unique identifier of the referenced Customer. Required if key is absent.

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

    User-defined unique identifier of the referenced Customer.

    + *

    User-defined unique identifier of the referenced Customer. Required if id is absent.

    */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAddressCustomFieldActionImpl.java index 741d839f1e1..34e0e769881 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding a Custom Field to an Address of a Customer generates the CustomerAddressCustomFieldAdded Message, removing one generates the CustomerAddressCustomFieldRemoved Message, and updating an existing one generates the CustomerAddressCustomFieldChanged Message.

    @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAddressCustomTypeActionImpl.java index 94f7ee7e7b2..2d80a5e0061 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding or updating a Custom Type on an Address of a Customer generates the CustomerAddressCustomTypeSet Message, and removing one generates the CustomerAddressCustomTypeRemoved Message.

    @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAuthenticationModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAuthenticationModeActionImpl.java index f23f25071e0..f07249e62ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAuthenticationModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetAuthenticationModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSetAuthenticationModeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(authMode).append(password).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("authMode", authMode) + .append("password", password) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCompanyNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCompanyNameActionImpl.java index 04eb7f4d201..85d79f742ed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCompanyNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCompanyNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting a company name produces the CustomerCompanyNameSet Message.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(companyName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("companyName", companyName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomFieldActionImpl.java index c43f291e3d2..cfee97f0286 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding a Custom Field to a Customer generates the CustomerCustomFieldAdded Message, removing one generates the CustomerCustomFieldRemoved Message, and updating an existing one generates the CustomerCustomFieldChanged Message.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomTypeActionImpl.java index 3c422dc9b53..fc2932f02c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding or updating a Custom Type on a Customer generates the CustomerCustomTypeSet Message, removing one generates the CustomerCustomTypeRemoved Message.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomerGroupActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomerGroupActionImpl.java index a0f1e4fef45..a9d0768174d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomerGroupActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomerGroupActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the Customer Group of the Customer produces the CustomerGroupSet Message.

    @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customerGroup).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customerGroup", customerGroup) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomerNumberActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomerNumberActionImpl.java index 8a97224a21e..4372a5a75b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomerNumberActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetCustomerNumberActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Sets a new ID that can be used to refer to a Customer in a human-reabable way (for use in emails, invoices, etc).

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customerNumber).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customerNumber", customerNumber) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDateOfBirthActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDateOfBirthActionImpl.java index 0225b6eac69..91839be9050 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDateOfBirthActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDateOfBirthActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the date of birth of the Customer produces the CustomerDateOfBirthSet Message.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(dateOfBirth).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("dateOfBirth", dateOfBirth) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDefaultBillingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDefaultBillingAddressActionImpl.java index e3b901bbb2b..ec472285235 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDefaultBillingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDefaultBillingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Sets the default billing address from addresses. The action adds the id of the specified Address to the billingAddressIds if not contained already. Either addressId or addressKey is required.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDefaultShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDefaultShippingAddressActionImpl.java index e444d0ce9f5..403e91d9cc9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDefaultShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetDefaultShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Sets the default shipping address from addresses. The action adds the id of the specified address to the shippingAddressIds if not contained already. Either addressId or addressKey is required.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetExternalIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetExternalIdActionImpl.java index 33ad432a70b..d349b077966 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetExternalIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetExternalIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSetExternalIdAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(externalId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("externalId", externalId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetFirstNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetFirstNameActionImpl.java index 676ac0dd7b7..bb54f43a690 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetFirstNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetFirstNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSetFirstNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(firstName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("firstName", firstName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetKeyActionImpl.java index 86f7b2f305d..7271c63ac10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetLastNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetLastNameActionImpl.java index d5f175ed975..7366c610ea8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetLastNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetLastNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the last name of the Customer produces the CustomerLastNameSetMessage.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(lastName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lastName", lastName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetLocaleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetLocaleActionImpl.java index cab999ac47e..c89807bda8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetLocaleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetLocaleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSetLocaleAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(locale).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("locale", locale) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetMiddleNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetMiddleNameActionImpl.java index bdf93b7a0d6..29b8d7ff6e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetMiddleNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetMiddleNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSetMiddleNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(middleName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("middleName", middleName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetSalutationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetSalutationActionImpl.java index eebfd4d65f3..ddea2d5618e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetSalutationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetSalutationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSetSalutationAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(salutation).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("salutation", salutation) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetStoresActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetStoresActionImpl.java index 7d71ece38d0..ac9c8e02c4b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetStoresActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetStoresActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Sets the Stores the Customer account is associated with. If no Stores are specified, the Customer becomes a global Customer.

    @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(stores).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("stores", stores) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetTitleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetTitleActionImpl.java index a4b3af0e893..c5933494df2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetTitleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetTitleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the title of the Customer produces the CustomerTitleSetMessage.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(title).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("title", title) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetVatIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetVatIdActionImpl.java index 37663fe3617..0baf1d16265 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetVatIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSetVatIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSetVatIdAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(vatId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("vatId", vatId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultImpl.java index 6dcd904a6ab..6cf8d386f7f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSignInResultImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSignInResult @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(customer).append(cart).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("customer", customer) + .append("cart", cart) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninImpl.java index eef0e634156..87c59712e26 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerSigninImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerSignin @@ -191,4 +193,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("email", email) + .append("password", password) + .append("anonymousCartId", anonymousCartId) + .append("anonymousCart", anonymousCart) + .append("anonymousCartSignInMode", anonymousCartSignInMode) + .append("anonymousId", anonymousId) + .append("updateProductData", updateProductData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenImpl.java index 04799de2ccc..34a3975a3df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerToken @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("customerId", customerId) + .append("value", value) + .append("expiresAt", expiresAt) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerUpdateActionImpl.java index 24c807b7627..291ad485aa3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerUpdateImpl.java index 1d1a7a7e882..d9a23f844c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerChangePasswordImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerChangePasswordImpl.java index 5c4461bb6b7..0b96fe11820 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerChangePasswordImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerChangePasswordImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerChangePassword @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(currentPassword).append(newPassword).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("currentPassword", currentPassword) + .append("newPassword", newPassword) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerEmailVerifyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerEmailVerifyImpl.java index d91db3335ee..6ea74694624 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerEmailVerifyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerEmailVerifyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerEmailVerify @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(tokenValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("tokenValue", tokenValue).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerResetPasswordImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerResetPasswordImpl.java index 7ef5b95f305..b683ef5b387 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerResetPasswordImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerResetPasswordImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerResetPassword @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(tokenValue).append(newPassword).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("tokenValue", tokenValue) + .append("newPassword", newPassword) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerSigninImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerSigninImpl.java index 4dfcdb65dcb..709d5572256 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerSigninImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/MyCustomerSigninImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerSignin @@ -132,4 +134,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("email", email) + .append("password", password) + .append("activeCartSignInMode", activeCartSignInMode) + .append("updateProductData", updateProductData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupChangeNameActionImpl.java index ee4f506fb7d..72d10ad0f3c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerGroupChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupDraftImpl.java index a75f043058f..fee9c29ddf1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerGroupDraft @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(groupName).append(custom).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("groupName", groupName) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupImpl.java index 03b9da72cda..947882410f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerGroup @@ -219,4 +221,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("name", name) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupPagedQueryResponseImpl.java index 0c140c02b82..1beeeb95f69 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of CustomerGroup.

    @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupReferenceImpl.java index 34a448f52ec..af9f5e43b9f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a CustomerGroup.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifier.java index 816491ca3db..b3c2ddce8d3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to a CustomerGroup.

    + *

    ResourceIdentifier to a CustomerGroup. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    * *
    * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface CustomerGroupResourceIdentifier String CUSTOMER_GROUP = "customer-group"; /** - *

    Unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    Unique identifier of the referenced CustomerGroup. Required if key is absent.

    * @return id */ @@ -44,7 +44,7 @@ public interface CustomerGroupResourceIdentifier public String getId(); /** - *

    User-defined unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CustomerGroup. Required if id is absent.

    * @return key */ @@ -52,14 +52,14 @@ public interface CustomerGroupResourceIdentifier public String getKey(); /** - *

    Unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    Unique identifier of the referenced CustomerGroup. Required if key is absent.

    * @param id value to be set */ public void setId(final String id); /** - *

    User-defined unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CustomerGroup. Required if id is absent.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifierBuilder.java index ff1b4bd8f65..45bdaa890ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class CustomerGroupResourceIdentifierBuilder implements BuilderUnique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    Unique identifier of the referenced CustomerGroup. Required if key is absent.

    * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public CustomerGroupResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CustomerGroup. Required if id is absent.

    * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public CustomerGroupResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

    Unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    Unique identifier of the referenced CustomerGroup. Required if key is absent.

    * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CustomerGroup. Required if id is absent.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifierImpl.java index a0b43d9685f..4e56ae03c43 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    ResourceIdentifier to a CustomerGroup.

    + *

    ResourceIdentifier to a CustomerGroup. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerGroupResourceIdentifierImpl implements CustomerGroupResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    Unique identifier of the referenced CustomerGroup. Required if key is absent.

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

    User-defined unique identifier of the referenced CustomerGroup. Either id or key is required.

    + *

    User-defined unique identifier of the referenced CustomerGroup. Required if id is absent.

    */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetCustomFieldActionImpl.java index 847495686b0..6d3b73cf437 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerGroupSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetCustomTypeActionImpl.java index b16354a9c5f..3ba2f5012f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    This action sets or removes the custom type for an existing CustomerGroup. If present, this action overwrites any existing custom type and fields.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetKeyActionImpl.java index 9a0f4abf1a9..0260a6a9acf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerGroupSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupUpdateActionImpl.java index b302cb89bb1..7afe0390b5c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerGroupUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupUpdateImpl.java index 08c26d063bd..e27dc67938c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer_group/CustomerGroupUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerGroupUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeCartDiscountsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeCartDiscountsActionImpl.java index 318fdfa0898..11260444b34 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeCartDiscountsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeCartDiscountsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeChangeCartDiscountsAction @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(cartDiscounts).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("cartDiscounts", cartDiscounts) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeGroupsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeGroupsActionImpl.java index 39fc4b6ddaa..57a5ed74280 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeGroupsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeGroupsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeChangeGroupsAction @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(groups).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("groups", groups) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeIsActiveActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeIsActiveActionImpl.java index a3ff7ccf7de..4650342b77e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeIsActiveActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeChangeIsActiveActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeChangeIsActiveAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(isActive).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("isActive", isActive) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java index 3c2163b8bae..7edce5d1a4a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeDraft @@ -287,4 +289,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("description", description) + .append("code", code) + .append("cartDiscounts", cartDiscounts) + .append("cartPredicate", cartPredicate) + .append("isActive", isActive) + .append("maxApplications", maxApplications) + .append("maxApplicationsPerCustomer", maxApplicationsPerCustomer) + .append("custom", custom) + .append("groups", groups) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeImpl.java index 45e3ff14e2f..6249d90d47a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCode @@ -442,4 +444,29 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("name", name) + .append("description", description) + .append("code", code) + .append("cartDiscounts", cartDiscounts) + .append("cartPredicate", cartPredicate) + .append("isActive", isActive) + .append("references", references) + .append("maxApplications", maxApplications) + .append("maxApplicationsPerCustomer", maxApplicationsPerCustomer) + .append("custom", custom) + .append("groups", groups) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("applicationVersion", applicationVersion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodePagedQueryResponseImpl.java index cae74726bd0..252a57455a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of DiscountCode.

    @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeReferenceImpl.java index 0da9a51a927..000be050202 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to a DiscountCode.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifier.java index 77c49fd6602..d74099e8791 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to a DiscountCode.

    + *

    ResourceIdentifier to a DiscountCode. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    * *
    * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface DiscountCodeResourceIdentifier String DISCOUNT_CODE = "discount-code"; /** - *

    Unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    Unique identifier of the referenced DiscountCode. Required if key is absent.

    * @return id */ @@ -44,7 +44,7 @@ public interface DiscountCodeResourceIdentifier public String getId(); /** - *

    User-defined unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    User-defined unique identifier of the referenced DiscountCode. Required if id is absent.

    * @return key */ @@ -52,14 +52,14 @@ public interface DiscountCodeResourceIdentifier public String getKey(); /** - *

    Unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    Unique identifier of the referenced DiscountCode. Required if key is absent.

    * @param id value to be set */ public void setId(final String id); /** - *

    User-defined unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    User-defined unique identifier of the referenced DiscountCode. Required if id is absent.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifierBuilder.java index 66d8dd0acfa..a4a9c7c5cfc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class DiscountCodeResourceIdentifierBuilder implements BuilderUnique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    Unique identifier of the referenced DiscountCode. Required if key is absent.

    * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public DiscountCodeResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    User-defined unique identifier of the referenced DiscountCode. Required if id is absent.

    * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public DiscountCodeResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

    Unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    Unique identifier of the referenced DiscountCode. Required if key is absent.

    * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    User-defined unique identifier of the referenced DiscountCode. Required if id is absent.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifierImpl.java index 120736a879a..a2d615892b2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    ResourceIdentifier to a DiscountCode.

    + *

    ResourceIdentifier to a DiscountCode. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DiscountCodeResourceIdentifierImpl implements DiscountCodeResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    Unique identifier of the referenced DiscountCode. Required if key is absent.

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

    User-defined unique identifier of the referenced DiscountCode. Either id or key is required.

    + *

    User-defined unique identifier of the referenced DiscountCode. Required if id is absent.

    */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCartPredicateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCartPredicateActionImpl.java index 7176740deca..7c7a5d508c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCartPredicateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCartPredicateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetCartPredicateAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(cartPredicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("cartPredicate", cartPredicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCustomFieldActionImpl.java index 07d0a6a5770..4f1ace941fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCustomTypeActionImpl.java index d7cd111d86f..cc129c48c3e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetDescriptionActionImpl.java index b4b24050a37..8387c0ac1ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsActionImpl.java index 9280edb06fc..d2df2bfe6bb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetMaxApplicationsAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(maxApplications).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("maxApplications", maxApplications) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsPerCustomerActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsPerCustomerActionImpl.java index aedfc2a93c8..4a7791a0a2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsPerCustomerActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsPerCustomerActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetMaxApplicationsPerCustomerAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(maxApplicationsPerCustomer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("maxApplicationsPerCustomer", maxApplicationsPerCustomer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetNameActionImpl.java index ee8daf509a3..5e6a0313645 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidFromActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidFromActionImpl.java index dd765c251e2..afbdb5fa642 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidFromActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidFromActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetValidFromAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validFrom).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validFrom", validFrom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidFromAndUntilActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidFromAndUntilActionImpl.java index 73497b79b7a..5259f536e58 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidFromAndUntilActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidFromAndUntilActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetValidFromAndUntilAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validFrom).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidUntilActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidUntilActionImpl.java index 4be4901aaef..e513b09fb61 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidUntilActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetValidUntilActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeSetValidUntilAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeUpdateActionImpl.java index 1d109323897..b0b07158012 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeUpdateImpl.java index fa287900a97..14c2255c132 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AnonymousIdAlreadyInUseErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AnonymousIdAlreadyInUseErrorImpl.java index 3033c5ac475..53c0ea2d2b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AnonymousIdAlreadyInUseErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AnonymousIdAlreadyInUseErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the anonymous ID is being used by another resource.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AssociateMissingPermissionErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AssociateMissingPermissionErrorImpl.java index b6aef4723a0..45071ccb124 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AssociateMissingPermissionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AssociateMissingPermissionErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an Associate is missing a Permission on a B2B resource.

    @@ -193,4 +195,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("associate", associate) + .append("businessUnit", businessUnit) + .append("associateOnBehalf", associateOnBehalf) + .append("permissions", permissions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeDefinitionAlreadyExistsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeDefinitionAlreadyExistsErrorImpl.java index 810d5a423a9..168cc5e3c5b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeDefinitionAlreadyExistsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeDefinitionAlreadyExistsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the name of the AttributeDefinition conflicts with an existing Attribute.

    @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("conflictingProductTypeId", conflictingProductTypeId) + .append("conflictingProductTypeName", conflictingProductTypeName) + .append("conflictingAttributeName", conflictingAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeDefinitionTypeConflictErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeDefinitionTypeConflictErrorImpl.java index 35538a5e0ab..ece9f75a662 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeDefinitionTypeConflictErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeDefinitionTypeConflictErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the type is different for an AttributeDefinition using the same name in multiple Product Types.

    @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("conflictingProductTypeId", conflictingProductTypeId) + .append("conflictingProductTypeName", conflictingProductTypeName) + .append("conflictingAttributeName", conflictingAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeNameDoesNotExistErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeNameDoesNotExistErrorImpl.java index f08b6b3a400..31f5e9fa191 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeNameDoesNotExistErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AttributeNameDoesNotExistErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an AttributeDefinition does not exist for an Attribute name.

    @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("invalidAttributeName", invalidAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AuthErrorResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AuthErrorResponseImpl.java index ee9a248ce3e..9a79e0a511e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AuthErrorResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/AuthErrorResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Represents errors related to authentication and authorization in a format conforming to the OAuth 2.0 specification.

    @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("statusCode", statusCode) + .append("message", message) + .append("errors", errors) + .append("error", error) + .append("errorDescription", errorDescription) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/BadGatewayErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/BadGatewayErrorImpl.java index 837f18a3d98..d272b432d6d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/BadGatewayErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/BadGatewayErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a server-side problem is caused by scaling infrastructure resources.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ConcurrentModificationErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ConcurrentModificationErrorImpl.java index b902459e5bd..2a68c73aac6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ConcurrentModificationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ConcurrentModificationErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the request conflicts with the current state of the involved resources. Typically, the request attempts to modify a resource that is out of date (that is modified by another client since it was last retrieved). The client application should resolve the conflict (with or without involving the end-user) before retrying the request.

    @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("currentVersion", currentVersion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ContentTooLargeErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ContentTooLargeErrorImpl.java index 27e524d6384..a003fbadf34 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ContentTooLargeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ContentTooLargeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the request results in too much data being returned from the API. Adjust the request query to reduce the size of the data returned.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/CountryNotConfiguredInStoreErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/CountryNotConfiguredInStoreErrorImpl.java index 541f030cacf..e19ffd06df0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/CountryNotConfiguredInStoreErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/CountryNotConfiguredInStoreErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Cart or an Order in a Store references a country that is not included in the countries configured for the Store.

    @@ -159,4 +161,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("storeCountries", storeCountries) + .append("country", country) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DiscountCodeNonApplicableErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DiscountCodeNonApplicableErrorImpl.java index 88e87e68c95..67815dc0019 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DiscountCodeNonApplicableErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DiscountCodeNonApplicableErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Cart contains a Discount Code with a DiscountCodeState other than MatchesCart.

    @@ -224,4 +226,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("discountCode", discountCode) + .append("reason", reason) + .append("discountCodeId", discountCodeId) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("validityCheckTime", validityCheckTime) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateAttributeValueErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateAttributeValueErrorImpl.java index 5219e21b45c..b3aa5daf1a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateAttributeValueErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateAttributeValueErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Unique AttributeConstraint criteria are not met during an Update Product request.

    @@ -121,4 +123,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).append(attribute).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("attribute", attribute) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateAttributeValuesErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateAttributeValuesErrorImpl.java index 645e1d77b63..944fb746ec4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateAttributeValuesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateAttributeValuesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the CombinationUnique AttributeConstraint criteria are not met during an Update Product request.

    @@ -125,4 +127,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).append(attributes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateEnumValuesErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateEnumValuesErrorImpl.java index 4ff3b7aef07..f62254135c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateEnumValuesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateEnumValuesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an AttributeEnumType or AttributeLocalizedEnumType contains duplicate keys.

    @@ -125,4 +127,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).append(duplicates).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("duplicates", duplicates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateFieldErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateFieldErrorImpl.java index 499aac1dcc4..58ca45871ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a field value conflicts with an existing value causing a duplicate.

    @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("field", field) + .append("duplicateValue", duplicateValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateFieldWithConflictingResourceErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateFieldWithConflictingResourceErrorImpl.java index dd7805f170c..e710e9e6fb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateFieldWithConflictingResourceErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateFieldWithConflictingResourceErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a field value conflicts with an existing value stored in a particular resource causing a duplicate.

    @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("field", field) + .append("duplicateValue", duplicateValue) + .append("conflictingResource", conflictingResource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicatePriceKeyErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicatePriceKeyErrorImpl.java index 05230edcaca..3962d4453fe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicatePriceKeyErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicatePriceKeyErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Price key conflicts with an existing key.

    @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("conflictingPrice", conflictingPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicatePriceScopeErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicatePriceScopeErrorImpl.java index 3d109f30265..9ab65866aa7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicatePriceScopeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicatePriceScopeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Price scope conflicts with an existing one during an Update Product request.

    @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("conflictingPrice", conflictingPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateStandalonePriceScopeErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateStandalonePriceScopeErrorImpl.java index 276a2b75f2b..98c61db8d4f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateStandalonePriceScopeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateStandalonePriceScopeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the given Price scope conflicts with the Price scope of an existing Standalone Price. Every Standalone Price associated with the same SKU must have a distinct combination of currency, country, Customer Group, Channel, and validity periods (validFrom and validUntil).

    @@ -260,4 +262,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("conflictingStandalonePrice", conflictingStandalonePrice) + .append("sku", sku) + .append("currency", currency) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateVariantValuesErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateVariantValuesErrorImpl.java index 372d4562800..e73174a9298 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateVariantValuesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/DuplicateVariantValuesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Product Variant value conflicts with an existing one during an Update Product request.

    @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("variantValues", variantValues) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EditPreviewFailedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EditPreviewFailedErrorImpl.java index 18ee92acb09..7a999e82c0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EditPreviewFailedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EditPreviewFailedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a preview to find an appropriate Shipping Method for an OrderEdit could not be generated.

    @@ -122,4 +124,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).append(result).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("result", result) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumKeyAlreadyExistsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumKeyAlreadyExistsErrorImpl.java index d22e6d24229..d42074603d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumKeyAlreadyExistsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumKeyAlreadyExistsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an AttributeEnumType or AttributeLocalizedEnumType contains a key that already exists.

    @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("conflictingEnumKey", conflictingEnumKey) + .append("conflictingAttributeName", conflictingAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumKeyDoesNotExistErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumKeyDoesNotExistErrorImpl.java index 0b51f0f635c..d435c39d588 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumKeyDoesNotExistErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumKeyDoesNotExistErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an AttributeEnumType or AttributeLocalizedEnumType already contains a value with the given key.

    @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("conflictingEnumKey", conflictingEnumKey) + .append("conflictingAttributeName", conflictingAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumValueIsUsedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumValueIsUsedErrorImpl.java index f9df138c575..4d47f800bc5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumValueIsUsedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumValueIsUsedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an enum value cannot be removed from an Attribute as it is being used by a Product.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumValuesMustMatchErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumValuesMustMatchErrorImpl.java index 4a0f16da95d..128b3ad3a39 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumValuesMustMatchErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/EnumValuesMustMatchErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when during an order update of AttributeEnumType or AttributeLocalizedEnumType the new enum values do not match the existing ones.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorByExtensionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorByExtensionImpl.java index 35c1468a32c..fa71f3c10d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorByExtensionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorByExtensionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ErrorByExtension @@ -85,4 +87,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id).append("key", key).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObjectImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObjectImpl.java index 4bacd3782c6..b72858ad256 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObjectImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorObjectImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Represents a single error. Multiple errors may be included in an ErrorResponse.

    @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorResponseImpl.java index 7cb77658741..60a10f777d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ErrorResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Base representation of an error response containing common fields to all errors.

    @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(statusCode).append(message).append(errors).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("statusCode", statusCode) + .append("message", message) + .append("errors", errors) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionBadResponseErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionBadResponseErrorImpl.java index 58fb028909c..2ae269f2f35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionBadResponseErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionBadResponseErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the response from the API Extension could not be parsed successfully (such as a 500 HTTP status code, or an invalid JSON response).

    @@ -244,4 +246,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("localizedMessage", localizedMessage) + .append("extensionExtraInfo", extensionExtraInfo) + .append("extensionErrors", extensionErrors) + .append("extensionBody", extensionBody) + .append("extensionStatusCode", extensionStatusCode) + .append("extensionId", extensionId) + .append("extensionKey", extensionKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionErrorImpl.java index fb8122e76f6..bbe9d3d0b5b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionError @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("extensionId", extensionId) + .append("extensionKey", extensionKey) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionNoResponseErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionNoResponseErrorImpl.java index e3e953dd317..0847706be5f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionNoResponseErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionNoResponseErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the API Extension does not respond within the time limit, or could not be reached.

    @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("extensionId", extensionId) + .append("extensionKey", extensionKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionPredicateEvaluationFailedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionPredicateEvaluationFailedErrorImpl.java index d8fb00a51b7..080ddbbdab9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionPredicateEvaluationFailedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionPredicateEvaluationFailedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the predicate defined in the ExtensionTrigger could not be evaluated due to a missing field.

    @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("errorByExtension", errorByExtension) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionUpdateActionsFailedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionUpdateActionsFailedErrorImpl.java index a17a86f4dbd..51973b9b2be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionUpdateActionsFailedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExtensionUpdateActionsFailedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when update actions could not be applied to the resource (for example, because a referenced resource does not exist). This would result in a 400 Bad Request response if the same update action was sent from a regular client.

    @@ -168,4 +170,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("localizedMessage", localizedMessage) + .append("extensionExtraInfo", extensionExtraInfo) + .append("extensionErrors", extensionErrors) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExternalOAuthFailedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExternalOAuthFailedErrorImpl.java index f274548bfb4..91e57cc5475 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExternalOAuthFailedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ExternalOAuthFailedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an external OAuth Introspection endpoint does not return a response within the time limit, or the response isn't compliant with RFC 7662 (for example, an HTTP status code like 500).

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/FeatureRemovedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/FeatureRemovedErrorImpl.java index e2604a599af..025e44c640f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/FeatureRemovedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/FeatureRemovedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the requested feature was removed.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GeneralErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GeneralErrorImpl.java index 3136c0f14a2..45550ccf6b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GeneralErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GeneralErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a server-side problem occurs.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAnonymousIdAlreadyInUseErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAnonymousIdAlreadyInUseErrorImpl.java index 2e504ef03b4..64b3391b599 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAnonymousIdAlreadyInUseErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAnonymousIdAlreadyInUseErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the anonymous ID is being used by another resource.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAssociateMissingPermissionErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAssociateMissingPermissionErrorImpl.java index 7dd6df79c24..c2b5e2f2cc6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAssociateMissingPermissionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAssociateMissingPermissionErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an Associate is missing a Permission on a B2B resource.

    @@ -170,4 +172,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("associate", associate) + .append("businessUnit", businessUnit) + .append("associateOnBehalf", associateOnBehalf) + .append("permissions", permissions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeDefinitionAlreadyExistsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeDefinitionAlreadyExistsErrorImpl.java index 9ac34eca92f..3f92f647bdc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeDefinitionAlreadyExistsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeDefinitionAlreadyExistsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the name of the AttributeDefinition conflicts with an existing Attribute.

    @@ -146,4 +148,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("conflictingProductTypeId", conflictingProductTypeId) + .append("conflictingProductTypeName", conflictingProductTypeName) + .append("conflictingAttributeName", conflictingAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeDefinitionTypeConflictErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeDefinitionTypeConflictErrorImpl.java index d221747f751..897632d8b50 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeDefinitionTypeConflictErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeDefinitionTypeConflictErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the type is different for an AttributeDefinition using the same name in multiple Product Types.

    @@ -146,4 +148,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("conflictingProductTypeId", conflictingProductTypeId) + .append("conflictingProductTypeName", conflictingProductTypeName) + .append("conflictingAttributeName", conflictingAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeNameDoesNotExistErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeNameDoesNotExistErrorImpl.java index 1cd57bfe783..a92fcae9723 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeNameDoesNotExistErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLAttributeNameDoesNotExistErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an AttributeDefinition does not exist for an Attribute name.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(invalidAttributeName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("invalidAttributeName", invalidAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLBadGatewayErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLBadGatewayErrorImpl.java index ba7e0d90a70..589fbb2974f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLBadGatewayErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLBadGatewayErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a server-side problem is caused by scaling infrastructure resources.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLConcurrentModificationErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLConcurrentModificationErrorImpl.java index 91652e26fb7..559668b4d68 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLConcurrentModificationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLConcurrentModificationErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the request conflicts with the current state of the involved resources. Typically, the request attempts to modify a resource that is out of date (that is modified by another client since it was last retrieved). The client application should resolve the conflict (with or without involving the end-user) before retrying the request.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(currentVersion).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("currentVersion", currentVersion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLContentTooLargeErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLContentTooLargeErrorImpl.java index e32f7273f5b..4c00f3d62a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLContentTooLargeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLContentTooLargeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the request results in too much data being returned from the API. Adjust the request query to reduce the size of the data returned.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLCountryNotConfiguredInStoreErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLCountryNotConfiguredInStoreErrorImpl.java index 0506927f1b1..5e6a88f364d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLCountryNotConfiguredInStoreErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLCountryNotConfiguredInStoreErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Cart or an Order in a Store references a country that is not included in the countries configured for the Store.

    @@ -140,4 +142,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("storeCountries", storeCountries) + .append("country", country) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDiscountCodeNonApplicableErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDiscountCodeNonApplicableErrorImpl.java index a9c3334b027..7e9924219ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDiscountCodeNonApplicableErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDiscountCodeNonApplicableErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Cart contains a Discount Code with a DiscountCodeState other than MatchesCart.

    @@ -205,4 +207,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("discountCode", discountCode) + .append("reason", reason) + .append("discountCodeId", discountCodeId) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("validityCheckTime", validityCheckTime) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateAttributeValueErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateAttributeValueErrorImpl.java index 8dd41041b72..d26d67c9699 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateAttributeValueErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateAttributeValueErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Unique AttributeConstraint criteria are not met during an Update Product request.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(attribute).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("attribute", attribute) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateAttributeValuesErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateAttributeValuesErrorImpl.java index 4dc6c875e81..8dfdf4f5e5d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateAttributeValuesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateAttributeValuesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the CombinationUnique AttributeConstraint criteria are not met during an Update Product request.

    @@ -107,4 +109,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(attributes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateEnumValuesErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateEnumValuesErrorImpl.java index 95dad548e9b..742639747ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateEnumValuesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateEnumValuesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an AttributeEnumType or AttributeLocalizedEnumType contains duplicate keys.

    @@ -107,4 +109,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(duplicates).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("duplicates", duplicates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateFieldErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateFieldErrorImpl.java index 8fb02c91b59..4412d0b1e89 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a field value conflicts with an existing value causing a duplicate.

    @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("field", field) + .append("duplicateValue", duplicateValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateFieldWithConflictingResourceErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateFieldWithConflictingResourceErrorImpl.java index 1ca0a8217b1..e55605fdc12 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateFieldWithConflictingResourceErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateFieldWithConflictingResourceErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a field value conflicts with an existing value stored in a particular resource causing a duplicate.

    @@ -146,4 +148,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("field", field) + .append("duplicateValue", duplicateValue) + .append("conflictingResource", conflictingResource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicatePriceKeyErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicatePriceKeyErrorImpl.java index 0571585d65f..e951811e8f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicatePriceKeyErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicatePriceKeyErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Price key conflicts with an existing key.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(conflictingPrice).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("conflictingPrice", conflictingPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicatePriceScopeErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicatePriceScopeErrorImpl.java index b87f8294e81..45ea327134f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicatePriceScopeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicatePriceScopeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Price scope conflicts with an existing one during an Update Product request.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(conflictingPrice).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("conflictingPrice", conflictingPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateStandalonePriceScopeErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateStandalonePriceScopeErrorImpl.java index b8e4f6eec8e..bac1d1371d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateStandalonePriceScopeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateStandalonePriceScopeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the given Price scope conflicts with the Price scope of an existing Standalone Price. Every Standalone Price associated with the same SKU must have a distinct combination of currency, country, Customer Group, Channel, and validity periods (validFrom and validUntil).

    @@ -242,4 +244,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("conflictingStandalonePrice", conflictingStandalonePrice) + .append("sku", sku) + .append("currency", currency) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateVariantValuesErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateVariantValuesErrorImpl.java index c01913c8d75..24c313b7d34 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateVariantValuesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLDuplicateVariantValuesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Product Variant value conflicts with an existing one during an Update Product request.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(variantValues).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("variantValues", variantValues) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEditPreviewFailedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEditPreviewFailedErrorImpl.java index 6d36589836d..5ceb25f2d44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEditPreviewFailedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEditPreviewFailedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a preview to find an appropriate Shipping Method for an OrderEdit could not be generated.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(result).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("result", result) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumKeyAlreadyExistsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumKeyAlreadyExistsErrorImpl.java index 2580142da32..a42568eb0b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumKeyAlreadyExistsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumKeyAlreadyExistsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an AttributeEnumType or AttributeLocalizedEnumType contains a key that already exists.

    @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("conflictingEnumKey", conflictingEnumKey) + .append("conflictingAttributeName", conflictingAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumKeyDoesNotExistErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumKeyDoesNotExistErrorImpl.java index 515b870ed77..3d92b8fea5d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumKeyDoesNotExistErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumKeyDoesNotExistErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an AttributeEnumType or AttributeLocalizedEnumType already contains a value with the given key.

    @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("conflictingEnumKey", conflictingEnumKey) + .append("conflictingAttributeName", conflictingAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumValueIsUsedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumValueIsUsedErrorImpl.java index 85746977141..c4e0f5518a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumValueIsUsedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumValueIsUsedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an enum value cannot be removed from an Attribute as it is being used by a Product.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumValuesMustMatchErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumValuesMustMatchErrorImpl.java index 8a81d6013c8..c9dd0ca8611 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumValuesMustMatchErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLEnumValuesMustMatchErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when during an order update of AttributeEnumType or AttributeLocalizedEnumType the new enum values do not match the existing ones.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectImpl.java index 4571fbbaedf..8e0e2bd7529 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Represents a single error.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionBadResponseErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionBadResponseErrorImpl.java index 14dbaf5361f..0d626b43399 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionBadResponseErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionBadResponseErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the response from the API Extension could not be parsed successfully (such as a 500 HTTP status code, or an invalid JSON response).

    @@ -225,4 +227,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("localizedMessage", localizedMessage) + .append("extensionExtraInfo", extensionExtraInfo) + .append("extensionErrors", extensionErrors) + .append("extensionBody", extensionBody) + .append("extensionStatusCode", extensionStatusCode) + .append("extensionId", extensionId) + .append("extensionKey", extensionKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionNoResponseErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionNoResponseErrorImpl.java index 77946c40e3f..b8310e73853 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionNoResponseErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionNoResponseErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the API Extension does not respond within the time limit, or could not be reached.

    @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("extensionId", extensionId) + .append("extensionKey", extensionKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionPredicateEvaluationFailedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionPredicateEvaluationFailedErrorImpl.java index a25b45e3f50..1a1921017b5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionPredicateEvaluationFailedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionPredicateEvaluationFailedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the predicate defined in the ExtensionTrigger could not be evaluated due to a missing field.

    @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(errorByExtension).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("errorByExtension", errorByExtension) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionUpdateActionsFailedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionUpdateActionsFailedErrorImpl.java index 078a89f9854..dfb20f1162d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionUpdateActionsFailedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExtensionUpdateActionsFailedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when update actions could not be applied to the resource (for example, because a referenced resource does not exist). This would result in a 400 Bad Request response if the same update action was sent from a regular client.

    @@ -150,4 +152,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("localizedMessage", localizedMessage) + .append("extensionExtraInfo", extensionExtraInfo) + .append("extensionErrors", extensionErrors) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExternalOAuthFailedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExternalOAuthFailedErrorImpl.java index 85c3d67be03..2506f622cf3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExternalOAuthFailedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLExternalOAuthFailedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an external OAuth Introspection endpoint does not return a response within the time limit, or the response isn't compliant with RFC 7662 (for example, an HTTP status code like 500).

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLFeatureRemovedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLFeatureRemovedErrorImpl.java index c80d9122ba5..d17f892d1a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLFeatureRemovedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLFeatureRemovedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the requested feature was removed.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLGeneralErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLGeneralErrorImpl.java index e278b90cc30..2cb874c123d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLGeneralErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLGeneralErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a server-side problem occurs.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInsufficientScopeErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInsufficientScopeErrorImpl.java index 710ef0c269d..4eee29912c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInsufficientScopeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInsufficientScopeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLInsufficientScopeError @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInternalConstraintViolatedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInternalConstraintViolatedErrorImpl.java index 403330de63d..2ea244fcb99 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInternalConstraintViolatedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInternalConstraintViolatedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when certain API-specific constraints were not met. For example, the specified Discount Code was never applied and cannot be updated.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidCredentialsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidCredentialsErrorImpl.java index 8287a1615c1..51c434f9557 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidCredentialsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidCredentialsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Customer with the given credentials (matching the given email/password pair) is not found and authentication fails.

    @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidCurrentPasswordErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidCurrentPasswordErrorImpl.java index 5e6b81b156d..2e501b224a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidCurrentPasswordErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidCurrentPasswordErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the current password of the Customer does not match.

    @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidFieldErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidFieldErrorImpl.java index cccbb42cd4f..d9f55be967d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a field has an invalid value.

    @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("field", field) + .append("invalidValue", invalidValue) + .append("allowedValues", allowedValues) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidInputErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidInputErrorImpl.java index 7b51ee315a1..26793dbadbf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidInputErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidInputErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an invalid input has been sent.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidItemShippingDetailsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidItemShippingDetailsErrorImpl.java index ec9e2c7b88d..bc853313230 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidItemShippingDetailsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidItemShippingDetailsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when Line Item or Custom Line Item quantities set under ItemShippingDetails do not match the sum of the quantities in their respective shipping details.

    @@ -121,4 +123,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(subject).append(itemId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("subject", subject) + .append("itemId", itemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidJsonInputErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidJsonInputErrorImpl.java index 42cde065216..3612cf144c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidJsonInputErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidJsonInputErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an invalid JSON input has been sent. Either the JSON is syntactically incorrect or does not conform to the expected shape (for example is missing a required field).

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(detailedErrorMessage).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("detailedErrorMessage", detailedErrorMessage) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidOperationErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidOperationErrorImpl.java index 983e53ef128..21053d7dd5e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidOperationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidOperationErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the resources involved in the request are not in a valid state for the operation.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidSubjectErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidSubjectErrorImpl.java index 19d459e305e..ccf7b8d5d1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidSubjectErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidSubjectErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLInvalidSubjectError @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidTokenErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidTokenErrorImpl.java index 4f100fbbb82..e72c53a8d03 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidTokenErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidTokenErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLInvalidTokenError @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLLanguageUsedInStoresErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLLanguageUsedInStoresErrorImpl.java index 3e6ad3da48e..f4ea65cdf83 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLLanguageUsedInStoresErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLLanguageUsedInStoresErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a language cannot be removed from a Project as it is being used by a Store.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMatchingPriceNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMatchingPriceNotFoundErrorImpl.java index f949d464db5..e0c53c8f356 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMatchingPriceNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMatchingPriceNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Product Variant does not have a Price according to the Product priceMode value for a selected currency, country, Customer Group, or Channel.

    @@ -207,4 +209,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("productId", productId) + .append("variantId", variantId) + .append("currency", currency) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxCartDiscountsReachedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxCartDiscountsReachedErrorImpl.java index 9f0f41ebee5..b983b1c3094 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxCartDiscountsReachedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxCartDiscountsReachedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Cart Discount cannot be created or activated as the limit for active Cart Discounts has been reached.

    @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorImpl.java index 7989094090f..1fcb7e79891 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a resource type cannot be created as it has reached its limits.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(exceededResource).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("exceededResource", exceededResource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxStoreReferencesReachedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxStoreReferencesReachedErrorImpl.java index 762d41c3ae2..713cdd299b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxStoreReferencesReachedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxStoreReferencesReachedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Store cannot be added to a Cart Discount as the limit for Stores configured for a Cart Discount has been reached.

    @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMissingRoleOnChannelErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMissingRoleOnChannelErrorImpl.java index 9a63cec5088..8fb75bf4695 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMissingRoleOnChannelErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMissingRoleOnChannelErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when one of the following states occur:

    @@ -133,4 +135,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(channel).append(missingRole).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("channel", channel) + .append("missingRole", missingRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMissingTaxRateForCountryErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMissingTaxRateForCountryErrorImpl.java index 7bc01f6d6a9..2f98ada9547 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMissingTaxRateForCountryErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMissingTaxRateForCountryErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Tax Category of at least one of the lineItems, customLineItems, or shippingInfo in the Cart is missing the TaxRate matching country and state given in the shippingAddress of that Cart.

    @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("taxCategoryId", taxCategoryId) + .append("country", country) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMoneyOverflowErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMoneyOverflowErrorImpl.java index e9cad09bbb0..59a64f01564 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMoneyOverflowErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMoneyOverflowErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Money operation overflows the 64-bit integer range. See Money usage for more information.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNoMatchingProductDiscountFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNoMatchingProductDiscountFoundErrorImpl.java index e457d1f470c..8ca72f78623 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNoMatchingProductDiscountFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNoMatchingProductDiscountFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Product Discount could not be found that could be applied to the Price of a Product Variant.

    @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorImpl.java index ffed4cdc7a3..c5ee495ca54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLNotEnabledErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Project-specific category recommendations feature is not enabled for the Project.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLObjectNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLObjectNotFoundErrorImpl.java index 2737920eeae..c735d7efaa9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLObjectNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLObjectNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the requested resource was not found.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOutOfStockErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOutOfStockErrorImpl.java index 17e67b8a742..b70a7210921 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOutOfStockErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOutOfStockErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when some of the Line Items are out of stock at the time of placing an Order.

    @@ -134,4 +136,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(lineItems).append(skus).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("lineItems", lineItems) + .append("skus", skus) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOverCapacityErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOverCapacityErrorImpl.java index 275ff6ff7d7..c8e769d5a8d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOverCapacityErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOverCapacityErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the service is having trouble handling the load.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOverlappingStandalonePriceValidityErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOverlappingStandalonePriceValidityErrorImpl.java index 254c1b481a0..ad6e7c0eec9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOverlappingStandalonePriceValidityErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLOverlappingStandalonePriceValidityErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a given Price validity period conflicts with an existing one. Every Standalone Price associated with the same SKU and with the same combination of currency, country, Customer Group, and Channel, must have non-overlapping validity periods (validFrom and validUntil).

    @@ -281,4 +283,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("conflictingStandalonePrice", conflictingStandalonePrice) + .append("sku", sku) + .append("currency", currency) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("conflictingValidFrom", conflictingValidFrom) + .append("conflictingValidUntil", conflictingValidUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLPendingOperationErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLPendingOperationErrorImpl.java index dd84e54a467..33203e69951 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLPendingOperationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLPendingOperationErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a previous conflicting operation is still pending and needs to finish before the request can succeed.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLPriceChangedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLPriceChangedErrorImpl.java index bc3e759286b..fb829a64c68 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLPriceChangedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLPriceChangedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Price, Tax Rate, or Shipping Rate of some Line Items changed since they were last added to the Cart.

    @@ -130,4 +132,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(lineItems).append(shipping).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("lineItems", lineItems) + .append("shipping", shipping) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProductAssignmentMissingErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProductAssignmentMissingErrorImpl.java index 2fe8684a0e1..4e6b7c4e937 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProductAssignmentMissingErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProductAssignmentMissingErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Product is not assigned to the Product Selection. The error is returned as a failed response either to the Set Variant Selection or to the Set Variant Exclusion update action.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(product).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("product", product) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProductPresentWithDifferentVariantSelectionErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProductPresentWithDifferentVariantSelectionErrorImpl.java index 736ca0ea4c9..399d1fc28c1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProductPresentWithDifferentVariantSelectionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProductPresentWithDifferentVariantSelectionErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Product is already assigned to a Product Selection, but the Product Selection has either a different Product Variant Selection or a different Product Variant Exclusion.

    @@ -129,4 +131,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("product", product) + .append("existingVariantSelection", existingVariantSelection) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProjectNotConfiguredForLanguagesErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProjectNotConfiguredForLanguagesErrorImpl.java index 9345fee5c66..3a333ea47f2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProjectNotConfiguredForLanguagesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLProjectNotConfiguredForLanguagesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the languages set for a Store are not supported by the Project.

    @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(languages).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("languages", languages) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLQueryComplexityLimitExceededErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLQueryComplexityLimitExceededErrorImpl.java index da25d7ab4b9..411c9530162 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLQueryComplexityLimitExceededErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLQueryComplexityLimitExceededErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLQueryComplexityLimitExceededError @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLQueryTimedOutErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLQueryTimedOutErrorImpl.java index b34cfdc7ba6..ef112cdea17 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLQueryTimedOutErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLQueryTimedOutErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the query times out.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferenceExistsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferenceExistsErrorImpl.java index 71e51aad694..d010be32991 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferenceExistsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferenceExistsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a resource cannot be deleted because it is being referenced by another resource.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(referencedBy).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("referencedBy", referencedBy) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorImpl.java index 0b7f80b8471..52d1a529cbe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a resource referenced by a Reference or a ResourceIdentifier could not be found.

    @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLRequiredFieldErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLRequiredFieldErrorImpl.java index 454b0dffdbf..50951bc9d5d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLRequiredFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLRequiredFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a value is not defined for a required field.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(field).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("field", field) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLResourceNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLResourceNotFoundErrorImpl.java index 2fc64570c86..140e4ad9f59 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLResourceNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLResourceNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the resource addressed by the request URL does not exist.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLResourceSizeLimitExceededErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLResourceSizeLimitExceededErrorImpl.java index e2fe09a1df7..62b5d8081b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLResourceSizeLimitExceededErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLResourceSizeLimitExceededErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the resource exceeds the maximum allowed size of 16 MB.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchDeactivatedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchDeactivatedErrorImpl.java index 7b0499384b6..9ea48c34911 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchDeactivatedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchDeactivatedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the indexing of Product information is deactivated in a Project.

    @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchExecutionFailureErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchExecutionFailureErrorImpl.java index adaf828a8d2..71ef72e6114 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchExecutionFailureErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchExecutionFailureErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a search query could not be completed due to an unexpected failure.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchFacetPathNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchFacetPathNotFoundErrorImpl.java index 9b07b2dedee..d6e06bb4d0b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchFacetPathNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchFacetPathNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a search facet path could not be found.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchIndexingInProgressErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchIndexingInProgressErrorImpl.java index e26c74dc54c..3547c5c6c6d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchIndexingInProgressErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSearchIndexingInProgressErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the indexing of Product information is still in progress for Projects that have indexing activated.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSemanticErrorErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSemanticErrorErrorImpl.java index 31ba2e6c80b..280201fde26 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSemanticErrorErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSemanticErrorErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Discount predicate or API Extension predicate is not semantically correct.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLShippingMethodDoesNotMatchCartErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLShippingMethodDoesNotMatchCartErrorImpl.java index 455557a9cb3..7edbbb00265 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLShippingMethodDoesNotMatchCartErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLShippingMethodDoesNotMatchCartErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Cart contains a ShippingMethod that is not allowed for the Cart. In this case, the ShippingMethodState value is DoesNotMatchCart.

    @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLStoreCartDiscountsLimitReachedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLStoreCartDiscountsLimitReachedErrorImpl.java index b9c9e75b0cc..15cfff9438c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLStoreCartDiscountsLimitReachedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLStoreCartDiscountsLimitReachedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Cart Discount cannot be created or assigned to a Store as the limit for active Cart Discounts in a Store has been reached for one or more Stores in the request.

    @@ -113,4 +115,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).append(stores).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .append("stores", stores) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSyntaxErrorErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSyntaxErrorErrorImpl.java index 21d108e45a7..2b5318568d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSyntaxErrorErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLSyntaxErrorErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Discount predicate, API Extension predicate, or search query does not have the correct syntax.

    @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InsufficientScopeErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InsufficientScopeErrorImpl.java index 090d81897a7..f35f07105e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InsufficientScopeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InsufficientScopeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InsufficientScopeError @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InternalConstraintViolatedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InternalConstraintViolatedErrorImpl.java index b7235c03cd6..230acfff457 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InternalConstraintViolatedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InternalConstraintViolatedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when certain API-specific constraints were not met. For example, the specified Discount Code was never applied and cannot be updated.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidCredentialsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidCredentialsErrorImpl.java index 375c9bd85f1..049fe79df5e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidCredentialsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidCredentialsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Customer with the given credentials (matching the given email/password pair) is not found and authentication fails.

    @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidCurrentPasswordErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidCurrentPasswordErrorImpl.java index 65440ee3f63..6efc605b537 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidCurrentPasswordErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidCurrentPasswordErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the current password of the Customer does not match.

    @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidFieldErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidFieldErrorImpl.java index 4adad13a896..b3f06dd4dc0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a field has an invalid value.

    @@ -167,4 +169,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("field", field) + .append("invalidValue", invalidValue) + .append("allowedValues", allowedValues) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidInputErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidInputErrorImpl.java index 49f7328291f..59ac47c110f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidInputErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidInputErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an invalid input has been sent.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidItemShippingDetailsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidItemShippingDetailsErrorImpl.java index baf80d02bd2..89f0f7cff94 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidItemShippingDetailsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidItemShippingDetailsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when Line Item or Custom Line Item quantities set under ItemShippingDetails do not match the sum of the quantities in their respective shipping details.

    @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("subject", subject) + .append("itemId", itemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidJsonInputErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidJsonInputErrorImpl.java index 35386b756ec..fc4ddcd6162 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidJsonInputErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidJsonInputErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when an invalid JSON input has been sent. Either the JSON is syntactically incorrect or does not conform to the expected shape (for example is missing a required field).

    @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("detailedErrorMessage", detailedErrorMessage) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidOperationErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidOperationErrorImpl.java index 050009598f2..4ce61fd52db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidOperationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidOperationErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the resources involved in the request are not in a valid state for the operation.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidSubjectErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidSubjectErrorImpl.java index d650ab6b77e..60c4948c440 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidSubjectErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidSubjectErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InvalidSubjectError @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidTokenErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidTokenErrorImpl.java index 41b72fce50a..e9fe7a81bee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidTokenErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/InvalidTokenErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InvalidTokenError @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/LanguageUsedInStoresErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/LanguageUsedInStoresErrorImpl.java index a14862e19c2..a2f5f583d36 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/LanguageUsedInStoresErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/LanguageUsedInStoresErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a language cannot be removed from a Project as it is being used by a Store.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MatchingPriceNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MatchingPriceNotFoundErrorImpl.java index 66575f4cffc..d35621467f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MatchingPriceNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MatchingPriceNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Product Variant does not have a Price according to the Product priceMode value for a selected currency, country, Customer Group, or Channel.

    @@ -226,4 +228,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("productId", productId) + .append("variantId", variantId) + .append("currency", currency) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxCartDiscountsReachedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxCartDiscountsReachedErrorImpl.java index e3f8ba322c9..6bd8c67fdd9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxCartDiscountsReachedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxCartDiscountsReachedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Cart Discount cannot be created or activated as the limit for active Cart Discounts has been reached.

    @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorImpl.java index ac94ff6d89b..c5c5d82ed7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a resource type cannot be created as it has reached its limits.

    @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("exceededResource", exceededResource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxStoreReferencesReachedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxStoreReferencesReachedErrorImpl.java index aa90d811da7..3066e0af740 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxStoreReferencesReachedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxStoreReferencesReachedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Store cannot be added to a Cart Discount as the limit for Stores configured for a Cart Discount has been reached.

    @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MissingRoleOnChannelErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MissingRoleOnChannelErrorImpl.java index 421b11ea6c9..bec956f735e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MissingRoleOnChannelErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MissingRoleOnChannelErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when one of the following states occur:

    @@ -156,4 +158,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("channel", channel) + .append("missingRole", missingRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MissingTaxRateForCountryErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MissingTaxRateForCountryErrorImpl.java index e5a59673809..dcb92445e57 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MissingTaxRateForCountryErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MissingTaxRateForCountryErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Tax Category of at least one of the lineItems, customLineItems, or shippingInfo in the Cart is missing the TaxRate matching country and state given in the shippingAddress of that Cart.

    @@ -167,4 +169,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("taxCategoryId", taxCategoryId) + .append("country", country) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MoneyOverflowErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MoneyOverflowErrorImpl.java index 5e73b19139b..a30ece40a64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MoneyOverflowErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MoneyOverflowErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Money operation overflows the 64-bit integer range. See Money usage for more information.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NoMatchingProductDiscountFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NoMatchingProductDiscountFoundErrorImpl.java index b943109a5e9..0147e424ff7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NoMatchingProductDiscountFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NoMatchingProductDiscountFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Product Discount could not be found that could be applied to the Price of a Product Variant.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorImpl.java index 8b91abdd4a6..1d2fb6eae65 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/NotEnabledErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Project-specific category recommendations feature is not enabled for the Project.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ObjectNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ObjectNotFoundErrorImpl.java index 4ff585fa6b7..3bb046ce003 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ObjectNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ObjectNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the requested resource was not found.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OutOfStockErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OutOfStockErrorImpl.java index a407eafc7b1..fa3597b23b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OutOfStockErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OutOfStockErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when some of the Line Items are out of stock at the time of placing an Order.

    @@ -157,4 +159,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("lineItems", lineItems) + .append("skus", skus) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OverCapacityErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OverCapacityErrorImpl.java index 223869bd45a..51555907a99 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OverCapacityErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OverCapacityErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the service is having trouble handling the load.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OverlappingStandalonePriceValidityErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OverlappingStandalonePriceValidityErrorImpl.java index 2eb6bed5aac..f22a81b1dd2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OverlappingStandalonePriceValidityErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/OverlappingStandalonePriceValidityErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a given Price validity period conflicts with an existing one. Every Standalone Price associated with the same SKU and with the same combination of currency, country, Customer Group, and Channel, must have non-overlapping validity periods (validFrom and validUntil).

    @@ -298,4 +300,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("conflictingStandalonePrice", conflictingStandalonePrice) + .append("sku", sku) + .append("currency", currency) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("conflictingValidFrom", conflictingValidFrom) + .append("conflictingValidUntil", conflictingValidUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/PendingOperationErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/PendingOperationErrorImpl.java index c3763d5d569..7f47878ba90 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/PendingOperationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/PendingOperationErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a previous conflicting operation is still pending and needs to finish before the request can succeed.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/PriceChangedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/PriceChangedErrorImpl.java index 45664e013c0..858b9e609e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/PriceChangedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/PriceChangedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Price, Tax Rate, or Shipping Rate of some Line Items changed since they were last added to the Cart.

    @@ -153,4 +155,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("lineItems", lineItems) + .append("shipping", shipping) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProductAssignmentMissingErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProductAssignmentMissingErrorImpl.java index 334bf44eac0..2bf0636dd98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProductAssignmentMissingErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProductAssignmentMissingErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Product is not assigned to the Product Selection. The error is returned as a failed response either to the Set Variant Selection or to the Set Variant Exclusion update action.

    @@ -121,4 +123,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).append(product).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("product", product) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProductPresentWithDifferentVariantSelectionErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProductPresentWithDifferentVariantSelectionErrorImpl.java index c877123ef40..091a659ec5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProductPresentWithDifferentVariantSelectionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProductPresentWithDifferentVariantSelectionErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Product is already assigned to a Product Selection, but the Product Selection has either a different Product Variant Selection or a different Product Variant Exclusion.

    @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("product", product) + .append("existingVariantSelection", existingVariantSelection) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProjectNotConfiguredForLanguagesErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProjectNotConfiguredForLanguagesErrorImpl.java index 33d7af1a44d..7b26fde35fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProjectNotConfiguredForLanguagesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ProjectNotConfiguredForLanguagesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the languages set for a Store are not supported by the Project.

    @@ -126,4 +128,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).append(languages).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("languages", languages) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/QueryComplexityLimitExceededErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/QueryComplexityLimitExceededErrorImpl.java index aaf5cdc27c3..4fb6d281121 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/QueryComplexityLimitExceededErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/QueryComplexityLimitExceededErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QueryComplexityLimitExceededError @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/QueryTimedOutErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/QueryTimedOutErrorImpl.java index b3560640318..7c9d2cf4028 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/QueryTimedOutErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/QueryTimedOutErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the query times out.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferenceExistsErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferenceExistsErrorImpl.java index 341eac9f805..c231c25402b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferenceExistsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferenceExistsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a resource cannot be deleted because it is being referenced by another resource.

    @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("referencedBy", referencedBy) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorImpl.java index 6074dfb92ec..7fe6eb15e90 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a resource referenced by a Reference or a ResourceIdentifier could not be found.

    @@ -162,4 +164,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/RequiredFieldErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/RequiredFieldErrorImpl.java index 1c2c3137b96..f03f094d3cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/RequiredFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/RequiredFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a value is not defined for a required field.

    @@ -121,4 +123,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).append(field).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("field", field) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ResourceNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ResourceNotFoundErrorImpl.java index 23ca24d7706..df406a370bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ResourceNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ResourceNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the resource addressed by the request URL does not exist.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ResourceSizeLimitExceededErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ResourceSizeLimitExceededErrorImpl.java index e1b5d33b7f8..bd6292033c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ResourceSizeLimitExceededErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ResourceSizeLimitExceededErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the resource exceeds the maximum allowed size of 16 MB.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchDeactivatedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchDeactivatedErrorImpl.java index 7d315f595de..0a112baf24a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchDeactivatedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchDeactivatedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the indexing of Product information is deactivated in a Project.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchExecutionFailureErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchExecutionFailureErrorImpl.java index b4bb087fa99..ec392bc0841 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchExecutionFailureErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchExecutionFailureErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a search query could not be completed due to an unexpected failure.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchFacetPathNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchFacetPathNotFoundErrorImpl.java index 80f39b7e200..c4733a47b07 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchFacetPathNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchFacetPathNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a search facet path could not be found.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchIndexingInProgressErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchIndexingInProgressErrorImpl.java index 1d045445629..d82b438a336 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchIndexingInProgressErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SearchIndexingInProgressErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the indexing of Product information is still in progress for Projects that have indexing activated.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SemanticErrorErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SemanticErrorErrorImpl.java index cab02481094..6c94b9deedf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SemanticErrorErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SemanticErrorErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Discount predicate or API Extension predicate is not semantically correct.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ShippingMethodDoesNotMatchCartErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ShippingMethodDoesNotMatchCartErrorImpl.java index a8ba4750459..7212de83ff5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ShippingMethodDoesNotMatchCartErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ShippingMethodDoesNotMatchCartErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when the Cart contains a ShippingMethod that is not allowed for the Cart. In this case, the ShippingMethodState value is DoesNotMatchCart.

    @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/StoreCartDiscountsLimitReachedErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/StoreCartDiscountsLimitReachedErrorImpl.java index 8c2b3b2530a..7070ab4d776 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/StoreCartDiscountsLimitReachedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/StoreCartDiscountsLimitReachedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Cart Discount cannot be created or assigned to a Store as the limit for active Cart Discounts in a Store has been reached for one or more Stores in the request.

    @@ -130,4 +132,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).append(stores).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .append("stores", stores) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SyntaxErrorErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SyntaxErrorErrorImpl.java index b1c6ada2cb3..fdf46d258d3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SyntaxErrorErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/SyntaxErrorErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Returned when a Discount predicate, API Extension predicate, or search query does not have the correct syntax.

    @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/VariantValuesImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/VariantValuesImpl.java index de5cc5c5e9f..aa7d5beae43 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/VariantValuesImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/VariantValuesImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * VariantValues @@ -112,4 +114,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(sku).append(prices).append(attributes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("sku", sku) + .append("prices", prices) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AWSLambdaDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AWSLambdaDestinationImpl.java index 2a6f597719e..7a5980cb780 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AWSLambdaDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AWSLambdaDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    We recommend creating an Identify and Access Management (IAM) user with an accessKey and accessSecret pair, specifically for each Extension that only has the lambda:InvokeFunction permission on this function.

    @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(arn).append(accessKey).append(accessSecret).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("arn", arn) + .append("accessKey", accessKey) + .append("accessSecret", accessSecret) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AuthorizationHeaderAuthenticationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AuthorizationHeaderAuthenticationImpl.java index 0d12b511959..914b60975ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AuthorizationHeaderAuthenticationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AuthorizationHeaderAuthenticationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    The Authorization header will be set to the content of headerValue. The authentication scheme (such as Basic or Bearer) should be included in the headerValue.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(headerValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("headerValue", headerValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AzureFunctionsAuthenticationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AzureFunctionsAuthenticationImpl.java index 8d5510adde9..231412c7737 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AzureFunctionsAuthenticationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/AzureFunctionsAuthenticationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    To protect your Azure Function, set its authLevel to function and provide the function's key to be used inside the x-functions-key header. For more information, see the Azure Functions documentation.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionChangeDestinationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionChangeDestinationActionImpl.java index 9595131aa4e..33ac075cd0e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionChangeDestinationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionChangeDestinationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionChangeDestinationAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(destination).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("destination", destination) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionChangeTriggersActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionChangeTriggersActionImpl.java index 304747569a4..c3a2e3ce35f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionChangeTriggersActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionChangeTriggersActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionChangeTriggersAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(triggers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("triggers", triggers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionDestinationImpl.java index 09521fe8287..84c605a3d4d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Generic type for destinations.

    @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionDraftImpl.java index 332b8b8d180..25c0beb2e26 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionDraft @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("destination", destination) + .append("triggers", triggers) + .append("timeoutInMs", timeoutInMs) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionImpl.java index 26319748a6b..dc806fa5a54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Extension @@ -243,4 +245,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("destination", destination) + .append("triggers", triggers) + .append("timeoutInMs", timeoutInMs) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionInputImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionInputImpl.java index c71f857a606..ecd858dc6a7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionInputImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionInput @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(resource).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("resource", resource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionPagedQueryResponseImpl.java index e5345755fbd..312578a53df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    PagedQueryResult with results containing an array of Extension.

    @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionSetKeyActionImpl.java index a95c4001888..77c38a23ffb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionSetTimeoutInMsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionSetTimeoutInMsActionImpl.java index 758860ab6a8..4aec83bd81e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionSetTimeoutInMsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionSetTimeoutInMsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionSetTimeoutInMsAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(timeoutInMs).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("timeoutInMs", timeoutInMs) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionTriggerImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionTriggerImpl.java index 49e05d8eb6e..a0d1dd5b03a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionTriggerImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionTriggerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionTrigger @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(resourceTypeId).append(actions).append(condition).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("resourceTypeId", resourceTypeId) + .append("actions", actions) + .append("condition", condition) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionUpdateActionImpl.java index 5c077e085c1..1b1e26ba857 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionUpdateImpl.java index 5a556aa0ba1..1e62a963bf1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/ExtensionUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExtensionUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/GoogleCloudFunctionDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/GoogleCloudFunctionDestinationImpl.java index a8a8b87d7f5..e811174017e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/GoogleCloudFunctionDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/GoogleCloudFunctionDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    For GoogleCloudFunction destinations, you need to grant permissions to the extensions@commercetools-platform.iam.gserviceaccount.com service account to invoke your function. If your function's version is 1st gen, grant the service account the IAM role Cloud Functions Invoker. For version 2nd gen, assign the IAM role Cloud Run Invoker using the Cloud Run console.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(url).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("url", url) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationAuthenticationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationAuthenticationImpl.java index 65a5439dbb7..9fea0060efb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationAuthenticationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationAuthenticationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * HttpDestinationAuthentication @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationImpl.java index 30338b0d5d8..8882bcdc090 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/extension/HttpDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    We recommend an encrypted HTTPS connection for production setups. However, we also accept unencrypted HTTP connections for development purposes. HTTP redirects will not be followed and cache headers will be ignored.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(url).append(authentication).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("url", url) + .append("authentication", authentication) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorImpl.java index 1ea5a34f4cb..d5f64f3820d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLError @@ -135,4 +137,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("message", message) + .append("locations", locations) + .append("path", path) + .append("extensions", extensions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorLocationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorLocationImpl.java index abc1c9bdcc6..fb29c57691b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorLocationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorLocationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLErrorLocation @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(line).append(column).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("line", line) + .append("column", column) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLRequestImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLRequestImpl.java index d03a17cd944..8bd9de6d0a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLRequestImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLRequestImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLRequest @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(query).append(operationName).append(variables).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("query", query) + .append("operationName", operationName) + .append("variables", variables) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLResponseImpl.java index 3048eba2472..fd844cd45a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLResponse @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(data).append(errors).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("data", data) + .append("errors", errors) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLVariablesMapImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLVariablesMapImpl.java index f5770e69cf5..8ef7c8827ed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLVariablesMapImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLVariablesMapImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GraphQLVariablesMap @@ -69,4 +71,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryAddQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryAddQuantityActionImpl.java index a6534751b6d..e3128c3d497 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryAddQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryAddQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Updates availableQuantity based on the new quantityOnStock and amount of active reservations.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(quantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryChangeQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryChangeQuantityActionImpl.java index a09bc7a7f9c..9d87a38c8d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryChangeQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryChangeQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Updates availableQuantity based on the new quantityOnStock and amount of active reservations.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(quantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java index 358d5e7063e..431cbf03dc1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntryDraft @@ -182,4 +184,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("sku", sku) + .append("key", key) + .append("supplyChannel", supplyChannel) + .append("quantityOnStock", quantityOnStock) + .append("restockableInDays", restockableInDays) + .append("expectedDelivery", expectedDelivery) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryImpl.java index 541cea6c1cf..73afb3cb86e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntry @@ -314,4 +316,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("sku", sku) + .append("supplyChannel", supplyChannel) + .append("quantityOnStock", quantityOnStock) + .append("availableQuantity", availableQuantity) + .append("restockableInDays", restockableInDays) + .append("expectedDelivery", expectedDelivery) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryReferenceImpl.java index ba5469da3d7..cec59a0887f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Reference to an InventoryEntry.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryRemoveQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryRemoveQuantityActionImpl.java index d923d6f4e77..7ecc5ae9315 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryRemoveQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryRemoveQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Updates availableQuantity based on the new quantityOnStock and amount of active reservations.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(quantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifier.java index 732c3052662..b91a1dc3a22 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

    ResourceIdentifier to an InventoryEntry.

    + *

    ResourceIdentifier to an InventoryEntry. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    * *
    * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface InventoryEntryResourceIdentifier String INVENTORY_ENTRY = "inventory-entry"; /** - *

    Unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    Unique identifier of the referenced InventoryEntry. Required if key is absent.

    * @return id */ @@ -44,7 +44,7 @@ public interface InventoryEntryResourceIdentifier public String getId(); /** - *

    User-defined unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    User-defined unique identifier of the referenced InventoryEntry. Required if id is absent.

    * @return key */ @@ -52,14 +52,14 @@ public interface InventoryEntryResourceIdentifier public String getKey(); /** - *

    Unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    Unique identifier of the referenced InventoryEntry. Required if key is absent.

    * @param id value to be set */ public void setId(final String id); /** - *

    User-defined unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    User-defined unique identifier of the referenced InventoryEntry. Required if id is absent.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifierBuilder.java index 5689e4b2c3a..c26d703b01f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class InventoryEntryResourceIdentifierBuilder implements BuilderUnique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    Unique identifier of the referenced InventoryEntry. Required if key is absent.

    * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public InventoryEntryResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

    User-defined unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    User-defined unique identifier of the referenced InventoryEntry. Required if id is absent.

    * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public InventoryEntryResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

    Unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    Unique identifier of the referenced InventoryEntry. Required if key is absent.

    * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

    User-defined unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    User-defined unique identifier of the referenced InventoryEntry. Required if id is absent.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifierImpl.java index 0a0192ab437..df8dcbe7806 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    ResourceIdentifier to an InventoryEntry.

    + *

    ResourceIdentifier to an InventoryEntry. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class InventoryEntryResourceIdentifierImpl implements InventoryEntryResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

    Unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    Unique identifier of the referenced InventoryEntry. Required if key is absent.

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

    User-defined unique identifier of the referenced InventoryEntry. Either id or key is required.

    + *

    User-defined unique identifier of the referenced InventoryEntry. Required if id is absent.

    */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetCustomFieldActionImpl.java index 14fb68be56a..b8d149adb35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntrySetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetCustomTypeActionImpl.java index 3e95ed76157..0496d27cd3a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntrySetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetExpectedDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetExpectedDeliveryActionImpl.java index ab31c20fffa..7f7fb87ff8c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetExpectedDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetExpectedDeliveryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntrySetExpectedDeliveryAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(expectedDelivery).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("expectedDelivery", expectedDelivery) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetKeyActionImpl.java index 89c9406c91f..cee9f9272f2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntrySetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetRestockableInDaysActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetRestockableInDaysActionImpl.java index 55f9f5f540c..5a1c841867c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetRestockableInDaysActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetRestockableInDaysActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntrySetRestockableInDaysAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(restockableInDays).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("restockableInDays", restockableInDays) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetSupplyChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetSupplyChannelActionImpl.java index 02ee23a9ebd..54b8066e669 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetSupplyChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntrySetSupplyChannelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    If an entry with the same sku and supplyChannel already exists, an DuplicateField error is returned.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(supplyChannel).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("supplyChannel", supplyChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryUpdateActionImpl.java index f1eee6d3066..0e33743dbef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntryUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryUpdateImpl.java index df1611d14be..d353f814174 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryEntryUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryPagedQueryResponseImpl.java index c0e9fdef8cb..d5f59963a9d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryPagedQueryResponse @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddAddressActionImpl.java index 0c28ffa9d41..eedcf6c02fe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding an address to a Business Unit generates a BusinessUnitAddressAdded Message.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddBillingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddBillingAddressIdActionImpl.java index ff31a3c0b66..1c5d04af733 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddBillingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddBillingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding a billing address to a Business Unit generates a BusinessUnitBillingAddressAdded Message.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddShippingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddShippingAddressIdActionImpl.java index c14fadfda86..f2d5c937055 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddShippingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAddShippingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding a shipping address to a Business Unit generates a BusinessUnitShippingAddressAdded Message.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAssociateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAssociateDraftImpl.java index 6496ab93025..db8ecc619f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAssociateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitAssociateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyBusinessUnitAssociateDraft @@ -113,4 +115,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("customer", customer) + .append("associateRoleAssignments", associateRoleAssignments) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeAddressActionImpl.java index 9b550e2f591..2d25297cab8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changing the address on a Business Unit generates the BusinessUnitAddressChanged Message.

    @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeAssociateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeAssociateActionImpl.java index d2207b09675..5ea3d950664 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeAssociateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeAssociateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Updating the Associate on a Business Unit generates the BusinessUnitAssociateChanged Message.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(associate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeNameActionImpl.java index e6e5e26e672..258f09cec2a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Updating the name on a Business Unit generates a BusinessUnitNameChanged Message.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeParentUnitActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeParentUnitActionImpl.java index b45837be120..69cd81929b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeParentUnitActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitChangeParentUnitActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Changing the parent of a Business Unit generates a BusinessUnitParentChanged Message.

    @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(parentUnit).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parentUnit", parentUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitDraftImpl.java index fcddbeb54c6..ccd0e755b32 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyBusinessUnitDraft @@ -247,4 +249,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("custom", custom) + .append("addresses", addresses) + .append("shippingAddresses", shippingAddresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("billingAddresses", billingAddresses) + .append("defaultBillingAddress", defaultBillingAddress) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveAddressActionImpl.java index 464cc996622..a4c60b65e3a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removing the address from a Business Unit generates the BusinessUnitAddressRemoved Message.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveAssociateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveAssociateActionImpl.java index a1703d8e454..df55cbb6089 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveAssociateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveAssociateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removing an Associate from a Business Unit generates a BusinessUnitAssociateRemoved Message.

    @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveBillingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveBillingAddressIdActionImpl.java index 263bca86107..457442021e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveBillingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveBillingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removing a billing address from a Business Unit generates a BusinessUnitBillingAddressRemoved Message.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveShippingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveShippingAddressIdActionImpl.java index b7ec5d471ee..0111f4cf5c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveShippingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitRemoveShippingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Removing a shipping address from a Business Unit generates a BusinessUnitShippingAddressRemoved Message.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetAddressCustomFieldActionImpl.java index 7b073b4dfbe..e7741b6926b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding a Custom Field to an Address of a Business Unit generates the BusinessUnitAddressCustomFieldAdded Message, removing one generates the BusinessUnitAddressCustomFieldRemoved Message, and updating an existing one generates the BusinessUnitAddressCustomFieldChanged Message.

    @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetAddressCustomTypeActionImpl.java index 77c48a075e0..228784c9778 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding or updating a Custom Type to an Address of a Business Unit generates the BusinessUnitAddressCustomTypeSet Message, and removing one generates the BusinessUnitAddressCustomTypeRemoved Message.

    @@ -120,4 +122,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).append(addressId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .append("addressId", addressId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetContactEmailActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetContactEmailActionImpl.java index d7b8e0132d6..4209433a562 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetContactEmailActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetContactEmailActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the contact email on a Business Unit generates a BusinessUnitContactEmailSet Message.

    @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(contactEmail).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("contactEmail", contactEmail) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetCustomFieldActionImpl.java index 073cb3e45d0..54f139dc807 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding a Custom Field to a Business Unit generates the BusinessUnitCustomFieldAdded Message, removing one generates the BusinessUnitCustomFieldRemoved Message, and updating an existing one generates the BusinessUnitCustomFieldChanged Message.

    @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetCustomTypeActionImpl.java index f2af949f811..5e5b65561f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adding or updating a Custom Type on a Business Unit generates the BusinessUnitCustomTypeSet Message, removing one generates the BusinessUnitCustomTypeRemoved Message.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetDefaultBillingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetDefaultBillingAddressActionImpl.java index 1aeee696711..512444f59e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetDefaultBillingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetDefaultBillingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the default billing address on a Business Unit generates the BusinessUnitDefaultBillingAddressSet Message.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetDefaultShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetDefaultShippingAddressActionImpl.java index 90fa670fb80..25e6f9dbc59 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetDefaultShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitSetDefaultShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Setting the default shipping address on a Business Unit generates a BusinessUnitDefaultShippingAddressSet Message.

    @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitUpdateActionImpl.java index bfca70048b1..a371720aa6a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyBusinessUnitUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitUpdateImpl.java index ddcc1a496da..3b01b6fd7b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyBusinessUnitUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyBusinessUnitUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddDiscountCodeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddDiscountCodeActionImpl.java index 7d2d22a93b4..32b5021d416 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddDiscountCodeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddDiscountCodeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adds a DiscountCode to the Cart to activate the related CartDiscounts. Adding a Discount Code is only possible if no DirectDiscount has been applied to the Cart. Discount Codes can be added to frozen Carts, but their DiscountCodeState is then DoesNotMatchCart.

    @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(code).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("code", code) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddItemShippingAddressActionImpl.java index 76a4ae72c9d..522a90a58f5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    Adds an address to a Cart when shipping to multiple addresses is desired.

    @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddLineItemActionImpl.java index 3b248656f14..2decb01bbf9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem shippingDetails is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the externalPrice or externalTotalPrice is set in this update action. The LineItem price is set as described in LineItem Price selection.

    @@ -261,4 +263,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .append("productId", productId) + .append("variantId", variantId) + .append("sku", sku) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("distributionChannel", distributionChannel) + .append("supplyChannel", supplyChannel) + .append("shippingDetails", shippingDetails) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddPaymentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddPaymentActionImpl.java index 72e8c5fe62e..fbc0457cd98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddPaymentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartAddPaymentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartAddPaymentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("payment", payment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.java index 5d4cad6324b..f369d779951 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartApplyDeltaToLineItemShippingDetailsTargetsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    To override the shipping details, see Set LineItem ShippingDetails.

    @@ -128,4 +130,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("targetsDelta", targetsDelta) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeLineItemQuantityActionImpl.java index 16973397c01..17c411394bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

    When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the shippingDetails field is kept in its current state to avoid data loss.

    @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeTaxModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeTaxModeActionImpl.java index 37c7d596e33..0c39d4feca1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeTaxModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartChangeTaxModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *
      @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxMode", taxMode) + .build(); + } + } 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 2605d9cae95..c1333bc0792 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      The customerId is determined by a password flow token and automatically set on the resulting Cart. The anonymousId is determined by a token for an anonymous session and automatically set on the resulting Cart.

      @@ -371,4 +373,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("currency", currency) + .append("customerEmail", customerEmail) + .append("businessUnit", businessUnit) + .append("store", store) + .append("lineItems", lineItems) + .append("taxMode", taxMode) + .append("inventoryMode", inventoryMode) + .append("billingAddress", billingAddress) + .append("shippingAddress", shippingAddress) + .append("shippingMethod", shippingMethod) + .append("itemShippingAddresses", itemShippingAddresses) + .append("discountCodes", discountCodes) + .append("country", country) + .append("locale", locale) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRecalculateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRecalculateActionImpl.java index 8c905972c73..8c50c9442a4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRecalculateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRecalculateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      This update action does not set any Cart field in particular, but it triggers several Cart updates to bring prices and discounts to the latest state. Those can become stale over time when no Cart updates have been performed for a while and prices on related Products have changed in the meanwhile.

      @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(updateProductData).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("updateProductData", updateProductData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveDiscountCodeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveDiscountCodeActionImpl.java index 4328713f39d..945ac15a1f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveDiscountCodeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveDiscountCodeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartRemoveDiscountCodeAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(discountCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("discountCode", discountCode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveItemShippingAddressActionImpl.java index 5411d67b19b..c68d9b257a2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      An address can only be removed if it is not referenced in any ItemShippingTarget of the Cart.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveLineItemActionImpl.java index edf435f8daf..cc99c9225a4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemoveLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      The LineItem price is updated as described in LineItem Price selection.

      @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .append("externalPrice", externalPrice) + .append("externalTotalPrice", externalTotalPrice) + .append("shippingDetailsToRemove", shippingDetailsToRemove) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemovePaymentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemovePaymentActionImpl.java index 057c52e901b..3785dcef82b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemovePaymentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartRemovePaymentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartRemovePaymentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("payment", payment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetBillingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetBillingAddressActionImpl.java index a98d7767f55..93baff3807e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetBillingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetBillingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartSetBillingAddressAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetBusinessUnitActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetBusinessUnitActionImpl.java index 6573087b9dc..c7d8a7cb2b5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetBusinessUnitActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetBusinessUnitActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Updates the Business Unit on the Cart. The Cart must have an existing Business Unit assigned already.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(businessUnit).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("businessUnit", businessUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCountryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCountryActionImpl.java index 8ae5db0930a..bfdaa59b947 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCountryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCountryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting the country can lead to changes in the LineItem prices.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(country).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("country", country) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomFieldActionImpl.java index 9d9d3b86ec5..dfea9984137 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomTypeActionImpl.java index 04d2e9a209a..d99bee82642 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomerEmailActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomerEmailActionImpl.java index f85331f9a6b..cf394f981bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomerEmailActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetCustomerEmailActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartSetCustomerEmailAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(email).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("email", email) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetDeleteDaysAfterLastModificationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetDeleteDaysAfterLastModificationActionImpl.java index e9caccaddf2..e827dbb3a8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetDeleteDaysAfterLastModificationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetDeleteDaysAfterLastModificationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Number of days after which a Cart with Active CartState is deleted since its last modification.

      @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(deleteDaysAfterLastModification).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemCustomFieldActionImpl.java index 62701cc46e6..b44dc6f3ab8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartSetLineItemCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemCustomTypeActionImpl.java index 3064363b3f9..cf46eaadf86 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartSetLineItemCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemDistributionChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemDistributionChannelActionImpl.java index 9ecaf8e407a..9416e5a57bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemDistributionChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemDistributionChannelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting a distribution channel for a LineItem can lead to an updated price as described in LineItem Price selection.

      @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("distributionChannel", distributionChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemShippingDetailsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemShippingDetailsActionImpl.java index 260b6be4ffb..4081ec55b16 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemShippingDetailsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemShippingDetailsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartSetLineItemShippingDetailsAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("shippingDetails", shippingDetails) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemSupplyChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemSupplyChannelActionImpl.java index f7086759354..227713886c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemSupplyChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLineItemSupplyChannelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Performing this action has no impact on inventory that should be reserved.

      @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("supplyChannel", supplyChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLocaleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLocaleActionImpl.java index 7a582b84e36..1a2433c21a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLocaleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetLocaleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartSetLocaleAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(locale).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("locale", locale) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetShippingAddressActionImpl.java index 01d42be2151..13b5ceb0ce2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting the shipping address also sets the TaxRate of Line Items and calculates the TaxedPrice.

      @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetShippingMethodActionImpl.java index 220be461c05..ff6ddd8c311 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetShippingMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartSetShippingMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      To set the Cart's Shipping Method the Cart must have the Single ShippingMode and a shippingAddress.

      @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingMethod).append(externalTaxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingMethod", shippingMethod) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateActionImpl.java index 3d4e6c0ef31..c5da2959786 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateImpl.java index 7e2e580da58..8c9ac4ed902 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCartUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateItemShippingAddressActionImpl.java index b5e82c98eb6..bf5b06cd3c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCartUpdateItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Updates an address in itemShippingAddresses by keeping the Address key.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCompanyDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCompanyDraftImpl.java index ab18ea53a8e..d64d8e65d71 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCompanyDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCompanyDraftImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Draft type to represent the top level of a business. Contains the fields and values of the generic MyBusinessUnitDraft that are used specifically for creating a Company.

      @@ -248,4 +250,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("custom", custom) + .append("addresses", addresses) + .append("shippingAddresses", shippingAddresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("billingAddresses", billingAddresses) + .append("defaultBillingAddress", defaultBillingAddress) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddAddressActionImpl.java index 98269c716da..6a35460bb29 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adding an address to the Customer produces the CustomerAddressAdded Message.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddBillingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddBillingAddressIdActionImpl.java index 2478902df62..bca960b285c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddBillingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddBillingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adds an address from the addresses array to billingAddressIds. Either addressId or addressKey is required.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddShippingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddShippingAddressIdActionImpl.java index e1a6bbd473b..ad8434d8938 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddShippingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerAddShippingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adds an address from the addresses array to shippingAddressIds. Either addressId or addressKey is required.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerChangeAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerChangeAddressActionImpl.java index b535716a5c7..bee5fa8785d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerChangeAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerChangeAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Changing an address of the Customer produces the CustomerAddressChanged Message.

      @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerChangeEmailActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerChangeEmailActionImpl.java index bc32fafc275..bef50525428 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerChangeEmailActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerChangeEmailActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Changing the email of the Customer produces the CustomerEmailChanged Message.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(email).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("email", email) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerDraftImpl.java index b0d5d12ba7f..ccaddef2f0f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerDraft @@ -358,4 +360,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("email", email) + .append("password", password) + .append("firstName", firstName) + .append("lastName", lastName) + .append("middleName", middleName) + .append("title", title) + .append("salutation", salutation) + .append("dateOfBirth", dateOfBirth) + .append("companyName", companyName) + .append("vatId", vatId) + .append("addresses", addresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("defaultBillingAddress", defaultBillingAddress) + .append("custom", custom) + .append("locale", locale) + .append("stores", stores) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveAddressActionImpl.java index 0e61d3ced47..d81e57f265a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Removing an address of the Customer produces the CustomerAddressRemoved Message.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveBillingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveBillingAddressIdActionImpl.java index 5c331ca7e73..6e04c6fec5b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveBillingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveBillingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Removes an existing billing address from billingAddressesIds. If the billing address is the default billing address, the defaultBillingAddressId is unset. Either addressId or addressKey is required.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveShippingAddressIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveShippingAddressIdActionImpl.java index 33a78d5d6ac..ca788020f45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveShippingAddressIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerRemoveShippingAddressIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Removes an existing shipping address from shippingAddressesIds. If the shipping address is the default shipping address, the defaultShippingAddressId is unset. Either addressId or addressKey is required.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCompanyNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCompanyNameActionImpl.java index b02d42653d5..29028f06c27 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCompanyNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCompanyNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting the companyName field on the Customer produces the CustomerCompanyNameSet Message.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(companyName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("companyName", companyName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCustomFieldActionImpl.java index ee5a79f6e6e..f907fb8feca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adding a Custom Field to a Customer generates the CustomerCustomFieldAdded Message, removing one generates the CustomerCustomFieldRemoved Message, and updating an existing one generates the CustomerCustomFieldChanged Message.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCustomTypeActionImpl.java index ff71091342f..a03b4b51a1f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adding or updating a Custom Type on a Customer generates the CustomerCustomTypeSet Message, removing one generates the CustomerCustomTypeRemoved Message.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDateOfBirthActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDateOfBirthActionImpl.java index 0505259e1e1..811798254ed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDateOfBirthActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDateOfBirthActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting the date of birth of the Customer produces the CustomerDateOfBirthSet Message.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(dateOfBirth).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("dateOfBirth", dateOfBirth) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDefaultBillingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDefaultBillingAddressActionImpl.java index 388f0d9c27a..55af34d9f45 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDefaultBillingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDefaultBillingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Sets the default billing address from addresses. If the address is not currently a billing address, it is added to billingAddressIds. Either addressId or addressKey is required.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDefaultShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDefaultShippingAddressActionImpl.java index 3ab27d8cd42..1887ea7e4e6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDefaultShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetDefaultShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Sets the default shipping address from addresses. If the address is not currently a shipping address, it is added to shippingAddressIds. Either addressId or addressKey is required.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressId).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressId", addressId) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetFirstNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetFirstNameActionImpl.java index cb24bece162..350b6a1de44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetFirstNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetFirstNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting the first name of the Customer produces the CustomerFirstNameSetMessage.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(firstName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("firstName", firstName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetLastNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetLastNameActionImpl.java index 6bde7dc56db..4969248bc1b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetLastNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetLastNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting the last name of the Customer produces the CustomerLastNameSetMessage.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(lastName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lastName", lastName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetLocaleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetLocaleActionImpl.java index ba1130f223a..cbae8869e6f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetLocaleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetLocaleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerSetLocaleAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(locale).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("locale", locale) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetMiddleNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetMiddleNameActionImpl.java index 73a288a0342..4762722ec05 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetMiddleNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetMiddleNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerSetMiddleNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(middleName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("middleName", middleName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetSalutationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetSalutationActionImpl.java index ffb6fd13542..c5be78e32bb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetSalutationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetSalutationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerSetSalutationAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(salutation).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("salutation", salutation) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetTitleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetTitleActionImpl.java index 2ed589cf72c..42b8eed5002 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetTitleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetTitleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting the title of the Customer produces the CustomerTitleSetMessage.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(title).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("title", title) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetVatIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetVatIdActionImpl.java index 81281b2a2b4..dc94cb0ce10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetVatIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerSetVatIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerSetVatIdAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(vatId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("vatId", vatId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerUpdateActionImpl.java index 0815dd3f6b7..bbaf61df48f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerUpdateImpl.java index 6c7892310f4..8e5feef0c46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyCustomerUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyCustomerUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyDivisionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyDivisionDraftImpl.java index 69e590dfb51..5efe5943b70 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyDivisionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyDivisionDraftImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Draft type to model divisions that are part of the Company or a higher-order Division. Contains the fields and values of the generic MyBusinessUnitDraft that are used specifically for creating a Division.

      @@ -268,4 +270,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("unitType", unitType) + .append("name", name) + .append("contactEmail", contactEmail) + .append("custom", custom) + .append("addresses", addresses) + .append("shippingAddresses", shippingAddresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("billingAddresses", billingAddresses) + .append("defaultBillingAddress", defaultBillingAddress) + .append("parentUnit", parentUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyLineItemDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyLineItemDraftImpl.java index d09b520c6bf..a103629c1b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyLineItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyLineItemDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      For Product Variant identification, either the productId and variantId, or sku must be provided.

      @@ -241,4 +243,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("productId", productId) + .append("variantId", variantId) + .append("sku", sku) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("supplyChannel", supplyChannel) + .append("distributionChannel", distributionChannel) + .append("shippingDetails", shippingDetails) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyOrderFromCartDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyOrderFromCartDraftImpl.java index e761e5f3fe4..2fd9ac7c995 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyOrderFromCartDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyOrderFromCartDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyOrderFromCartDraft @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(version).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyOrderFromQuoteDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyOrderFromQuoteDraftImpl.java index 0ace1241211..eb85d1edd0e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyOrderFromQuoteDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyOrderFromQuoteDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyOrderFromQuoteDraft @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(version).append(quoteStateToAccepted).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("quoteStateToAccepted", quoteStateToAccepted) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentAddTransactionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentAddTransactionActionImpl.java index 9bd78d53f49..ab591ca450c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentAddTransactionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentAddTransactionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adding a Transaction to a Payment generates the PaymentTransactionAdded Message. Once a Transaction is added to the Payment, it can no longer be updated or deleted using the My Payments API.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(transaction).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("transaction", transaction) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentChangeAmountPlannedActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentChangeAmountPlannedActionImpl.java index 623122a7af4..c8d8cfa9733 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentChangeAmountPlannedActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentChangeAmountPlannedActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Can be used to update the Payment if a customer changes the Cart, or adds or removes a CartDiscount during checkout.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(amount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("amount", amount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentDraftImpl.java index aa4d1b6c504..4f340ed5c9d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPaymentDraft @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("amountPlanned", amountPlanned) + .append("paymentMethodInfo", paymentMethodInfo) + .append("custom", custom) + .append("transaction", transaction) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentImpl.java index 88f78a84865..704cb1b3a59 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPayment @@ -205,4 +207,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("customer", customer) + .append("anonymousId", anonymousId) + .append("amountPlanned", amountPlanned) + .append("paymentMethodInfo", paymentMethodInfo) + .append("transactions", transactions) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentPagedQueryResponseImpl.java index 7cf2042f7be..e01d88a0333 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      PagedQueryResult with results containing an array of MyPayment.

      @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetCustomFieldActionImpl.java index bdce95e704f..3abd4f38387 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPaymentSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoInterfaceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoInterfaceActionImpl.java index a5b4bad70c0..6b7e425ea95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoInterfaceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoInterfaceActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPaymentSetMethodInfoInterfaceAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(_interface).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("interface", _interface) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoMethodActionImpl.java index 79cf20da6d1..79c72b0faa8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPaymentSetMethodInfoMethodAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(method).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("method", method) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoNameActionImpl.java index 2e1fe957d8f..7774c80ddb5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetMethodInfoNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPaymentSetMethodInfoNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetTransactionCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetTransactionCustomFieldActionImpl.java index 1eb626fbc73..6c95fca1e72 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetTransactionCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentSetTransactionCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPaymentSetTransactionCustomFieldAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentUpdateActionImpl.java index e7c7b7d1645..e9fc8c79174 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPaymentUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentUpdateImpl.java index f6b5400f259..82551caf32c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyPaymentUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteChangeMyQuoteStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteChangeMyQuoteStateActionImpl.java index cf83f69c7b5..e4f669dbd2c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteChangeMyQuoteStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteChangeMyQuoteStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      When accepting, declining, or renegotiating B2B Quotes, the Customer must have the AcceptMyQuotes, DeclineMyQuotes, or RenegotiateMyQuotes Permission, respectively. If the required Permission is missing, an AssociateMissingPermission error is returned.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(quoteState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("quoteState", quoteState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestCancelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestCancelActionImpl.java index c752cfd6bb9..30463d913bd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestCancelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestCancelActionImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Transitions the quoteRequestState of the Quote Request to Cancelled. Can only be used when the Quote Request is in state Submitted.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } 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 523e96c943e..0f62994853a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyQuoteRequestDraft @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(cartId).append(cartVersion).append(comment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("cartId", cartId) + .append("cartVersion", cartVersion) + .append("comment", comment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestUpdateActionImpl.java index 8be9964898c..e5dfad5ed6f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyQuoteRequestUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestUpdateImpl.java index b9b8cf5c572..aec0f61b0c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteRequestUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyQuoteRequestUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteUpdateActionImpl.java index bdc41b69705..f3e03dd660c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyQuoteUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteUpdateImpl.java index 13b83eb5158..c133a42166e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyQuoteUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyQuoteUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListAddLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListAddLineItemActionImpl.java index 794a69269fc..5ebaab9e104 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListAddLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListAddLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListAddLineItemAction @@ -196,4 +198,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .append("sku", sku) + .append("productId", productId) + .append("variantId", variantId) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListAddTextLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListAddTextLineItemActionImpl.java index ead61fcab4c..33a8cadbec5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListAddTextLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListAddTextLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListAddTextLineItemAction @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("key", key) + .append("description", description) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeLineItemQuantityActionImpl.java index 45c68ba2abc..cd0ac2d80f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListChangeLineItemQuantityAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeLineItemsOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeLineItemsOrderActionImpl.java index ed8f01a38da..e050d9fec87 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeLineItemsOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeLineItemsOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListChangeLineItemsOrderAction @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(lineItemOrder).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemOrder", lineItemOrder) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeNameActionImpl.java index f27420f1d8b..3286cda85db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListChangeNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemNameActionImpl.java index 3c8096c48b7..2da0d855a0e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListChangeTextLineItemNameAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemQuantityActionImpl.java index a4246ca115e..09a3493b485 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListChangeTextLineItemQuantityAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemsOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemsOrderActionImpl.java index 4f95054e8fd..9825e8805e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemsOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListChangeTextLineItemsOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListChangeTextLineItemsOrderAction @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(textLineItemOrder).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemOrder", textLineItemOrder) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListDraftImpl.java index 30d7f30f744..514eefa65e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      A MyShoppingListDraft is the object submitted as payload to the Create MyShoppingList request. The customer field of ShoppingList is automatically set with a password flow token. The anonymousId is automatically set with a token for an anonymous session. The key and slug fields can not be set.

      @@ -193,4 +195,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("description", description) + .append("lineItems", lineItems) + .append("textLineItems", textLineItems) + .append("custom", custom) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListRemoveLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListRemoveLineItemActionImpl.java index e186928910b..5d324b88cb8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListRemoveLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListRemoveLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListRemoveLineItemAction @@ -121,4 +123,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListRemoveTextLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListRemoveTextLineItemActionImpl.java index f91e33187f3..c2b3d030226 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListRemoveTextLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListRemoveTextLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListRemoveTextLineItemAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetCustomFieldActionImpl.java index 12b69ad53ad..efbe8c9b722 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetCustomTypeActionImpl.java index b1ccdfad174..e967ce7ba81 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetDeleteDaysAfterLastModificationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetDeleteDaysAfterLastModificationActionImpl.java index 25ab740abf5..10f06cf5926 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetDeleteDaysAfterLastModificationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetDeleteDaysAfterLastModificationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetDeleteDaysAfterLastModificationAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(deleteDaysAfterLastModification).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetDescriptionActionImpl.java index 1e8291a602b..6d8757d7bc9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetLineItemCustomFieldActionImpl.java index d06e7e9c8fd..f3cd9bf1070 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetLineItemCustomFieldAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetLineItemCustomTypeActionImpl.java index d0565aa2f4f..aa3b34472d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetLineItemCustomTypeAction @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(lineItemId).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemCustomFieldActionImpl.java index c61ee999725..6260626abdf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetTextLineItemCustomFieldAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemCustomTypeActionImpl.java index a25d9f9e09b..429767a06d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetTextLineItemCustomTypeAction @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemDescriptionActionImpl.java index 87c3ea6830e..0135cb9abda 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListSetTextLineItemDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListSetTextLineItemDescriptionAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListUpdateActionImpl.java index 73e5fa3c7ae..7e8c4b29eca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListUpdateImpl.java index 048b2b3889f..e32e9c21bd7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyShoppingListUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyShoppingListUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyTransactionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyTransactionDraftImpl.java index 99a056b0e3d..c38ba6d434d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyTransactionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyTransactionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MyTransactionDraft @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("timestamp", timestamp) + .append("type", type) + .append("amount", amount) + .append("interactionId", interactionId) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/ReplicaMyCartDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/ReplicaMyCartDraftImpl.java index 519944726fb..37766a6eef0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/ReplicaMyCartDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/ReplicaMyCartDraftImpl.java @@ -16,6 +16,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReplicaMyCartDraft @@ -79,4 +81,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(reference).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("reference", reference).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowApprovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowApprovedMessageImpl.java index 93760ac2a89..503ff5a4938 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowApprovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowApprovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an approval in the Approval Flow.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("associate", associate) + .append("order", order) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowApprovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowApprovedMessagePayloadImpl.java index 297c1234156..5c74f38c7f7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowApprovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowApprovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an approval in the Approval Flow.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(associate).append(order).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("associate", associate) + .append("order", order) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCompletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCompletedMessageImpl.java index 9942f1f4058..2efd272d22e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCompletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCompletedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an Approval Flow is completed and reaches a final status.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("status", status) + .append("order", order) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCompletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCompletedMessagePayloadImpl.java index 03390bfb4ac..018d4cffc18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCompletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCompletedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an Approval Flow is completed and reaches a final status.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(status).append(order).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("status", status) + .append("order", order) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCreatedMessageImpl.java index 3e6bba70419..7074ad161f7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCreatedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an Approval Flow is created.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("approvalFlow", approvalFlow) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCreatedMessagePayloadImpl.java index 24e512ad5b6..50440794faa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowCreatedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an Approval Flow is created.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(approvalFlow).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("approvalFlow", approvalFlow) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowRejectedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowRejectedMessageImpl.java index 536f3ad7cf4..0e16036d2fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowRejectedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowRejectedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an Approval Flow is rejected.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("associate", associate) + .append("rejectionReason", rejectionReason) + .append("order", order) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowRejectedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowRejectedMessagePayloadImpl.java index 974409273bf..ce68d05392b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowRejectedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalFlowRejectedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an Approval Flow is rejected.

      @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("associate", associate) + .append("rejectionReason", rejectionReason) + .append("order", order) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleApproversSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleApproversSetMessageImpl.java index a6747693eb6..b1ba6540983 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleApproversSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleApproversSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Approvers update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("approvers", approvers) + .append("oldApprovers", oldApprovers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleApproversSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleApproversSetMessagePayloadImpl.java index df752d7f092..ec420bc77c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleApproversSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleApproversSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Approvers update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(approvers).append(oldApprovers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("approvers", approvers) + .append("oldApprovers", oldApprovers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleCreatedMessageImpl.java index 4499f734ccb..fc928c27778 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleCreatedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an Approval Rule is created.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("approvalRule", approvalRule) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleCreatedMessagePayloadImpl.java index 078d1dc1b3c..17d656bc54e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleCreatedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after an Approval Rule is created.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(approvalRule).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("approvalRule", approvalRule) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleDescriptionSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleDescriptionSetMessageImpl.java index e9329e47f6e..0abdba9251e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleDescriptionSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleDescriptionSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Description update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("description", description) + .append("oldDescription", oldDescription) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleDescriptionSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleDescriptionSetMessagePayloadImpl.java index f1e33bb92cb..86f297d0928 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleDescriptionSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleDescriptionSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Description update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(description).append(oldDescription).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("description", description) + .append("oldDescription", oldDescription) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessageImpl.java index 22095872ce7..095245d9141 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Key update action.

      @@ -292,4 +294,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("key", key) + .append("oldKey", oldKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessagePayloadImpl.java index e31a91c1518..3a1378b9946 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleKeySetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Key update action.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(oldKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("oldKey", oldKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleNameSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleNameSetMessageImpl.java index b233b8ad455..32abd64c55e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleNameSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleNameSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Name update action.

      @@ -292,4 +294,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("oldName", oldName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleNameSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleNameSetMessagePayloadImpl.java index c382b21c077..bc8864918fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleNameSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleNameSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Name update action.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(oldName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("oldName", oldName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRulePredicateSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRulePredicateSetMessageImpl.java index 2d58906898c..99672b8be6e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRulePredicateSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRulePredicateSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Predicate update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("predicate", predicate) + .append("oldPredicate", oldPredicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRulePredicateSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRulePredicateSetMessagePayloadImpl.java index b97a06eeb95..6713656efbc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRulePredicateSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRulePredicateSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Predicate update action.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(predicate).append(oldPredicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .append("oldPredicate", oldPredicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleRequestersSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleRequestersSetMessageImpl.java index 92db5f98501..0dcb3e0ba3a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleRequestersSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleRequestersSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Requester update action.

      @@ -304,4 +306,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("requesters", requesters) + .append("oldRequesters", oldRequesters) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleRequestersSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleRequestersSetMessagePayloadImpl.java index dbdc1ec4013..079c8f45a1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleRequestersSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleRequestersSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Requester update action.

      @@ -111,4 +113,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(requesters).append(oldRequesters).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("requesters", requesters) + .append("oldRequesters", oldRequesters) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleStatusSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleStatusSetMessageImpl.java index e24e96db6b9..2957b70d039 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleStatusSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleStatusSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Status update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("status", status) + .append("oldStatus", oldStatus) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleStatusSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleStatusSetMessagePayloadImpl.java index 33a6df3563a..73a1a653e7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleStatusSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ApprovalRuleStatusSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Status update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(status).append(oldStatus).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("status", status) + .append("oldStatus", oldStatus) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleBuyerAssignableChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleBuyerAssignableChangedMessageImpl.java index 0a9312afe2e..c987cb52570 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleBuyerAssignableChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleBuyerAssignableChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change BuyerAssignable update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("buyerAssignable", buyerAssignable) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleBuyerAssignableChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleBuyerAssignableChangedMessagePayloadImpl.java index fdf055513f8..1ab539ce614 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleBuyerAssignableChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleBuyerAssignableChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change BuyerAssignable update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(buyerAssignable).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("buyerAssignable", buyerAssignable) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleCreatedMessageImpl.java index 9abafb941a4..4cf59cde64a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleCreatedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create AssociateRole request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("associateRole", associateRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleCreatedMessagePayloadImpl.java index d5218173df6..b8cac57568a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleCreatedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create AssociateRole request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(associateRole).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("associateRole", associateRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleDeletedMessageImpl.java index 6face5822a6..3a33382c97d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleDeletedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete AssociateRole request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleDeletedMessagePayloadImpl.java index 55ee8a6894c..edd4a20ffcb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleDeletedMessagePayloadImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete AssociateRole request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleNameChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleNameChangedMessageImpl.java index 28bccfd937d..292c2c2e14e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleNameChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleNameChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Name update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleNameChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleNameChangedMessagePayloadImpl.java index eeb105142f3..83bc68666ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleNameChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRoleNameChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Name update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionAddedMessageImpl.java index ec6ae7134ae..af6852868e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Permissions update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("permission", permission) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionAddedMessagePayloadImpl.java index e9525c94f08..a1bb057cb83 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Permissions update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(permission).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("permission", permission) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionRemovedMessageImpl.java index b6c33d951ca..2d8508b2ebc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Permissions update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("permission", permission) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionRemovedMessagePayloadImpl.java index 3bc26d3d7f7..70e7ae39ab9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Permissions update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(permission).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("permission", permission) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionsSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionsSetMessageImpl.java index 69d379d2d00..c88ec45910c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionsSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionsSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Permissions update action.

      @@ -280,4 +282,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("permissions", permissions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionsSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionsSetMessagePayloadImpl.java index b757b323a8b..3fcccb3d457 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionsSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/AssociateRolePermissionsSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Permissions update action.

      @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(permissions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("permissions", permissions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressAddedMessageImpl.java index ce3bf8d5384..d27959b8778 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Address update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressAddedMessagePayloadImpl.java index e305a24b391..fda99d3cd09 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Address update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressChangedMessageImpl.java index 5e27e1e5e27..ca74a3b1114 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Address update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressChangedMessagePayloadImpl.java index 9fc89b0fd7c..4211f7c5777 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Address update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldAddedMessageImpl.java index 44ae06205da..b5f7ff78c1b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to an address of a Business Unit using the Set Address CustomField update action. If a Custom Field already exists with the same name, a BusinessUnitAddressCustomFieldChanged Message is generated instead.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldAddedMessagePayloadImpl.java index ab8d8ba66e8..02eae53af1f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to an address of a Business Unit using the Set Address CustomField update action. If a Custom Field already exists with the same name, a BusinessUnitAddressCustomFieldChanged Message is generated instead.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldChangedMessageImpl.java index 31d616bacd6..8b5631b042d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on an address of a Business Unit using the Set Address CustomField update action.

      @@ -313,4 +315,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .append("oldValue", oldValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldChangedMessagePayloadImpl.java index 226efa84c8a..471a99ab9a8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on an address of a Business Unit using the Set Address CustomField update action.

      @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).append(oldValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .append("oldValue", oldValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldRemovedMessageImpl.java index ef013c44dfc..98a5a5ff3c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from an address of a Business Unit using the Set Address CustomField update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldRemovedMessagePayloadImpl.java index 94c99c265b5..8f650ddabf4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomFieldRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from an address of a Business Unit using the Set Address CustomField update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeRemovedMessageImpl.java index 710f86cd007..40cca56efa4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from an address of a Business Unit using the Set Custom Type in Address update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeRemovedMessagePayloadImpl.java index 7446e0fb661..86a776f8de1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from an address of a Business Unit using the Set Custom Type in Address update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(oldTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeSetMessageImpl.java index 5a6578ff810..cba69ae08cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to an address of a Business Unit using the Set Custom Type in Address update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customFields", customFields) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeSetMessagePayloadImpl.java index eeb30f88df2..72f6d433965 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressCustomTypeSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to an address of a Business Unit using the Set Custom Type in Address update action.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customFields).append(oldTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customFields", customFields) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressRemovedMessageImpl.java index 0f7043d0d63..2fe4564e46d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Address update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressRemovedMessagePayloadImpl.java index 2baaa729270..c7d78a7a130 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAddressRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Address update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateAddedMessageImpl.java index 9a4db29e7c1..f16e430d4d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Associate update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateAddedMessagePayloadImpl.java index 626bdc09390..2a058a16508 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Associate update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(associate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateChangedMessageImpl.java index b7ce8247a26..f46960a0c41 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Associate update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateChangedMessagePayloadImpl.java index 6265ffd4fd4..4ba5a48dd17 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Associate update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(associate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateModeChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateModeChangedMessageImpl.java index 7986f0aca20..9ee0e3201c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateModeChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateModeChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Associate Mode update action.

      @@ -296,4 +298,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("associateMode", associateMode) + .append("oldAssociateMode", oldAssociateMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateModeChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateModeChangedMessagePayloadImpl.java index 0ac07c53767..9347110cc73 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateModeChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateModeChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Associate Mode update action.

      @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(associateMode).append(oldAssociateMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("associateMode", associateMode) + .append("oldAssociateMode", oldAssociateMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateRemovedMessageImpl.java index e6588e292f4..730dc1adfec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Associate update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateRemovedMessagePayloadImpl.java index 27be4ea45f5..c289aa85fa6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociateRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Associate update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(associate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("associate", associate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociatesSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociatesSetMessageImpl.java index 311634f8952..a5e315fe94e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociatesSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociatesSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Associates update action.

      @@ -279,4 +281,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("associates", associates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociatesSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociatesSetMessagePayloadImpl.java index 4461bc60281..e6d737c2188 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociatesSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitAssociatesSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Associates update action.

      @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(associates).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("associates", associates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressAddedMessageImpl.java index 1fba4580444..5b3bf1dff0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Billing Address Identifier update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressAddedMessagePayloadImpl.java index c5cf90e6afd..c1802ed09c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Billing Address Identifier update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressRemovedMessageImpl.java index 640339a83ab..79ee2cdf21b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Billing Address Identifier update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressRemovedMessagePayloadImpl.java index bcbf6bfa60a..dbe90556376 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitBillingAddressRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Billing Address Identifier update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitContactEmailSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitContactEmailSetMessageImpl.java index fd9a3a278f4..a58e5775157 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitContactEmailSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitContactEmailSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Contact Email update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("contactEmail", contactEmail) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitContactEmailSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitContactEmailSetMessagePayloadImpl.java index a8452b138b1..7c47571616c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitContactEmailSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitContactEmailSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Contact Email update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(contactEmail).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("contactEmail", contactEmail) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCreatedMessageImpl.java index 184c5417e68..e050e9a4484 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCreatedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create BusinessUnit request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("businessUnit", businessUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCreatedMessagePayloadImpl.java index af1f9663b70..4f555edcb5d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCreatedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create BusinessUnit request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(businessUnit).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("businessUnit", businessUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldAddedMessageImpl.java index 0d892c01b70..b9c2b1efe2b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to a Business Unit using the Set CustomField update action. If a Custom Field already exists with the same name, a BusinessUnitCustomFieldChanged Message is generated instead.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldAddedMessagePayloadImpl.java index cdaa7990150..2adc9a87a42 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to a Business Unit using the Set CustomField update action. If a Custom Field already exists with the same name, a BusinessUnitCustomFieldChanged Message is generated instead.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldChangedMessageImpl.java index 151fedcfb29..c5df98a34d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on a Business Unit using the Set CustomField update action.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .append("oldValue", oldValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldChangedMessagePayloadImpl.java index eeab73cec36..a90a48b532e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on a Business Unit using the Set CustomField update action.

      @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).append(oldValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .append("oldValue", oldValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldRemovedMessageImpl.java index 8ad5cce4337..da0f4e307c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from a Business Unit using the Set CustomField update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldRemovedMessagePayloadImpl.java index 779a4b6194a..e572f9b8f7a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomFieldRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from a Business Unit using the Set CustomField update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeRemovedMessageImpl.java index f6f11adfd08..dc4709600b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from a Business Unit using the Set Custom Type update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeRemovedMessagePayloadImpl.java index 03f00459029..65cdc05cfd4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from a Business Unit using the Set Custom Type update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(oldTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeSetMessageImpl.java index 4ce6e1783d0..4ac0b2737fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to a Business Unit using the Set Custom Type update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customFields", customFields) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeSetMessagePayloadImpl.java index 38881f8789e..f929ff35051 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitCustomTypeSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to a Business Unit using the Set Custom Type update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customFields).append(oldTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customFields", customFields) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultBillingAddressSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultBillingAddressSetMessageImpl.java index ba139849ce6..daedcda4e4f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultBillingAddressSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultBillingAddressSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Default Billing Address update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultBillingAddressSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultBillingAddressSetMessagePayloadImpl.java index 8077558a189..3d2917dd267 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultBillingAddressSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultBillingAddressSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Default Billing Address update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultShippingAddressSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultShippingAddressSetMessageImpl.java index b3b66bf51a5..0b91148e0a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultShippingAddressSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultShippingAddressSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Default Shipping Address update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultShippingAddressSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultShippingAddressSetMessagePayloadImpl.java index 0da736dd0c1..f755409c8f8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultShippingAddressSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDefaultShippingAddressSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Default Shipping Address update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDeletedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDeletedMessageImpl.java index 1fc470c7537..eaa980b9082 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDeletedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDeletedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete BusinessUnit request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDeletedMessagePayloadImpl.java index 52c8970fe5a..0eedb603858 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitDeletedMessagePayloadImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete BusinessUnit request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitNameChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitNameChangedMessageImpl.java index e4eb706bbf9..4490b552db6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitNameChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitNameChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Name update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitNameChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitNameChangedMessagePayloadImpl.java index 239a5cca975..5af6c587fd7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitNameChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitNameChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Name update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitParentChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitParentChangedMessageImpl.java index 19cce8244b8..6f32456ee94 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitParentChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitParentChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Parent Unit update action.

      @@ -296,4 +298,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("oldParentUnit", oldParentUnit) + .append("newParentUnit", newParentUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitParentChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitParentChangedMessagePayloadImpl.java index e9981d07169..cb12dcd18d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitParentChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitParentChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Parent Unit update action.

      @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(oldParentUnit).append(newParentUnit).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("oldParentUnit", oldParentUnit) + .append("newParentUnit", newParentUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressAddedMessageImpl.java index d8079fa7007..9dca2eadf13 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Shipping Address Identifier update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressAddedMessagePayloadImpl.java index dae789b0398..427d0372e2f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Shipping Address Identifier update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressRemovedMessageImpl.java index 797c5565cda..6b6190b0c27 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Shipping Address Identifier update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressRemovedMessagePayloadImpl.java index 6a7657bdde2..45751a26fb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitShippingAddressRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Shipping Address Identifier update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStatusChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStatusChangedMessageImpl.java index 397863de1d9..06d4dfa1d44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStatusChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStatusChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Status update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("active", active) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStatusChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStatusChangedMessagePayloadImpl.java index 4f2726cd44d..9fff83a607a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStatusChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStatusChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Status update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(active).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("active", active) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreAddedMessageImpl.java index 40118584136..f1e7fe6ae2e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Store update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreAddedMessagePayloadImpl.java index 263b52c80c7..51fbc7d4c23 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Store update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreModeChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreModeChangedMessageImpl.java index e75fcf5224e..a98701d16d3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreModeChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreModeChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Store Mode update action.

      @@ -340,4 +342,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("stores", stores) + .append("storeMode", storeMode) + .append("oldStores", oldStores) + .append("oldStoreMode", oldStoreMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreModeChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreModeChangedMessagePayloadImpl.java index cb1d53fdddc..e216ce2751e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreModeChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreModeChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Store Mode update action.

      @@ -151,4 +153,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("stores", stores) + .append("storeMode", storeMode) + .append("oldStores", oldStores) + .append("oldStoreMode", oldStoreMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreRemovedMessageImpl.java index fea88496a2d..6d1dbef7bbb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Store update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreRemovedMessagePayloadImpl.java index db6e19eb0b8..f4aa1823958 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoreRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Store update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoresSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoresSetMessageImpl.java index a53eb529949..1b1d9dd78fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoresSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoresSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Stores update action.

      @@ -278,4 +280,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("stores", stores) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoresSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoresSetMessagePayloadImpl.java index f45b462d705..b7f83da8ec1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoresSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/BusinessUnitStoresSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Stores update action.

      @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(stores).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("stores", stores) + .build(); + } + } 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 8015ccb7cfc..e079b1567a6 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Category request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("category", category) + .build(); + } + } 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 e25fe4747ee..dc8d8251106 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Category request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(category).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("category", category) + .build(); + } + } 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 895fe7d22d0..d787b68d0af 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Slug update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("slug", slug) + .append("oldSlug", oldSlug) + .build(); + } + } 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 99cd98d6343..f54e569d6e2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Slug update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(slug).append(oldSlug).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("slug", slug) + .append("oldSlug", oldSlug) + .build(); + } + } 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 19c711a3c42..5c3998e3e63 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      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.

      @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(container).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("container", container) + .build(); + } + } 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 ba81cecfc02..2c9ea46b95f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition CustomLineItem State update action.

      @@ -370,4 +372,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("transitionDate", transitionDate) + .append("quantity", quantity) + .append("fromState", fromState) + .append("toState", toState) + .build(); + } + } 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 770948a1494..9441ec896e9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition CustomLineItem State update action.

      @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("transitionDate", transitionDate) + .append("quantity", quantity) + .append("fromState", fromState) + .append("toState", toState) + .build(); + } + } 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 1a0c10ec659..dbef38fab4f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Address update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } 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 c8c1ef069f1..9c0194570bf 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Address update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } 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 665a8da19bf..8b6503db317 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Address update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } 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 04dd7f9d41f..9e969fda524 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Address update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldAddedMessageImpl.java index ee11e4a7817..c2786ca3824 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to an Address of a Customer using the Set CustomField in Address update action. If a Custom Field already exists with the same name, a CustomerAddressCustomFieldChanged Message is generated instead.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldAddedMessagePayloadImpl.java index 29550bb7f0b..460e4c2d23d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to an Address of a Customer using the Set CustomField in Address update action. If a Custom Field already exists with the same name, a CustomerAddressCustomFieldChanged Message is generated instead.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldChangedMessageImpl.java index 1aed65c3290..641f39ac36e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on an Address of a Customer using the Set CustomField in Address update action.

      @@ -313,4 +315,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldChangedMessagePayloadImpl.java index e31fc32dc67..6940a0b7f10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on an Address of a Customer using the Set CustomField in Address update action.

      @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldRemovedMessageImpl.java index 400fb4c2d26..8348378a6f6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from an Address of a Customer using the Set CustomField in Address update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldRemovedMessagePayloadImpl.java index e281642f767..ba19d3f2f1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomFieldRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from an Address of a Customer using the Set CustomField in Address update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeRemovedMessageImpl.java index 7b65c2a2709..a6cf5e25d21 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from an Address of a Customer using the Set Custom Type in Address update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeRemovedMessagePayloadImpl.java index 823e01ca677..956951a4366 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from an Address of a Customer using the Set Custom Type in Address update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(previousTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeSetMessageImpl.java index 3e86caa10cf..e168aacc930 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to an Address of a Customer using the Set Custom Type in Address update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customFields", customFields) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeSetMessagePayloadImpl.java index 7cb4defb2d1..c102074e6c1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerAddressCustomTypeSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to an Address of a Customer using the Set Custom Type in Address update action.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customFields).append(previousTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customFields", customFields) + .append("previousTypeId", previousTypeId) + .build(); + } + } 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 c90910120ea..800c9825ad2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Address update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .build(); + } + } 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 f4d17dec8fe..20590a3e6ac 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Address update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .build(); + } + } 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 510eff5fd77..285068af217 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Company Name update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("companyName", companyName) + .build(); + } + } 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 1e9dc221dac..7d7e1ec2a9f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Company Name update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(companyName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("companyName", companyName) + .build(); + } + } 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 df3db35192b..58a556e4637 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Customer request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customer", customer) + .build(); + } + } 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 366f7e5a014..62ee3d8c79a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Customer request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldAddedMessageImpl.java index 51a7f5323f9..176759edfa7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to a Customer using the Set CustomField update action. If a Custom Field already exists with the same name, a CustomerCustomFieldChanged Message is generated instead.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldAddedMessagePayloadImpl.java index 63e9543eb7a..06bb303ec19 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to a Customer using the Set CustomField update action. If a Custom Field already exists with the same name, a CustomerCustomFieldChanged Message is generated instead.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldChangedMessageImpl.java index aae1faea9fa..16fd070b859 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on a Customer using the Set CustomField update action.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldChangedMessagePayloadImpl.java index 2451fed44d5..35ae325adf3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on a Customer using the Set CustomField update action.

      @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldRemovedMessageImpl.java index 2c93b9dce91..484a29b26b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from a Customer using the Set CustomField update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldRemovedMessagePayloadImpl.java index 67e1aa4da4e..c6d139bce5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomFieldRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from a Customer using the Set CustomField update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeRemovedMessageImpl.java index d756be8a53a..4ce01ac7704 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from a Customer using the Set Custom Type update action with empty parameters.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeRemovedMessagePayloadImpl.java index 9276924428e..e44c328330c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from a Customer using the Set Custom Type update action with empty parameters.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(previousTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeSetMessageImpl.java index 54d4a867102..efba8c2657c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to a Customer using the Set Custom Type update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customFields", customFields) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeSetMessagePayloadImpl.java index 9e3adcc660b..09b72a0ac3b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerCustomTypeSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to a Customer using the Set Custom Type update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customFields).append(previousTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customFields", customFields) + .append("previousTypeId", previousTypeId) + .build(); + } + } 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 329935ecf71..78b3d2a183c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Date of Birth update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("dateOfBirth", dateOfBirth) + .build(); + } + } 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 748ae75a998..89d8967581d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Date of Birth update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(dateOfBirth).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("dateOfBirth", dateOfBirth) + .build(); + } + } 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 57494098403..b4415accae5 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Customer request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 e4fc148f54c..2c49e9e0f04 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Customer request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 58df7f3403c..a7cceb5e8a8 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Email update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("email", email) + .build(); + } + } 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 fda56d64936..2bcf515f4f3 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Email update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(email).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("email", email) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessageImpl.java index 37347b794f4..b40111db2e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create email token for Customer request. The resource property of the Message is a CustomerEmailTokenReference.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customerId", customerId) + .append("expiresAt", expiresAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayloadImpl.java index 61e1b676722..29fc7e3a923 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create email token for Customer request. The resource property of the Message is a CustomerEmailTokenReference.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customerId).append(expiresAt).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customerId", customerId) + .append("expiresAt", expiresAt) + .build(); + } + } 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 a7b63903b89..5baa3cedf19 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Verify Customer's Email request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 db968b5b429..70b2d014433 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Verify Customer's Email request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 90f4eb16973..f76f083d6f5 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set First Name update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("firstName", firstName) + .build(); + } + } 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 70cf3324a2f..a1fc3703eef 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set First Name update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(firstName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("firstName", firstName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldAddedMessageImpl.java index 36323e693aa..706ff2159e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to a Customer Group using the Set CustomField update action. If a Custom Field already exists with the same name, a CustomerGroupCustomFieldChanged Message is generated instead.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldAddedMessagePayloadImpl.java index 89564b8d672..65147342fa2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field to a Customer Group using the Set CustomField update action. If a Custom Field already exists with the same name, a CustomerGroupCustomFieldChanged Message is generated instead.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldChangedMessageImpl.java index 3588c064f54..95fd9a6fc01 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on a Customer Group using the Set CustomField update action.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .append("oldValue", oldValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldChangedMessagePayloadImpl.java index c0bf5765d49..a220b3e5662 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after changing an existing Custom Field on a Customer Group using the Set CustomField update action.

      @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).append(oldValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .append("oldValue", oldValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldRemovedMessageImpl.java index b0e78d87422..cb4f26d5edf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from a Customer Group using the Set CustomField update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldRemovedMessagePayloadImpl.java index 24baea3f590..9ad165ef37c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomFieldRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Field from a Customer Group using the Set CustomField update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeRemovedMessageImpl.java index 5c0ef2ecce2..09a81857016 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from a Customer Group using the Set Custom Type update action with empty parameters.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeRemovedMessagePayloadImpl.java index f64eea5145c..03cd6a596a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after removing a Custom Type from a Customer Group using the Set Custom Type update action with empty parameters.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(oldTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeSetMessageImpl.java index ecc81e8cbe4..66958663525 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to a Customer Group using the Set Custom Type update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customFields", customFields) + .append("oldTypeId", oldTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeSetMessagePayloadImpl.java index c653d703b84..5ffa57ad74d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerGroupCustomTypeSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Type to a Customer Group using the Set Custom Type update action.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customFields).append(oldTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customFields", customFields) + .append("oldTypeId", oldTypeId) + .build(); + } + } 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 cb0b721c18d..2c976749857 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Customer Group update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customerGroup", customerGroup) + .build(); + } + } 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 aa0ceea0f4d..95c6eb37cb2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Customer Group update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customerGroup).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customerGroup", customerGroup) + .build(); + } + } 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 9ea35653a2f..bbe9c6da9a6 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Last Name update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("lastName", lastName) + .build(); + } + } 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 38a2105c4db..2a8a764bfa6 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Last Name update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(lastName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("lastName", lastName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessageImpl.java index c9aabc5d4ee..6fbfed05d4b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create password reset token for Customer request. The resource property of the Message is a CustomerPasswordTokenReference.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customerId", customerId) + .append("expiresAt", expiresAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayloadImpl.java index 2326d36b79a..b1dd98a397e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create password reset token for Customer request. The resource property of the Message is a CustomerPasswordTokenReference.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customerId).append(expiresAt).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customerId", customerId) + .append("expiresAt", expiresAt) + .build(); + } + } 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 7f61e5ebb62..a8c97111a53 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      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.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("reset", reset) + .build(); + } + } 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 dd8feff8fb6..f6514b91976 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      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.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(reset).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("reset", reset) + .build(); + } + } 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 25996330c18..b8310d62976 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Title update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("title", title) + .build(); + } + } 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 495e682fd12..451a90b4a9d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Title update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(title).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("title", title) + .build(); + } + } 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 af446440b3a..fe0ac661409 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Delivery update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("delivery", delivery) + .append("shippingKey", shippingKey) + .build(); + } + } 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 dce159e9c43..915d51ce69d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Delivery update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(delivery).append(shippingKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("delivery", delivery) + .append("shippingKey", shippingKey) + .build(); + } + } 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 6e882b4bc12..615730fadf7 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Delivery Address update action.

      @@ -331,4 +333,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("deliveryId", deliveryId) + .append("address", address) + .append("oldAddress", oldAddress) + .append("shippingKey", shippingKey) + .build(); + } + } 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 42bdea4adf0..f0640d510aa 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Delivery Address update action.

      @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("deliveryId", deliveryId) + .append("address", address) + .append("oldAddress", oldAddress) + .append("shippingKey", shippingKey) + .build(); + } + } 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 7dc47cefde1..2929fd66a42 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Delivery Items update action.

      @@ -339,4 +341,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("deliveryId", deliveryId) + .append("items", items) + .append("oldItems", oldItems) + .append("shippingKey", shippingKey) + .build(); + } + } 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 774271d65b3..9d24512fdbd 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Delivery Items update action.

      @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("deliveryId", deliveryId) + .append("items", items) + .append("oldItems", oldItems) + .append("shippingKey", shippingKey) + .build(); + } + } 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 57e16b6ced3..a500f83291c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Delivery update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("delivery", delivery) + .append("shippingKey", shippingKey) + .build(); + } + } 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 58c2bed47d8..a68baf38e34 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Delivery update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(delivery).append(shippingKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("delivery", delivery) + .append("shippingKey", shippingKey) + .build(); + } + } 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 1fea8525e2c..463a23ce60a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create InventoryEntry request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("inventoryEntry", inventoryEntry) + .build(); + } + } 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 8a301138cb4..2480cdbd459 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create InventoryEntry request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(inventoryEntry).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("inventoryEntry", inventoryEntry) + .build(); + } + } 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 07a0a2de0ec..90d5b690b41 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete InventoryEntry request.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("sku", sku) + .append("supplyChannel", supplyChannel) + .build(); + } + } 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 7f9f13e944f..f17be3d00e2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete InventoryEntry request.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(sku).append(supplyChannel).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("sku", sku) + .append("supplyChannel", supplyChannel) + .build(); + } + } 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 ebeafb6f1b3..199fc1340f5 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      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.

      @@ -351,4 +353,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("oldQuantityOnStock", oldQuantityOnStock) + .append("newQuantityOnStock", newQuantityOnStock) + .append("oldAvailableQuantity", oldAvailableQuantity) + .append("newAvailableQuantity", newAvailableQuantity) + .append("supplyChannel", supplyChannel) + .build(); + } + } 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 45e23162994..c9bccb11f16 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      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.

      @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("oldQuantityOnStock", oldQuantityOnStock) + .append("newQuantityOnStock", newQuantityOnStock) + .append("oldAvailableQuantity", oldAvailableQuantity) + .append("newAvailableQuantity", newAvailableQuantity) + .append("supplyChannel", supplyChannel) + .build(); + } + } 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 20b74736450..3b90a802e83 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition LineItem State update action.

      @@ -368,4 +370,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("transitionDate", transitionDate) + .append("quantity", quantity) + .append("fromState", fromState) + .append("toState", toState) + .build(); + } + } 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 d3b95c85476..a74ae894a0f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition LineItem State update action.

      @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("transitionDate", transitionDate) + .append("quantity", quantity) + .append("fromState", fromState) + .append("toState", toState) + .build(); + } + } 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 b9f3d88a33d..ad98f19e5e0 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Base representation of a Message containing common fields to all Message Types.

      @@ -254,4 +256,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 ff617197480..13c341b6e56 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      PagedQueryResult with results containing an array of Message.

      @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadImpl.java index bfdf3f2a3a3..dae7c94270d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * MessagePayload @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagesConfigurationDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagesConfigurationDraftImpl.java index 5ca3c254eb5..5983641880f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagesConfigurationDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagesConfigurationDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Defines the configuration for the Messages Query feature for the Project.

      @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(enabled).append(deleteDaysAfterCreation).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("enabled", enabled) + .append("deleteDaysAfterCreation", deleteDaysAfterCreation) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagesConfigurationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagesConfigurationImpl.java index 95ce9fb63c0..f5615118e12 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagesConfigurationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/MessagesConfigurationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Holds the configuration for the Messages Query feature for the Project.

      @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(enabled).append(deleteDaysAfterCreation).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("enabled", enabled) + .append("deleteDaysAfterCreation", deleteDaysAfterCreation) + .build(); + } + } 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 65c0ecf4e09..4973017421f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Billing Address update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .append("oldAddress", oldAddress) + .build(); + } + } 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 af7989284c8..0e4b1732d20 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Billing Address update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).append(oldAddress).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .append("oldAddress", oldAddress) + .build(); + } + } 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 73abd1e7f2d..6f1d1952ffb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Order request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("order", order) + .build(); + } + } 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 460dbf4cd92..fc9f11e08d8 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Order request.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(order).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("order", order) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldAddedMessageImpl.java index 026678e755a..f05599debe2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field using the Set CustomField.

      @@ -292,4 +294,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldAddedMessagePayloadImpl.java index 14212304d93..3925be2d85c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after adding a Custom Field using the Set CustomField.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldChangedMessageImpl.java index 404552eab33..ef1e5a03389 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated when an existing Custom Field has been changed using the Set CustomField action.

      @@ -311,4 +313,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("value", value) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldChangedMessagePayloadImpl.java index fafb5b15f3b..0771ff52f6c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated when an existing Custom Field has been changed using the Set CustomField action.

      @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(value).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("value", value) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldRemovedMessageImpl.java index e0027cdb8f7..f11b31e2cad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated when a Custom Field has been removed from the Order using the Set CustomField action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldRemovedMessagePayloadImpl.java index 69a89f61a9e..71a250380ed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomFieldRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated when a Custom Field has been removed from the Order using the Set CustomField action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .build(); + } + } 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 49dc0bf5999..d4eaac2060e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add CustomLineItem update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customLineItem", customLineItem) + .build(); + } + } 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 5ba234ca898..054ff0e357b 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add CustomLineItem update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customLineItem).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customLineItem", customLineItem) + .build(); + } + } 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 291e9d696ac..570055028d6 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful recalculation of a Discount on a Custom Line Item.

      @@ -338,4 +340,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("discountedPricePerQuantity", discountedPricePerQuantity) + .append("taxedPrice", taxedPrice) + .build(); + } + } 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 4d5d3b3a320..4c84d6902e1 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful recalculation of a Discount on a Custom Line Item.

      @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("discountedPricePerQuantity", discountedPricePerQuantity) + .append("taxedPrice", taxedPrice) + .build(); + } + } 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 632ea4e2746..943ecb89ee1 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change CustomLineItem Quantity update action.

      @@ -332,4 +334,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("quantity", quantity) + .append("oldQuantity", oldQuantity) + .build(); + } + } 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 ca2ca2d84fe..f59eaa5408c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change CustomLineItem Quantity update action.

      @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("quantity", quantity) + .append("oldQuantity", oldQuantity) + .build(); + } + } 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 21726d0fa7f..c259bf5384e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove CustomLineItem update action.

      @@ -313,4 +315,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("customLineItem", customLineItem) + .build(); + } + } 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 e2f78b47302..6cbcf44c510 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove CustomLineItem update action.

      @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("customLineItem", customLineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeRemovedMessageImpl.java index 63138d35805..caa5708fba4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Custom Type with empty parameters.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeRemovedMessagePayloadImpl.java index dc44144dc1f..be170ba96d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Custom Type with empty parameters.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(previousTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeSetMessageImpl.java index 84213ca0c54..7c5e2fdec4f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Custom Type.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customFields", customFields) + .append("previousTypeId", previousTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeSetMessagePayloadImpl.java index da078a382e4..2cca6e512e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderCustomTypeSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Custom Type.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customFields).append(previousTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customFields", customFields) + .append("previousTypeId", previousTypeId) + .build(); + } + } 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 e4ad60d29da..a82994a08d9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Customer Email update action.

      @@ -292,4 +294,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("email", email) + .append("oldEmail", oldEmail) + .build(); + } + } 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 10a2459a307..1a88009f2a2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Customer Email update action.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(email).append(oldEmail).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("email", email) + .append("oldEmail", oldEmail) + .build(); + } + } 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 6c2f47f6a93..248d92f2aa2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Customer Group update action.

      @@ -295,4 +297,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customerGroup", customerGroup) + .append("oldCustomerGroup", oldCustomerGroup) + .build(); + } + } 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 4ef28448f26..db0860e92c8 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Customer Group update action.

      @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customerGroup).append(oldCustomerGroup).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customerGroup", customerGroup) + .append("oldCustomerGroup", oldCustomerGroup) + .build(); + } + } 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 46596b89fad..07603c7a95a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Customer ID update action.

      @@ -333,4 +335,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customer", customer) + .append("customerGroup", customerGroup) + .append("oldCustomer", oldCustomer) + .append("oldCustomerGroup", oldCustomerGroup) + .build(); + } + } 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 c5ff190d01e..4ee9fa7ece3 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Customer ID update action.

      @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customer", customer) + .append("customerGroup", customerGroup) + .append("oldCustomer", oldCustomer) + .append("oldCustomerGroup", oldCustomerGroup) + .build(); + } + } 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 c1c7141831f..f952133780b 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Order request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("order", order) + .build(); + } + } 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 27350228b75..a07d34d9d62 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Order request.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(order).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("order", order) + .build(); + } + } 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 e462abb420b..e8eacba5cc3 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add DiscountCode update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("discountCode", discountCode) + .build(); + } + } 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 305f98509b7..3cc7504dfbb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add DiscountCode update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(discountCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("discountCode", discountCode) + .build(); + } + } 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 3d36a375085..13ad89a5e11 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove DiscountCode update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("discountCode", discountCode) + .build(); + } + } 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 de65996dd9a..811b0e9d95e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove DiscountCode update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(discountCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("discountCode", discountCode) + .build(); + } + } 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 bae8e69dd7a..d936549d660 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after the DiscountCodeState changes due to a recalculation.

      @@ -313,4 +315,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("discountCode", discountCode) + .append("state", state) + .append("oldState", oldState) + .build(); + } + } 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 772f6806642..ff4222a3b0c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after the DiscountCodeState changes due to a recalculation.

      @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("discountCode", discountCode) + .append("state", state) + .append("oldState", oldState) + .build(); + } + } 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 7104eff55f0..2650c6d4d0d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after successfully applying an OrderEdit.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("edit", edit) + .append("result", result) + .build(); + } + } 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 67cb5554f34..088febe4c5d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after successfully applying an OrderEdit.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(edit).append(result).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("edit", edit) + .append("result", result) + .build(); + } + } 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 ddf0333ac2a..05fa3d902ce 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Order Import.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("order", order) + .build(); + } + } 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 55e0821c68a..928a43b7db1 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Order Import.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(order).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("order", order) + .build(); + } + } 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 ecb5d311461..cc2f80cef21 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add LineItem update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("lineItem", lineItem) + .append("addedQuantity", addedQuantity) + .build(); + } + } 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 5620698438b..248f1d703fd 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add LineItem update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(lineItem).append(addedQuantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("lineItem", lineItem) + .append("addedQuantity", addedQuantity) + .build(); + } + } 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 f637fa5ee78..1b69457693a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful recalculation of a Discount on a Line Item.

      @@ -380,4 +382,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("discountedPricePerQuantity", discountedPricePerQuantity) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("taxedPricePortions", taxedPricePortions) + .build(); + } + } 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 c2884d512f8..0f7023730a9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful recalculation of a Discount on a Line Item.

      @@ -190,4 +192,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("discountedPricePerQuantity", discountedPricePerQuantity) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("taxedPricePortions", taxedPricePortions) + .build(); + } + } 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 b86eb1e063c..76d458f9582 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set LineItem DistributionChannel update action.

      @@ -314,4 +316,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("distributionChannel", distributionChannel) + .build(); + } + } 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 e2bd2bdb248..6627d974d5e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set LineItem DistributionChannel update action.

      @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("distributionChannel", distributionChannel) + .build(); + } + } 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 58b74900494..2e627e28ee7 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove LineItem update action.

      @@ -429,4 +431,29 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("removedQuantity", removedQuantity) + .append("newQuantity", newQuantity) + .append("newState", newState) + .append("newTotalPrice", newTotalPrice) + .append("newTaxedPrice", newTaxedPrice) + .append("newPrice", newPrice) + .append("newShippingDetail", newShippingDetail) + .build(); + } + } 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 113d3df5438..7117f33b555 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove LineItem update action.

      @@ -240,4 +242,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("removedQuantity", removedQuantity) + .append("newQuantity", newQuantity) + .append("newState", newState) + .append("newTotalPrice", newTotalPrice) + .append("newTaxedPrice", newTaxedPrice) + .append("newPrice", newPrice) + .append("newShippingDetail", newShippingDetail) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderMessageImpl.java index 96a2d5bfbd9..b32866eb64a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderMessage @@ -254,4 +256,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderMessagePayloadImpl.java index ef364f5e3fb..a84bf6a02d9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderMessagePayload @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 9f1802fb68b..b1033b83925 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Payment update action or when a Payment is added via Order Edits.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("payment", payment) + .build(); + } + } 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 b007e658315..2ba79a6188f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Payment update action or when a Payment is added via Order Edits.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("payment", payment) + .build(); + } + } 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 5edb9d0feff..fcdcc7e46b9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change PaymentState update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("paymentState", paymentState) + .append("oldPaymentState", oldPaymentState) + .build(); + } + } 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 426365facf1..74ee8dcdc83 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change PaymentState update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(paymentState).append(oldPaymentState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("paymentState", paymentState) + .append("oldPaymentState", oldPaymentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPurchaseOrderNumberSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPurchaseOrderNumberSetMessageImpl.java index 8b4086be2e8..ced500d0442 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPurchaseOrderNumberSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPurchaseOrderNumberSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Purchase Order Number update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("oldPurchaseOrderNumber", oldPurchaseOrderNumber) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPurchaseOrderNumberSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPurchaseOrderNumberSetMessagePayloadImpl.java index b132b61d527..72141673fb3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPurchaseOrderNumberSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderPurchaseOrderNumberSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Purchase Order Number update action.

      @@ -104,4 +106,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("oldPurchaseOrderNumber", oldPurchaseOrderNumber) + .build(); + } + } 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 f1693ead999..a5d5f961b2d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set ReturnShipmentState update action.

      @@ -295,4 +297,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("returnItemId", returnItemId) + .append("returnShipmentState", returnShipmentState) + .build(); + } + } 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 6e82577a381..d6245efc9cc 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set ReturnShipmentState update action.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(returnItemId).append(returnShipmentState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("returnItemId", returnItemId) + .append("returnShipmentState", returnShipmentState) + .build(); + } + } 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 c61ff15fbed..a0e89167dd4 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change ShipmentState update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("shipmentState", shipmentState) + .append("oldShipmentState", oldShipmentState) + .build(); + } + } 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 06e09770b3d..0102d021093 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change ShipmentState update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(shipmentState).append(oldShipmentState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("shipmentState", shipmentState) + .append("oldShipmentState", oldShipmentState) + .build(); + } + } 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 4e8796c9d99..26edc5b2348 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Shipping Address update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("address", address) + .append("oldAddress", oldAddress) + .build(); + } + } 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 044a9516878..9a5ec5e7edb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Shipping Address update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(address).append(oldAddress).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("address", address) + .append("oldAddress", oldAddress) + .build(); + } + } 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 f3f91fd6cdb..d175a225913 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set ShippingMethod and Set Custom ShippingMethod update actions.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("shippingInfo", shippingInfo) + .append("oldShippingInfo", oldShippingInfo) + .build(); + } + } 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 9d92cb922ca..16045a781c1 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set ShippingMethod and Set Custom ShippingMethod update actions.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(shippingInfo).append(oldShippingInfo).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("shippingInfo", shippingInfo) + .append("oldShippingInfo", oldShippingInfo) + .build(); + } + } 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 bfc9806d6e2..2d137761853 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set ShippingRateInput update action.

      @@ -295,4 +297,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("shippingRateInput", shippingRateInput) + .append("oldShippingRateInput", oldShippingRateInput) + .build(); + } + } 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 e8ef4b50a01..07d901070f4 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set ShippingRateInput update action.

      @@ -105,4 +107,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("shippingRateInput", shippingRateInput) + .append("oldShippingRateInput", oldShippingRateInput) + .build(); + } + } 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 3474af417b4..34d6d3de946 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change OrderState update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("orderState", orderState) + .append("oldOrderState", oldOrderState) + .build(); + } + } 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 52f118d8800..d3305414d21 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change OrderState update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(orderState).append(oldOrderState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("orderState", orderState) + .append("oldOrderState", oldOrderState) + .build(); + } + } 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 0e480fc8a2d..30f46abc677 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("state", state) + .append("oldState", oldState) + .append("force", force) + .build(); + } + } 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 6c9016779ea..4d2ba73d3ad 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(state).append(oldState).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("state", state) + .append("oldState", oldState) + .append("force", force) + .build(); + } + } 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 949fda49b3e..d611ef6aaeb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Store update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("store", store) + .build(); + } + } 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 565e394b320..c27576f1419 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Store update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("store", store) + .build(); + } + } 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 0104cfea596..5983f92812e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Parcel to Delivery update action.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("delivery", delivery) + .append("parcel", parcel) + .append("shippingKey", shippingKey) + .build(); + } + } 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 db6a0b6d631..f91e83d8ceb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Parcel to Delivery update action.

      @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("delivery", delivery) + .append("parcel", parcel) + .append("shippingKey", shippingKey) + .build(); + } + } 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 2edae4b6a3e..0671a63be04 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Parcel Items update action.

      @@ -357,4 +359,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("parcelId", parcelId) + .append("deliveryId", deliveryId) + .append("items", items) + .append("oldItems", oldItems) + .append("shippingKey", shippingKey) + .build(); + } + } 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 dfb64b7d3d4..c65ebb2d272 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Parcel Items update action.

      @@ -168,4 +170,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("parcelId", parcelId) + .append("deliveryId", deliveryId) + .append("items", items) + .append("oldItems", oldItems) + .append("shippingKey", shippingKey) + .build(); + } + } 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 a10cb26d768..8b5d7db1b4e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Parcel Measurements update action.

      @@ -331,4 +333,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("deliveryId", deliveryId) + .append("parcelId", parcelId) + .append("measurements", measurements) + .append("shippingKey", shippingKey) + .build(); + } + } 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 585203a51b3..e4a2b3e9e2b 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Parcel Measurements update action.

      @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("deliveryId", deliveryId) + .append("parcelId", parcelId) + .append("measurements", measurements) + .append("shippingKey", shippingKey) + .build(); + } + } 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 31fd9dba4fa..0a021a1bd46 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Parcel from Delivery update action.

      @@ -313,4 +315,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("deliveryId", deliveryId) + .append("parcel", parcel) + .append("shippingKey", shippingKey) + .build(); + } + } 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 37c7cf49a6d..be96cbbcc85 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Parcel from Delivery update action.

      @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("deliveryId", deliveryId) + .append("parcel", parcel) + .append("shippingKey", shippingKey) + .build(); + } + } 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 0a5c541b76e..9810267ae45 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Parcel Tracking Data update action.

      @@ -331,4 +333,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("deliveryId", deliveryId) + .append("parcelId", parcelId) + .append("trackingData", trackingData) + .append("shippingKey", shippingKey) + .build(); + } + } 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 cc9a91b63b3..14bd92aad7e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Parcel Tracking Data update action.

      @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("deliveryId", deliveryId) + .append("parcelId", parcelId) + .append("trackingData", trackingData) + .append("shippingKey", shippingKey) + .build(); + } + } 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 ed3b94b5315..be7e0701521 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Payment request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("payment", payment) + .build(); + } + } 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 ee9ea2e5e55..e676c069617 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Payment request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("payment", payment) + .build(); + } + } 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 28d4ee1b955..7663b4d4d2a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add InterfaceInteraction update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("interaction", interaction) + .build(); + } + } 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 42ed071cbec..e48430e3a3f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add InterfaceInteraction update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(interaction).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("interaction", interaction) + .build(); + } + } 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 b6b9b993883..570f5647678 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set StatusInterfaceCode update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("interfaceCode", interfaceCode) + .build(); + } + } 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 f0294d5b06f..d2307caf62e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set StatusInterfaceCode update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(interfaceCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("interfaceCode", interfaceCode) + .build(); + } + } 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 d189eb30b2a..49802ee39f2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("state", state) + .append("force", force) + .build(); + } + } 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 344a14c7194..c074cee44d6 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("state", state) + .append("force", force) + .build(); + } + } 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 23ebccca376..5f5be1cf086 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Transaction update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("transaction", transaction) + .build(); + } + } 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 0742cd94a75..a8c4426d6aa 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Transaction update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(transaction).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("transaction", transaction) + .build(); + } + } 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 c8f234edf5c..07884753c05 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change TransactionState update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("transactionId", transactionId) + .append("state", state) + .build(); + } + } 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 c1c2a062485..290eb24ac77 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change TransactionState update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(transactionId).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("transactionId", transactionId) + .append("state", state) + .build(); + } + } 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 93fe2187e96..224d56651d0 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add to Category update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("category", category) + .append("staged", staged) + .build(); + } + } 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 3a66082f85f..36b069c7ea4 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add to Category update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(category).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("category", category) + .append("staged", staged) + .build(); + } + } 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 0e0216d091d..0d002274b55 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Product request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("productProjection", productProjection) + .build(); + } + } 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 c0fefc75d9d..336721fe8cc 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Product request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(productProjection).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("productProjection", productProjection) + .build(); + } + } 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 b92bcf4ef4f..fc78caa7588 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Product request.

      @@ -297,4 +299,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("removedImageUrls", removedImageUrls) + .append("currentProjection", currentProjection) + .build(); + } + } 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 2b4e223f0b1..b1d2a9daf9c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Product request.

      @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(removedImageUrls).append(currentProjection).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("removedImageUrls", removedImageUrls) + .append("currentProjection", currentProjection) + .build(); + } + } 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 e2406c7b704..f4cb5c28cba 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add External Image update action or after the successful upload of an image.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variantId", variantId) + .append("image", image) + .append("staged", staged) + .build(); + } + } 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 836568db74a..0e25426d143 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add External Image update action or after the successful upload of an image.

      @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(variantId).append(image).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variantId", variantId) + .append("image", image) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceAddedMessageImpl.java index 21a24980829..901283d0501 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Price update action.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variantId", variantId) + .append("price", price) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceAddedMessagePayloadImpl.java index 2c35d9bddfd..d87dadd99c0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Price update action.

      @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(variantId).append(price).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variantId", variantId) + .append("price", price) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceChangedMessageImpl.java index 72031321599..355e9de2894 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Price update action.

      @@ -350,4 +352,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variantId", variantId) + .append("oldPrice", oldPrice) + .append("newPrice", newPrice) + .append("staged", staged) + .append("oldStagedPrice", oldStagedPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceChangedMessagePayloadImpl.java index 8c27c41ed9d..e2bf1d5467a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Price update action.

      @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variantId", variantId) + .append("oldPrice", oldPrice) + .append("newPrice", newPrice) + .append("staged", staged) + .append("oldStagedPrice", oldStagedPrice) + .build(); + } + } 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 12de1090e4a..af1d32f61df 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a Price is updated due to a Product Discount.

      @@ -281,4 +283,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("updatedPrices", updatedPrices) + .build(); + } + } 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 bba53f8b639..10fe65b1715 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a Price is updated due to a Product Discount.

      @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(updatedPrices).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("updatedPrices", updatedPrices) + .build(); + } + } 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 9fb7f51a01d..b29b347e84a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Details about a Embedded Price that was updated due to a Discount. Specific to Product Price Discounts Set Message.

      @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("variantId", variantId) + .append("variantKey", variantKey) + .append("sku", sku) + .append("priceId", priceId) + .append("discounted", discounted) + .append("staged", staged) + .build(); + } + } 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 8655571d1fa..e247bd46acd 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Discounted Price update action.

      @@ -368,4 +370,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variantId", variantId) + .append("variantKey", variantKey) + .append("sku", sku) + .append("priceId", priceId) + .append("discounted", discounted) + .append("staged", staged) + .build(); + } + } 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 1e8a8e5660c..5158557c77a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Discounted Price update action.

      @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variantId", variantId) + .append("variantKey", variantKey) + .append("sku", sku) + .append("priceId", priceId) + .append("discounted", discounted) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceKeySetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceKeySetMessageImpl.java index d07637db665..ef7019b0e41 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceKeySetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceKeySetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Price Key update action.

      @@ -348,4 +350,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variantId", variantId) + .append("priceId", priceId) + .append("oldKey", oldKey) + .append("key", key) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceKeySetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceKeySetMessagePayloadImpl.java index d436f9781f8..1eaac1300d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceKeySetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceKeySetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Price Key update action.

      @@ -158,4 +160,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variantId", variantId) + .append("priceId", priceId) + .append("oldKey", oldKey) + .append("key", key) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceModeSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceModeSetMessageImpl.java index 901fff41f5f..f49754ca32d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceModeSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceModeSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set PriceMode update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("to", to) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceModeSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceModeSetMessagePayloadImpl.java index f7ece76602e..ccbd32aad95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceModeSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceModeSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set PriceMode update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(to).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("to", to) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceRemovedMessageImpl.java index bfd970b22c7..0c43a25e182 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Price update action.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variantId", variantId) + .append("price", price) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceRemovedMessagePayloadImpl.java index 36d3087b9d4..f5837146b3f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPriceRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Price update action.

      @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(variantId).append(price).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variantId", variantId) + .append("price", price) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPricesSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPricesSetMessageImpl.java index 634c5660dc3..621553608d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPricesSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPricesSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Prices update action.

      @@ -316,4 +318,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variantId", variantId) + .append("prices", prices) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPricesSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPricesSetMessagePayloadImpl.java index 8e607e1ce9d..0df28db0f20 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPricesSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductPricesSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Prices update action.

      @@ -122,4 +124,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(variantId).append(prices).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variantId", variantId) + .append("prices", prices) + .append("staged", staged) + .build(); + } + } 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 37f6c0e3a87..7911acc0e96 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Publish update action.

      @@ -316,4 +318,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("removedImageUrls", removedImageUrls) + .append("productProjection", productProjection) + .append("scope", scope) + .build(); + } + } 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 f369124b488..9a04f68d97a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Publish update action.

      @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("removedImageUrls", removedImageUrls) + .append("productProjection", productProjection) + .append("scope", scope) + .build(); + } + } 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 32e489e82ef..3c7d9c50081 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove from Category update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("category", category) + .append("staged", staged) + .build(); + } + } 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 20d634d02ef..ee9531ab680 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove from Category update action.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(category).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("category", category) + .append("staged", staged) + .build(); + } + } 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 22ea8883c0b..f37f4ea1b14 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Revert Staged Changes update action.

      @@ -279,4 +281,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("removedImageUrls", removedImageUrls) + .build(); + } + } 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 68b2cede871..547f141710c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Revert Staged Changes update action.

      @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(removedImageUrls).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("removedImageUrls", removedImageUrls) + .build(); + } + } 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 5a98664092d..43716ee36c3 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Product Selection request.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("productSelection", productSelection) + .build(); + } + } 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 d7265b5c3cd..a2fd1051028 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Product Selection request.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(productSelection).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("productSelection", productSelection) + .build(); + } + } 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 6a5cf6f46fe..325f0c3a8d9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Product Selection request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 4c44057c8e4..ee41319d761 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Product Selection request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 f515d7b5760..888284b6b28 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Product update action.

      @@ -295,4 +297,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("product", product) + .append("variantSelection", variantSelection) + .build(); + } + } 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 c04e32cf1b2..ba84c8caf30 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Product update action.

      @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(product).append(variantSelection).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("product", product) + .append("variantSelection", variantSelection) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductExcludedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductExcludedMessageImpl.java index 89a88d0dca5..e6e38942954 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductExcludedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductExcludedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Exclude Product update action.

      @@ -295,4 +297,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("product", product) + .append("variantExclusion", variantExclusion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductExcludedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductExcludedMessagePayloadImpl.java index 2f72b6bed7f..d7a8fdfa202 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductExcludedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionProductExcludedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Exclude Product update action.

      @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(product).append(variantExclusion).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("product", product) + .append("variantExclusion", variantExclusion) + .build(); + } + } 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 d1c6112f2a9..bd848920d8d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Product update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("product", product) + .build(); + } + } 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 ab235b2fe17..0dc200d6272 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Product update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(product).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("product", product) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantExclusionChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantExclusionChangedMessageImpl.java index f9f76602dcd..4ca1a950a0b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantExclusionChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantExclusionChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Variant Exclusion update action.

      @@ -316,4 +318,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("product", product) + .append("oldVariantExclusion", oldVariantExclusion) + .append("newVariantExclusion", newVariantExclusion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantExclusionChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantExclusionChangedMessagePayloadImpl.java index f3fb86784a3..0bb0aa422f7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantExclusionChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ProductSelectionVariantExclusionChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Variant Exclusion update action.

      @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("product", product) + .append("oldVariantExclusion", oldVariantExclusion) + .append("newVariantExclusion", newVariantExclusion) + .build(); + } + } 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 b9cb38ba2c4..a841438c59a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Variant Selection update action.

      @@ -316,4 +318,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("product", product) + .append("oldVariantSelection", oldVariantSelection) + .append("newVariantSelection", newVariantSelection) + .build(); + } + } 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 c9a47b50fc8..d780d18f135 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Variant Selection update action.

      @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("product", product) + .append("oldVariantSelection", oldVariantSelection) + .append("newVariantSelection", newVariantSelection) + .build(); + } + } 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 02ebbfa2585..947a76e1ead 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Slug update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("slug", slug) + .append("oldSlug", oldSlug) + .build(); + } + } 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 60fb824ea4b..d74c1242a3e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Slug update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(slug).append(oldSlug).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("slug", slug) + .append("oldSlug", oldSlug) + .build(); + } + } 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 c715536cd9d..ef791f46854 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("state", state) + .append("force", force) + .build(); + } + } 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 ee61479b5b4..81f7911a1f0 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("state", state) + .append("force", force) + .build(); + } + } 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 c468356ee9b..26b2124c55c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Unpublish Product update action.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 a09644be346..c3a2c98932d 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Unpublish Product update action.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 2a780e55a54..786e2c03546 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add ProductVariant update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variant", variant) + .append("staged", staged) + .build(); + } + } 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 c1b25e652b5..241b1713e8e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add ProductVariant update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(variant).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variant", variant) + .append("staged", staged) + .build(); + } + } 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 87e10927b52..ebc50677de1 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove ProductVariant update action.

      @@ -297,4 +299,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("variant", variant) + .append("removedImageUrls", removedImageUrls) + .build(); + } + } 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 d8992a2631a..b6cf1ce8d23 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove ProductVariant update action.

      @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(variant).append(removedImageUrls).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("variant", variant) + .append("removedImageUrls", removedImageUrls) + .build(); + } + } 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 2961404101c..397550bd622 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Quote request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("quote", quote) + .build(); + } + } 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 a5114667ebb..38405b166d8 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Quote request.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(quote).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("quote", quote) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCustomerChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCustomerChangedMessageImpl.java index ccf1467aaef..a98f142015e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCustomerChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCustomerChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Customer update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customer", customer) + .append("previousCustomer", previousCustomer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCustomerChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCustomerChangedMessagePayloadImpl.java index d855855a43c..58af4b9b0dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCustomerChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteCustomerChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Customer update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customer).append(previousCustomer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customer", customer) + .append("previousCustomer", previousCustomer) + .build(); + } + } 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 d657f1110bf..ead526771b4 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Quote request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 6bd0d12f33c..b0e196a7bd4 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Quote request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRenegotiationRequestedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRenegotiationRequestedMessageImpl.java index 75ab58e9b3f..56bf20599e0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRenegotiationRequestedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRenegotiationRequestedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Request Quote Renegotiation update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("buyerComment", buyerComment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRenegotiationRequestedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRenegotiationRequestedMessagePayloadImpl.java index 6eba5213a63..d7747bef0d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRenegotiationRequestedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRenegotiationRequestedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Request Quote Renegotiation update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(buyerComment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("buyerComment", buyerComment) + .build(); + } + } 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 32bf4685df2..3ae54b47d4f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create QuoteRequest request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("quoteRequest", quoteRequest) + .build(); + } + } 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 8c525ee15fa..b8223572c2b 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create QuoteRequest request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(quoteRequest).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("quoteRequest", quoteRequest) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCustomerChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCustomerChangedMessageImpl.java index f5c57248a98..b890b3841d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCustomerChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCustomerChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Customer update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("customer", customer) + .append("previousCustomer", previousCustomer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCustomerChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCustomerChangedMessagePayloadImpl.java index ca77b9b13f4..c1728f529f2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCustomerChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/QuoteRequestCustomerChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Customer update action.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customer).append(previousCustomer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customer", customer) + .append("previousCustomer", previousCustomer) + .build(); + } + } 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 7ce361f1ce9..22646a46026 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete QuoteRequest request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 b5263fb9831..9e72182493f 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete QuoteRequest request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 37eb8e96cec..7aa60705d3d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Quote Request State update action.

      @@ -296,4 +298,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("quoteRequestState", quoteRequestState) + .append("oldQuoteRequestState", oldQuoteRequestState) + .build(); + } + } 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 1eebf8d89d3..358571de7cc 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Quote Request State update action.

      @@ -106,4 +108,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("quoteRequestState", quoteRequestState) + .append("oldQuoteRequestState", oldQuoteRequestState) + .build(); + } + } 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 index 18429ba594c..d309be8b5ac 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -313,4 +315,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("state", state) + .append("oldState", oldState) + .append("force", force) + .build(); + } + } 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 index 55bbeeb4d1d..616a23f1d9c 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -120,4 +122,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(state).append(oldState).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("state", state) + .append("oldState", oldState) + .append("force", force) + .build(); + } + } 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 02c1a6eac26..82bf656a556 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Quote State update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("quoteState", quoteState) + .append("oldQuoteState", oldQuoteState) + .build(); + } + } 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 d9066da9c79..9c99b6cc278 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Quote State update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(quoteState).append(oldQuoteState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("quoteState", quoteState) + .append("oldQuoteState", oldQuoteState) + .build(); + } + } 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 index 402aca2c9ec..9e0caa39f2d 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -312,4 +314,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("state", state) + .append("oldState", oldState) + .append("force", force) + .build(); + } + } 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 index 3b4cc29388f..af7dd230025 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(state).append(oldState).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("state", state) + .append("oldState", oldState) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageImpl.java index 5243cf31828..dba05c83cb0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add ReturnInfo update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("returnInfo", returnInfo) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadImpl.java index 8312f91cb2d..663309eed56 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add ReturnInfo update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(returnInfo).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("returnInfo", returnInfo) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageImpl.java index 5f8ea57c0c0..275e87db752 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set ReturnInfo update action on Orders and Order Edits.

      @@ -278,4 +280,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("returnInfo", returnInfo) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadImpl.java index 6c06db1418b..68a59e56821 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ReturnInfoSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set ReturnInfo update action on Orders and Order Edits.

      @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(returnInfo).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("returnInfo", returnInfo) + .build(); + } + } 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 a4470799f51..511048013bb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Review request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("review", review) + .build(); + } + } 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 a5ea3b68f52..833f7d3f7a6 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Review request.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(review).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("review", review) + .build(); + } + } 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 0a816bf1532..74ac38afb3a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Rating update action.

      @@ -330,4 +332,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("oldRating", oldRating) + .append("newRating", newRating) + .append("includedInStatistics", includedInStatistics) + .append("target", target) + .build(); + } + } 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 d2214899ddf..e6250c98776 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Rating update action.

      @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("oldRating", oldRating) + .append("newRating", newRating) + .append("includedInStatistics", includedInStatistics) + .append("target", target) + .build(); + } + } 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 d58d87b69fb..a0eff0c559f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -369,4 +371,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("oldState", oldState) + .append("newState", newState) + .append("oldIncludedInStatistics", oldIncludedInStatistics) + .append("newIncludedInStatistics", newIncludedInStatistics) + .append("target", target) + .append("force", force) + .build(); + } + } 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 cb93aeff40c..96837176098 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("oldState", oldState) + .append("newState", newState) + .append("oldIncludedInStatistics", oldIncludedInStatistics) + .append("newIncludedInStatistics", newIncludedInStatistics) + .append("target", target) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ShoppingListStoreSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ShoppingListStoreSetMessagePayloadImpl.java index ee895732480..a362452c42d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ShoppingListStoreSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/ShoppingListStoreSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListStoreSetMessagePayload @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("store", store) + .build(); + } + } 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 533f4c3cbd7..6d34c35e269 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create StagedQuote request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("stagedQuote", stagedQuote) + .build(); + } + } 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 399a1622314..63fb450742e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create StagedQuote request.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(stagedQuote).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("stagedQuote", stagedQuote) + .build(); + } + } 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 3a54fdd6b3d..5417b9e13dd 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete StagedQuote request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 897db37383b..2cf314fd597 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete StagedQuote request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 03539cab376..681918ca26f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Seller Comment update action.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("sellerComment", sellerComment) + .build(); + } + } 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 565ab0f637a..55d7206c8a9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Seller Comment update action.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(sellerComment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("sellerComment", sellerComment) + .build(); + } + } 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 2711dfc7e46..c025942b5e8 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Staged Quote State update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("stagedQuoteState", stagedQuoteState) + .append("oldStagedQuoteState", oldStagedQuoteState) + .build(); + } + } 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 378cf94a1d6..42e04d97908 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Staged Quote State update action.

      @@ -105,4 +107,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("stagedQuoteState", stagedQuoteState) + .append("oldStagedQuoteState", oldStagedQuoteState) + .build(); + } + } 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 index 50f8d996087..9259e9f8bd3 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -313,4 +315,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("state", state) + .append("oldState", oldState) + .append("force", force) + .build(); + } + } 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 index 2f8c729d090..84418b8a276 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Transition State update action.

      @@ -120,4 +122,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(state).append(oldState).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("state", state) + .append("oldState", oldState) + .append("force", force) + .build(); + } + } 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 ef826b427f6..b10a603a54c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Valid To update action.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("validTo", validTo) + .build(); + } + } 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 ff628624264..39191241dac 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Valid To update action.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(validTo).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("validTo", validTo) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceActiveChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceActiveChangedMessageImpl.java index 3eb407556d1..880c4939fbb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceActiveChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceActiveChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Active update action.

      @@ -293,4 +295,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("active", active) + .append("oldActive", oldActive) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceActiveChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceActiveChangedMessagePayloadImpl.java index c40c5e40b15..627f3380e14 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceActiveChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceActiveChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Active update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(active).append(oldActive).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("active", active) + .append("oldActive", oldActive) + .build(); + } + } 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 3782235eaea..c2758732041 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create StandalonePrice request.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("standalonePrice", standalonePrice) + .build(); + } + } 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 dc637c83a34..07270de761c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create StandalonePrice request.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(standalonePrice).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("standalonePrice", standalonePrice) + .build(); + } + } 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 15e727f6413..e5e57122f8e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete StandalonePrice request.

      @@ -274,4 +276,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("sku", sku) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessagePayloadImpl.java index 4bb61599d5e..b20c684c216 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceDeletedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete StandalonePrice request.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(sku).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("sku", sku) + .build(); + } + } 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 335330d221b..5dcce66af7a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a Product Discount is successfully applied to a StandalonePrice.

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("discounted", discounted) + .build(); + } + } 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 6e9571a89fa..8faa5f7e9c5 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a Product Discount is successfully applied to a StandalonePrice.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(discounted).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("discounted", discounted) + .build(); + } + } 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 a7f158edf22..72b12395237 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Discounted Price update action.

      @@ -276,4 +278,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("discounted", discounted) + .build(); + } + } 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 b9cd82fe36b..66a928a8949 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Discounted Price update action.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(discounted).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("discounted", discounted) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceKeySetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceKeySetMessageImpl.java index 92ba36cfcee..59072ab58d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceKeySetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceKeySetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Key update action.

      @@ -292,4 +294,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("key", key) + .append("oldKey", oldKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceKeySetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceKeySetMessagePayloadImpl.java index 5e7d9eca92f..8a6b0b99c42 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceKeySetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceKeySetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Key update action.

      @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(oldKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("oldKey", oldKey) + .build(); + } + } 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 index 67bc61d681f..739e62d6c14 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Apply Staged Changes update action.

      @@ -277,4 +279,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("stagedChanges", stagedChanges) + .build(); + } + } 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 index f6e8cbad9f9..9e48ef9427c 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Apply Staged Changes update action.

      @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(stagedChanges).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("stagedChanges", stagedChanges) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesRemovedMessageImpl.java index c63467e5fbf..9a9d54c2988 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Staged Changes update action.

      @@ -277,4 +279,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("stagedChanges", stagedChanges) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesRemovedMessagePayloadImpl.java index 188893dc282..60d247ec463 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceStagedChangesRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Staged Changes update action.

      @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(stagedChanges).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("stagedChanges", stagedChanges) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierAddedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierAddedMessageImpl.java index 7ee08a7ca2d..e9338d91067 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierAddedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierAddedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Price Tier update action

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("tier", tier) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierAddedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierAddedMessagePayloadImpl.java index 99e89dae3ee..a699716230c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierAddedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierAddedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Price Tier update action

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(tier).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("tier", tier) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierRemovedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierRemovedMessageImpl.java index 64cdf8da408..73774a3585d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierRemovedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierRemovedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Price Tier update action

      @@ -275,4 +277,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("removedTier", removedTier) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierRemovedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierRemovedMessagePayloadImpl.java index f3c6b32324c..a1935449a49 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierRemovedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTierRemovedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Remove Price Tier update action

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(removedTier).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("removedTier", removedTier) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTiersSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTiersSetMessageImpl.java index 57c204039dc..d1ba3e7159f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTiersSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTiersSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Price Tier update action

      @@ -301,4 +303,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("tiers", tiers) + .append("previousTiers", previousTiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTiersSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTiersSetMessagePayloadImpl.java index 06f3e33a36c..aa17d93f14b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTiersSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceTiersSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Price Tier update action

      @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(tiers).append(previousTiers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("tiers", tiers) + .append("previousTiers", previousTiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromAndUntilSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromAndUntilSetMessageImpl.java index 6d2bcf69476..e25f12adbda 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromAndUntilSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromAndUntilSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Valid From and Until update action.

      @@ -333,4 +335,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("validFrom", validFrom) + .append("previousValidFrom", previousValidFrom) + .append("validUntil", validUntil) + .append("previousValidUntil", previousValidUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromAndUntilSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromAndUntilSetMessagePayloadImpl.java index ee1838ba725..d58492a84cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromAndUntilSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromAndUntilSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Valid From and Until update action.

      @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("validFrom", validFrom) + .append("previousValidFrom", previousValidFrom) + .append("validUntil", validUntil) + .append("previousValidUntil", previousValidUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromSetMessageImpl.java index 70424204b69..fb0d08e65d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Valid From update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("validFrom", validFrom) + .append("previousValidFrom", previousValidFrom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromSetMessagePayloadImpl.java index 6cc0094cd6f..b34f99df939 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidFromSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Valid From update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(validFrom).append(previousValidFrom).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("validFrom", validFrom) + .append("previousValidFrom", previousValidFrom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidUntilSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidUntilSetMessageImpl.java index 1c42e1da342..6e751e71051 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidUntilSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidUntilSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Valid Until update action.

      @@ -294,4 +296,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("validUntil", validUntil) + .append("previousValidUntil", previousValidUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidUntilSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidUntilSetMessagePayloadImpl.java index a52cb694480..547fa09ccba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidUntilSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValidUntilSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Valid Until update action.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(validUntil).append(previousValidUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("validUntil", validUntil) + .append("previousValidUntil", previousValidUntil) + .build(); + } + } 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 a832f310372..3da9505ebfc 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Value update action.

      @@ -313,4 +315,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("value", value) + .append("staged", staged) + .append("oldValue", oldValue) + .build(); + } + } 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 8812f19964e..36318e8fd0b 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Change Value update action.

      @@ -120,4 +122,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).append(staged).append(oldValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .append("staged", staged) + .append("oldValue", oldValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCountriesChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCountriesChangedMessageImpl.java index 067ebea6a17..1cc8027918c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCountriesChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCountriesChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Country, Remove Country, or Set Countries update action.

      @@ -303,4 +305,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("addedCountries", addedCountries) + .append("removedCountries", removedCountries) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCountriesChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCountriesChangedMessagePayloadImpl.java index 27aab92aa24..4df2ae226d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCountriesChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreCountriesChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Country, Remove Country, or Set Countries update action.

      @@ -111,4 +113,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(addedCountries).append(removedCountries).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("addedCountries", addedCountries) + .append("removedCountries", removedCountries) + .build(); + } + } 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 fbea61b5bc5..f18bb97b6ae 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Store request.

      @@ -413,4 +415,27 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("languages", languages) + .append("countries", countries) + .append("distributionChannels", distributionChannels) + .append("supplyChannels", supplyChannels) + .append("productSelections", productSelections) + .append("custom", custom) + .build(); + } + } 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 d6b800de367..afee070ecf3 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Create Store request.

      @@ -223,4 +225,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("languages", languages) + .append("countries", countries) + .append("distributionChannels", distributionChannels) + .append("supplyChannels", supplyChannels) + .append("productSelections", productSelections) + .append("custom", custom) + .build(); + } + } 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 c55c01cccb2..5309830ba4c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Store request.

      @@ -255,4 +257,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } 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 190e166a323..a992a213d22 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Delete Store request.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 07e738dc717..b2c936b0430 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Distribution Channel, Remove Distribution Channel, or Set Distribution Channels update action.

      @@ -306,4 +308,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("addedDistributionChannels", addedDistributionChannels) + .append("removedDistributionChannels", removedDistributionChannels) + .build(); + } + } 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 3b997155025..fcf8c3da658 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Distribution Channel, Remove Distribution Channel, or Set Distribution Channels update action.

      @@ -117,4 +119,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("addedDistributionChannels", addedDistributionChannels) + .append("removedDistributionChannels", removedDistributionChannels) + .build(); + } + } 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 index c296fe764e0..d3fb94d8154 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Languages update action.

      @@ -301,4 +303,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("addedLanguages", addedLanguages) + .append("removedLanguages", removedLanguages) + .build(); + } + } 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 index 36850ef2c80..440ec8dc7e8 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Languages update action.

      @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(addedLanguages).append(removedLanguages).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("addedLanguages", addedLanguages) + .append("removedLanguages", removedLanguages) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreNameSetMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreNameSetMessageImpl.java index 9e1ed4278fc..c64127cecb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreNameSetMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreNameSetMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Name update action.

      @@ -298,4 +300,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("name", name) + .append("nameAllLocales", nameAllLocales) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreNameSetMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreNameSetMessagePayloadImpl.java index d6a1a2799b1..b4bf92ddbd0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreNameSetMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreNameSetMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Set Name update action.

      @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(nameAllLocales).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("nameAllLocales", nameAllLocales) + .build(); + } + } 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 0273a533a05..a3c25e13aa7 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated by a successful Add Product Selection, Remove Product Selection, Set Product Selections, or Change Product Selections Active update action.

      @@ -331,4 +333,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("addedProductSelections", addedProductSelections) + .append("removedProductSelections", removedProductSelections) + .append("updatedProductSelections", updatedProductSelections) + .build(); + } + } 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 4ef51d311d6..13ab90d7726 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated by a successful Add Product Selection, Remove Product Selection, Set Product Selections, or Change Product Selections Active update action.

      @@ -142,4 +144,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("addedProductSelections", addedProductSelections) + .append("removedProductSelections", removedProductSelections) + .append("updatedProductSelections", updatedProductSelections) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreSupplyChannelsChangedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreSupplyChannelsChangedMessageImpl.java index f624eee4920..3b3610eab15 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreSupplyChannelsChangedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreSupplyChannelsChangedMessageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Supply Channel, Remove Supply Channel, or Set Supply Channels update action.

      @@ -306,4 +308,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("sequenceNumber", sequenceNumber) + .append("resource", resource) + .append("resourceVersion", resourceVersion) + .append("type", type) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("addedSupplyChannels", addedSupplyChannels) + .append("removedSupplyChannels", removedSupplyChannels) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreSupplyChannelsChangedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreSupplyChannelsChangedMessagePayloadImpl.java index 11f1b113540..2a75be23b84 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreSupplyChannelsChangedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StoreSupplyChannelsChangedMessagePayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Generated after a successful Add Supply Channel, Remove Supply Channel, or Set Supply Channels update action.

      @@ -117,4 +119,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("addedSupplyChannels", addedSupplyChannels) + .append("removedSupplyChannels", removedSupplyChannels) + .build(); + } + } 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 1d67da2b0a3..5ce667776d2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      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.

      @@ -181,4 +183,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("externalId", externalId) + .append("orderNumber", orderNumber) + .append("customerNumber", customerNumber) + .append("sku", sku) + .append("slug", slug) + .append("containerAndKey", containerAndKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/CustomLineItemImportDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/CustomLineItemImportDraftImpl.java index 8ea9d0c4268..105208c5dc6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/CustomLineItemImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/CustomLineItemImportDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Custom Line Items contain generic user-defined items that are not linked to Products.

      @@ -266,4 +268,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("key", key) + .append("slug", slug) + .append("quantity", quantity) + .append("money", money) + .append("taxRate", taxRate) + .append("taxCategory", taxCategory) + .append("priceMode", priceMode) + .append("shippingDetails", shippingDetails) + .append("state", state) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/CustomLineItemReturnItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/CustomLineItemReturnItemImpl.java index cbfb63b6686..078eb0c089f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/CustomLineItemReturnItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/CustomLineItemReturnItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomLineItemReturnItem @@ -257,4 +259,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("quantity", quantity) + .append("type", type) + .append("comment", comment) + .append("shipmentState", shipmentState) + .append("paymentState", paymentState) + .append("custom", custom) + .append("lastModifiedAt", lastModifiedAt) + .append("createdAt", createdAt) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryDraftImpl.java index aea3ec1c289..8d4394bf19b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryDraft @@ -153,4 +155,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("items", items) + .append("parcels", parcels) + .append("address", address) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryImpl.java index daa5cc518e3..c517962c2df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Contains information on how items are shipped to Customers, for example, a delivery note.

      @@ -190,4 +192,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("createdAt", createdAt) + .append("items", items) + .append("parcels", parcels) + .append("address", address) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryItemImpl.java index 6b2c1e005a0..5c21365dac1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DeliveryItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryItem @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(quantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DiscountedLineItemPriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DiscountedLineItemPriceDraftImpl.java index 3c51f280aaf..ce17e6d07c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DiscountedLineItemPriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/DiscountedLineItemPriceDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPriceDraft @@ -92,4 +94,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(includedDiscounts).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("includedDiscounts", includedDiscounts) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/HitImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/HitImpl.java index 7faff87aa9f..faca68c54fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/HitImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/HitImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Hit @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(version).append(relevance).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("relevance", relevance) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ItemStateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ItemStateImpl.java index 8727275d06d..5f82c812c53 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ItemStateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ItemStateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ItemState @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(quantity).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quantity", quantity) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/LineItemImportDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/LineItemImportDraftImpl.java index a4be3ac6463..1f25cdfc538 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/LineItemImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/LineItemImportDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Represents a snapshot of a Product Variant at the time it was imported with the Order. The Product Variant can be specified by providing a productId and variant.id, or by providing a variant.sku.

      @@ -302,4 +304,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("key", key) + .append("variant", variant) + .append("productId", productId) + .append("quantity", quantity) + .append("price", price) + .append("taxRate", taxRate) + .append("distributionChannel", distributionChannel) + .append("supplyChannel", supplyChannel) + .append("inventoryMode", inventoryMode) + .append("shippingDetails", shippingDetails) + .append("state", state) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/LineItemReturnItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/LineItemReturnItemImpl.java index ba83561b8b8..fa9fa85d80a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/LineItemReturnItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/LineItemReturnItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LineItemReturnItem @@ -257,4 +259,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("quantity", quantity) + .append("type", type) + .append("comment", comment) + .append("shipmentState", shipmentState) + .append("paymentState", paymentState) + .append("custom", custom) + .append("lastModifiedAt", lastModifiedAt) + .append("createdAt", createdAt) + .append("lineItemId", lineItemId) + .build(); + } + } 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 05e9cca083f..1f82f919713 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      A Delivery can only be added to an Order if its shippingInfo (for shippingMode = Single), or its shipping (for shippingMode = Multiple) exists.

      @@ -189,4 +191,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryKey", deliveryKey) + .append("shippingKey", shippingKey) + .append("items", items) + .append("address", address) + .append("parcels", parcels) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddItemShippingAddressActionImpl.java index 25e168f8873..702f70fd8de 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adds an address to an Order when shipping to multiple addresses is desired.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddParcelToDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddParcelToDeliveryActionImpl.java index 899f5034150..766bed84329 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddParcelToDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddParcelToDeliveryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      To add a Parcel, at least one Delivery must exist.

      @@ -204,4 +206,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("parcelKey", parcelKey) + .append("measurements", measurements) + .append("trackingData", trackingData) + .append("items", items) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddPaymentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddPaymentActionImpl.java index fbd6785e64b..e41c74d63f2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddPaymentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddPaymentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderAddPaymentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("payment", payment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddReturnInfoActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddReturnInfoActionImpl.java index 7e5e10436ef..cdfa4a69603 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddReturnInfoActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderAddReturnInfoActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Return Info Added Message.

      @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnTrackingId", returnTrackingId) + .append("items", items) + .append("returnDate", returnDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangeOrderStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangeOrderStateActionImpl.java index 1b1b47d08fb..02dd05ecebd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangeOrderStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangeOrderStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Order State Changed Message.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(orderState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("orderState", orderState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangePaymentStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangePaymentStateActionImpl.java index 1aa0062c25c..e92367adbdf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangePaymentStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangePaymentStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Order Payment State Changed Message.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(paymentState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("paymentState", paymentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangeShipmentStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangeShipmentStateActionImpl.java index b8958f95e50..b8989fea4d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangeShipmentStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderChangeShipmentStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Order Shipment State Changed Message.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shipmentState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shipmentState", shipmentState) + .build(); + } + } 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 222ce2918e1..b2bfa6e4bed 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderFromCartDraft @@ -247,4 +249,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("cart", cart) + .append("version", version) + .append("orderNumber", orderNumber) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("paymentState", paymentState) + .append("shipmentState", shipmentState) + .append("orderState", orderState) + .append("state", state) + .append("custom", custom) + .build(); + } + } 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 cc0f7fed423..238869e95e4 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderFromQuoteDraft @@ -203,4 +205,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quote", quote) + .append("version", version) + .append("quoteStateToAccepted", quoteStateToAccepted) + .append("orderNumber", orderNumber) + .append("paymentState", paymentState) + .append("shipmentState", shipmentState) + .append("orderState", orderState) + .append("state", state) + .build(); + } + } 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 54bb0ccb14d..b552f64440f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Order @@ -1075,4 +1077,60 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("orderNumber", orderNumber) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("customerId", customerId) + .append("customerEmail", customerEmail) + .append("customerGroup", customerGroup) + .append("anonymousId", anonymousId) + .append("businessUnit", businessUnit) + .append("store", store) + .append("lineItems", lineItems) + .append("customLineItems", customLineItems) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("taxedShippingPrice", taxedShippingPrice) + .append("discountOnTotalPrice", discountOnTotalPrice) + .append("taxMode", taxMode) + .append("taxRoundingMode", taxRoundingMode) + .append("taxCalculationMode", taxCalculationMode) + .append("inventoryMode", inventoryMode) + .append("billingAddress", billingAddress) + .append("shippingAddress", shippingAddress) + .append("shippingMode", shippingMode) + .append("shippingKey", shippingKey) + .append("shippingInfo", shippingInfo) + .append("shippingRateInput", shippingRateInput) + .append("shippingCustomFields", shippingCustomFields) + .append("shipping", shipping) + .append("itemShippingAddresses", itemShippingAddresses) + .append("discountCodes", discountCodes) + .append("directDiscounts", directDiscounts) + .append("refusedGifts", refusedGifts) + .append("paymentInfo", paymentInfo) + .append("country", country) + .append("locale", locale) + .append("origin", origin) + .append("cart", cart) + .append("quote", quote) + .append("orderState", orderState) + .append("shipmentState", shipmentState) + .append("paymentState", paymentState) + .append("state", state) + .append("syncInfo", syncInfo) + .append("returnInfo", returnInfo) + .append("lastMessageSequenceNumber", lastMessageSequenceNumber) + .append("custom", custom) + .append("completedAt", completedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportCustomLineItemStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportCustomLineItemStateActionImpl.java index 3dfdfd89263..c147f58db30 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportCustomLineItemStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportCustomLineItemStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      The import of States does not follow any predefined rules and should be only used if no transitions are defined. The quantity in the ItemStates must match the sum of all Custom Line Item states' quantities.

      @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportDraftImpl.java index 45971d73ea0..5551c910beb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      A snapshot of an Order at the time it was imported.

      @@ -584,4 +586,36 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("orderNumber", orderNumber) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("customerId", customerId) + .append("customerEmail", customerEmail) + .append("customerGroup", customerGroup) + .append("businessUnit", businessUnit) + .append("store", store) + .append("lineItems", lineItems) + .append("customLineItems", customLineItems) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("taxRoundingMode", taxRoundingMode) + .append("taxCalculationMode", taxCalculationMode) + .append("inventoryMode", inventoryMode) + .append("billingAddress", billingAddress) + .append("shippingAddress", shippingAddress) + .append("itemShippingAddresses", itemShippingAddresses) + .append("shippingInfo", shippingInfo) + .append("paymentInfo", paymentInfo) + .append("paymentState", paymentState) + .append("shipmentState", shipmentState) + .append("orderState", orderState) + .append("state", state) + .append("country", country) + .append("origin", origin) + .append("completedAt", completedAt) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportLineItemStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportLineItemStateActionImpl.java index 9487ecb429b..2813d053933 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportLineItemStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderImportLineItemStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      The import of States does not follow any predefined rules and should be only used if no transitions are defined. The quantity in the ItemStates must match the sum of all Line Items states' quantities.

      @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderPagedQueryResponseImpl.java index c0b0d092113..5c4b33ffd21 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      PagedQueryResult with results containing an array of Order.

      @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderPagedSearchResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderPagedSearchResponseImpl.java index 5f3217b9119..b53839ac8fe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderPagedSearchResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderPagedSearchResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderPagedSearchResponse @@ -125,4 +127,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(total).append(offset).append(limit).append(hits).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("total", total) + .append("offset", offset) + .append("limit", limit) + .append("hits", hits) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderReferenceImpl.java index af7089e6295..fa48de5898d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Reference to an Order.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveDeliveryActionImpl.java index ad90c3a01d5..6b880beabea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveDeliveryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the DeliveryRemoved Message.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(deliveryId).append(deliveryKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveItemShippingAddressActionImpl.java index 9179f83fa1c..ff293ba45c6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      An address can only be removed if it is not referenced in any ItemShippingTarget of the Cart.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveParcelFromDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveParcelFromDeliveryActionImpl.java index 9d1367856b3..3eb7f9a5152 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveParcelFromDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemoveParcelFromDeliveryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the ParcelRemovedFromDelivery Message.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(parcelId).append(parcelKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemovePaymentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemovePaymentActionImpl.java index 9a431958086..ffcf0bbfbd7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemovePaymentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderRemovePaymentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderRemovePaymentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("payment", payment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAndExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAndExpressionImpl.java index 01f9aaeacf4..99e6505de14 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAndExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAndExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchAndExpression @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(and).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("and", and).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueImpl.java index 14be60740ac..3c49e184554 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchAnyValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchAnyValue @@ -162,4 +164,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("field", field) + .append("boost", boost) + .append("customType", customType) + .append("value", value) + .append("language", language) + .append("caseInsensitive", caseInsensitive) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchCompoundExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchCompoundExpressionImpl.java index 177337289f8..a0e5637d403 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchCompoundExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchCompoundExpressionImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchCompoundExpression @@ -44,4 +46,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeExpressionImpl.java index 86227050a6b..2ec8115b7e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchDateRangeExpression @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(range).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("range", range).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueImpl.java index 7816ed5d2ca..366f0e2a1f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchDateRangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchDateRangeValue @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("field", field) + .append("boost", boost) + .append("customType", customType) + .append("gte", gte) + .append("lte", lte) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchExactExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchExactExpressionImpl.java index 153d705733a..c8b4c2a716b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchExactExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchExactExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchExactExpression @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(exact).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("exact", exact).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchExistsExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchExistsExpressionImpl.java index bc4ec473299..d251d6180f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchExistsExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchExistsExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchExistsExpression @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(exists).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("exists", exists).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFilterExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFilterExpressionImpl.java index afa39ab396f..43832104acc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFilterExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFilterExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchFilterExpression @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(filter).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("filter", filter).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextExpressionImpl.java index f7476960d3b..a454309570f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchFullTextExpression @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(fullText).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("fullText", fullText).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueImpl.java index 14f4b7ac85b..97f115b9994 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchFullTextValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchFullTextValue @@ -162,4 +164,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("field", field) + .append("boost", boost) + .append("customType", customType) + .append("value", value) + .append("language", language) + .append("mustMatch", mustMatch) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeExpressionImpl.java index 932f1485b46..7f1f75fc359 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchLongRangeExpression @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(range).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("range", range).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueImpl.java index 08d494980b6..a7718f888b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchLongRangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchLongRangeValue @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("field", field) + .append("boost", boost) + .append("customType", customType) + .append("gte", gte) + .append("lte", lte) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNotExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNotExpressionImpl.java index 54418807fce..4a539bc7d0e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNotExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNotExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchNotExpression @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(not).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("not", not).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeExpressionImpl.java index d9df0624222..f841f317f81 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchNumberRangeExpression @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(range).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("range", range).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueImpl.java index 0579c75f222..73ee13b0514 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchNumberRangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchNumberRangeValue @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("field", field) + .append("boost", boost) + .append("customType", customType) + .append("gte", gte) + .append("lte", lte) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchOrExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchOrExpressionImpl.java index 0e2a245e75a..c697c99096b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchOrExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchOrExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchOrExpression @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(or).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("or", or).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchPrefixExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchPrefixExpressionImpl.java index 2acec7e27ef..53fa883b1da 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchPrefixExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchPrefixExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchPrefixExpression @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(prefix).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("prefix", prefix).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionImpl.java index c7222dbf57f..45fbaae7315 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchQueryExpression @@ -44,4 +46,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueImpl.java index d1138a0b5fa..b0e10969c4b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryExpressionValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchQueryExpressionValue @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(field).append(boost).append(customType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("field", field) + .append("boost", boost) + .append("customType", customType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryImpl.java index a552d6abd3c..f9e79731c46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchQueryImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchQuery @@ -44,4 +46,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchRequestImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchRequestImpl.java index 4a582010b02..9ccf38a87fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchRequestImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchRequestImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchRequest @@ -125,4 +127,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(query).append(sort).append(limit).append(offset).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("query", query) + .append("sort", sort) + .append("limit", limit) + .append("offset", offset) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchSortingImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchSortingImpl.java index 29732b354ca..2330ab1ae0d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchSortingImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchSortingImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchSorting @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("field", field) + .append("language", language) + .append("order", order) + .append("mode", mode) + .append("filter", filter) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueImpl.java index a5e9aae1451..3b664d1307e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchStringValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchStringValue @@ -162,4 +164,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("field", field) + .append("boost", boost) + .append("customType", customType) + .append("value", value) + .append("language", language) + .append("caseInsensitive", caseInsensitive) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchWildCardExpressionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchWildCardExpressionImpl.java index 91d963cbedf..d96bd0a1ef6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchWildCardExpressionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSearchWildCardExpressionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSearchWildCardExpression @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(wildcard).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("wildcard", wildcard).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressActionImpl.java index bd1e1619e6d..717a43471e5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      This action updates the billingAddress on the Order, but it does not change the billing address on the referenced Cart from which the Order is created.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressCustomFieldActionImpl.java index 7a161ca9d1f..d12a4127e21 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetBillingAddressCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressCustomTypeActionImpl.java index e33ccc86ccc..02aeb650bb2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetBillingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetBillingAddressCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomFieldActionImpl.java index 8bd9d6b4464..ab410bc0c8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemCustomFieldActionImpl.java index a43b79ba10c..38c0add131c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetCustomLineItemCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemCustomTypeActionImpl.java index accd5beb1db..6a7248503c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetCustomLineItemCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemShippingDetailsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemShippingDetailsActionImpl.java index f9ec907a049..5feb0c4aad2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemShippingDetailsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomLineItemShippingDetailsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetCustomLineItemShippingDetailsAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("shippingDetails", shippingDetails) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomTypeActionImpl.java index 4136af485d4..8e5a840651e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomerEmailActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomerEmailActionImpl.java index 0734579d18f..66af5ef5eff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomerEmailActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomerEmailActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      This action updates the customerEmail on the Order, but it does not change the Customer email on the Cart the Order has been created from.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(email).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("email", email) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomerIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomerIdActionImpl.java index 7e96ceb58d7..b3ca36828c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomerIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetCustomerIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Setting the Order's customerId does not recalculate prices or discounts on the Order. If the Customer belongs to a Customer Group, customerGroup on the Order is updated automatically.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customerId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customerId", customerId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressActionImpl.java index 7c3f4cc1edc..0057f700ecf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the DeliveryAddressSet Message.

      @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressCustomFieldActionImpl.java index ac67e5664bb..4d7e6c8b02e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetDeliveryAddressCustomFieldAction @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressCustomTypeActionImpl.java index fc17f42dcbd..5b6191d132c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetDeliveryAddressCustomTypeAction @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryCustomFieldActionImpl.java index 43adb69034e..4abb2822698 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetDeliveryCustomFieldAction @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryCustomTypeActionImpl.java index 1ead1359fb8..54e715e3aa9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetDeliveryCustomTypeAction @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryItemsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryItemsActionImpl.java index d2720b0aadf..b2d3726959f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryItemsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetDeliveryItemsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Delivery Items Updated Message.

      @@ -128,4 +130,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetItemShippingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetItemShippingAddressCustomFieldActionImpl.java index 90f0efc5245..9f4094326eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetItemShippingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetItemShippingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetItemShippingAddressCustomFieldAction @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetItemShippingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetItemShippingAddressCustomTypeActionImpl.java index 65d03b08e71..488fd62c96c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetItemShippingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetItemShippingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetItemShippingAddressCustomTypeAction @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemCustomFieldActionImpl.java index eea90877094..c8f00006188 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetLineItemCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemCustomTypeActionImpl.java index a997e4971cc..5e04b02e029 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetLineItemCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemShippingDetailsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemShippingDetailsActionImpl.java index 33e8dac3714..9a9974f13ca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemShippingDetailsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLineItemShippingDetailsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetLineItemShippingDetailsAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("shippingDetails", shippingDetails) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLocaleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLocaleActionImpl.java index ef9c5fb43b5..dfaf842d819 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLocaleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetLocaleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetLocaleAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(locale).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("locale", locale) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetOrderNumberActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetOrderNumberActionImpl.java index 34be95ab06a..1089cc72bf0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetOrderNumberActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetOrderNumberActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetOrderNumberAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(orderNumber).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("orderNumber", orderNumber) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelCustomFieldActionImpl.java index cca281c5891..b423eda2763 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetParcelCustomFieldAction @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelCustomTypeActionImpl.java index 9dbf45214aa..f10fd102ef6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetParcelCustomTypeAction @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelItemsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelItemsActionImpl.java index 27f6785a41a..b1d47315ef6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelItemsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelItemsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the ParcelItemsUpdated Message.

      @@ -124,4 +126,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(parcelId).append(parcelKey).append(items).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelMeasurementsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelMeasurementsActionImpl.java index d82487d3c57..d7d037c021d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelMeasurementsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelMeasurementsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the ParcelMeasurementsUpdated Message.

      @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("measurements", measurements) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelTrackingDataActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelTrackingDataActionImpl.java index 891ee1d8e52..b6b20ac1d29 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelTrackingDataActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetParcelTrackingDataActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the ParcelTrackingDataUpdated Message.

      @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("trackingData", trackingData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetPurchaseOrderNumberActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetPurchaseOrderNumberActionImpl.java index 00b64715f27..e878eff4c7c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetPurchaseOrderNumberActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetPurchaseOrderNumberActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the PurchaseOrderNumberSet Message.

      @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(purchaseOrderNumber).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("purchaseOrderNumber", purchaseOrderNumber) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnInfoActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnInfoActionImpl.java index 21707422dde..12dacf4eb4b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnInfoActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnInfoActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Return Info Set Message.

      @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(items).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnItemCustomFieldActionImpl.java index 83daea00917..2cdc20a71d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetReturnItemCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnItemId", returnItemId) + .append("returnItemKey", returnItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnItemCustomTypeActionImpl.java index 3f6c7a90357..2add3c9cff4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetReturnItemCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnItemId", returnItemId) + .append("returnItemKey", returnItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnPaymentStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnPaymentStateActionImpl.java index 68b590f8e14..816cd32d1c3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnPaymentStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnPaymentStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      To set a ReturnPaymentState, the Order returnInfo must have at least one ReturnItem.

      @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnItemId", returnItemId) + .append("returnItemKey", returnItemKey) + .append("paymentState", paymentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnShipmentStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnShipmentStateActionImpl.java index 7d8be12d06e..9e28e825473 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnShipmentStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetReturnShipmentStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      To set a ReturnShipmentState, the Order returnInfo must have at least one ReturnItem.

      @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnItemId", returnItemId) + .append("returnItemKey", returnItemKey) + .append("shipmentState", shipmentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressActionImpl.java index 59ba7f6b547..19db1d561ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      This action updates the shippingAddress on the Order, but it does not change the shipping address on the referenced Cart from which the Order is created. Also, it does not recalculate the Cart as taxes may not fit to the shipping address anymore.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressCustomFieldActionImpl.java index 9c4d7ea19ad..420ddd2f4b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetShippingAddressCustomFieldAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressCustomTypeActionImpl.java index f0e8e99b7bf..6ac9af20cbd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetShippingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderSetShippingAddressCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetStoreActionImpl.java index 84963fc2b78..a11c9f811ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderSetStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Sets the Store the Order is assigned to. It should be used to migrate Orders to a new Store. No validations are performed (such as that the Customer is allowed to create Orders in the Store).

      @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionCustomLineItemStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionCustomLineItemStateActionImpl.java index 5a9277a2555..be6f7a4a9af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionCustomLineItemStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionCustomLineItemStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Custom Line Item State Transition Message.

      @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("quantity", quantity) + .append("fromState", fromState) + .append("toState", toState) + .append("actualTransitionDate", actualTransitionDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionLineItemStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionLineItemStateActionImpl.java index 0628f2758a3..737d068b0e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionLineItemStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionLineItemStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Line Item State Transition Message.

      @@ -178,4 +180,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .append("fromState", fromState) + .append("toState", toState) + .append("actualTransitionDate", actualTransitionDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionStateActionImpl.java index 55b6f967b24..a1d1af96f5b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderTransitionStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      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.

      @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("state", state) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateActionImpl.java index 58a440b46dd..2ed96f12931 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateImpl.java index 40721ae5db5..76fb39351cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateItemShippingAddressActionImpl.java index 9c3729a6956..ec1d05bcea2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Updates an address in itemShippingAddresses by keeping the Address key.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateSyncInfoActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateSyncInfoActionImpl.java index dd94950ec63..359234bde90 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateSyncInfoActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderUpdateSyncInfoActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderUpdateSyncInfoAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("externalId", externalId) + .append("channel", channel) + .append("syncedAt", syncedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelDraftImpl.java index d3ddf64b1a2..2eca9e6f251 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ParcelDraft @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("measurements", measurements) + .append("trackingData", trackingData) + .append("items", items) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelImpl.java index 08152edc7e5..6a92a14b789 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Information regarding the appearance, content, and shipment of a Parcel.

      @@ -186,4 +188,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("createdAt", createdAt) + .append("measurements", measurements) + .append("trackingData", trackingData) + .append("items", items) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelMeasurementsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelMeasurementsImpl.java index 6b956b57814..8c8ed2d73ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelMeasurementsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ParcelMeasurementsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ParcelMeasurements @@ -126,4 +128,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("heightInMillimeter", heightInMillimeter) + .append("lengthInMillimeter", lengthInMillimeter) + .append("widthInMillimeter", widthInMillimeter) + .append("weightInGram", weightInGram) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/PaymentInfoImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/PaymentInfoImpl.java index 50357120dae..b78ea76db13 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/PaymentInfoImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/PaymentInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentInfo @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(payments).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("payments", payments).build(); + } + } 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 938334b1655..ffd27575ea1 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Contains the Product Variant to be used in the LineItemImportDraft.

      @@ -156,4 +158,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("sku", sku) + .append("prices", prices) + .append("attributes", attributes) + .append("images", images) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnInfoDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnInfoDraftImpl.java index a1d98e29a7e..88e20c7ec52 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnInfoDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnInfoDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReturnInfoDraft @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(items).append(returnTrackingId).append(returnDate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("items", items) + .append("returnTrackingId", returnTrackingId) + .append("returnDate", returnDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnInfoImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnInfoImpl.java index 0c88c745c63..2771ea30e33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnInfoImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Stores information about returns connected to an Order.

      @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(items).append(returnTrackingId).append(returnDate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("items", items) + .append("returnTrackingId", returnTrackingId) + .append("returnDate", returnDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnItemDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnItemDraftImpl.java index 9fbaaa2e56c..c1f9e21136d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnItemDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReturnItemDraft @@ -184,4 +186,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("quantity", quantity) + .append("lineItemId", lineItemId) + .append("customLineItemId", customLineItemId) + .append("comment", comment) + .append("shipmentState", shipmentState) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnItemImpl.java index 8394009acf4..291b6f42a1f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ReturnItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReturnItem @@ -238,4 +240,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("quantity", quantity) + .append("type", type) + .append("comment", comment) + .append("shipmentState", shipmentState) + .append("paymentState", paymentState) + .append("custom", custom) + .append("lastModifiedAt", lastModifiedAt) + .append("createdAt", createdAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ShippingInfoImportDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ShippingInfoImportDraftImpl.java index 84ade0ffc12..b153c60afdb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ShippingInfoImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/ShippingInfoImportDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Becomes the shippingInfo of the imported Order.

      @@ -229,4 +231,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("shippingMethodName", shippingMethodName) + .append("price", price) + .append("shippingRate", shippingRate) + .append("taxRate", taxRate) + .append("taxCategory", taxCategory) + .append("shippingMethod", shippingMethod) + .append("deliveries", deliveries) + .append("discountedPrice", discountedPrice) + .append("shippingMethodState", shippingMethodState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/StagedOrderUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/StagedOrderUpdateActionImpl.java index 125ddef575a..12d61d2e99e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/StagedOrderUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/StagedOrderUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/SyncInfoImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/SyncInfoImpl.java index 22a3ac95640..4e732f583c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/SyncInfoImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/SyncInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Contains synchronization activity information of the Order (like export or import).

      @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(channel).append(externalId).append(syncedAt).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("channel", channel) + .append("externalId", externalId) + .append("syncedAt", syncedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/TaxedItemPriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/TaxedItemPriceDraftImpl.java index 755caa0969f..ef9513c9aef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/TaxedItemPriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/TaxedItemPriceDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxedItemPriceDraft @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalNet).append(totalGross).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalNet", totalNet) + .append("totalGross", totalGross) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/TrackingDataImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/TrackingDataImpl.java index d67d5a29718..93dfa421e2c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/TrackingDataImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/TrackingDataImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Information that helps track a Parcel.

      @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("trackingId", trackingId) + .append("carrier", carrier) + .append("provider", provider) + .append("providerTransaction", providerTransaction) + .append("isReturn", isReturn) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditAddStagedActionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditAddStagedActionActionImpl.java index 47f7b2f7f86..b5181111aec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditAddStagedActionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditAddStagedActionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      If the edit was applied, this cannot be updated.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(stagedAction).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("stagedAction", stagedAction) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditAppliedImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditAppliedImpl.java index 8863754caeb..a355afb4900 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditAppliedImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditAppliedImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Result of a succesful application of stagedActions to the Order.

      @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("appliedAt", appliedAt) + .append("excerptBeforeEdit", excerptBeforeEdit) + .append("excerptAfterEdit", excerptAfterEdit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditApplyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditApplyImpl.java index 0c2968dabbb..22957362aab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditApplyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditApplyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      If the editVersion and/or resourceVersion do not match the actual version, a 409 Conflict will be returned.

      @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(editVersion).append(resourceVersion).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("editVersion", editVersion) + .append("resourceVersion", resourceVersion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditDraftImpl.java index 2f8b3684f0d..5d242052e89 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEditDraft @@ -169,4 +171,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("resource", resource) + .append("stagedActions", stagedActions) + .append("custom", custom) + .append("comment", comment) + .append("dryRun", dryRun) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditImpl.java index 259a5e445da..6d398811da8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEdit @@ -282,4 +284,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("key", key) + .append("resource", resource) + .append("stagedActions", stagedActions) + .append("result", result) + .append("comment", comment) + .append("custom", custom) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditNotProcessedImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditNotProcessedImpl.java index 88c01ca5a2d..b648bcaccb5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditNotProcessedImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditNotProcessedImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Indicates that the edit has not been applied or processed in any way.

      @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPagedQueryResponseImpl.java index f0f599380ae..925ca2fb316 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      PagedQueryResult with results containing an array of OrderEdit.

      @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPreviewFailureImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPreviewFailureImpl.java index 189a99ce428..07f2f9d8341 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPreviewFailureImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPreviewFailureImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Result of a failed application of stagedActions to the Order. The data is calculated on the fly and is not queryable.

      @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(errors).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("errors", errors) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPreviewSuccessImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPreviewSuccessImpl.java index 46712f9741f..42c89b977fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPreviewSuccessImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditPreviewSuccessImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      The data is not persisted but is dynamically pulled by dry-running the update actions from stagedActions on the current version of the related Order, not from the Order version at the time the OrderEdit was created. Therefore, it cannot be queried.

      @@ -106,4 +108,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(preview).append(messagePayloads).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("preview", preview) + .append("messagePayloads", messagePayloads) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditReferenceImpl.java index d370b1cde0a..ddbee1d467e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Reference to an OrderEdit.

      @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifier.java index 7a7ff4aabfd..e1bfd6563b2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

      ResourceIdentifier to an OrderEdit. Either id or key is required.

      + *

      ResourceIdentifier to an OrderEdit. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

      * *
      * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface OrderEditResourceIdentifier String ORDER_EDIT = "order-edit"; /** - *

      Unique identifier of the referenced OrderEdit.

      + *

      Unique identifier of the referenced OrderEdit. Required if key is absent.

      * @return id */ @@ -44,7 +44,7 @@ public interface OrderEditResourceIdentifier public String getId(); /** - *

      User-defined unique identifier of the referenced OrderEdit.

      + *

      User-defined unique identifier of the referenced OrderEdit. Required if id is absent.

      * @return key */ @@ -52,14 +52,14 @@ public interface OrderEditResourceIdentifier public String getKey(); /** - *

      Unique identifier of the referenced OrderEdit.

      + *

      Unique identifier of the referenced OrderEdit. Required if key is absent.

      * @param id value to be set */ public void setId(final String id); /** - *

      User-defined unique identifier of the referenced OrderEdit.

      + *

      User-defined unique identifier of the referenced OrderEdit. Required if id is absent.

      * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifierBuilder.java index e7cba9cf490..346810a6b07 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class OrderEditResourceIdentifierBuilder implements BuilderUnique identifier of the referenced OrderEdit.

      + *

      Unique identifier of the referenced OrderEdit. Required if key is absent.

      * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public OrderEditResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

      User-defined unique identifier of the referenced OrderEdit.

      + *

      User-defined unique identifier of the referenced OrderEdit. Required if id is absent.

      * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public OrderEditResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

      Unique identifier of the referenced OrderEdit.

      + *

      Unique identifier of the referenced OrderEdit. Required if key is absent.

      * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

      User-defined unique identifier of the referenced OrderEdit.

      + *

      User-defined unique identifier of the referenced OrderEdit. Required if id is absent.

      * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifierImpl.java index 09bd9c6be9b..b24201cf2c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

      ResourceIdentifier to an OrderEdit. Either id or key is required.

      + *

      ResourceIdentifier to an OrderEdit. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

      */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderEditResourceIdentifierImpl implements OrderEditResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

      Unique identifier of the referenced OrderEdit.

      + *

      Unique identifier of the referenced OrderEdit. Required if key is absent.

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

      User-defined unique identifier of the referenced OrderEdit.

      + *

      User-defined unique identifier of the referenced OrderEdit. Required if id is absent.

      */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResultImpl.java index c784adccf60..ef04d3f7c8c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditResultImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEditResult @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCommentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCommentActionImpl.java index cf1a4a215f1..ee5568083b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCommentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCommentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEditSetCommentAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(comment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("comment", comment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCustomFieldActionImpl.java index 5cbb6d69522..de6658722dd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEditSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCustomTypeActionImpl.java index 2f31d522405..eb1a68c1957 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEditSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetKeyActionImpl.java index 7b101f93a6d..bff377d7318 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEditSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetStagedActionsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetStagedActionsActionImpl.java index 8643af62176..057fee11ddf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetStagedActionsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditSetStagedActionsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      If the edit is applied, stagedActions cannot be updated.

      @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(stagedActions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("stagedActions", stagedActions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditUpdateActionImpl.java index 607899e8792..6bbc4e4d85d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEditUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditUpdateImpl.java index b777137e73a..d8345b668a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderEditUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderEditUpdate @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).append(dryRun).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .append("dryRun", dryRun) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderExcerptImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderExcerptImpl.java index 8c64a452b83..f9a46976435 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderExcerptImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/OrderExcerptImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Excerpt of the Order extracting the total and the taxed price.

      @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalPrice).append(taxedPrice).append(version).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("version", version) + .build(); + } + } 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 51d937069c3..460521b341f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      If the Cart already contains a CustomLineItem with the same slug, name, money, taxCategory, state, and Custom Fields, then only the quantity of the existing Custom Line Item is increased. If CustomLineItem shippingDetails are set, they are merged with the targets that already exist on the ItemShippingDetails of the Custom Line Item. In case of overlapping address keys the ItemShippingTarget quantity is summed up.

      @@ -260,4 +262,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("money", money) + .append("name", name) + .append("key", key) + .append("quantity", quantity) + .append("slug", slug) + .append("taxCategory", taxCategory) + .append("externalTaxRate", externalTaxRate) + .append("shippingDetails", shippingDetails) + .append("priceMode", priceMode) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddDeliveryActionImpl.java index adb4c13b750..021cae7671e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddDeliveryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      A Delivery can only be added to an Order if its shippingInfo (for shippingMode = Single), or its shipping (for shippingMode = Multiple) exists.

      @@ -189,4 +191,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryKey", deliveryKey) + .append("shippingKey", shippingKey) + .append("items", items) + .append("address", address) + .append("parcels", parcels) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddDiscountCodeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddDiscountCodeActionImpl.java index 763c5ef7877..67f8190076f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddDiscountCodeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddDiscountCodeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adds a DiscountCode to the Cart to activate the related Cart Discounts. Adding a Discount Code is only possible if no DirectDiscount has been applied to the Order.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(code).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("code", code) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddItemShippingAddressActionImpl.java index 9c4e42bf845..f767a815fab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adds an address to an Order when shipping to multiple addresses is desired.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddLineItemActionImpl.java index d1dd76c058f..33b70dde3fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem shippingDetails is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the externalPrice or externalTotalPrice is set in this update action. The LineItem price is set as described in LineItem Price selection.

      @@ -337,4 +339,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .append("productId", productId) + .append("variantId", variantId) + .append("sku", sku) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("distributionChannel", distributionChannel) + .append("supplyChannel", supplyChannel) + .append("externalPrice", externalPrice) + .append("externalTotalPrice", externalTotalPrice) + .append("externalTaxRate", externalTaxRate) + .append("inventoryMode", inventoryMode) + .append("shippingDetails", shippingDetails) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddParcelToDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddParcelToDeliveryActionImpl.java index 281adb2aae5..a44250ddbae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddParcelToDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddParcelToDeliveryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      To add a Parcel, at least one Delivery must exist.

      @@ -204,4 +206,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("parcelKey", parcelKey) + .append("measurements", measurements) + .append("trackingData", trackingData) + .append("items", items) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddPaymentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddPaymentActionImpl.java index b435eac3dd1..a993443585f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddPaymentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddPaymentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderAddPaymentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("payment", payment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddReturnInfoActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddReturnInfoActionImpl.java index 2c896be0809..24ee599afef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddReturnInfoActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddReturnInfoActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Return Info Added Message.

      @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnTrackingId", returnTrackingId) + .append("items", items) + .append("returnDate", returnDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddShoppingListActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddShoppingListActionImpl.java index 123fd757447..01195515bec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddShoppingListActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderAddShoppingListActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Adds all LineItems of a ShoppingList to the Cart.

      @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shoppingList", shoppingList) + .append("distributionChannel", distributionChannel) + .append("supplyChannel", supplyChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeCustomLineItemMoneyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeCustomLineItemMoneyActionImpl.java index 0b193fd9d54..0a9faa89a0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeCustomLineItemMoneyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeCustomLineItemMoneyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderChangeCustomLineItemMoneyAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeCustomLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeCustomLineItemQuantityActionImpl.java index f638fd8c0ef..3fea43cbfac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeCustomLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeCustomLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      When multiple shipping addresses are set for a Custom Line Item, use the Add CustomLineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Custom Line Item quantity should be distributed over the sub-quantities, the shippingDetails field is kept in its current state to avoid data loss.

      @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeLineItemQuantityActionImpl.java index 5718425780d..d24b9eb0b94 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the shippingDetails field is kept in its current state to avoid data loss.

      @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .append("externalPrice", externalPrice) + .append("externalTotalPrice", externalTotalPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeOrderStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeOrderStateActionImpl.java index 05fc4f2b5c9..96d1b0cc832 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeOrderStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeOrderStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Order State Changed Message.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(orderState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("orderState", orderState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangePaymentStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangePaymentStateActionImpl.java index 5f9ecebe64d..66b3d1efc42 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangePaymentStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangePaymentStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Order Payment State Changed Message.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(paymentState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("paymentState", paymentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeShipmentStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeShipmentStateActionImpl.java index 1261e8d3b5b..59545477c51 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeShipmentStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeShipmentStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Produces the Order Shipment State Changed Message.

      @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shipmentState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shipmentState", shipmentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxCalculationModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxCalculationModeActionImpl.java index 6310abad67a..5245df92456 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxCalculationModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxCalculationModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

      Changing the tax calculation mode leads to recalculation of taxes.

      @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxCalculationMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxCalculationMode", taxCalculationMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxModeActionImpl.java index b707614d1fb..a9c5b198db5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *
        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxRoundingModeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxRoundingModeActionImpl.java index 217fc483a55..f5ec50fadae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxRoundingModeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderChangeTaxRoundingModeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changing the tax rounding mode leads to recalculation of taxes.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxRoundingMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxRoundingMode", taxRoundingMode) + .build(); + } + } 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 ce843f357ef..8a9e107d551 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrder @@ -1075,4 +1077,60 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("orderNumber", orderNumber) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("customerId", customerId) + .append("customerEmail", customerEmail) + .append("customerGroup", customerGroup) + .append("anonymousId", anonymousId) + .append("businessUnit", businessUnit) + .append("store", store) + .append("lineItems", lineItems) + .append("customLineItems", customLineItems) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("taxedShippingPrice", taxedShippingPrice) + .append("discountOnTotalPrice", discountOnTotalPrice) + .append("taxMode", taxMode) + .append("taxRoundingMode", taxRoundingMode) + .append("taxCalculationMode", taxCalculationMode) + .append("inventoryMode", inventoryMode) + .append("billingAddress", billingAddress) + .append("shippingAddress", shippingAddress) + .append("shippingMode", shippingMode) + .append("shippingKey", shippingKey) + .append("shippingInfo", shippingInfo) + .append("shippingRateInput", shippingRateInput) + .append("shippingCustomFields", shippingCustomFields) + .append("shipping", shipping) + .append("itemShippingAddresses", itemShippingAddresses) + .append("discountCodes", discountCodes) + .append("directDiscounts", directDiscounts) + .append("refusedGifts", refusedGifts) + .append("paymentInfo", paymentInfo) + .append("country", country) + .append("locale", locale) + .append("origin", origin) + .append("cart", cart) + .append("quote", quote) + .append("orderState", orderState) + .append("shipmentState", shipmentState) + .append("paymentState", paymentState) + .append("state", state) + .append("syncInfo", syncInfo) + .append("returnInfo", returnInfo) + .append("lastMessageSequenceNumber", lastMessageSequenceNumber) + .append("custom", custom) + .append("completedAt", completedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImportCustomLineItemStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImportCustomLineItemStateActionImpl.java index 2445859947e..2b5409a45f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImportCustomLineItemStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImportCustomLineItemStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The import of States does not follow any predefined rules and should be only used if no transitions are defined. The quantity of the ItemStates must match the sum of all Custom Line Item states' quantities.

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImportLineItemStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImportLineItemStateActionImpl.java index ccb6a1cdd33..ddef2e44323 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImportLineItemStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderImportLineItemStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The import of States does not follow any predefined rules and should be only used if no transitions are defined. The quantity in the ItemStates must match the sum of all Line Item states' quantities.

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveCustomLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveCustomLineItemActionImpl.java index 1c3cfd7b9ee..5ef639fdd2a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveCustomLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveCustomLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action does not support specifying a quantity, unlike the Remove LineItem update action.

        @@ -104,4 +106,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveDeliveryActionImpl.java index 633bc147ea8..e64af1a9f91 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveDeliveryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the DeliveryRemoved Message.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(deliveryId).append(deliveryKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveDiscountCodeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveDiscountCodeActionImpl.java index b8d711932c1..a7eeef804b4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveDiscountCodeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveDiscountCodeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderRemoveDiscountCodeAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(discountCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("discountCode", discountCode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveItemShippingAddressActionImpl.java index 05a3f36fa7f..8a901bc4b35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        An address can only be removed if it is not referenced in any ItemShippingTarget of the Cart.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveLineItemActionImpl.java index 2e3aea30ac9..a46c68b1c12 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The LineItem price is updated as described in LineItem Price selection.

        @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .append("externalPrice", externalPrice) + .append("externalTotalPrice", externalTotalPrice) + .append("shippingDetailsToRemove", shippingDetailsToRemove) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveParcelFromDeliveryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveParcelFromDeliveryActionImpl.java index 37420ced871..2a3a812b08e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveParcelFromDeliveryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemoveParcelFromDeliveryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the ParcelRemovedFromDelivery Message.

        @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(parcelId).append(parcelKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemovePaymentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemovePaymentActionImpl.java index b49c12a0fab..5d1f03b0839 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemovePaymentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderRemovePaymentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderRemovePaymentAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(payment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("payment", payment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressActionImpl.java index bccfff0d1ba..6b81ae10aec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This action updates the billingAddress on the Order, but it does not change the billing address on the referenced Cart from which the Order is created.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressCustomFieldActionImpl.java index 151b53a9047..e09abad956c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetBillingAddressCustomFieldAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressCustomTypeActionImpl.java index 381163a1a78..eb6eb6f0547 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetBillingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetBillingAddressCustomTypeAction @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCountryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCountryActionImpl.java index f7577ccadee..68544495212 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCountryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCountryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Setting the country can lead to changes in the LineItem prices.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(country).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("country", country) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomFieldActionImpl.java index 3bb8b8c3672..8166fb0f756 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemCustomFieldActionImpl.java index 972486acf47..5b27b629ef9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetCustomLineItemCustomFieldAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemCustomTypeActionImpl.java index 781226ebfb4..e5a71bb551f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetCustomLineItemCustomTypeAction @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemShippingDetailsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemShippingDetailsActionImpl.java index 58ea84dbd3b..a4f0ac14cd7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemShippingDetailsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemShippingDetailsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetCustomLineItemShippingDetailsAction @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("shippingDetails", shippingDetails) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemTaxAmountActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemTaxAmountActionImpl.java index 9a5b40747a2..1d20dcb553f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemTaxAmountActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemTaxAmountActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Can be used if the Cart has the ExternalAmount TaxMode.

        @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("externalTaxAmount", externalTaxAmount) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemTaxRateActionImpl.java index a318a769a5b..171f69c21b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomLineItemTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Can be used if the Cart has the External TaxMode.

        @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("externalTaxRate", externalTaxRate) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomShippingMethodActionImpl.java index 02a273f5548..25751a34d4a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomShippingMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomShippingMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        To set the Cart's custom Shipping Method (independent of the ShippingMethods managed through the Shipping Methods API) the Cart must have the Single ShippingMode and a shippingAddress.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingMethodName", shippingMethodName) + .append("shippingRate", shippingRate) + .append("taxCategory", taxCategory) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomTypeActionImpl.java index 481618fc299..5178815c575 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerEmailActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerEmailActionImpl.java index 2189208e062..8f6e00ef445 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerEmailActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerEmailActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This action updates the customerEmail on the Order, but it does not change the Customer email on the Cart the Order has been created from.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(email).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("email", email) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerGroupActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerGroupActionImpl.java index 65a4db1166e..9c49c0eede2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerGroupActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerGroupActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action can only be used if a Customer is not assigned to a Cart. If a Customer is already assigned, the Cart has the same Customer Group as the assigned Customer.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customerGroup).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customerGroup", customerGroup) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerIdActionImpl.java index b0ad0a044ef..7cdff3f0c22 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetCustomerIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Setting the Order's customerId does not recalculate prices or discounts on the Order. If the Customer belongs to a Customer Group, customerGroup on the Order is updated automatically.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customerId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customerId", customerId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressActionImpl.java index 0b88e873dfa..236fe733d0f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the DeliveryAddressSet Message.

        @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressCustomFieldActionImpl.java index 57c471272a0..14045cc3044 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetDeliveryAddressCustomFieldAction @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressCustomTypeActionImpl.java index 054e05afb28..2f504aa156c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetDeliveryAddressCustomTypeAction @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryCustomFieldActionImpl.java index a489006838d..0cdff2d886d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetDeliveryCustomFieldAction @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryCustomTypeActionImpl.java index 2e0a407c0ad..76f1b5ee3dd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetDeliveryCustomTypeAction @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryItemsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryItemsActionImpl.java index 7cda2eff029..79d38bcebe7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryItemsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDeliveryItemsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the Delivery Items Updated Message.

        @@ -128,4 +130,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deliveryId", deliveryId) + .append("deliveryKey", deliveryKey) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDirectDiscountsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDirectDiscountsActionImpl.java index 7a14f88b062..47225f2ec70 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDirectDiscountsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetDirectDiscountsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adds a DirectDiscount, but only if no DiscountCode has been added to the Order. Either a Discount Code or a Direct Discount can exist on a Order at the same time.

        @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(discounts).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("discounts", discounts) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetItemShippingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetItemShippingAddressCustomFieldActionImpl.java index 0c3c63c3b30..0c049ce8a35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetItemShippingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetItemShippingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetItemShippingAddressCustomFieldAction @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetItemShippingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetItemShippingAddressCustomTypeActionImpl.java index 98467db3acf..19da634852e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetItemShippingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetItemShippingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetItemShippingAddressCustomTypeAction @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(addressKey).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("addressKey", addressKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemCustomFieldActionImpl.java index 4aea652f619..fb7d262d169 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetLineItemCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemCustomTypeActionImpl.java index 681b3355025..ddebfe5d4a2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetLineItemCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemDistributionChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemDistributionChannelActionImpl.java index b302bec3cd3..53b3e82810e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemDistributionChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemDistributionChannelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Setting a distribution channel for a LineItem can lead to an updated price as described in LineItem Price selection.

        @@ -128,4 +130,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("distributionChannel", distributionChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemPriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemPriceActionImpl.java index 48991d85ca7..da491d3358c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemPriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemPriceActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Sets the LineItem price and changes the priceMode to ExternalPrice LineItemPriceMode.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("externalPrice", externalPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemShippingDetailsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemShippingDetailsActionImpl.java index 1dfd6739d79..2e0008d5f0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemShippingDetailsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemShippingDetailsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetLineItemShippingDetailsAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("shippingDetails", shippingDetails) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTaxAmountActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTaxAmountActionImpl.java index b63c38feadf..6aaea7d1446 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTaxAmountActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTaxAmountActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Can be used if the Cart has the ExternalAmount TaxMode.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("externalTaxAmount", externalTaxAmount) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTaxRateActionImpl.java index b9672104066..eafaa7fdb8e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Can be used if the Cart has the External TaxMode.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("externalTaxRate", externalTaxRate) + .append("shippingKey", shippingKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTotalPriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTotalPriceActionImpl.java index 7b6a0caf759..f33e60b609f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTotalPriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLineItemTotalPriceActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Sets the LineItem totalPrice and price, and changes the priceMode to ExternalTotal LineItemPriceMode.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("externalTotalPrice", externalTotalPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLocaleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLocaleActionImpl.java index d910ed069f6..6ef463e52ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLocaleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetLocaleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetLocaleAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(locale).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("locale", locale) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetOrderNumberActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetOrderNumberActionImpl.java index 888242ec949..96019dd06a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetOrderNumberActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetOrderNumberActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetOrderNumberAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(orderNumber).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("orderNumber", orderNumber) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetOrderTotalTaxActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetOrderTotalTaxActionImpl.java index 41b69ce2fe4..144c2252a20 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetOrderTotalTaxActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetOrderTotalTaxActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the total tax amount of the Order if it has the ExternalAmount TaxMode.

        @@ -109,4 +111,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("externalTotalGross", externalTotalGross) + .append("externalTaxPortions", externalTaxPortions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelCustomFieldActionImpl.java index 77afa4f979c..a04b48bae5b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetParcelCustomFieldAction @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelCustomTypeActionImpl.java index 7bd148facaf..7a5225e9a09 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetParcelCustomTypeAction @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelItemsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelItemsActionImpl.java index 3f29df92791..d2aa6072305 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelItemsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelItemsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the ParcelItemsUpdated Message.

        @@ -124,4 +126,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(parcelId).append(parcelKey).append(items).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelMeasurementsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelMeasurementsActionImpl.java index 7d3ad1361ca..f8cb4c28088 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelMeasurementsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelMeasurementsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the ParcelMeasurementsUpdated Message.

        @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("measurements", measurements) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelTrackingDataActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelTrackingDataActionImpl.java index 20675b89731..019d9311b8e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelTrackingDataActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetParcelTrackingDataActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the ParcelTrackingDataUpdated Message.

        @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("parcelId", parcelId) + .append("parcelKey", parcelKey) + .append("trackingData", trackingData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetPurchaseOrderNumberActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetPurchaseOrderNumberActionImpl.java index 92916a1544b..891e73a462b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetPurchaseOrderNumberActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetPurchaseOrderNumberActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the PurchaseOrderNumberSet Message.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(purchaseOrderNumber).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("purchaseOrderNumber", purchaseOrderNumber) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnInfoActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnInfoActionImpl.java index 0f26c20238c..f17f77357cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnInfoActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnInfoActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the Return Info Set Message.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(items).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnItemCustomFieldActionImpl.java index e8cd51ef067..4c9055a5b7e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetReturnItemCustomFieldAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnItemId", returnItemId) + .append("returnItemKey", returnItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnItemCustomTypeActionImpl.java index 6fe9b55b1bf..06a63392b93 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetReturnItemCustomTypeAction @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnItemId", returnItemId) + .append("returnItemKey", returnItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnPaymentStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnPaymentStateActionImpl.java index 8f2783ca719..765ef68b2c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnPaymentStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnPaymentStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        To set a ReturnPaymentState, the Order returnInfo must have at least one ReturnItem.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnItemId", returnItemId) + .append("returnItemKey", returnItemKey) + .append("paymentState", paymentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnShipmentStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnShipmentStateActionImpl.java index 55a41361db0..f6596c65809 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnShipmentStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetReturnShipmentStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        To set a ReturnShipmentState, the Order returnInfo must have at least one ReturnItem.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("returnItemId", returnItemId) + .append("returnItemKey", returnItemKey) + .append("shipmentState", shipmentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressActionImpl.java index b72924a5bb4..0b7fa47ae89 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This action updates the shippingAddress on the Order, but it does not change the shipping address on the referenced Cart from which the Order is created. Also, it does not recalculate the Cart as taxes may not fit to the shipping address anymore.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressAndCustomShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressAndCustomShippingMethodActionImpl.java index 23848cbb15a..6a30f0145eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressAndCustomShippingMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressAndCustomShippingMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Sets the shipping address and a custom Shipping Method together to prevent an inconsistent state.

        @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .append("shippingMethodName", shippingMethodName) + .append("shippingRate", shippingRate) + .append("taxCategory", taxCategory) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressAndShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressAndShippingMethodActionImpl.java index 211c5006b48..863d35b05c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressAndShippingMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressAndShippingMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Sets the shipping address and Shipping Method together to prevent an inconsistent state.

        @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .append("shippingMethod", shippingMethod) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressCustomFieldActionImpl.java index 00cf8b3dcc7..1c15325a311 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetShippingAddressCustomFieldAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressCustomTypeActionImpl.java index 57db7cef12a..df2bcc05834 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingAddressCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderSetShippingAddressCustomTypeAction @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodActionImpl.java index 0e3f791e1a0..c704a04157d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        To set the Cart's Shipping Method, the Cart must have the Single ShippingMode and a shippingAddress.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingMethod).append(externalTaxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingMethod", shippingMethod) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodTaxAmountActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodTaxAmountActionImpl.java index 2cba2799469..dc023f5c7b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodTaxAmountActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodTaxAmountActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A Shipping Method tax amount can be set if the Cart has the ExternalAmount TaxMode.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingKey).append(externalTaxAmount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .append("externalTaxAmount", externalTaxAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodTaxRateActionImpl.java index f0de9b4099c..e6029d8cb15 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingMethodTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A Shipping Method Tax Rate can be set if the Cart has the External TaxMode.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingKey).append(externalTaxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingKey", shippingKey) + .append("externalTaxRate", externalTaxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingRateInputActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingRateInputActionImpl.java index e7967baa904..06569be22c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingRateInputActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetShippingRateInputActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Input used to select a ShippingRatePriceTier. If no matching tier can be found, or the input is not set, the default price for the shipping rate is used.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingRateInput).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingRateInput", shippingRateInput) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetStoreActionImpl.java index 38a4a664486..29cf53e33d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderSetStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Sets the Store the Order is assigned to. It should be used to migrate Orders to a new Store. No validations are performed (such as that the Customer is allowed to create Orders in the Store).

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionCustomLineItemStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionCustomLineItemStateActionImpl.java index 4b32c8a756c..4a85a2540a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionCustomLineItemStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionCustomLineItemStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the Custom Line Item State Transition Message.

        @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customLineItemId", customLineItemId) + .append("customLineItemKey", customLineItemKey) + .append("quantity", quantity) + .append("fromState", fromState) + .append("toState", toState) + .append("actualTransitionDate", actualTransitionDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionLineItemStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionLineItemStateActionImpl.java index 64bcc714f59..cc529f91089 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionLineItemStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionLineItemStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the Line Item State Transition Message.

        @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .append("fromState", fromState) + .append("toState", toState) + .append("actualTransitionDate", actualTransitionDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionStateActionImpl.java index c389c710c07..cfccf5b74b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderTransitionStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("state", state) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderUpdateItemShippingAddressActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderUpdateItemShippingAddressActionImpl.java index cb4878d584b..9dbbe7606d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderUpdateItemShippingAddressActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderUpdateItemShippingAddressActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates an address in itemShippingAddresses by keeping the Address key.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderUpdateSyncInfoActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderUpdateSyncInfoActionImpl.java index 01108b1f03f..0bf7a4d5b05 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderUpdateSyncInfoActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order_edit/StagedOrderUpdateSyncInfoActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedOrderUpdateSyncInfoAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("externalId", externalId) + .append("channel", channel) + .append("syncedAt", syncedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentAddInterfaceInteractionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentAddInterfaceInteractionActionImpl.java index 8cbd94045b4..201813ff3fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentAddInterfaceInteractionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentAddInterfaceInteractionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adding a Payment interaction generates the PaymentInteractionAdded Message.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentAddTransactionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentAddTransactionActionImpl.java index f231a97bd00..605edbf87f5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentAddTransactionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentAddTransactionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adding a Transaction to a Payment generates the PaymentTransactionAdded Message.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(transaction).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("transaction", transaction) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeAmountPlannedActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeAmountPlannedActionImpl.java index 6b17ea6a0da..5c666755a86 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeAmountPlannedActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeAmountPlannedActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Can be used to update the Payment if a customer changes the Cart, or adds or removes a CartDiscount during checkout.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(amount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("amount", amount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionInteractionIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionInteractionIdActionImpl.java index 641a3c47905..c0e25edfd93 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionInteractionIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionInteractionIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentChangeTransactionInteractionIdAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(transactionId).append(interactionId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("transactionId", transactionId) + .append("interactionId", interactionId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionStateActionImpl.java index 083ed330e71..c669412a707 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changing the TransactionState generates the PaymentTransactionStateChanged Message.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(transactionId).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("transactionId", transactionId) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionTimestampActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionTimestampActionImpl.java index f5a70074d49..89995d12150 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionTimestampActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentChangeTransactionTimestampActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentChangeTransactionTimestampAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(transactionId).append(timestamp).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("transactionId", transactionId) + .append("timestamp", timestamp) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentDraftImpl.java index febb33f44ac..75960e1e9b5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentDraft @@ -252,4 +254,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("customer", customer) + .append("anonymousId", anonymousId) + .append("interfaceId", interfaceId) + .append("amountPlanned", amountPlanned) + .append("paymentMethodInfo", paymentMethodInfo) + .append("paymentStatus", paymentStatus) + .append("transactions", transactions) + .append("interfaceInteractions", interfaceInteractions) + .append("custom", custom) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentImpl.java index 2d8578bb513..6e2e4d7dcec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Payment @@ -363,4 +365,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("customer", customer) + .append("anonymousId", anonymousId) + .append("interfaceId", interfaceId) + .append("amountPlanned", amountPlanned) + .append("paymentMethodInfo", paymentMethodInfo) + .append("paymentStatus", paymentStatus) + .append("transactions", transactions) + .append("interfaceInteractions", interfaceInteractions) + .append("custom", custom) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentMethodInfoImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentMethodInfoImpl.java index a92523e64ac..c88f51356e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentMethodInfoImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentMethodInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentMethodInfo @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(paymentInterface).append(method).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("paymentInterface", paymentInterface) + .append("method", method) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentPagedQueryResponseImpl.java index 0c0b304fdfc..78315b944cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of Payment.

        @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentReferenceImpl.java index a1e02ecb09b..841f3c2fd27 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a Payment.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifier.java index 2375837c31c..c016f6044ec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier of a Payment.

        + *

        ResourceIdentifier of a Payment. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface PaymentResourceIdentifier String PAYMENT = "payment"; /** - *

        Unique identifier of the referenced Payment. Either id or key is required.

        + *

        Unique identifier of the referenced Payment. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface PaymentResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced Payment. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Payment. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface PaymentResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced Payment. Either id or key is required.

        + *

        Unique identifier of the referenced Payment. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced Payment. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Payment. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifierBuilder.java index fcfdf1407d7..16af2fb841e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class PaymentResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Payment. Either id or key is required.

        + *

        Unique identifier of the referenced Payment. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public PaymentResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced Payment. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Payment. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public PaymentResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced Payment. Either id or key is required.

        + *

        Unique identifier of the referenced Payment. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced Payment. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Payment. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifierImpl.java index 8a63f21f3bf..50e9a8004c1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier of a Payment.

        + *

        ResourceIdentifier of a Payment. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentResourceIdentifierImpl implements PaymentResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced Payment. Either id or key is required.

        + *

        Unique identifier of the referenced Payment. Required if key is absent.

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

        User-defined unique identifier of the referenced Payment. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Payment. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetAnonymousIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetAnonymousIdActionImpl.java index 201bb04de76..562e9a16053 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetAnonymousIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetAnonymousIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetAnonymousIdAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(anonymousId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("anonymousId", anonymousId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomFieldActionImpl.java index b6abc727f06..08e82a20c22 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomTypeActionImpl.java index bc3e51acde3..b724982b964 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomerActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomerActionImpl.java index db86978baef..3510a86b1e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomerActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetCustomerActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetCustomerAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetInterfaceIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetInterfaceIdActionImpl.java index 285d0b1c44f..010e67031c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetInterfaceIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetInterfaceIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetInterfaceIdAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(interfaceId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("interfaceId", interfaceId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetKeyActionImpl.java index 2e1875f14f8..7ed4d7b7684 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoInterfaceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoInterfaceActionImpl.java index 590477d2c8b..bd6ba82353e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoInterfaceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoInterfaceActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetMethodInfoInterfaceAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(_interface).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("interface", _interface) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoMethodActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoMethodActionImpl.java index e0cc98da607..7fa0a86e0ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoMethodActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoMethodActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetMethodInfoMethodAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(method).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("method", method) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoNameActionImpl.java index ce082a6fe1c..e0e1d99cc06 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetMethodInfoNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetMethodInfoNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetStatusInterfaceCodeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetStatusInterfaceCodeActionImpl.java index ff0e0aa713c..6e75745a674 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetStatusInterfaceCodeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetStatusInterfaceCodeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the PaymentStatusInterfaceCodeSet Message.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(interfaceCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("interfaceCode", interfaceCode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetStatusInterfaceTextActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetStatusInterfaceTextActionImpl.java index 1da33944d94..4e2a15e3131 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetStatusInterfaceTextActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetStatusInterfaceTextActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetStatusInterfaceTextAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(interfaceText).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("interfaceText", interfaceText) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetTransactionCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetTransactionCustomFieldActionImpl.java index 6c91b7c2aca..d39d57b9f54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetTransactionCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetTransactionCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetTransactionCustomFieldAction @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(transactionId).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("transactionId", transactionId) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetTransactionCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetTransactionCustomTypeActionImpl.java index a81c09549ae..c6db8f46555 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetTransactionCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentSetTransactionCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentSetTransactionCustomTypeAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("transactionId", transactionId) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentStatusDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentStatusDraftImpl.java index 9f61a4c4f90..ae92653e827 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentStatusDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentStatusDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentStatusDraft @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(interfaceCode).append(interfaceText).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("interfaceCode", interfaceCode) + .append("interfaceText", interfaceText) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentStatusImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentStatusImpl.java index 59fac1baf7d..0f466cd1224 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentStatusImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentStatusImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentStatus @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(interfaceCode).append(interfaceText).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("interfaceCode", interfaceCode) + .append("interfaceText", interfaceText) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentTransitionStateActionImpl.java index fc9f5f74a84..770e1195eb5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentTransitionStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentTransitionStateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        If the Payment has no current State, initial must be true for the new State. If the existing State has transitions set, the new State must be a valid transition. If the existing State has no transitions set, no validations are performed when transitioning to the new State.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("state", state) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentUpdateActionImpl.java index a227a8db712..96cdb05f791 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentUpdateImpl.java index 21127322f2b..fbaf9d203db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/PaymentUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/TransactionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/TransactionDraftImpl.java index 9b2603a6a4e..81798fd5048 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/TransactionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/TransactionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TransactionDraft @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("timestamp", timestamp) + .append("type", type) + .append("amount", amount) + .append("interactionId", interactionId) + .append("state", state) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/TransactionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/TransactionImpl.java index 3b5c57178d4..d263d216247 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/TransactionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/payment/TransactionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Represents a financial transaction typically created as a result of a notification from the payment service.

        @@ -183,4 +185,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("timestamp", timestamp) + .append("type", type) + .append("amount", amount) + .append("interactionId", interactionId) + .append("state", state) + .append("custom", custom) + .build(); + } + } 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 81a032f87df..5f45a12b1a5 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Attribute @@ -93,4 +95,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("value", value) + .build(); + } + } 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 55571e2cc6e..acc8bc08550 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -69,4 +71,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } 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 8bab2712f44..4efc305b2c4 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Define arbitrary tokens that are used to match the input.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(inputs).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("inputs", inputs) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetRangeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetRangeImpl.java index 0132bd6ee9b..91e841072a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetRangeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetRangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FacetRange @@ -235,4 +237,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("from", from) + .append("fromStr", fromStr) + .append("to", to) + .append("toStr", toStr) + .append("count", count) + .append("productCount", productCount) + .append("total", total) + .append("min", min) + .append("max", max) + .append("mean", mean) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetResultImpl.java index bd946077de9..d85e3f9390a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetResultImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FacetResult @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetResultsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetResultsImpl.java index bf0d3dc5f43..4945fb058eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetResultsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetResultsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FacetResults @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetTermImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetTermImpl.java index 2c8c54f80c6..d74f0cd95bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetTermImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FacetTermImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FacetTerm @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(term).append(count).append(productCount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("term", term) + .append("count", count) + .append("productCount", productCount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FilteredFacetResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FilteredFacetResultImpl.java index 0d39ec997b9..76f6363445d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FilteredFacetResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/FilteredFacetResultImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FilteredFacetResult @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(count).append(productCount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("count", count) + .append("productCount", productCount) + .build(); + } + } 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 4ed9b6e8f01..efd3bef1148 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required.

        @@ -159,4 +161,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("asset", asset) + .append("position", position) + .build(); + } + } 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 55bec2960da..f9b61d8f552 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required. Produces the ProductImageAdded Message.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("image", image) + .append("staged", staged) + .build(); + } + } 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 2259baf7dfe..c718bc0f7a0 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adds the given Price to the prices array of the ProductVariant. Either variantId or sku is required.

        @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("price", price) + .append("staged", staged) + .build(); + } + } 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 34ee59add0f..2f0dded751e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the ProductAddedToCategory Message.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("category", category) + .append("orderHint", orderHint) + .append("staged", staged) + .build(); + } + } 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 f5ab676b2a6..e5475e6db20 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductAddVariantAction @@ -213,4 +215,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("sku", sku) + .append("key", key) + .append("prices", prices) + .append("images", images) + .append("attributes", attributes) + .append("staged", staged) + .append("assets", assets) + .build(); + } + } 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 07d47133543..382af143398 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Contains the current and staged ProductData.

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("published", published) + .append("current", current) + .append("staged", staged) + .append("hasStagedChanges", hasStagedChanges) + .build(); + } + } 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 4e64702b591..fee6efc8d6a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

        @@ -177,4 +179,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("name", name) + .build(); + } + } 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 d744f90c9cc..847ceba609e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetOrder", assetOrder) + .build(); + } + } 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 eadaafc63f2..38e77fda8bd 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(variantId).append(sku).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .build(); + } + } 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 e2b8d292ee0..a05019c3074 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductChangeNameAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("staged", staged) + .build(); + } + } 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 fea8e0c28fc..bafb8405fd1 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductChangePriceAction @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(priceId).append(price).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("priceId", priceId) + .append("price", price) + .append("staged", staged) + .build(); + } + } 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 9b07366e76a..25c71cc3556 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the ProductSlugChanged Message.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(slug).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("slug", slug) + .append("staged", staged) + .build(); + } + } 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 c32bceceefc..0c08ca63dcd 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Contains all the data of a Product and its Product Variants.

        @@ -269,4 +271,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("categories", categories) + .append("categoryOrderHints", categoryOrderHints) + .append("description", description) + .append("slug", slug) + .append("metaTitle", metaTitle) + .append("metaDescription", metaDescription) + .append("metaKeywords", metaKeywords) + .append("masterVariant", masterVariant) + .append("variants", variants) + .append("searchKeywords", searchKeywords) + .build(); + } + } 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 c9578025538..8a857201c1c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDraft @@ -386,4 +388,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productType", productType) + .append("name", name) + .append("slug", slug) + .append("key", key) + .append("description", description) + .append("categories", categories) + .append("categoryOrderHints", categoryOrderHints) + .append("metaTitle", metaTitle) + .append("metaDescription", metaDescription) + .append("metaKeywords", metaKeywords) + .append("masterVariant", masterVariant) + .append("variants", variants) + .append("taxCategory", taxCategory) + .append("searchKeywords", searchKeywords) + .append("state", state) + .append("publish", publish) + .append("priceMode", priceMode) + .build(); + } + } 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 272aa58f41b..ba2d6b0ddcd 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -298,4 +300,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("productType", productType) + .append("masterData", masterData) + .append("taxCategory", taxCategory) + .append("state", state) + .append("reviewRatingStatistics", reviewRatingStatistics) + .append("priceMode", priceMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductLegacySetSkuActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductLegacySetSkuActionImpl.java index c785a6203e1..47b085cd717 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductLegacySetSkuActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductLegacySetSkuActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductLegacySetSkuAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(sku).append(variantId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("sku", sku) + .append("variantId", variantId) + .build(); + } + } 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 8afcc977e3c..ebb29b1a446 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required.

        @@ -158,4 +160,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("imageUrl", imageUrl) + .append("position", position) + .append("staged", staged) + .build(); + } + } 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 e8fd8fbd2ad..ffe778c1404 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of Product.

        @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionImpl.java index fb97b51d9ed..f762f4c8e5f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductProjection @@ -497,4 +499,32 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("key", key) + .append("productType", productType) + .append("name", name) + .append("description", description) + .append("slug", slug) + .append("categories", categories) + .append("categoryOrderHints", categoryOrderHints) + .append("metaTitle", metaTitle) + .append("metaDescription", metaDescription) + .append("metaKeywords", metaKeywords) + .append("searchKeywords", searchKeywords) + .append("hasStagedChanges", hasStagedChanges) + .append("published", published) + .append("masterVariant", masterVariant) + .append("variants", variants) + .append("taxCategory", taxCategory) + .append("state", state) + .append("reviewRatingStatistics", reviewRatingStatistics) + .append("priceMode", priceMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionPagedQueryResponseImpl.java index d3bc45e2b3e..0f2d5be136c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductProjectionPagedQueryResponse @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionPagedSearchResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionPagedSearchResponseImpl.java index 2e4f70a5e0b..5487c004fb2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionPagedSearchResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductProjectionPagedSearchResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductProjectionPagedSearchResponse @@ -167,4 +169,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .append("facets", facets) + .build(); + } + } 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 9c958d41cbe..4122c92b9ee 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Publishes product data from the Product's staged projection to its current projection. Produces the ProductPublished Message.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(scope).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("scope", scope) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductReferenceImpl.java index 6ddc84b2501..49106ef92fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a Product.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } 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 87977118f1e..a090fd10417 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required. The Asset to remove must be specified using either assetId or assetKey.

        @@ -158,4 +160,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetId", assetId) + .append("assetKey", assetKey) + .build(); + } + } 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 c699dedc4d5..f8fff57685e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the ProductRemovedFromCategory Message.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(category).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("category", category) + .append("staged", staged) + .build(); + } + } 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 8055ca9db6e..da18b8765d8 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -139,4 +141,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("imageUrl", imageUrl) + .append("staged", staged) + .build(); + } + } 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 c79e627fec3..8d1c481590b 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductRemovePriceAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(priceId).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("priceId", priceId) + .append("staged", staged) + .build(); + } + } 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 7ef99d5aa58..f06557e929e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either id or sku is required. Produces the ProductVariantDeleted Message. If the Product Variant to remove is part of a ProductSelectionAssignment its SKU will be automatically removed from the respective ProductVariantSelection.

        @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(id).append(sku).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("id", id) + .append("sku", sku) + .append("staged", staged) + .build(); + } + } 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 29c43d23165..71f74bf8d73 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 @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a Product. Either id or key is required.

        + *

        ResourceIdentifier to a Product. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ProductResourceIdentifier String PRODUCT = "product"; /** - *

        Unique identifier of the referenced Product.

        + *

        Unique identifier of the referenced Product. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface ProductResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced Product.

        + *

        User-defined unique identifier of the referenced Product. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface ProductResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced Product.

        + *

        Unique identifier of the referenced Product. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced Product.

        + *

        User-defined unique identifier of the referenced Product. Required if id is absent.

        * @param key value to be set */ 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 6ccdb27a324..57cdda56fba 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.

        + *

        Unique identifier of the referenced Product. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ProductResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced Product.

        + *

        User-defined unique identifier of the referenced Product. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ProductResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced Product.

        + *

        Unique identifier of the referenced Product. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced Product.

        + *

        User-defined unique identifier of the referenced Product. Required if id is absent.

        * @return 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 8fe6071781f..55ed0850eee 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 @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a Product. Either id or key is required.

        + *

        ResourceIdentifier to a Product. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductResourceIdentifierImpl implements ProductResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced Product.

        + *

        Unique identifier of the referenced Product. Required if key is absent.

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

        User-defined unique identifier of the referenced Product.

        + *

        User-defined unique identifier of the referenced Product. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } 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 895159fa9d3..2ab8e400fdc 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reverts the staged version of a Product to the current version. Produces the ProductRevertedStagedChanges Message.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } 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 64965a5fd76..f2873d19c09 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reverts the staged version of a ProductVariant to the current version.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(variantId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .build(); + } + } 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 07e27c8787d..d1d93167ef9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

        @@ -195,4 +197,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("name", name) + .append("value", value) + .build(); + } + } 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 d5ead1dbd03..e5876a2984e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

        @@ -196,4 +198,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } 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 0942b950a41..be250495167 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

        @@ -177,4 +179,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("description", description) + .build(); + } + } 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 2a73c1cbb82..b7125f4cbb5 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required.

        @@ -158,4 +160,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetId", assetId) + .append("assetKey", assetKey) + .build(); + } + } 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 c36d0d6c66e..7d78394ab94 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

        @@ -181,4 +183,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("sources", sources) + .build(); + } + } 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 d2e5bcf5041..df770696c55 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required. The Asset to update must be specified using either assetId or assetKey.

        @@ -181,4 +183,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .append("assetId", assetId) + .append("assetKey", assetKey) + .append("tags", tags) + .build(); + } + } 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 215ce6a76a1..77501a398c9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required.

        @@ -167,4 +169,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("name", name) + .append("value", value) + .append("staged", staged) + .build(); + } + } 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 3d9f1bc2493..a1256184fd5 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -126,4 +128,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .append("staged", staged) + .build(); + } + } 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 3653adb3625..ca13daa0e30 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetCategoryOrderHintAction @@ -121,4 +123,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("categoryId", categoryId) + .append("orderHint", orderHint) + .append("staged", staged) + .build(); + } + } 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 ed1fff44c0c..0bffc527a9a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetDescriptionAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .append("staged", staged) + .build(); + } + } 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 59e7b9cbf75..5d767d89b13 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Produces the ProductPriceExternalDiscountSet Message.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("priceId", priceId) + .append("staged", staged) + .append("discounted", discounted) + .build(); + } + } 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 7736a419c88..c70039530e7 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required.

        @@ -158,4 +160,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("sku", sku) + .append("variantId", variantId) + .append("imageUrl", imageUrl) + .append("label", label) + .append("staged", staged) + .build(); + } + } 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 534247d1cbe..f6856aac7f0 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } 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 f047a0c9dc0..5ba9f633368 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetMetaDescriptionAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(metaDescription).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("metaDescription", metaDescription) + .append("staged", staged) + .build(); + } + } 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 8394f271192..496ab31b8fb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetMetaKeywordsAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(metaKeywords).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("metaKeywords", metaKeywords) + .append("staged", staged) + .build(); + } + } 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 16b861d6758..3a153f0f691 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetMetaTitleAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(metaTitle).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("metaTitle", metaTitle) + .append("staged", staged) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceKeyActionImpl.java index 486d83cf8ff..94082698177 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetPriceKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Sets the key of an Embedded Price. Produces the ProductPriceKeySet Message.

        @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(priceId).append(staged).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("priceId", priceId) + .append("staged", staged) + .append("key", key) + .build(); + } + } 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 051702770bf..e6e1fe1e38c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Controls whether the Prices of a Product Variant are embedded into the Product or standalone.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(priceMode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("priceMode", priceMode) + .build(); + } + } 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 586f8c751be..2644d3ddaba 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("prices", prices) + .append("staged", staged) + .build(); + } + } 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 babdda488a0..16a82e5a2d4 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetProductPriceCustomFieldAction @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("priceId", priceId) + .append("staged", staged) + .append("name", name) + .append("value", value) + .build(); + } + } 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 d2766c511f9..a146937e816 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetProductPriceCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("priceId", priceId) + .append("staged", staged) + .append("type", type) + .append("fields", fields) + .build(); + } + } 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 c977de0a5f1..bedc7dfad04 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either variantId or sku is required.

        @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("key", key) + .append("staged", staged) + .build(); + } + } 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 91056921f6c..0ea9e31ffd5 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSetSearchKeywordsAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(searchKeywords).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("searchKeywords", searchKeywords) + .append("staged", staged) + .build(); + } + } 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 0468a7923f7..0e727f77888 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        SKU cannot be changed or removed if it is associated with an InventoryEntry. If the SKU to set or unset is part of a ProductSelectionAssignment it will be automatically added or removed from the respective ProductVariantSelection.

        @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(variantId).append(sku).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("variantId", variantId) + .append("sku", sku) + .append("staged", staged) + .build(); + } + } 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 dfd9f626e3b..319acb4f3d3 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Cannot be staged. Published Products are immediately updated.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxCategory).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxCategory", taxCategory) + .build(); + } + } 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 dd448ba31cd..6183c7a4bb0 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("state", state) + .append("force", force) + .build(); + } + } 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 fbe9dd0681a..37c2d7f1fb4 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Removes the current projection of the Product. The staged projection is unaffected. To retrieve unpublished Products, the staged parameter must be set to false when querying/searching Product Projections. Produces the ProductUnpublished Message.

        @@ -56,4 +58,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateActionImpl.java index 20ada163955..d5c68c87b51 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } 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 863d75d0baa..2f431365f27 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } 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 a2a14c7f603..d869c8b64ed 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("channels", channels) + .append("isOnStock", isOnStock) + .append("restockableInDays", restockableInDays) + .append("availableQuantity", availableQuantity) + .build(); + } + } 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 dc0279640aa..34a100b05b3 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductVariantChannelAvailability @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("isOnStock", isOnStock) + .append("restockableInDays", restockableInDays) + .append("availableQuantity", availableQuantity) + .append("id", id) + .append("version", version) + .build(); + } + } 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 df6e4d07d17..e84f93dab14 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        JSON object where the key is a supply Channel id and the value is the ProductVariantChannelAvailability of the InventoryEntry.

        @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } 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 a61754c5ab6..b0b9310747c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Creates a Product Variant when included in the masterVariant and variants fields of the ProductDraft.

        @@ -179,4 +181,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("sku", sku) + .append("key", key) + .append("prices", prices) + .append("attributes", attributes) + .append("images", images) + .append("assets", assets) + .build(); + } + } 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 e7c39b56550..6fd96a878c8 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A concrete sellable good for which inventory can be tracked. Product Variants are generally mapped to specific SKUs.

        @@ -294,4 +296,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("sku", sku) + .append("key", key) + .append("prices", prices) + .append("attributes", attributes) + .append("price", price) + .append("images", images) + .append("assets", assets) + .append("availability", availability) + .append("isMatchingVariant", isMatchingVariant) + .append("scopedPrice", scopedPrice) + .append("scopedPriceDiscounted", scopedPriceDiscounted) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/RangeFacetResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/RangeFacetResultImpl.java index ca40fa595d9..c1b2ddc211b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/RangeFacetResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/RangeFacetResultImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * RangeFacetResult @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(ranges).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("ranges", ranges) + .build(); + } + } 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 488f712374d..0fcfb4d50fd 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SearchKeyword @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(text).append(suggestTokenizer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("text", text) + .append("suggestTokenizer", suggestTokenizer) + .build(); + } + } 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 4f1ef66d456..f2565b235fe 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestTokenizerImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestTokenizerImpl.java index e5739b6fc5a..91214e15783 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestTokenizerImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestTokenizerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SuggestTokenizer @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestionImpl.java index cd38f139cdf..ea6090c45fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Suggestion @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(text).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("text", text).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestionResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestionResultImpl.java index 621678e5d49..1ed9807e3b8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestionResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/SuggestionResultImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SuggestionResult @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/TermFacetResultImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/TermFacetResultImpl.java index 559bed10b84..e0fef48e9aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/TermFacetResultImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/TermFacetResultImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TermFacetResult @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("dataType", dataType) + .append("missing", missing) + .append("total", total) + .append("other", other) + .append("terms", terms) + .build(); + } + } 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 7cd75cf27b7..cdc475f5bf3 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Creates tokens by splitting the text field in SearchKeyword by whitespaces.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeIsActiveActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeIsActiveActionImpl.java index e71f62ff73f..dfd2ca0ab02 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeIsActiveActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeIsActiveActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountChangeIsActiveAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(isActive).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("isActive", isActive) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeNameActionImpl.java index 20cb6f9367b..ecb0daf7eff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountChangeNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangePredicateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangePredicateActionImpl.java index 97e74b8eaae..0752b41035a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangePredicateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangePredicateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountChangePredicateAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(predicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("predicate", predicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeSortOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeSortOrderActionImpl.java index 6caec6ebc4c..c0584e0bbe2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeSortOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeSortOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountChangeSortOrderAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(sortOrder).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("sortOrder", sortOrder) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeValueActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeValueActionImpl.java index 7db4acbc6d4..a247d831129 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeValueActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountChangeValueActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountChangeValueAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountDraftImpl.java index b79515d7bdc..cd85196a35c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountDraft @@ -220,4 +222,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("key", key) + .append("description", description) + .append("value", value) + .append("predicate", predicate) + .append("sortOrder", sortOrder) + .append("isActive", isActive) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountImpl.java index 0d450afe850..740e5130e33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscount @@ -356,4 +358,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("name", name) + .append("key", key) + .append("description", description) + .append("value", value) + .append("predicate", predicate) + .append("sortOrder", sortOrder) + .append("isActive", isActive) + .append("references", references) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountMatchQueryImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountMatchQueryImpl.java index 76f9004df15..a75437175c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountMatchQueryImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountMatchQueryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountMatchQuery @@ -125,4 +127,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productId", productId) + .append("variantId", variantId) + .append("staged", staged) + .append("price", price) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountPagedQueryResponseImpl.java index 42a8fcf0250..3def1e2a389 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of ProductDiscount.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountReferenceImpl.java index 881ad106309..78c0b7094ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a ProductDiscount.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifier.java index 70948e39951..2d7f8410cae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a ProductDiscount.

        + *

        ResourceIdentifier to a ProductDiscount. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ProductDiscountResourceIdentifier String PRODUCT_DISCOUNT = "product-discount"; /** - *

        Unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        Unique identifier of the referenced ProductDiscount. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface ProductDiscountResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductDiscount. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface ProductDiscountResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        Unique identifier of the referenced ProductDiscount. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductDiscount. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifierBuilder.java index c9e5281b0d8..273c0abbc56 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ProductDiscountResourceIdentifierBuilder implements BuilderUnique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        Unique identifier of the referenced ProductDiscount. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ProductDiscountResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductDiscount. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ProductDiscountResourceIdentifierBuilder key(@Nullable final String key) } /** - *

        Unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        Unique identifier of the referenced ProductDiscount. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductDiscount. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifierImpl.java index f9d9fd5ee3c..31859ef6e4f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a ProductDiscount.

        + *

        ResourceIdentifier to a ProductDiscount. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductDiscountResourceIdentifierImpl implements ProductDiscountResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        Unique identifier of the referenced ProductDiscount. Required if key is absent.

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

        User-defined unique identifier of the referenced ProductDiscount. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductDiscount. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetDescriptionActionImpl.java index bc644e6cce7..88092724d01 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetKeyActionImpl.java index d6ee682e599..c678b2848e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidFromActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidFromActionImpl.java index 763a5c56103..865faaca7ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidFromActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidFromActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountSetValidFromAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validFrom).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validFrom", validFrom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidFromAndUntilActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidFromAndUntilActionImpl.java index da7b3f5fef4..2b663c66393 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidFromAndUntilActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidFromAndUntilActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountSetValidFromAndUntilAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validFrom).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidUntilActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidUntilActionImpl.java index a4424267004..9f71587cdbe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidUntilActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountSetValidUntilActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountSetValidUntilAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountUpdateActionImpl.java index 6352875fb84..76fb923d40a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountUpdateImpl.java index f71500382ed..a38873a2045 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftImpl.java index 5c66a5d983d..b07c0f869e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Discounts the Product Price by a fixed amount, defined by the money field.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(money).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteImpl.java index a03e402ec85..d12eef5d90b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Discounts the Product's Price by a fixed amount, defined by the money field.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(money).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueDraftImpl.java index 08dc3f3809b..48ca9fc64c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountValueDraft @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueExternalDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueExternalDraftImpl.java index ed7fe0a4d1e..44c4a2d6f46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueExternalDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueExternalDraftImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Discounts the Product Price by allowing the client to explicitly set a discounted value. Use this when setting discounts using an external service.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueExternalImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueExternalImpl.java index 9777b1f3f9a..35271df93c3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueExternalImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueExternalImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Discounts the Product Price by allowing the client to explicitly set a discounted value. Used when setting discounts using an external service.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueImpl.java index fbc1823e839..4282333c8cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductDiscountValue @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueRelativeDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueRelativeDraftImpl.java index 91347ba4234..cf87a59379f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueRelativeDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueRelativeDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Discounts the Product Price by a percentage, defined by the permyriad field.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(permyriad).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("permyriad", permyriad) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueRelativeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueRelativeImpl.java index 9c145cdbc30..6b6ed756940 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueRelativeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueRelativeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Discounts the product price by a percentage, defined by the permyriad field.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(permyriad).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("permyriad", permyriad) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductReferenceImpl.java index eb0271855e0..788bdefcee3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssignedProductReference @@ -112,4 +114,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("product", product) + .append("variantSelection", variantSelection) + .append("variantExclusion", variantExclusion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductSelectionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductSelectionImpl.java index 530f4a77b59..db789ba84ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductSelectionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductSelectionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssignedProductSelection @@ -132,4 +134,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productSelection", productSelection) + .append("variantSelection", variantSelection) + .append("variantExclusion", variantExclusion) + .append("createdAt", createdAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductSelectionPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductSelectionPagedQueryResponseImpl.java index 9240597248c..e8d5f8a54ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductSelectionPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/AssignedProductSelectionPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult containing an array of AssignedProductSelection.

        @@ -150,4 +152,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } 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 6b4cabef8b0..9da6af4fd95 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adds a Product to the Product Selection.

        @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(product).append(variantSelection).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("product", product) + .append("variantSelection", variantSelection) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAssignmentImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAssignmentImpl.java index aa83e17bf2e..4d1d19efb33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAssignmentImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionAssignmentImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Given the mode of Product Selection, this assignment refers to, it may contain:

        @@ -136,4 +138,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("product", product) + .append("productSelection", productSelection) + .append("variantSelection", variantSelection) + .append("variantExclusion", variantExclusion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionChangeNameActionImpl.java index 0151bb455cd..e1cc6818180 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionChangeNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionDraftImpl.java index 1b3624c8d9b..f6f224d7146 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionDraft @@ -122,4 +124,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(name).append(custom).append(mode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("custom", custom) + .append("mode", mode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionExcludeProductActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionExcludeProductActionImpl.java index 078d1971e35..4f1aabcab3a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionExcludeProductActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionExcludeProductActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Excludes a Product from a Product Selection with IndividualExclusion ProductSelectionMode.

        @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(product).append(variantExclusion).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("product", product) + .append("variantExclusion", variantExclusion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionImpl.java index 70218b7761b..1e77f9039f2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelection @@ -258,4 +260,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("name", name) + .append("productCount", productCount) + .append("mode", mode) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionPagedQueryResponseImpl.java index 53c08bb859d..45f717c308b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult containing an array of ProductSelection.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionProductPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionProductPagedQueryResponseImpl.java index a4e69fb0709..439c8881b6e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionProductPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionProductPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult containing an array of AssignedProductReference.

        @@ -150,4 +152,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionReferenceImpl.java index 0c8942f4d82..5ce3c9dca9b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a ProductSelection.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } 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 61f3f6ec84a..6147bfbdf5d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionRemoveProductAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(product).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("product", product) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifier.java index 2411f1893cb..83daa5dd349 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a ProductSelection.

        + *

        ResourceIdentifier to a ProductSelection. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ProductSelectionResourceIdentifier String PRODUCT_SELECTION = "product-selection"; /** - *

        Unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        Unique identifier of the referenced ProductSelection. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface ProductSelectionResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductSelection. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface ProductSelectionResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        Unique identifier of the referenced ProductSelection. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductSelection. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifierBuilder.java index 16e8273866f..8d0a350cddb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ProductSelectionResourceIdentifierBuilder implements BuilderUnique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        Unique identifier of the referenced ProductSelection. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ProductSelectionResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductSelection. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ProductSelectionResourceIdentifierBuilder key(@Nullable final String key) } /** - *

        Unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        Unique identifier of the referenced ProductSelection. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductSelection. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifierImpl.java index 82a3a04b8ac..9b0aedc4019 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a ProductSelection.

        + *

        ResourceIdentifier to a ProductSelection. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductSelectionResourceIdentifierImpl implements ProductSelectionResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        Unique identifier of the referenced ProductSelection. Required if key is absent.

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

        User-defined unique identifier of the referenced ProductSelection. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductSelection. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetCustomFieldActionImpl.java index e8c489a3181..f2f3760fb0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetCustomTypeActionImpl.java index 97b0ef11912..5be3ca41f7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetKeyActionImpl.java index adf25812c1c..2dafa472b9d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantExclusionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantExclusionActionImpl.java index 831a4c1f582..d3afe789d66 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantExclusionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionSetVariantExclusionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the Product Variant Exclusion of an existing Product Selection Assignment. A ProductVariantExclusion can only be set if the Product has already been excluded from the Product Selection with IndividualExclusion ProductSelectionMode.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(product).append(variantExclusion).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("product", product) + .append("variantExclusion", variantExclusion) + .build(); + } + } 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 dba1ff71cfb..d20ea90ab11 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the Product Variant Selection of an existing Product Selection Assignment. A ProductVariantSelection can only be set if the Product has already been included in the Product Selection with Individual ProductSelectionMode.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(product).append(variantSelection).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("product", product) + .append("variantSelection", variantSelection) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionUpdateActionImpl.java index 9ce18fa736c..31e97a2118a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionUpdateImpl.java index a32485bae90..d31fe435156 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductSelectionUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionUpdate @@ -92,4 +94,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantExclusionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantExclusionImpl.java index fe1fc7378a1..9f26d70bf0f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantExclusionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantExclusionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Only Product Variants with the explicitly listed SKUs are part of a Product Selection with IndividualExclusion ProductSelectionMode.

        @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(skus).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("skus", skus).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionImpl.java index 2caca446f90..ccbc17c4459 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Polymorphic base type for Product Variant Selections. The actual type is determined by the type field.

        @@ -63,4 +65,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionIncludeAllExceptImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionIncludeAllExceptImpl.java index aa395fbaf12..a4833e2ed6a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionIncludeAllExceptImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionIncludeAllExceptImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        All Product Variants except the explicitly stated SKUs are part of the Product Selection.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(skus).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("skus", skus) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionIncludeOnlyImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionIncludeOnlyImpl.java index 54efa36cc0e..5c8eede0fb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionIncludeOnlyImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductVariantSelectionIncludeOnlyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Only Product Variants with explicitly stated SKUs are part of the Product Selection.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(skus).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("skus", skus) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductsInStorePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductsInStorePagedQueryResponseImpl.java index bce19ff9c96..df38d8890a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductsInStorePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_selection/ProductsInStorePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult containing an array of ProductSelectionAssignment.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeBooleanTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeBooleanTypeImpl.java index e605ddd12c0..455982f2702 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeBooleanTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeBooleanTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Attribute type for Boolean values. Valid values for the Attribute are true and false (JSON Boolean).

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDateTimeTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDateTimeTypeImpl.java index 46ea479a08f..dd39b10d44f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDateTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDateTimeTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeDateTimeType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDateTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDateTypeImpl.java index 8906a16442e..4b4a404edf9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDateTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDateTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeDateType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDefinitionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDefinitionDraftImpl.java index a50b6134775..d3fccd5d713 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDefinitionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDefinitionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Specify the Attribute to be created with the ProductTypeDraft.

        @@ -206,4 +208,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("label", label) + .append("isRequired", isRequired) + .append("attributeConstraint", attributeConstraint) + .append("inputTip", inputTip) + .append("inputHint", inputHint) + .append("isSearchable", isSearchable) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDefinitionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDefinitionImpl.java index 457dd612494..7eb48f3a42b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDefinitionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeDefinitionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Describes a Product Attribute and allows you to define meta-information associated with the Attribute (like whether it should be searchable, or its constraints).

        @@ -204,4 +206,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("label", label) + .append("isRequired", isRequired) + .append("attributeConstraint", attributeConstraint) + .append("inputTip", inputTip) + .append("inputHint", inputHint) + .append("isSearchable", isSearchable) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeEnumTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeEnumTypeImpl.java index 7f3a896aab4..f4f23e494f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeEnumTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Attribute type for plain enum values. Useful for predefined language-agnostic values selectable in drop downs when only one value should be selected. Use AttributeSetType of AttributeEnumType instead if multiple values can be selected from the list.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizableTextTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizableTextTypeImpl.java index 536bc197453..65dc92a65e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizableTextTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizableTextTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Attribute type for LocalizedString values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizedEnumTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizedEnumTypeImpl.java index 2da28669f0d..e7405031c18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizedEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizedEnumTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Attribute type for localized enum values. Useful for predefined language-specific values selectable in drop-down menus if only one value can be selected. Use AttributeSetType of AttributeLocalizedEnumValue instead if multiple values can be selected.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizedEnumValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizedEnumValueImpl.java index 3c43c1f8ce7..0ed9a84bdb5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizedEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeLocalizedEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A localized enum value must be unique within the enum, else a DuplicateEnumValues error is returned.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeMoneyTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeMoneyTypeImpl.java index 161852d41b8..cf62cabfc54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeMoneyTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeMoneyTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeMoneyType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeNestedTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeNestedTypeImpl.java index 46f5fe11248..47f1e7e015f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeNestedTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeNestedTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Attribute type for nesting Attributes based on some existing ProductType. It does not support isSearchable and is not supported in queries. The only supported AttributeConstraint is None.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(typeReference).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("typeReference", typeReference) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeNumberTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeNumberTypeImpl.java index 608f1198349..619d55f9a81 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeNumberTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeNumberTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeNumberType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributePlainEnumValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributePlainEnumValueImpl.java index 9ee6ce3b734..7688a5384d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributePlainEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributePlainEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A plain enum value must be unique within the enum, else a DuplicateEnumValues error is returned.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeReferenceTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeReferenceTypeImpl.java index d32565536e9..e49e4dee5b5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeReferenceTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeReferenceTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeReferenceType @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(referenceTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("referenceTypeId", referenceTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeSetTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeSetTypeImpl.java index a9ae980eddd..d298e42bbd3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeSetTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeSetTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        AttributeType that defines a set (without duplicate elements) with values of the given elementType. It does not support isRequired. Since this type itself is an AttributeType, it is possible to construct an AttributeSetType of an AttributeSetType of any AttributeType, and to continue with this iteration until terminating with any non-AttributeSetType. In case the AttributeSetType iteration terminates with an AttributeNestedType, the iteration can have 5 steps at maximum.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(elementType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("elementType", elementType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTextTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTextTypeImpl.java index 6c0055505ac..8637b4f958c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTextTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTextTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Attribute type for plain text values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTimeTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTimeTypeImpl.java index 252213987b3..afba4a4f9c0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/AttributeTimeTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeTimeType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } 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 f837ab22971..60955dd629f 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Umbrella type for specific attribute types discriminated by property name.

        @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddAttributeDefinitionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddAttributeDefinitionActionImpl.java index 55b3c1d9dd2..12fe89687b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddAttributeDefinitionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddAttributeDefinitionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeAddAttributeDefinitionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attribute).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attribute", attribute) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddLocalizedEnumValueActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddLocalizedEnumValueActionImpl.java index 1770cbaeed2..c0f81849dba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddLocalizedEnumValueActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddLocalizedEnumValueActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adds a localizable enum to the values of AttributeLocalizedEnumType. It can update an AttributeLocalizedEnumType AttributeDefinition or an AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddPlainEnumValueActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddPlainEnumValueActionImpl.java index fabb53189fb..607c0c6049c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddPlainEnumValueActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeAddPlainEnumValueActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adds an enum to the values of AttributeEnumType AttributeDefinition, or AttributeSetType of AttributeEnumType AttributeDefinition.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeConstraintActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeConstraintActionImpl.java index 902e7a68d96..f5475b2b04f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeConstraintActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeConstraintActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the attributeConstraint of an AttributeDefinition. For now only following changes are supported: SameForAll to None and Unique to None.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(newValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("newValue", newValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeNameActionImpl.java index 1e11a601098..520d3797cc5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Renames an AttributeDefinition and also renames all corresponding Attributes on all Products with this ProductType. The renaming of the Attributes is eventually consistent.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(newAttributeName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("newAttributeName", newAttributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeOrderByNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeOrderByNameActionImpl.java index d70033528d5..c21fbb958f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeOrderByNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeAttributeOrderByNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeChangeAttributeOrderByNameAction @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeNames).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeNames", attributeNames) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeDescriptionActionImpl.java index 693fa7cebdc..ab77f4029c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeChangeDescriptionAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeEnumKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeEnumKeyActionImpl.java index 1d86b3228e5..125a99be597 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeEnumKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeEnumKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the key of a single enum value in an AttributeEnumType AttributeDefinition, AttributeLocalizedEnumType AttributeDefinition, AttributeSetType of AttributeEnumType AttributeDefinition, or AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.

        @@ -119,4 +121,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(key).append(newKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("key", key) + .append("newKey", newKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeInputHintActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeInputHintActionImpl.java index 2ad45fcf416..6504608369f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeInputHintActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeInputHintActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the inputHint of an AttributeDefinition.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(newValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("newValue", newValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeIsSearchableActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeIsSearchableActionImpl.java index 0f921cd4f2c..34b5cbabdac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeIsSearchableActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeIsSearchableActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Following this update the Products are reindexed asynchronously to reflect this change on the search endpoint. When enabling search on an existing Attribute type definition, the constraint regarding the maximum size of a searchable Attribute will not be enforced. Instead, Product AttributeDefinitions exceeding this limit will be treated as not searchable and will not be available for full-text search.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(isSearchable).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("isSearchable", isSearchable) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLabelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLabelActionImpl.java index 2c33c996739..1d151e1937f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLabelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLabelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeChangeLabelAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLocalizedEnumValueLabelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLocalizedEnumValueLabelActionImpl.java index b5f6021ec32..3f9b1630eea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLocalizedEnumValueLabelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLocalizedEnumValueLabelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the label of a single enum value in an AttributeLocalizedEnumType AttributeDefinition, or AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(newValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("newValue", newValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLocalizedEnumValueOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLocalizedEnumValueOrderActionImpl.java index 3709c9563b5..5e5df6fe64f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLocalizedEnumValueOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeLocalizedEnumValueOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the order of localized enum values in an AttributeLocalizedEnumType AttributeDefinition. It can update an AttributeLocalizedEnumType AttributeDefinition or an AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.

        @@ -106,4 +108,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeNameActionImpl.java index 93f1fa0d838..7ae329701c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangePlainEnumValueLabelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangePlainEnumValueLabelActionImpl.java index 35344081e17..8138ca1d367 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangePlainEnumValueLabelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangePlainEnumValueLabelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the label of a single enum value in an AttributeEnumType AttributeDefinition, or AttributeSetType of AttributeEnumType AttributeDefinition.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(newValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("newValue", newValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangePlainEnumValueOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangePlainEnumValueOrderActionImpl.java index d22bb6c0ac3..958d4385f9a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangePlainEnumValueOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeChangePlainEnumValueOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updates the order of enum values in an AttributeEnumType AttributeDefinition. It can update an AttributeEnumType AttributeDefinition or an AttributeSetType of AttributeEnumType AttributeDefinition.

        @@ -106,4 +108,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeDraftImpl.java index 005991c8bb5..7ee5235baed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeDraft @@ -126,4 +128,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(name).append(description).append(attributes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("description", description) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeImpl.java index 76849115389..1d59f858a19 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductType @@ -243,4 +245,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("name", name) + .append("description", description) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypePagedQueryResponseImpl.java index d087874faa1..fb944a8cb10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of ProductType.

        @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeReferenceImpl.java index e015f8e9987..6c29b18d302 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a ProductType.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeRemoveAttributeDefinitionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeRemoveAttributeDefinitionActionImpl.java index 2c8b83ce73e..7ae10f9402a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeRemoveAttributeDefinitionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeRemoveAttributeDefinitionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Removes an AttributeDefinition and also deletes all corresponding Attributes on all Products with this ProductType. The removal of the Attributes is eventually consistent.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeRemoveEnumValuesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeRemoveEnumValuesActionImpl.java index 4b99607bb19..467e8e08dd6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeRemoveEnumValuesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeRemoveEnumValuesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Removes enum values from an AttributeDefinition of AttributeEnumType, AttributeLocalizedEnumType, AttributeSetType of AttributeEnumType, or AttributeSetType of AttributeLocalizedEnumType.

        @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(keys).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("keys", keys) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifier.java index bc571f1f6ab..45804bb2a1c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a ProductType.

        + *

        ResourceIdentifier to a ProductType. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ProductTypeResourceIdentifier String PRODUCT_TYPE = "product-type"; /** - *

        Unique identifier of the referenced ProductType. Either id or key is required.

        + *

        Unique identifier of the referenced ProductType. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface ProductTypeResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced ProductType. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductType. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface ProductTypeResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced ProductType. Either id or key is required.

        + *

        Unique identifier of the referenced ProductType. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced ProductType. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductType. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifierBuilder.java index 79caafb353a..1184b22f32d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ProductTypeResourceIdentifierBuilder implements BuilderUnique identifier of the referenced ProductType. Either id or key is required.

        + *

        Unique identifier of the referenced ProductType. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ProductTypeResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced ProductType. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductType. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ProductTypeResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced ProductType. Either id or key is required.

        + *

        Unique identifier of the referenced ProductType. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced ProductType. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductType. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifierImpl.java index 5af9a8def6c..a3848fb0dbb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a ProductType.

        + *

        ResourceIdentifier to a ProductType. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductTypeResourceIdentifierImpl implements ProductTypeResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced ProductType. Either id or key is required.

        + *

        Unique identifier of the referenced ProductType. Required if key is absent.

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

        User-defined unique identifier of the referenced ProductType. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ProductType. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeSetInputTipActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeSetInputTipActionImpl.java index 16d5615891e..ce503d9f397 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeSetInputTipActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeSetInputTipActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeSetInputTipAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(attributeName).append(inputTip).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("attributeName", attributeName) + .append("inputTip", inputTip) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeSetKeyActionImpl.java index 23d3c5347f4..3e9bd5ffece 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeUpdateActionImpl.java index a3f0c1155f8..db17c86f4a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeUpdateImpl.java index 2214a48fb52..8ee5200c42a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_type/ProductTypeUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/BusinessUnitConfigurationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/BusinessUnitConfigurationImpl.java index 05a208b8ff1..70567b5a05d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/BusinessUnitConfigurationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/BusinessUnitConfigurationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * BusinessUnitConfiguration @@ -91,4 +93,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("myBusinessUnitStatusOnCreation", myBusinessUnitStatusOnCreation) + .append("myBusinessUnitAssociateRoleOnCreation", myBusinessUnitAssociateRoleOnCreation) + .build(); + } + } 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 3198d0abfab..6a1ced684db 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 @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Used when the ShippingRate maps to an abstract Cart categorization expressed by strings (for example, Light, Medium, or Heavy). Only keys defined in the values array can be used to create a tier or to set a value of the shippingRateInput on the Cart. Keys must be unique.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartScoreTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartScoreTypeImpl.java index f43414b26c0..7dd663b9e8d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartScoreTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartScoreTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Used when the ShippingRate maps to an abstract Cart categorization expressed by integers (such as shipping scores or weight ranges).

        @@ -56,4 +58,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartValueTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartValueTypeImpl.java index d7673c86c34..7a42cc61b68 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartValueTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartValueTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Used when the ShippingRate maps to the sum of LineItem Prices. The value of the Cart is used to select a tier. If chosen, it is not possible to set a value for the shippingRateInput on the Cart.

        @@ -56,4 +58,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartsConfigurationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartsConfigurationImpl.java index d9d54fa0e9b..989a8a821dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartsConfigurationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/CartsConfigurationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartsConfiguration @@ -89,4 +91,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .append("countryTaxRateFallbackEnabled", countryTaxRateFallbackEnabled) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthImpl.java index 949eea986fe..339e16066d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ExternalOAuthImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Represents a RFC 7662 compliant OAuth 2.0 Token Introspection endpoint. For more information, see Requesting an access token using an external OAuth 2.0 server.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(url).append(authorizationHeader).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("url", url) + .append("authorizationHeader", authorizationHeader) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeBusinessUnitStatusOnCreationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeBusinessUnitStatusOnCreationActionImpl.java index c6a84a3a4f1..a43944c96d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeBusinessUnitStatusOnCreationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeBusinessUnitStatusOnCreationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeBusinessUnitStatusOnCreationAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(status).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("status", status) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCartsConfigurationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCartsConfigurationActionImpl.java index a51bfa267d7..74f583db51a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCartsConfigurationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCartsConfigurationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeCartsConfigurationAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(cartsConfiguration).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("cartsConfiguration", cartsConfiguration) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCountriesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCountriesActionImpl.java index b50dd9c41be..a8d9bdf7c5e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCountriesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCountriesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeCountriesAction @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(countries).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("countries", countries) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCountryTaxRateFallbackEnabledActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCountryTaxRateFallbackEnabledActionImpl.java index b88e319cd2e..61c7750bfe2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCountryTaxRateFallbackEnabledActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCountryTaxRateFallbackEnabledActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeCountryTaxRateFallbackEnabledAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(countryTaxRateFallbackEnabled).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("countryTaxRateFallbackEnabled", countryTaxRateFallbackEnabled) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCurrenciesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCurrenciesActionImpl.java index 82936132026..db68d181260 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCurrenciesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeCurrenciesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeCurrenciesAction @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(currencies).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("currencies", currencies) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeLanguagesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeLanguagesActionImpl.java index 9e233d13ad7..782efcf8c57 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeLanguagesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeLanguagesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Removing a language used by a Store returns a LanguageUsedInStores error.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(languages).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("languages", languages) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeMessagesConfigurationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeMessagesConfigurationActionImpl.java index f5430f47f94..1456c74129d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeMessagesConfigurationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeMessagesConfigurationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeMessagesConfigurationAction @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(messagesConfiguration).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("messagesConfiguration", messagesConfiguration) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeNameActionImpl.java index 9b10097e124..89df1de748d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeOrderSearchStatusActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeOrderSearchStatusActionImpl.java index 934efb56519..e223daf4cb3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeOrderSearchStatusActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeOrderSearchStatusActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeOrderSearchStatusAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(status).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("status", status) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeProductSearchIndexingEnabledActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeProductSearchIndexingEnabledActionImpl.java index 4f94b2ee1b6..aa31430f997 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeProductSearchIndexingEnabledActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeProductSearchIndexingEnabledActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeProductSearchIndexingEnabledAction @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(enabled).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("enabled", enabled) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeShoppingListsConfigurationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeShoppingListsConfigurationActionImpl.java index 1330a6e6631..5327f15cfb5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeShoppingListsConfigurationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectChangeShoppingListsConfigurationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectChangeShoppingListsConfigurationAction @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shoppingListsConfiguration).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shoppingListsConfiguration", shoppingListsConfiguration) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectImpl.java index 3f8d13987b1..f99183bf4ed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Project @@ -347,4 +349,24 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("key", key) + .append("name", name) + .append("countries", countries) + .append("currencies", currencies) + .append("languages", languages) + .append("createdAt", createdAt) + .append("trialUntil", trialUntil) + .append("messages", messages) + .append("carts", carts) + .append("shoppingLists", shoppingLists) + .append("shippingRateInputType", shippingRateInputType) + .append("externalOAuth", externalOAuth) + .append("searchIndexing", searchIndexing) + .append("businessUnits", businessUnits) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetBusinessUnitAssociateRoleOnCreationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetBusinessUnitAssociateRoleOnCreationActionImpl.java index d67aeabd93d..d03a6ccae36 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetBusinessUnitAssociateRoleOnCreationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetBusinessUnitAssociateRoleOnCreationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectSetBusinessUnitAssociateRoleOnCreationAction @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(associateRole).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("associateRole", associateRole) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetExternalOAuthActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetExternalOAuthActionImpl.java index ec8ae855875..ab3d9103ef4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetExternalOAuthActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetExternalOAuthActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectSetExternalOAuthAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(externalOAuth).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("externalOAuth", externalOAuth) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetShippingRateInputTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetShippingRateInputTypeActionImpl.java index c4908d69525..7b9f122ec0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetShippingRateInputTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectSetShippingRateInputTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectSetShippingRateInputTypeAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(shippingRateInputType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("shippingRateInputType", shippingRateInputType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectUpdateActionImpl.java index b8714d73aff..78cc37cc5a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectUpdateImpl.java index 63d09c5b583..f155f1aaf07 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ProjectUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/SearchIndexingConfigurationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/SearchIndexingConfigurationImpl.java index d65773abfa0..12223a331ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/SearchIndexingConfigurationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/SearchIndexingConfigurationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Controls indexing of resources to be provided on high performance read-only search endpoints.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(products).append(orders).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("products", products) + .append("orders", orders) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/SearchIndexingConfigurationValuesImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/SearchIndexingConfigurationValuesImpl.java index 41b4eae7dd3..a2dccdab1cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/SearchIndexingConfigurationValuesImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/SearchIndexingConfigurationValuesImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SearchIndexingConfigurationValues @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(status).append(lastModifiedAt).append(lastModifiedBy).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("status", status) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ShippingRateInputTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ShippingRateInputTypeImpl.java index 3643070359e..10685444def 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ShippingRateInputTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ShippingRateInputTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRateInputType @@ -63,4 +65,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ShoppingListsConfigurationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ShoppingListsConfigurationImpl.java index 0bc5e271f05..f9fe7723dc4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ShoppingListsConfigurationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/project/ShoppingListsConfigurationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListsConfiguration @@ -69,4 +71,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(deleteDaysAfterLastModification).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeCustomerActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeCustomerActionImpl.java index 904592552d6..a7a2d0201f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeCustomerActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteChangeCustomerActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changes the owner of a Quote to a different Customer. Customer Group is not updated. This update action produces the Quote Customer Changed Message.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customer", customer) + .build(); + } + } 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 0bd9ceade47..e78f7381820 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteChangeQuoteStateAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(quoteState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("quoteState", quoteState) + .build(); + } + } 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 3e42c75829d..1bf3c3c252c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteDraft @@ -169,4 +171,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("stagedQuote", stagedQuote) + .append("stagedQuoteVersion", stagedQuoteVersion) + .append("stagedQuoteStateToSent", stagedQuoteStateToSent) + .append("state", state) + .append("custom", custom) + .build(); + } + } 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 74942024bc2..de601ba58fc 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Quote @@ -754,4 +756,45 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("key", key) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("quoteRequest", quoteRequest) + .append("stagedQuote", stagedQuote) + .append("customer", customer) + .append("customerGroup", customerGroup) + .append("validTo", validTo) + .append("sellerComment", sellerComment) + .append("buyerComment", buyerComment) + .append("store", store) + .append("lineItems", lineItems) + .append("customLineItems", customLineItems) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("shippingAddress", shippingAddress) + .append("billingAddress", billingAddress) + .append("inventoryMode", inventoryMode) + .append("taxMode", taxMode) + .append("taxRoundingMode", taxRoundingMode) + .append("taxCalculationMode", taxCalculationMode) + .append("country", country) + .append("shippingInfo", shippingInfo) + .append("paymentInfo", paymentInfo) + .append("shippingRateInput", shippingRateInput) + .append("itemShippingAddresses", itemShippingAddresses) + .append("directDiscounts", directDiscounts) + .append("custom", custom) + .append("quoteState", quoteState) + .append("state", state) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("businessUnit", businessUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuotePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuotePagedQueryResponseImpl.java index 6eafeef5938..2baa9f5a2a8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuotePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuotePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of Quote.

        @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteReferenceImpl.java index 46135cdead5..b8a1c307908 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a Quote.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } 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 index eeaf73f5f2e..1e654987cb5 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Represents the Buyer requesting renegotiation for a Quote. Valid for Quotes in a Pending state.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(buyerComment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("buyerComment", buyerComment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteResourceIdentifierImpl.java index ee5cc585357..10f6728829d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteResourceIdentifierImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        ResourceIdentifier to a Quote.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteSetCustomFieldActionImpl.java index 91ea0ea7881..0b3c0a89942 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteSetCustomTypeActionImpl.java index f29aa71dda5..d32bbf2cc39 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } 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 index 59a9009454a..08772967c08 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("state", state) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateActionImpl.java index 65100c73544..3b3cd4325b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateImpl.java index bac8b6f280a..d27918bed53 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote/QuoteUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeCustomerActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeCustomerActionImpl.java index 415fc195be8..116404b0d7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeCustomerActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestChangeCustomerActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changes the owner of a Quote Request to a different Customer. Customer Group is not updated. This update action produces the Quote Request Customer Changed Message.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customer", customer) + .build(); + } + } 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 1a71f883526..bc81b612935 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Transitions the Quote Request to a different state. A Buyer is only allowed to cancel a Quote Request when it is in Submitted state.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(quoteRequestState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("quoteRequestState", quoteRequestState) + .build(); + } + } 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 96f7d8d2bb8..82c7255a22e 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteRequestDraft @@ -182,4 +184,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("cart", cart) + .append("cartVersion", cartVersion) + .append("key", key) + .append("comment", comment) + .append("custom", custom) + .append("state", state) + .append("purchaseOrderNumber", purchaseOrderNumber) + .build(); + } + } 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 384d39720f8..8c3ccdd08db 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteRequest @@ -698,4 +700,42 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("key", key) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("quoteRequestState", quoteRequestState) + .append("comment", comment) + .append("customer", customer) + .append("customerGroup", customerGroup) + .append("store", store) + .append("lineItems", lineItems) + .append("customLineItems", customLineItems) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("shippingAddress", shippingAddress) + .append("billingAddress", billingAddress) + .append("inventoryMode", inventoryMode) + .append("taxMode", taxMode) + .append("taxRoundingMode", taxRoundingMode) + .append("taxCalculationMode", taxCalculationMode) + .append("country", country) + .append("shippingInfo", shippingInfo) + .append("paymentInfo", paymentInfo) + .append("shippingRateInput", shippingRateInput) + .append("itemShippingAddresses", itemShippingAddresses) + .append("directDiscounts", directDiscounts) + .append("custom", custom) + .append("state", state) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("cart", cart) + .append("businessUnit", businessUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestPagedQueryResponseImpl.java index 7a4a874ae01..91d3a9f6656 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of QuoteRequest.

        @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestReferenceImpl.java index e701ec8cdcc..0af08027b92 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a QuoteRequest.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestResourceIdentifierImpl.java index 017ff88e09b..16a20c247db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestResourceIdentifierImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        ResourceIdentifier to a QuoteRequest.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestSetCustomFieldActionImpl.java index b7a1f9576c4..41b71925b58 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteRequestSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestSetCustomTypeActionImpl.java index 26b5f259f58..c9e74c73b44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteRequestSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } 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 index f17505132c2..b71ff700213 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("state", state) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateActionImpl.java index e130fdd6de1..d393ed9189b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteRequestUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateImpl.java index d81b2f0fd74..664a5641a67 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/quote_request/QuoteRequestUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteRequestUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftImpl.java index 18e553fb035..b9c5e7e5579 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        When creating a new Review, at least one of title, text or rating should be set.

        @@ -258,4 +260,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("uniquenessValue", uniquenessValue) + .append("locale", locale) + .append("authorName", authorName) + .append("title", title) + .append("text", text) + .append("target", target) + .append("state", state) + .append("rating", rating) + .append("customer", customer) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewImpl.java index d46ea5bc733..dc71b1a7d12 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Review @@ -388,4 +390,27 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("uniquenessValue", uniquenessValue) + .append("locale", locale) + .append("authorName", authorName) + .append("title", title) + .append("text", text) + .append("target", target) + .append("includedInStatistics", includedInStatistics) + .append("rating", rating) + .append("state", state) + .append("customer", customer) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseImpl.java index 83520926a40..6c29d2d9095 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewPagedQueryResponse @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsImpl.java index de702a4ebbd..ada8da19db5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewRatingStatistics @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("averageRating", averageRating) + .append("highestRating", highestRating) + .append("lowestRating", lowestRating) + .append("count", count) + .append("ratingsDistribution", ratingsDistribution) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewReferenceImpl.java index 078722bf9fc..88721fbfd04 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a Review.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifier.java index 10d2b060108..88518711f37 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a Review.

        + *

        ResourceIdentifier to a Review. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ReviewResourceIdentifier String REVIEW = "review"; /** - *

        Unique identifier of the referenced Review. Either id or key is required.

        + *

        Unique identifier of the referenced Review. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface ReviewResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced Review. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Review. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface ReviewResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced Review. Either id or key is required.

        + *

        Unique identifier of the referenced Review. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced Review. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Review. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifierBuilder.java index b7870d1f60c..2fd64cbe378 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ReviewResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Review. Either id or key is required.

        + *

        Unique identifier of the referenced Review. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ReviewResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced Review. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Review. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ReviewResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced Review. Either id or key is required.

        + *

        Unique identifier of the referenced Review. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced Review. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Review. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifierImpl.java index 6f54b3a0d56..fc80b8b3d33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a Review.

        + *

        ResourceIdentifier to a Review. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewResourceIdentifierImpl implements ReviewResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced Review. Either id or key is required.

        + *

        Unique identifier of the referenced Review. Required if key is absent.

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

        User-defined unique identifier of the referenced Review. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Review. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionImpl.java index 15755e87dec..ec5657c3de2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetAuthorNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(authorName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("authorName", authorName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomFieldActionImpl.java index 501f57d054d..fcd88db70e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomTypeActionImpl.java index b0ebf076c1e..e961a063707 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionImpl.java index d143443db1a..986de2af4c3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetCustomerAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionImpl.java index 1a909179fe5..651cac6b033 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionImpl.java index 5c120cb4729..cccd25614ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetLocaleAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(locale).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("locale", locale) + .build(); + } + } 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 3f5ee106b8e..7013ebfd4d6 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the ReviewRatingSet Message.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(rating).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("rating", rating) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionImpl.java index 186306cc2ab..734b75374bd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionImpl.java @@ -16,6 +16,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetTargetAction @@ -95,4 +97,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(target).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("target", target) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionImpl.java index 20e1aaa7bcc..281be35f0ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetTextAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(text).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("text", text) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionImpl.java index 046130a828f..bb907b5a790 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewSetTitleAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(title).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("title", title) + .build(); + } + } 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 95cc6cb5238..af063a0e64c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Transition to a new State. This update action produces the Review State Transition Message.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("state", state) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateActionImpl.java index 208af5e7557..151b54dfde1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateImpl.java index afc0a66b9e4..e82f007c679 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartClassificationTierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartClassificationTierImpl.java index 1414c394ec8..f47e5680e58 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartClassificationTierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartClassificationTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Used when the ShippingRate maps to an abstract Cart categorization expressed by strings (for example, Light, Medium, or Heavy).

        @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).append(price).append(isMatching).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .append("price", price) + .append("isMatching", isMatching) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartScoreTierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartScoreTierImpl.java index 04e2ebacb12..8cdd1707ec0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartScoreTierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartScoreTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Used when the ShippingRate maps to an abstract Cart categorization expressed by integers (such as shipping scores or weight ranges). Either price or priceFunction is required.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("score", score) + .append("price", price) + .append("priceFunction", priceFunction) + .append("isMatching", isMatching) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartValueTierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartValueTierImpl.java index ad63d768ef3..a79f35dc61c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartValueTierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/CartValueTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Used when the ShippingRate maps to the sum of LineItem Prices. The value of the Cart is used to select a tier. If chosen, it is not possible to set a value for the shippingRateInput on the Cart. Tiers contain the centAmount (a value of 100 in the currency USD corresponds to $ 1.00), and start at 1.'

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("minimumCentAmount", minimumCentAmount) + .append("price", price) + .append("isMatching", isMatching) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/PriceFunctionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/PriceFunctionImpl.java index bd44cb57c8c..af06bdecb82 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/PriceFunctionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/PriceFunctionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PriceFunction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(currencyCode).append(function).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("currencyCode", currencyCode) + .append("function", function) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodAddShippingRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodAddShippingRateActionImpl.java index 271ea4b4c10..06ca7559154 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodAddShippingRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodAddShippingRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodAddShippingRateAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(zone).append(shippingRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("zone", zone) + .append("shippingRate", shippingRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodAddZoneActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodAddZoneActionImpl.java index 91ea4175a77..5ad74e2fd95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodAddZoneActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodAddZoneActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodAddZoneAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(zone).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("zone", zone) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeIsDefaultActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeIsDefaultActionImpl.java index 00f5f1b99b9..5d158f334bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeIsDefaultActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeIsDefaultActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodChangeIsDefaultAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(isDefault).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("isDefault", isDefault) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeNameActionImpl.java index 04cfe494f90..57d731e2556 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeTaxCategoryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeTaxCategoryActionImpl.java index b227ffc296c..1b896fff7de 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeTaxCategoryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodChangeTaxCategoryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodChangeTaxCategoryAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxCategory).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxCategory", taxCategory) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftImpl.java index c3264ada3a3..c02b767ae08 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodDraft @@ -247,4 +249,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("localizedName", localizedName) + .append("description", description) + .append("localizedDescription", localizedDescription) + .append("taxCategory", taxCategory) + .append("zoneRates", zoneRates) + .append("isDefault", isDefault) + .append("predicate", predicate) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodImpl.java index b4379e53805..b458a36a7e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethod @@ -358,4 +360,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("name", name) + .append("localizedName", localizedName) + .append("description", description) + .append("localizedDescription", localizedDescription) + .append("taxCategory", taxCategory) + .append("zoneRates", zoneRates) + .append("isDefault", isDefault) + .append("predicate", predicate) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodPagedQueryResponseImpl.java index aa0b7d82394..bb1639ee66f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of ShippingMethod.

        @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodReferenceImpl.java index bd60cd5a769..7d40732f2ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a ShippingMethod.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodRemoveShippingRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodRemoveShippingRateActionImpl.java index 858bc4c1add..941207720f6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodRemoveShippingRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodRemoveShippingRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodRemoveShippingRateAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(zone).append(shippingRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("zone", zone) + .append("shippingRate", shippingRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodRemoveZoneActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodRemoveZoneActionImpl.java index 1dfbaab4610..9552f78df3f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodRemoveZoneActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodRemoveZoneActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodRemoveZoneAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(zone).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("zone", zone) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifier.java index 05cba022469..ba008048568 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a ShippingMethod.

        + *

        ResourceIdentifier to a ShippingMethod. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ShippingMethodResourceIdentifier String SHIPPING_METHOD = "shipping-method"; /** - *

        Unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        Unique identifier of the referenced ShippingMethod. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface ShippingMethodResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShippingMethod. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface ShippingMethodResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        Unique identifier of the referenced ShippingMethod. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShippingMethod. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifierBuilder.java index 1611a8e86fd..acd0f3a44a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ShippingMethodResourceIdentifierBuilder implements BuilderUnique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        Unique identifier of the referenced ShippingMethod. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ShippingMethodResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShippingMethod. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ShippingMethodResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        Unique identifier of the referenced ShippingMethod. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShippingMethod. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifierImpl.java index 539f6407844..1be32d647f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a ShippingMethod.

        + *

        ResourceIdentifier to a ShippingMethod. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ShippingMethodResourceIdentifierImpl implements ShippingMethodResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        Unique identifier of the referenced ShippingMethod. Required if key is absent.

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

        User-defined unique identifier of the referenced ShippingMethod. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShippingMethod. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetCustomFieldActionImpl.java index 807df31417d..2f59e7e0665 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This action sets, overwrites, or removes any existing Custom Field for an existing ShippingMethod.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetCustomTypeActionImpl.java index 73f441b51db..2d36842ca09 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetDescriptionActionImpl.java index c5896d36ae7..d71b846bacd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetKeyActionImpl.java index 8b55c0cb907..15e63d6b6eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetLocalizedDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetLocalizedDescriptionActionImpl.java index c126afcbe4b..a50c16ea96e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetLocalizedDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetLocalizedDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodSetLocalizedDescriptionAction @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(localizedDescription).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("localizedDescription", localizedDescription) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetLocalizedNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetLocalizedNameActionImpl.java index d9fb457f7e1..09ecca66f76 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetLocalizedNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetLocalizedNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodSetLocalizedNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(localizedName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("localizedName", localizedName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetPredicateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetPredicateActionImpl.java index a70f914dc42..3d6caacea38 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetPredicateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodSetPredicateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodSetPredicateAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(predicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("predicate", predicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodUpdateActionImpl.java index ab34466a322..d5373f01433 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodUpdateImpl.java index 07c643ce361..8301825c315 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingMethodUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRateDraftImpl.java index b0cb1999b95..839f192aa52 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRateDraft @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(price).append(freeAbove).append(tiers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("price", price) + .append("freeAbove", freeAbove) + .append("tiers", tiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRateImpl.java index 1bb565e7ff2..e9dd03a84a4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRate @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("price", price) + .append("freeAbove", freeAbove) + .append("isMatching", isMatching) + .append("tiers", tiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRatePriceTierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRatePriceTierImpl.java index fed010eb925..ecfdec59a9b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRatePriceTierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ShippingRatePriceTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRatePriceTier @@ -63,4 +65,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ZoneRateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ZoneRateDraftImpl.java index 7febaf60320..4a8b4eded56 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ZoneRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ZoneRateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneRateDraft @@ -92,4 +94,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(zone).append(shippingRates).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("zone", zone) + .append("shippingRates", shippingRates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ZoneRateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ZoneRateImpl.java index e5adc0bff21..a3c7773d65b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ZoneRateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shipping_method/ZoneRateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Defines shipping rates in different currencies for a specific Zone.

        @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(zone).append(shippingRates).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("zone", zone) + .append("shippingRates", shippingRates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionImpl.java index 30bdd963c77..7bf8d6bb6ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The ProductVariant to be included in the ShoppingListLineItem must be specified using the productID and variantID, or by the sku. If the ShoppingList already contains a ShoppingListLineItem for the same Product Variant with the same Custom Fields, then only the quantity of the existing ShoppingListLineItem is increased. A ShoppingListLineItem with an empty variantId is not considered the same as a ShoppingListLineItem with a variantId currently referring to the Master Variant.

        @@ -196,4 +198,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .append("sku", sku) + .append("productId", productId) + .append("variantId", variantId) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddTextLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddTextLineItemActionImpl.java index a9978ff044f..f9cd18fda24 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddTextLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListAddTextLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListAddTextLineItemAction @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("key", key) + .append("description", description) + .append("quantity", quantity) + .append("addedAt", addedAt) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeLineItemQuantityActionImpl.java index 85067e79914..0356a98a212 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListChangeLineItemQuantityAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeLineItemsOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeLineItemsOrderActionImpl.java index cd9aeb03b88..b23385b2d9a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeLineItemsOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeLineItemsOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListChangeLineItemsOrderAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(lineItemOrder).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemOrder", lineItemOrder) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeNameActionImpl.java index 0feb2dc2ea5..e0a58332c77 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListChangeNameAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemNameActionImpl.java index c5ae86949fc..602f29ed5e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListChangeTextLineItemNameAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemQuantityActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemQuantityActionImpl.java index 1ab75ccedc6..7a1d5976da4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemQuantityActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemQuantityActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListChangeTextLineItemQuantityAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemsOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemsOrderActionImpl.java index 09bca1f2699..0ec6a4fae26 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemsOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListChangeTextLineItemsOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListChangeTextLineItemsOrderAction @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(textLineItemOrder).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemOrder", textLineItemOrder) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListDraftImpl.java index c23e5713489..8bea4a4f07d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListDraft @@ -269,4 +271,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("slug", slug) + .append("customer", customer) + .append("key", key) + .append("description", description) + .append("anonymousId", anonymousId) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .append("lineItems", lineItems) + .append("textLineItems", textLineItems) + .append("store", store) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListImpl.java index 7ee14b4740c..6d04a090d87 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingList @@ -382,4 +384,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("name", name) + .append("key", key) + .append("customer", customer) + .append("slug", slug) + .append("description", description) + .append("lineItems", lineItems) + .append("textLineItems", textLineItems) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .append("anonymousId", anonymousId) + .append("store", store) + .append("custom", custom) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemDraftImpl.java index cdc4657735a..2a4a35376ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListLineItemDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The ProductVariant to be included in the ShoppingListLineItem must be specified using the productID and variantID, or by the sku.

        @@ -181,4 +183,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("productId", productId) + .append("variantId", variantId) + .append("sku", sku) + .append("addedAt", addedAt) + .append("custom", custom) + .append("quantity", quantity) + .build(); + } + } 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 d24d8548a3b..d1a73ac04b9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        ShoppingListLineItems are Line Items that contain references to ProductVariants in a Product.

        @@ -281,4 +283,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("addedAt", addedAt) + .append("custom", custom) + .append("deactivatedAt", deactivatedAt) + .append("id", id) + .append("key", key) + .append("name", name) + .append("productId", productId) + .append("productType", productType) + .append("quantity", quantity) + .append("variantId", variantId) + .append("variant", variant) + .append("productSlug", productSlug) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListPagedQueryResponseImpl.java index 5e579b11b0d..97ae1038590 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListPagedQueryResponse @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListReferenceImpl.java index 21a049b2697..fb904400bba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a ShoppingList.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListRemoveLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListRemoveLineItemActionImpl.java index c3218c95f81..d631557fe0b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListRemoveLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListRemoveLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListRemoveLineItemAction @@ -121,4 +123,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListRemoveTextLineItemActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListRemoveTextLineItemActionImpl.java index 7506daa464d..696398b6984 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListRemoveTextLineItemActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListRemoveTextLineItemActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListRemoveTextLineItemAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifier.java index 4e09ffa3f4c..4741a2ad155 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a ShoppingList.

        + *

        ResourceIdentifier to a ShoppingList. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface ShoppingListResourceIdentifier String SHOPPING_LIST = "shopping-list"; /** - *

        Unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        Unique identifier of the referenced ShoppingList. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface ShoppingListResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShoppingList. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface ShoppingListResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        Unique identifier of the referenced ShoppingList. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShoppingList. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifierBuilder.java index 55edb76662c..1f7c8d9a447 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ShoppingListResourceIdentifierBuilder implements BuilderUnique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        Unique identifier of the referenced ShoppingList. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ShoppingListResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShoppingList. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ShoppingListResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        Unique identifier of the referenced ShoppingList. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShoppingList. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifierImpl.java index 452929976a5..990f4e1bb6d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a ShoppingList.

        + *

        ResourceIdentifier to a ShoppingList. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ShoppingListResourceIdentifierImpl implements ShoppingListResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        Unique identifier of the referenced ShoppingList. Required if key is absent.

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

        User-defined unique identifier of the referenced ShoppingList. Either id or key is required.

        + *

        User-defined unique identifier of the referenced ShoppingList. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetAnonymousIdActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetAnonymousIdActionImpl.java index c511a47a68e..4c4e80226f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetAnonymousIdActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetAnonymousIdActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetAnonymousIdAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(anonymousId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("anonymousId", anonymousId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomFieldActionImpl.java index ae5f17d2456..1b95d93dfe9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomTypeActionImpl.java index 8cf99a5df66..7dd1bf285d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomerActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomerActionImpl.java index ce042ac8429..2ec89f91064 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomerActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetCustomerActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetCustomerAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetDeleteDaysAfterLastModificationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetDeleteDaysAfterLastModificationActionImpl.java index 5018f8fc222..62dc6befdb0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetDeleteDaysAfterLastModificationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetDeleteDaysAfterLastModificationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetDeleteDaysAfterLastModificationAction @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(deleteDaysAfterLastModification).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("deleteDaysAfterLastModification", deleteDaysAfterLastModification) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetDescriptionActionImpl.java index 4e554e9e6e5..7ee399f31d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetKeyActionImpl.java index cc2d045856c..f857618b7b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetLineItemCustomFieldActionImpl.java index f7b9aab6966..531121e9fcc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetLineItemCustomFieldAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetLineItemCustomTypeActionImpl.java index 677c121c6e4..5ce9cde1e8a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetLineItemCustomTypeAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("lineItemId", lineItemId) + .append("lineItemKey", lineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetSlugActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetSlugActionImpl.java index dd627284e2c..1e328ea23ca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetSlugActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetSlugActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetSlugAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(slug).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("slug", slug) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetStoreActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetStoreActionImpl.java index f0c061f83d1..95993a52c9b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetStoreActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetStoreActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetStoreAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(store).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("store", store) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemCustomFieldActionImpl.java index 35046bc6b34..dac6a66fb16 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetTextLineItemCustomFieldAction @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemCustomTypeActionImpl.java index 77a55e43967..07368e6120b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetTextLineItemCustomTypeAction @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemDescriptionActionImpl.java index 178265b14c6..1e3bdc29d34 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListSetTextLineItemDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListSetTextLineItemDescriptionAction @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("textLineItemId", textLineItemId) + .append("textLineItemKey", textLineItemKey) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListUpdateActionImpl.java index c140472da15..e69f9b4025a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListUpdateImpl.java index ede7ab86638..8f7b80725bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/ShoppingListUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/TextLineItemDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/TextLineItemDraftImpl.java index 17893b24584..6e4bb5db18b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/TextLineItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/TextLineItemDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TextLineItemDraft @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("addedAt", addedAt) + .append("custom", custom) + .append("description", description) + .append("name", name) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/TextLineItemImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/TextLineItemImpl.java index ddd8f0e9c6a..c804e086d04 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/TextLineItemImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/shopping_list/TextLineItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        TextLineItems are Line Items that use text values instead of references to Products.

        @@ -182,4 +184,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("addedAt", addedAt) + .append("custom", custom) + .append("description", description) + .append("id", id) + .append("key", key) + .append("name", name) + .append("quantity", quantity) + .build(); + } + } 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 bb2c5cfd921..74d90eaf8f3 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteChangeStagedQuoteStateAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(stagedQuoteState).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("stagedQuoteState", stagedQuoteState) + .build(); + } + } 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 f27eefd6e13..a5effced502 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteDraft @@ -170,4 +172,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quoteRequest", quoteRequest) + .append("quoteRequestVersion", quoteRequestVersion) + .append("quoteRequestStateToAccepted", quoteRequestStateToAccepted) + .append("key", key) + .append("custom", custom) + .append("state", state) + .build(); + } + } 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 7978978106a..e96e3510545 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuote @@ -373,4 +375,26 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("key", key) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("stagedQuoteState", stagedQuoteState) + .append("customer", customer) + .append("quoteRequest", quoteRequest) + .append("quotationCart", quotationCart) + .append("validTo", validTo) + .append("sellerComment", sellerComment) + .append("custom", custom) + .append("state", state) + .append("purchaseOrderNumber", purchaseOrderNumber) + .append("businessUnit", businessUnit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuotePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuotePagedQueryResponseImpl.java index 471505d5056..3f50c030a57 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuotePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuotePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of StagedQuote.

        @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteReferenceImpl.java index 00acf03f47e..dadf74cc556 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a StagedQuote.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteResourceIdentifierImpl.java index 7ab92fe8cc9..d54cbcb9fdd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteResourceIdentifierImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        ResourceIdentifier to a StagedQuote.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetCustomFieldActionImpl.java index 616a4b7552f..d20a57225e4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetCustomTypeActionImpl.java index 7d30d772835..b90a78d6343 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetSellerCommentActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetSellerCommentActionImpl.java index 921fc67ddee..c144ac5628e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetSellerCommentActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetSellerCommentActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteSetSellerCommentAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(sellerComment).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("sellerComment", sellerComment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetValidToActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetValidToActionImpl.java index 5000dc21147..a5a12377e4d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetValidToActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteSetValidToActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteSetValidToAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validTo).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validTo", validTo) + .build(); + } + } 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 index 9590a0b601b..e465479c013 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(state).append(force).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("state", state) + .append("force", force) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateActionImpl.java index c81a8791ef8..3e8273fed22 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateImpl.java index c73074ada12..64b2e938866 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/staged_quote/StagedQuoteUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedPriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedPriceDraftImpl.java index 777b0c3b88e..bea5b5ef203 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedPriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StagedPriceDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedPriceDraft @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value).build(); + } + } 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 index bde2d4a0173..081977a8539 100644 --- 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Staged changes on a Standalone Price. To update the value property of a Staged Standalone Price, use the Change Value update action. To apply all staged changes to the Standalone Price, use the Apply Staged Changes update action.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(discounted).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("discounted", discounted) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceAddPriceTierActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceAddPriceTierActionImpl.java index 96657f9d811..9f5dabf3ea4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceAddPriceTierActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceAddPriceTierActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adding a PriceTier to a StandalonePrice produces the Standalone Price Tier Added Message.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(tier).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("tier", tier) + .build(); + } + } 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 index 663fa8fbf33..bad70d003ef 100644 --- 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 @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        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.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeActiveActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeActiveActionImpl.java index cf13226f889..adb9d64b741 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeActiveActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeActiveActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updating the value of a StandalonePrice produces the StandalonePriceActiveChangedMessage.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(active).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("active", active) + .build(); + } + } 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 e1e568d8691..8e7f6092915 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updating the value of a StandalonePrice produces the StandalonePriceValueChangedMessage.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(value).append(staged).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("value", value) + .append("staged", staged) + .build(); + } + } 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 e399c1284fe..4f174754892 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Standalone Prices are defined with a scope consisting of currency and optionally country, customerGroup, and channel and/or a validity period (validFrom and/or validTo). For more information see price selection.

        @@ -302,4 +304,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("sku", sku) + .append("value", value) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("tiers", tiers) + .append("discounted", discounted) + .append("custom", custom) + .append("staged", staged) + .append("active", active) + .build(); + } + } 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 1dcc31ec7c3..6c4fbf4de8a 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StandalonePrice @@ -414,4 +416,28 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("sku", sku) + .append("value", value) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("tiers", tiers) + .append("discounted", discounted) + .append("custom", custom) + .append("staged", staged) + .append("active", active) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePricePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePricePagedQueryResponseImpl.java index 6276fdb3259..885299960d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePricePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePricePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StandalonePricePagedQueryResponse @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceReferenceImpl.java index 8fa373d65d9..ad38db46f7e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a StandalonePrice.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceRemovePriceTierActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceRemovePriceTierActionImpl.java index 0b17feb0209..a4c0b8cfdf2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceRemovePriceTierActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceRemovePriceTierActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Removing a PriceTier from a StandalonePrice produces the Standalone Price Tier Removed Message.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(tierMinimumQuantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("tierMinimumQuantity", tierMinimumQuantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceRemoveStagedChangesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceRemoveStagedChangesActionImpl.java index 2ff30db8ef8..7c2ebea6ed1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceRemoveStagedChangesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceRemoveStagedChangesActionImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Removes all staged changes from the StandalonePrice. Removing staged changes successfully produces the StandalonePriceStagedChangesRemoved Message.

        @@ -56,4 +58,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceResourceIdentifierImpl.java index 143e9ff7494..7c6ec5c519a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceResourceIdentifierImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        ResourceIdentifier to a StandalonePrice.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetCustomFieldActionImpl.java index 260a194117c..c2775084a00 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StandalonePriceSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetCustomTypeActionImpl.java index 056a6a4f17f..314b98877a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StandalonePriceSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionImpl.java index 1e15d561c32..fedf211a401 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Discounts a Standalone Price. The referenced ProductDiscount in the discounted field must be of type external, active, and its predicate must match the referenced Price. Produces the StandalonePriceExternalDiscountSet Message.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(discounted).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("discounted", discounted) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetKeyActionImpl.java index b3ce867de25..0d827f35b43 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Sets the key on a Standalone Price. Produces the StandalonePriceKeySet Message.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetPriceTiersActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetPriceTiersActionImpl.java index d4870dbdc47..53713189ef7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetPriceTiersActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetPriceTiersActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Sets all PriceTiers for a StandalonePrice in one action, produces the Standalone Price Tiers Set Message.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(tiers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("tiers", tiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidFromActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidFromActionImpl.java index 3b2b4a30cea..795a61cf5ac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidFromActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidFromActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updating the validFrom value generates the StandalonePriceValidFromSet Message.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validFrom).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validFrom", validFrom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidFromAndUntilActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidFromAndUntilActionImpl.java index fd7a1481239..245a43dd73c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidFromAndUntilActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidFromAndUntilActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updating the validFrom and validUntil values generates the StandalonePriceValidFromAndUntilSet Message.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validFrom).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidUntilActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidUntilActionImpl.java index 03e335220b4..90a2c79eef1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidUntilActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetValidUntilActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Updating the validUntil value generates the StandalonePriceValidUntilSet Message.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateActionImpl.java index e2106bf3bf3..dadbc8947db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StandalonePriceUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateImpl.java index 84990d81bda..f4ba3086a87 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StandalonePriceUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateAddRolesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateAddRolesActionImpl.java index db8cf0f8655..3ddafe0545c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateAddRolesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateAddRolesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateAddRolesAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(roles).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("roles", roles) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeInitialActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeInitialActionImpl.java index c384db83dc2..3c33e2402a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeInitialActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeInitialActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateChangeInitialAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(initial).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("initial", initial) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeKeyActionImpl.java index 16c7bafdf78..a9b99922299 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateChangeKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeTypeActionImpl.java index b3d8108c27a..14735c60f28 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateChangeTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateChangeTypeAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateDraftImpl.java index a7eda7bb087..92021989d5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateDraft @@ -197,4 +199,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("type", type) + .append("name", name) + .append("description", description) + .append("initial", initial) + .append("roles", roles) + .append("transitions", transitions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateImpl.java index 502fd3da2d1..ff167064837 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * State @@ -326,4 +328,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("type", type) + .append("name", name) + .append("description", description) + .append("initial", initial) + .append("builtIn", builtIn) + .append("roles", roles) + .append("transitions", transitions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StatePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StatePagedQueryResponseImpl.java index 5c797dd982e..5aff9300e2c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StatePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StatePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of State.

        @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateReferenceImpl.java index e6d3833047d..6f208bbe229 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a State.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateRemoveRolesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateRemoveRolesActionImpl.java index 1515083338e..252472051c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateRemoveRolesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateRemoveRolesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateRemoveRolesAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(roles).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("roles", roles) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifier.java index 016cdeed9e8..6275849fa4b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a State.

        + *

        ResourceIdentifier to a State. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface StateResourceIdentifier extends ResourceIdentifier, com.commerc String STATE = "state"; /** - *

        Unique identifier of the referenced State. Either id or key is required.

        + *

        Unique identifier of the referenced State. Required if key is absent.

        * @return id */ @@ -43,7 +43,7 @@ public interface StateResourceIdentifier extends ResourceIdentifier, com.commerc public String getId(); /** - *

        User-defined unique identifier of the referenced State. Either id or key is required.

        + *

        User-defined unique identifier of the referenced State. Required if id is absent.

        * @return key */ @@ -51,14 +51,14 @@ public interface StateResourceIdentifier extends ResourceIdentifier, com.commerc public String getKey(); /** - *

        Unique identifier of the referenced State. Either id or key is required.

        + *

        Unique identifier of the referenced State. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced State. Either id or key is required.

        + *

        User-defined unique identifier of the referenced State. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifierBuilder.java index f32a25a2cab..336e8b30b20 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class StateResourceIdentifierBuilder implements BuilderUnique identifier of the referenced State. Either id or key is required.

        + *

        Unique identifier of the referenced State. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public StateResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced State. Either id or key is required.

        + *

        User-defined unique identifier of the referenced State. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public StateResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced State. Either id or key is required.

        + *

        Unique identifier of the referenced State. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced State. Either id or key is required.

        + *

        User-defined unique identifier of the referenced State. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifierImpl.java index cb3e59d370e..c843f563186 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a State.

        + *

        ResourceIdentifier to a State. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StateResourceIdentifierImpl implements StateResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced State. Either id or key is required.

        + *

        Unique identifier of the referenced State. Required if key is absent.

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

        User-defined unique identifier of the referenced State. Either id or key is required.

        + *

        User-defined unique identifier of the referenced State. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetDescriptionActionImpl.java index f56088fec79..7be42c185c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetNameActionImpl.java index 276a4fef520..1aa46382ede 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateSetNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetRolesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetRolesActionImpl.java index d359dd2b41f..83bd39c54a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetRolesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetRolesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateSetRolesAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(roles).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("roles", roles) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetTransitionsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetTransitionsActionImpl.java index a3ab7358343..47a9b08abde 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetTransitionsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateSetTransitionsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateSetTransitionsAction @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(transitions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("transitions", transitions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateUpdateActionImpl.java index d2fa0725462..e76d87a14cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateUpdateImpl.java index 650f3753ba3..1d0ca36df56 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StateUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/ProductSelectionSettingDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/ProductSelectionSettingDraftImpl.java index 5807f8049dd..6330d6f84ca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/ProductSelectionSettingDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/ProductSelectionSettingDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionSettingDraft @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(productSelection).append(active).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productSelection", productSelection) + .append("active", active) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/ProductSelectionSettingImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/ProductSelectionSettingImpl.java index 579a1fe20e7..3e96876a943 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/ProductSelectionSettingImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/ProductSelectionSettingImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionSetting @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(productSelection).append(active).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productSelection", productSelection) + .append("active", active) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddCountryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddCountryActionImpl.java index 29cace3c2b4..b0a5fb26df2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddCountryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddCountryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreCountriesChanged Message. It has no effect if the given country is already present in a Store.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(country).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("country", country) + .build(); + } + } 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 e42ddd54be8..6326527ba65 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreDistributionChannelsChanged Message. It has no effect if a given distribution channel is already present in a Store.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(distributionChannel).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("distributionChannel", distributionChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddProductSelectionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddProductSelectionActionImpl.java index 151863e6796..68e9552dfcd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddProductSelectionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddProductSelectionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        To make all included Products available to your customers of a given Store, add the Product Selections to the respective Store. This action has no effect if the given Product Selection is already present in the Store and has the same active flag.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(productSelection).append(active).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("productSelection", productSelection) + .append("active", active) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddSupplyChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddSupplyChannelActionImpl.java index d4dab29a682..83ed0bd590c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddSupplyChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreAddSupplyChannelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This action has no effect if a given supply channel is already present in a Store.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(supplyChannel).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("supplyChannel", supplyChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreChangeProductSelectionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreChangeProductSelectionActionImpl.java index 5e4273ac477..1a63a400f91 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreChangeProductSelectionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreChangeProductSelectionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        ProductSelection in a Store can be activated or deactivated using this update action.

        @@ -102,4 +104,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(productSelection).append(active).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("productSelection", productSelection) + .append("active", active) + .build(); + } + } 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 2e7808f7551..c4c67ed00a6 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StoreDraft @@ -234,4 +236,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("languages", languages) + .append("countries", countries) + .append("distributionChannels", distributionChannels) + .append("supplyChannels", supplyChannels) + .append("productSelections", productSelections) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreImpl.java index 7bb896b3fb2..fdbe7f4560a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Store @@ -346,4 +348,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("name", name) + .append("languages", languages) + .append("countries", countries) + .append("distributionChannels", distributionChannels) + .append("supplyChannels", supplyChannels) + .append("productSelections", productSelections) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreKeyReferenceImpl.java index 3698685d982..cd83a9b91e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreKeyReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a Store by its key.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StorePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StorePagedQueryResponseImpl.java index cc4864b6c52..a5842b791fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StorePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StorePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of Store.

        @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreReferenceImpl.java index f7d374e82cf..3d1b19af6f7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a Store.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveCountryActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveCountryActionImpl.java index 7b792800b6c..15fc70fc1c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveCountryActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveCountryActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreCountriesChanged Message. It has no effect if a given country is not present in a Store.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(country).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("country", country) + .build(); + } + } 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 2115c821e10..143225a75d7 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreDistributionChannelsChanged Message.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(distributionChannel).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("distributionChannel", distributionChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveProductSelectionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveProductSelectionActionImpl.java index 71da8b0f7a7..30a2f84abe6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveProductSelectionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveProductSelectionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This action has no effect if the given Product Selection is not in the Store.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(productSelection).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("productSelection", productSelection) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveSupplyChannelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveSupplyChannelActionImpl.java index e60fbc3ca49..d9b3d1fad74 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveSupplyChannelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreRemoveSupplyChannelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreSupplyChannelsChanged Message.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(supplyChannel).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("supplyChannel", supplyChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifier.java index 832793a0b14..2428d589f35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a Store.

        + *

        ResourceIdentifier to a Store. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface StoreResourceIdentifier extends ResourceIdentifier, com.commerc String STORE = "store"; /** - *

        Unique ID of the referenced Store. Either id or key is required.

        + *

        Unique ID of the referenced Store. Required if key is absent.

        * @return id */ @@ -43,7 +43,7 @@ public interface StoreResourceIdentifier extends ResourceIdentifier, com.commerc public String getId(); /** - *

        Unique key of the referenced Store. Either id or key is required.

        + *

        Unique key of the referenced Store. Required if id is absent.

        * @return key */ @@ -51,14 +51,14 @@ public interface StoreResourceIdentifier extends ResourceIdentifier, com.commerc public String getKey(); /** - *

        Unique ID of the referenced Store. Either id or key is required.

        + *

        Unique ID of the referenced Store. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        Unique key of the referenced Store. Either id or key is required.

        + *

        Unique key of the referenced Store. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifierBuilder.java index f1dd9ff56ac..4d3faabcb3e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class StoreResourceIdentifierBuilder implements BuilderUnique ID of the referenced Store. Either id or key is required.

        + *

        Unique ID of the referenced Store. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public StoreResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        Unique key of the referenced Store. Either id or key is required.

        + *

        Unique key of the referenced Store. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public StoreResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique ID of the referenced Store. Either id or key is required.

        + *

        Unique ID of the referenced Store. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        Unique key of the referenced Store. Either id or key is required.

        + *

        Unique key of the referenced Store. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifierImpl.java index e245779a9ca..f7be309741b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a Store.

        + *

        ResourceIdentifier to a Store. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreResourceIdentifierImpl implements StoreResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique ID of the referenced Store. Either id or key is required.

        + *

        Unique ID of the referenced Store. Required if key is absent.

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

        Unique key of the referenced Store. Either id or key is required.

        + *

        Unique key of the referenced Store. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCountriesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCountriesActionImpl.java index d97abd07fe7..b9a8d034bd4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCountriesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCountriesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreCountriesChanged Message.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(countries).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("countries", countries) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCustomFieldActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCustomFieldActionImpl.java index 750e9f8173d..bb76d506d2f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCustomFieldActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCustomFieldActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StoreSetCustomFieldAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCustomTypeActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCustomTypeActionImpl.java index b188f36c73c..720562a7175 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCustomTypeActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetCustomTypeActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StoreSetCustomTypeAction @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("type", type) + .append("fields", fields) + .build(); + } + } 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 e42b07b00dd..ada1e863d43 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreDistributionChannelsChanged Message.

        @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(distributionChannels).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("distributionChannels", distributionChannels) + .build(); + } + } 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 ea668d7dc20..c8bf0201e2d 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreLanguagesChanged Message. Adding a language other than the ones defined in the Project returns a ProjectNotConfiguredForLanguages error.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(languages).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("languages", languages) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetNameActionImpl.java index cd577b49d75..a011a559cf5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This update action produces the StoreNameSet Message.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetProductSelectionsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetProductSelectionsActionImpl.java index dc474e0c3b0..92142dfc696 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetProductSelectionsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetProductSelectionsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Instead of adding or removing Product Selections individually, you can also change all the Store's Product Selections in one go using this update action. The Store will only contain the Product Selections specified in the request.

        @@ -93,4 +95,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(productSelections).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("productSelections", productSelections) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetSupplyChannelsActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetSupplyChannelsActionImpl.java index 2ed222970e7..24f95d173ac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetSupplyChannelsActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreSetSupplyChannelsActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Setting a supply channel produces the StoreSupplyChannelsChanged Message.

        @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(supplyChannels).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("supplyChannels", supplyChannels) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreUpdateActionImpl.java index 29a362f04bb..d1c55476d18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StoreUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreUpdateImpl.java index 17a2a251906..843b42a9c1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store/StoreUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StoreUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store_country/StoreCountryImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store_country/StoreCountryImpl.java index 0fd86a7ff08..801411187cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store_country/StoreCountryImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/store_country/StoreCountryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StoreCountry @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AzureEventGridDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AzureEventGridDestinationImpl.java index 65f3d29c07e..1d84d6ce543 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AzureEventGridDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AzureEventGridDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Azure Event Grid can be used to push messages to Azure Functions, HTTP endpoints (webhooks), and several other Azure tools. Event Grid can only be used with the CloudEventsFormat. To set up a Subscription with Azure Event Grid, first create a topic in the Azure Portal. To allow Composable Commerce to push messages to your topic, provide an access key.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(uri).append(accessKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("uri", uri) + .append("accessKey", accessKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AzureServiceBusDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AzureServiceBusDestinationImpl.java index 7c21b6fbb1b..e10b3bcfa71 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AzureServiceBusDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/AzureServiceBusDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Azure Service Bus can be used as a pull-queue with Queues, or to fan-out messages with Topics and Subscriptions. To set up a Subscription with Azure Service Bus, first create a queue/topic in the Azure Portal with a Shared Access Policy including the Send permission.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(connectionString).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("connectionString", connectionString) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionImpl.java index dac5b69b15b..c155cbea497 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Notification about changes to a resource. The payload format differs for resource creation, update, and deletion.

        @@ -70,4 +72,10 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(resourceTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("resourceTypeId", resourceTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/CloudEventsFormatImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/CloudEventsFormatImpl.java index b81d906d543..194afb33fec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/CloudEventsFormatImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/CloudEventsFormatImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The CloudEventsFormat can be used with any Destination, and the payload is delivered in the JSON Event Format. AzureEventGridDestination offers native support to filter and route CloudEvents.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(cloudEventsVersion).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("cloudEventsVersion", cloudEventsVersion) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/CloudEventsPayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/CloudEventsPayloadImpl.java index cd476b72014..a6d4db72576 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/CloudEventsPayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/CloudEventsPayloadImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The CloudEventsFormat represents event data in a way that conforms to a common specification. The message payload can be found inside the data field.

        @@ -236,4 +238,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("specversion", specversion) + .append("id", id) + .append("type", type) + .append("source", source) + .append("subject", subject) + .append("time", time) + .append("sequence", sequence) + .append("sequencetype", sequencetype) + .append("dataref", dataref) + .append("data", data) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ConfluentCloudDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ConfluentCloudDestinationImpl.java index ad5b32ac001..421823fa474 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ConfluentCloudDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ConfluentCloudDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This destination can be used to push events and messages to Confluent Cloud. To set up a Subscription of this type, first, create a topic in Confluent Cloud. Then, to allow Composable Commerce to push events and messages to your topic, generate API keys for your topic, and create the Subscription destination using the generated credentials.

        @@ -178,4 +180,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("bootstrapServer", bootstrapServer) + .append("apiKey", apiKey) + .append("apiSecret", apiSecret) + .append("acks", acks) + .append("topic", topic) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryFormatImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryFormatImpl.java index 70c08d40cbb..40964d6fa97 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryFormatImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DeliveryFormatImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryFormat @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 6ad51a7a6df..4da91a877c9 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        All payloads for the PlatformFormat share these common fields.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("projectKey", projectKey) + .append("notificationType", notificationType) + .append("resource", resource) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DestinationImpl.java index 3535f412600..3b63a3ec095 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/DestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Destination @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationImpl.java index 73f3abf8153..b1be1a9afe7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/EventBridgeDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        AWS EventBridge can be used to push events and messages to a serverless event bus that can forward them to AWS SQS, SNS, Lambda, and other AWS services based on forwarding rules. Once the Subscription is created, an equivalent "partner event source" is created in AWS EventBridge. This event source must be associated with an event bus for the Subscription setup to be complete.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(region).append(accountId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("region", region) + .append("accountId", accountId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/GoogleCloudPubSubDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/GoogleCloudPubSubDestinationImpl.java index a8dd77379af..429c4bc398d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/GoogleCloudPubSubDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/GoogleCloudPubSubDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Destination for Google Cloud Pub/Sub that can be used for Pull subscriptions as well as for Push subscriptions. The topic must give the pubsub.topics.publish permission to the service account subscriptions@commercetools-platform.iam.gserviceaccount.com. If used with the CloudEventsFormat, the message conforms to the PubSub Protocol Binding of the Structured Content Mode.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(projectId).append(topic).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("projectId", projectId) + .append("topic", topic) + .build(); + } + } 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 1294390a087..35a23b5d245 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This payload is sent for a MessageSubscription.

        @@ -256,6 +258,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("projectKey", projectKey) + .append("notificationType", notificationType) + .append("resource", resource) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("sequenceNumber", sequenceNumber) + .append("resourceVersion", resourceVersion) + .append("payloadNotIncluded", payloadNotIncluded) + .build(); + } + private com.commercetools.api.models.message.MessagePayload messagePayload; @Override diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionImpl.java index aa4a28d4598..5235f153781 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        For supported resources and message types, see Message Types. Messages will be delivered even if the Messages Query HTTP API is not enabled.

        @@ -93,4 +95,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(resourceTypeId).append(types).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("resourceTypeId", resourceTypeId) + .append("types", types) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/PayloadNotIncludedImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/PayloadNotIncludedImpl.java index e7b6ee7b080..a8caa73ac2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/PayloadNotIncludedImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/PayloadNotIncludedImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PayloadNotIncluded @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(reason).append(payloadType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("reason", reason) + .append("payloadType", payloadType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/PlatformFormatImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/PlatformFormatImpl.java index acde4e8aabb..448c9d6df69 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/PlatformFormatImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/PlatformFormatImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The PlatformFormat uses constructs that are similar to the ones used in the REST API, for example, on the Messages Query HTTP API.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } 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 14b062d0487..a88d6767ad2 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This payload is sent for a ChangeSubscription when a resource is created.

        @@ -161,4 +163,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("projectKey", projectKey) + .append("notificationType", notificationType) + .append("resource", resource) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("version", version) + .append("modifiedAt", modifiedAt) + .build(); + } + } 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 c032017ae94..c53eb23dc04 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This payload is sent for a ChangeSubscription when a resource is deleted.

        @@ -180,4 +182,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("projectKey", projectKey) + .append("notificationType", notificationType) + .append("resource", resource) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("version", version) + .append("modifiedAt", modifiedAt) + .append("dataErasure", dataErasure) + .build(); + } + } 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 b8221638e95..01d18ce3b90 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This payload is sent for a ChangeSubscription when a resource is updated. This includes updates by a background process, like a change in product availability.

        @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("projectKey", projectKey) + .append("notificationType", notificationType) + .append("resource", resource) + .append("resourceUserProvidedIdentifiers", resourceUserProvidedIdentifiers) + .append("version", version) + .append("oldVersion", oldVersion) + .append("modifiedAt", modifiedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SnsDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SnsDestinationImpl.java index bec29ab138f..570bac75dde 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SnsDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SnsDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        AWS SNS can be used to push messages to AWS Lambda, HTTP endpoints (webhooks), or fan-out messages to SQS queues. The SQS queue must be a Standard queue type.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("accessKey", accessKey) + .append("accessSecret", accessSecret) + .append("topicArn", topicArn) + .append("authenticationMode", authenticationMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SqsDestinationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SqsDestinationImpl.java index e1ddb6f43c2..2f1f6fca901 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SqsDestinationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SqsDestinationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        AWS SQS is a pull-queue on AWS. The queue must be a Standard queue type with a MaximumMessageSize of 256 KB.

        @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("accessKey", accessKey) + .append("accessSecret", accessSecret) + .append("queueUrl", queueUrl) + .append("region", region) + .append("authenticationMode", authenticationMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionChangeDestinationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionChangeDestinationActionImpl.java index a166729c3cc..c0207a96ec6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionChangeDestinationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionChangeDestinationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A test message is sent to ensure the correct configuration of the Destination. If the message cannot be delivered, the update will fail. The payload of the test message is a notification of type ResourceCreated for the resourceTypeId subscription. The status will change to Healthy, if it isn't already.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(destination).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("destination", destination) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionDraftImpl.java index 218eeb44fe7..e3ac8f483be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Either messages or changes must be set.

        @@ -155,4 +157,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("changes", changes) + .append("destination", destination) + .append("key", key) + .append("messages", messages) + .append("format", format) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionImpl.java index cde7f44c1e2..326491058fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Subscription @@ -286,4 +288,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("changes", changes) + .append("destination", destination) + .append("key", key) + .append("messages", messages) + .append("format", format) + .append("status", status) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionPagedQueryResponseImpl.java index 6789f1aaa79..14b56865b75 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of Subscription.

        @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetChangesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetChangesActionImpl.java index b135aab7145..7d62d017569 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetChangesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetChangesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SubscriptionSetChangesAction @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(changes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("changes", changes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetKeyActionImpl.java index cfb46e5d6a1..9c51c94a68e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SubscriptionSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetMessagesActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetMessagesActionImpl.java index e0d8f15e957..d95795ed7eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetMessagesActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionSetMessagesActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SubscriptionSetMessagesAction @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(messages).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("messages", messages) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionUpdateActionImpl.java index 749fc5ba4de..ca4cecbceb1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SubscriptionUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionUpdateImpl.java index c560e19a264..9a4e586639d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SubscriptionUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/SubRateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/SubRateImpl.java index 82b49941606..922a6214242 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/SubRateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/SubRateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        It is used to calculate the taxPortions field in a Cart or Order.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(amount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("amount", amount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryAddTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryAddTaxRateActionImpl.java index b92968c5b91..0f8f3a8ce2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryAddTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryAddTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategoryAddTaxRateAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxRate", taxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryChangeNameActionImpl.java index a6c29dc0884..89bf75a4255 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategoryChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryDraftImpl.java index 5f2fc33264e..768ba05684d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategoryDraft @@ -125,4 +127,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(description).append(rates).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("description", description) + .append("rates", rates) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryImpl.java index fe5234bd181..347677924e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategory @@ -242,4 +244,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("name", name) + .append("description", description) + .append("rates", rates) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryPagedQueryResponseImpl.java index 1ffad0e44bd..bec28adc21e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of TaxCategory.

        @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryReferenceImpl.java index 36d151f652e..e1a86868f8a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a TaxCategory.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryRemoveTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryRemoveTaxRateActionImpl.java index d26c540a0a6..95ba1cfa021 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryRemoveTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryRemoveTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategoryRemoveTaxRateAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(taxRateId).append(taxRateKey).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxRateId", taxRateId) + .append("taxRateKey", taxRateKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryReplaceTaxRateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryReplaceTaxRateActionImpl.java index 9dca3085bb7..39174fb9e6a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryReplaceTaxRateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryReplaceTaxRateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategoryReplaceTaxRateAction @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("taxRateId", taxRateId) + .append("taxRateKey", taxRateKey) + .append("taxRate", taxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifier.java index 2061b579e18..801739abe3f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a TaxCategory.

        + *

        ResourceIdentifier to a TaxCategory. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -36,7 +36,7 @@ public interface TaxCategoryResourceIdentifier String TAX_CATEGORY = "tax-category"; /** - *

        Unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        Unique identifier of the referenced TaxCategory. Required if key is absent.

        * @return id */ @@ -44,7 +44,7 @@ public interface TaxCategoryResourceIdentifier public String getId(); /** - *

        User-defined unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        User-defined unique identifier of the referenced TaxCategory. Required if id is absent.

        * @return key */ @@ -52,14 +52,14 @@ public interface TaxCategoryResourceIdentifier public String getKey(); /** - *

        Unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        Unique identifier of the referenced TaxCategory. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        User-defined unique identifier of the referenced TaxCategory. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifierBuilder.java index a97aec50a65..50b91c7583e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class TaxCategoryResourceIdentifierBuilder implements BuilderUnique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        Unique identifier of the referenced TaxCategory. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public TaxCategoryResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        User-defined unique identifier of the referenced TaxCategory. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public TaxCategoryResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        Unique identifier of the referenced TaxCategory. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        User-defined unique identifier of the referenced TaxCategory. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifierImpl.java index 332ef002022..f6fec9c5c9a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a TaxCategory.

        + *

        ResourceIdentifier to a TaxCategory. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class TaxCategoryResourceIdentifierImpl implements TaxCategoryResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        Unique identifier of the referenced TaxCategory. Required if key is absent.

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

        User-defined unique identifier of the referenced TaxCategory. Either id or key is required.

        + *

        User-defined unique identifier of the referenced TaxCategory. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategorySetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategorySetDescriptionActionImpl.java index 34d36d7bc41..673bc170c39 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategorySetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategorySetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategorySetDescriptionAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategorySetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategorySetKeyActionImpl.java index 71e08836bdd..65c8beceae4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategorySetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategorySetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategorySetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryUpdateActionImpl.java index d0c70870c7a..4c182c73e1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategoryUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryUpdateImpl.java index f921468a2e5..6f39c43e7b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/tax_category/TaxCategoryUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxCategoryUpdate @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } 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 f3989d2c2f5..8c947cc346c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxRateDraft @@ -185,4 +187,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("amount", amount) + .append("includedInPrice", includedInPrice) + .append("country", country) + .append("state", state) + .append("subRates", subRates) + .append("key", key) + .build(); + } + } 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 7ee89ec78b8..41d8d04f13b 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxRate @@ -203,4 +205,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("name", name) + .append("amount", amount) + .append("includedInPrice", includedInPrice) + .append("country", country) + .append("state", state) + .append("subRates", subRates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldBooleanTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldBooleanTypeImpl.java index c2c4e030d51..da3b56fd1b8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldBooleanTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldBooleanTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for Boolean values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldDateTimeTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldDateTimeTypeImpl.java index 5b27169a497..47f5062a283 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldDateTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldDateTimeTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for DateTime values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldDateTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldDateTypeImpl.java index a1ae72fd7b1..4118138dd2e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldDateTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldDateTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for Date values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldEnumTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldEnumTypeImpl.java index 0ea85d79230..399081e54b5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldEnumTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for enum values.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldEnumValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldEnumValueImpl.java index c8f1930d85c..530ba411198 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Defines an allowed value of a CustomFieldEnumType field.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedEnumTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedEnumTypeImpl.java index 09db9ae9052..0242b9c10e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedEnumTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for localized enum values.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedEnumValueImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedEnumValueImpl.java index bca758f8b34..e540c3cc1d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Defines an allowed value of a CustomFieldLocalizedEnumType field.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedStringTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedStringTypeImpl.java index f45417b46c6..eb856cfc98c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedStringTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldLocalizedStringTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for LocalizedString values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldMoneyTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldMoneyTypeImpl.java index 97f6f33eb9e..c521b8e6767 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldMoneyTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldMoneyTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for CentPrecisionMoney values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldNumberTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldNumberTypeImpl.java index 8911628cf51..13c13686b05 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldNumberTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldNumberTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for number values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldReferenceTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldReferenceTypeImpl.java index f2c20385c1f..b999d1d34e6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldReferenceTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldReferenceTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for Reference values.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(referenceTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("referenceTypeId", referenceTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldSetTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldSetTypeImpl.java index 13ac22766c9..e909fff84fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldSetTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldSetTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Values of a SetType Custom Field are sets of values of the specified elementType (without duplicate elements).

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(elementType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("elementType", elementType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldStringTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldStringTypeImpl.java index f2fce80a5e2..0180d3c5dcf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldStringTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldStringTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for string values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldTimeTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldTimeTypeImpl.java index 456ed1d4661..0b511caf2b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldTimeTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for Time values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldsDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldsDraftImpl.java index 7209afcf950..2c967965d9c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldsDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldsDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The representation used when creating or updating a customizable data type with Custom Fields.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldsImpl.java index b88c73fbc05..9f3d5834919 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/CustomFieldsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

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

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldContainerImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldContainerImpl.java index 72ea292f999..e6dc93579ea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldContainerImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldContainerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FieldContainer @@ -69,4 +71,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldDefinitionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldDefinitionImpl.java index 0d643e3aa9f..ed85b565cea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldDefinitionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldDefinitionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Defines a Custom Field and its meta-information. This FieldDefinition is similar to an AttributeDefinition of Product Types.

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("label", label) + .append("required", required) + .append("inputHint", inputHint) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldTypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldTypeImpl.java index 5e1bbc14c6e..31d312a2da2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldTypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/FieldTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FieldType @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddEnumValueActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddEnumValueActionImpl.java index db2bd3b642e..3fe4036ca0f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddEnumValueActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddEnumValueActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adds a value to an EnumType. This update action can be used to update an EnumType FieldDefinition and a SetType FieldDefinition of EnumType.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddFieldDefinitionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddFieldDefinitionActionImpl.java index 6027c795a4f..a0cb21d1086 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddFieldDefinitionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddFieldDefinitionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Defines a new field for a Type. Adding new required fields to a Type that is already referenced by existing entities can put those entities in a temporarily inconsistent state.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldDefinition).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldDefinition", fieldDefinition) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddLocalizedEnumValueActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddLocalizedEnumValueActionImpl.java index 1b39c237af4..e9a28e238e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddLocalizedEnumValueActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeAddLocalizedEnumValueActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Adds a value to a LocalizedEnumType. This update action can be used to update a LocalizedEnumType FieldDefinition and a SetType FieldDefinition of CustomFieldLocalizedEnumType.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeEnumValueLabelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeEnumValueLabelActionImpl.java index 4d59627b98d..b72db0648b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeEnumValueLabelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeEnumValueLabelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changes the label of an EnumValue of an EnumType FieldDefinition.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeEnumValueOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeEnumValueOrderActionImpl.java index 0813a50886d..8f1f839157f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeEnumValueOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeEnumValueOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changes the order of EnumValues in an EnumType FieldDefinition. This update action can be used to update an EnumType FieldDefinition and a SetType FieldDefinition of EnumType.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).append(keys).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .append("keys", keys) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeFieldDefinitionOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeFieldDefinitionOrderActionImpl.java index c9379825432..3b04408987d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeFieldDefinitionOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeFieldDefinitionOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeChangeFieldDefinitionOrderAction @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldNames).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldNames", fieldNames) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeInputHintActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeInputHintActionImpl.java index 899d171223c..dea833897e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeInputHintActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeInputHintActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changes the inputHint of CustomFieldStringType FieldDefinition, a CustomFieldLocalizedStringType FieldDefinition, and CustomFieldSetType FieldDefinition of these string-based FieldTypes.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).append(inputHint).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .append("inputHint", inputHint) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeKeyActionImpl.java index e73a39294ce..3af83d26945 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeChangeKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLabelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLabelActionImpl.java index 8b2b534b930..7b4819199b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLabelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLabelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeChangeLabelAction @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLocalizedEnumValueLabelActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLocalizedEnumValueLabelActionImpl.java index d58cf304b40..90ad1ea1bb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLocalizedEnumValueLabelActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLocalizedEnumValueLabelActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changes the label of a LocalizedEnumValue of a LocalizedEnumType FieldDefinition.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLocalizedEnumValueOrderActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLocalizedEnumValueOrderActionImpl.java index fbd78cb6152..9837bcfb0b4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLocalizedEnumValueOrderActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeLocalizedEnumValueOrderActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Changes the order of LocalizedEnumValues in a LocalizedEnumType FieldDefinition. This update action can be used to update a LocalizedEnumType FieldDefinition and a SetType of LocalizedEnumType FieldDefinitions.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).append(keys).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .append("keys", keys) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeNameActionImpl.java index 63eff51626a..668331c39cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeDraftImpl.java index c5124cf448e..174d45f5c7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeDraft @@ -155,4 +157,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("description", description) + .append("resourceTypeIds", resourceTypeIds) + .append("fieldDefinitions", fieldDefinitions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeImpl.java index 016fc136019..1f821fa056e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Type @@ -268,4 +270,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("name", name) + .append("description", description) + .append("resourceTypeIds", resourceTypeIds) + .append("fieldDefinitions", fieldDefinitions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypePagedQueryResponseImpl.java index 6d717b2d531..edcb302f595 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of Types.

        @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeReferenceImpl.java index 96f46db421e..15af3d081f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a Type.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeRemoveFieldDefinitionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeRemoveFieldDefinitionActionImpl.java index 5f43ac2e22d..84b37d9903d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeRemoveFieldDefinitionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeRemoveFieldDefinitionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeRemoveFieldDefinitionAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(fieldName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("fieldName", fieldName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifier.java index 0be33a52e19..b38af264591 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier of a Type.

        + *

        ResourceIdentifier of a Type. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface TypeResourceIdentifier extends ResourceIdentifier, com.commerce String TYPE = "type"; /** - *

        Unique identifier of the referenced Type. Either id or key is required.

        + *

        Unique identifier of the referenced Type. Required if key is absent.

        * @return id */ @@ -43,7 +43,7 @@ public interface TypeResourceIdentifier extends ResourceIdentifier, com.commerce public String getId(); /** - *

        User-defined unique identifier of the referenced Type. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Type. Required if id is absent.

        * @return key */ @@ -51,14 +51,14 @@ public interface TypeResourceIdentifier extends ResourceIdentifier, com.commerce public String getKey(); /** - *

        Unique identifier of the referenced Type. Either id or key is required.

        + *

        Unique identifier of the referenced Type. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced Type. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Type. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifierBuilder.java index 9ae1026b195..0bef6d38b17 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class TypeResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Type. Either id or key is required.

        + *

        Unique identifier of the referenced Type. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public TypeResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced Type. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Type. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public TypeResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced Type. Either id or key is required.

        + *

        Unique identifier of the referenced Type. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced Type. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Type. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifierImpl.java index 6ecf1327de3..4deddd41877 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier of a Type.

        + *

        ResourceIdentifier of a Type. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class TypeResourceIdentifierImpl implements TypeResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced Type. Either id or key is required.

        + *

        Unique identifier of the referenced Type. Required if key is absent.

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

        User-defined unique identifier of the referenced Type. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Type. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeSetDescriptionActionImpl.java index 8bd87bb3866..97aaf254388 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeSetDescriptionAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeUpdateActionImpl.java index 786e006daf7..6b876d627ca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeUpdateImpl.java index d7b2fc70b22..6c6959d1dfe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/type/TypeUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypeUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/LocationImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/LocationImpl.java index c43e680ae19..eb50cd38ea5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/LocationImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/LocationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A geographical location representing a country and optionally a state within this country. A location can only be assigned to one Zone.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(country).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("country", country) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneAddLocationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneAddLocationActionImpl.java index e55d6d50d2a..502c427cdc6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneAddLocationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneAddLocationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneAddLocationAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(location).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("location", location) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneChangeNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneChangeNameActionImpl.java index 3c4e500c40f..dc0110e5dde 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneChangeNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneChangeNameActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneChangeNameAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneDraftImpl.java index 150bcedf2ea..ee6b3cff888 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneDraft @@ -125,4 +127,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(name).append(description).append(locations).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("description", description) + .append("locations", locations) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneImpl.java index 561365a076b..8cacbcab574 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Zone @@ -242,4 +244,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("lastModifiedBy", lastModifiedBy) + .append("createdBy", createdBy) + .append("key", key) + .append("name", name) + .append("description", description) + .append("locations", locations) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZonePagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZonePagedQueryResponseImpl.java index 9b146e69718..deb121e5f3b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZonePagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZonePagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of Zone.

        @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneReferenceImpl.java index 7b572a19106..803d2688d4a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneReferenceImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Reference to a Zone.

        @@ -101,4 +103,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(obj).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("obj", obj) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneRemoveLocationActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneRemoveLocationActionImpl.java index 246682ad798..1912df420fd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneRemoveLocationActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneRemoveLocationActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneRemoveLocationAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(location).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("location", location) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifier.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifier.java index 27cc9da89d3..e959f846282 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifier.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifier.java @@ -14,7 +14,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

        ResourceIdentifier to a Zone.

        + *

        ResourceIdentifier to a Zone. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        * *
        * Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ZoneResourceIdentifier extends ResourceIdentifier, com.commerce String ZONE = "zone"; /** - *

        Unique identifier of the referenced Zone. Either id or key is required.

        + *

        Unique identifier of the referenced Zone. Required if key is absent.

        * @return id */ @@ -43,7 +43,7 @@ public interface ZoneResourceIdentifier extends ResourceIdentifier, com.commerce public String getId(); /** - *

        User-defined unique identifier of the referenced Zone. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Zone. Required if id is absent.

        * @return key */ @@ -51,14 +51,14 @@ public interface ZoneResourceIdentifier extends ResourceIdentifier, com.commerce public String getKey(); /** - *

        Unique identifier of the referenced Zone. Either id or key is required.

        + *

        Unique identifier of the referenced Zone. Required if key is absent.

        * @param id value to be set */ public void setId(final String id); /** - *

        User-defined unique identifier of the referenced Zone. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Zone. Required if id is absent.

        * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifierBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifierBuilder.java index c569f0dbd9e..62cb547cfa9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifierBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifierBuilder.java @@ -29,7 +29,7 @@ public class ZoneResourceIdentifierBuilder implements BuilderUnique identifier of the referenced Zone. Either id or key is required.

        + *

        Unique identifier of the referenced Zone. Required if key is absent.

        * @param id value to be set * @return Builder */ @@ -40,7 +40,7 @@ public ZoneResourceIdentifierBuilder id(@Nullable final String id) { } /** - *

        User-defined unique identifier of the referenced Zone. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Zone. Required if id is absent.

        * @param key value to be set * @return Builder */ @@ -51,7 +51,7 @@ public ZoneResourceIdentifierBuilder key(@Nullable final String key) { } /** - *

        Unique identifier of the referenced Zone. Either id or key is required.

        + *

        Unique identifier of the referenced Zone. Required if key is absent.

        * @return id */ @@ -61,7 +61,7 @@ public String getId() { } /** - *

        User-defined unique identifier of the referenced Zone. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Zone. Required if id is absent.

        * @return key */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifierImpl.java index 98e742fb800..9ef6331f3d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneResourceIdentifierImpl.java @@ -14,9 +14,11 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** - *

        ResourceIdentifier to a Zone.

        + *

        ResourceIdentifier to a Zone. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

        */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ZoneResourceIdentifierImpl implements ZoneResourceIdentifier, ModelBase { @@ -53,7 +55,7 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { } /** - *

        Unique identifier of the referenced Zone. Either id or key is required.

        + *

        Unique identifier of the referenced Zone. Required if key is absent.

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

        User-defined unique identifier of the referenced Zone. Either id or key is required.

        + *

        User-defined unique identifier of the referenced Zone. Required if id is absent.

        */ public String getKey() { @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneSetDescriptionActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneSetDescriptionActionImpl.java index 7413c7e8ba6..0b326a63696 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneSetDescriptionActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneSetDescriptionActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneSetDescriptionAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(description).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("description", description) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneSetKeyActionImpl.java index 95595e6f557..be95c7d41ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneSetKeyActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneSetKeyAction @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneUpdateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneUpdateActionImpl.java index b028e4a1860..2cc46aef766 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneUpdateImpl.java index d95d1557636..9d533aaa03e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/zone/ZoneUpdateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ZoneUpdate @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("actions", actions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAddressChangeImpl.java index 3275593e2f4..afd3d2f9e4a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Address update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAssetChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAssetChangeImpl.java index 665aafa4d1d..f293681b21a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAssetChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAssetChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAssociateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAssociateChangeImpl.java index be34461ada8..0c083ce231e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAssociateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAssociateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Associate update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAttributeDefinitionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAttributeDefinitionChangeImpl.java index 1ee50013b59..bffcabbcc75 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAttributeDefinitionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddAttributeDefinitionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Attribute Definition update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddBillingAddressIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddBillingAddressIdChangeImpl.java index f304e3878d2..b50e3f90126 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddBillingAddressIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddBillingAddressIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Billing Address ID update action.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddChannelRolesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddChannelRolesChangeImpl.java index e2396fc1038..002aa0cbd7d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddChannelRolesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddChannelRolesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Roles update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddCustomLineItemChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddCustomLineItemChangeImpl.java index 0eb549c2edb..1903d643ce0 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddCustomLineItemChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddCustomLineItemChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add CustomLineItem update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddDeliveryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddDeliveryChangeImpl.java index 99cd3fd45e2..01d18aa3fa1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddDeliveryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddDeliveryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Delivery update action.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddDiscountCodeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddDiscountCodeChangeImpl.java index 60c6aef21d3..5fcb41b190b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddDiscountCodeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddDiscountCodeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add DiscountCode update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddEnumValueChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddEnumValueChangeImpl.java index 7f9344988c7..a592dd3f446 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddEnumValueChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddEnumValueChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add EnumValue to FieldDefinition update action.

        @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).append(fieldName).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .append("fieldName", fieldName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddExternalImageChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddExternalImageChangeImpl.java index 131ddf6ed79..1e361648337 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddExternalImageChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddExternalImageChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add External Image update action.

        @@ -152,4 +154,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddFieldDefinitionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddFieldDefinitionChangeImpl.java index 4dd5e9e956e..d594c8ab417 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddFieldDefinitionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddFieldDefinitionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add FieldDefinition update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddInheritedAssociateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddInheritedAssociateChangeImpl.java index ffc7c90846f..ec24e46df65 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddInheritedAssociateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddInheritedAssociateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Associate update action on a parent of a Business Unit in cases where inheritance applies.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddInterfaceInteractionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddInterfaceInteractionChangeImpl.java index b75a6b7faf7..37cc96e4135 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddInterfaceInteractionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddInterfaceInteractionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add InterfaceInteraction update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddItemShippingAddressesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddItemShippingAddressesChangeImpl.java index 070db99fb1a..172e29e074d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddItemShippingAddressesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddItemShippingAddressesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddLocalizedEnumValueChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddLocalizedEnumValueChangeImpl.java index 87366420212..2758594b16b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddLocalizedEnumValueChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddLocalizedEnumValueChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .append("fieldName", fieldName) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddLocationChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddLocationChangeImpl.java index 79ffb59f995..7a79c3f1b1b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddLocationChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddLocationChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Location update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddOrderLineItemChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddOrderLineItemChangeImpl.java index 561b19faa52..198580e3def 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddOrderLineItemChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddOrderLineItemChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add LineItem update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddParcelToDeliveryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddParcelToDeliveryChangeImpl.java index 94aa738faea..138d1cd1a58 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddParcelToDeliveryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddParcelToDeliveryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .append("deliveryId", deliveryId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPaymentChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPaymentChangeImpl.java index f31e9a74eee..901147ed1a3 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPaymentChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPaymentChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPlainEnumValueChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPlainEnumValueChangeImpl.java index 88b67bddd8b..0fab6bf2e19 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPlainEnumValueChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPlainEnumValueChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add PlainEnumValue to AttributeDefinition update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPriceChangeImpl.java index 3eb88590bb7..1a199b5fe3f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Price update action.

        @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .append("priceId", priceId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddProductChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddProductChangeImpl.java index 4ab351062cf..1b9624e2200 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddProductChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddProductChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Product update action.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .append("variantSelection", variantSelection) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddProductSelectionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddProductSelectionChangeImpl.java index 67927d1c820..868fba1d1e4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddProductSelectionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddProductSelectionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Product Selection update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPropertyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPropertyChangeImpl.java index deb2ee3a2ad..b170181a29a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPropertyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddPropertyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Update CustomObject request when a new property is added.

        @@ -117,4 +119,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).append(path).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .append("path", path) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddReturnInfoChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddReturnInfoChangeImpl.java index 59b97d3c4f6..a1f1025314a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddReturnInfoChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddReturnInfoChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddShippingAddressIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddShippingAddressIdChangeImpl.java index 87883e6a1a9..58ba73ce904 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddShippingAddressIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddShippingAddressIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Shipping Address ID update action.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddShoppingListLineItemChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddShoppingListLineItemChangeImpl.java index fd761944315..42400fda365 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddShoppingListLineItemChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddShoppingListLineItemChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add ShoppingListLineItem update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddStateRolesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddStateRolesChangeImpl.java index 52d849692d8..180a6eb8436 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddStateRolesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddStateRolesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add State roles update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTaxRateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTaxRateChangeImpl.java index e4a8786b6f3..acdece5bc66 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTaxRateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTaxRateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add TaxRate update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTextLineItemChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTextLineItemChangeImpl.java index 9c291f1a824..983c0b8413c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTextLineItemChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTextLineItemChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add TextLineItem update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddToCategoryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddToCategoryChangeImpl.java index aee3015a358..5cd1e6cb4c4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddToCategoryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddToCategoryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add to Category update action.

        @@ -150,4 +152,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("category", category) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTransactionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTransactionChangeImpl.java index 1e21f2099da..19e940b1526 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTransactionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddTransactionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add Transaction update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddVariantChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddVariantChangeImpl.java index 0b5f8f28cae..2a4954ca53c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddVariantChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/AddVariantChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Add ProductVariant update action.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAddressChangeImpl.java index 14ae056c7db..2bb09f453de 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Address update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAmountAuthorizedChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAmountAuthorizedChangeImpl.java index 45c5c9d7925..9e066b5335c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAmountAuthorizedChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAmountAuthorizedChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered automatically due to a user-initiated change.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAmountPlannedChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAmountPlannedChangeImpl.java index f9c9e86bb7b..28fff3ca7d3 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAmountPlannedChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAmountPlannedChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change AmountPlanned update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssetNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssetNameChangeImpl.java index 803927a4ad0..11bd8d3eafe 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssetNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssetNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("asset", asset) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssetOrderChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssetOrderChangeImpl.java index ebaba9ef14a..384907e9ae0 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssetOrderChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssetOrderChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -135,4 +137,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssociateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssociateChangeImpl.java index 0b90eb823a4..9eab4ab477d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssociateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssociateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Associate update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssociateModeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssociateModeChangeImpl.java index 7444b210de5..aa04bdc2fa5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssociateModeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAssociateModeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Associate Mode update action.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAttributeConstraintChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAttributeConstraintChangeImpl.java index 3bcdb6b6e5b..3e71dbc5866 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAttributeConstraintChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAttributeConstraintChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change AttributeDefinition AttributeConstraint update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAttributeOrderByNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAttributeOrderByNameChangeImpl.java index 80dd401b2ad..e7f3260f4b2 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAttributeOrderByNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeAttributeOrderByNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change the order of AttributeDefinitions update action.

        @@ -130,4 +132,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeBuyerAssignableChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeBuyerAssignableChangeImpl.java index 1abb6f6e557..4d1ab12bfde 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeBuyerAssignableChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeBuyerAssignableChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change BuyerAssignable update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCartDiscountsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCartDiscountsChangeImpl.java index b15bd3b28af..009a893dd69 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCartDiscountsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCartDiscountsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change CartDiscounts update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCartPredicateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCartPredicateChangeImpl.java index d38b3ca8379..6fa626e5863 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCartPredicateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCartPredicateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Cart Predicate update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCustomLineItemQuantityChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCustomLineItemQuantityChangeImpl.java index 73bf57e81b6..155230adb63 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCustomLineItemQuantityChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeCustomLineItemQuantityChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change CustomLineItem Quantity update action.

        @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeDescriptionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeDescriptionChangeImpl.java index 2a14b211831..39363d5c2cf 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeDescriptionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeDescriptionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEmailChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEmailChangeImpl.java index c97238d0560..2f3f409fe55 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEmailChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEmailChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Email update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEnumValueLabelChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEnumValueLabelChangeImpl.java index dc640a17865..c5158eb730f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEnumValueLabelChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEnumValueLabelChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change EnumValue Label update action.

        @@ -159,4 +161,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("fieldName", fieldName) + .append("valueKey", valueKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEnumValueOrderChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEnumValueOrderChangeImpl.java index dea72333b98..902c6faf3aa 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEnumValueOrderChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeEnumValueOrderChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change the order of EnumValues update action.

        @@ -150,4 +152,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("fieldName", fieldName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeFieldDefinitionOrderChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeFieldDefinitionOrderChangeImpl.java index b6ed84e9f57..537db82de7a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeFieldDefinitionOrderChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeFieldDefinitionOrderChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change the order of FieldDefinitions update action.

        @@ -134,4 +136,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeGroupsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeGroupsChangeImpl.java index 0b2fb4f599f..b6237af6e7e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeGroupsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeGroupsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Groups update action.

        @@ -130,4 +132,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeImpl.java index 4f9007dd5e9..9f8f076988e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Difference between the previous and next version of a resource represented by previousValue (omitted, for example, on creations) and nextValue of the associated change. A Change can also contain extra fields that provide further information.

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInheritedAssociateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInheritedAssociateChangeImpl.java index 0cc93e73a48..37eea58da85 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInheritedAssociateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInheritedAssociateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Associate update action on a parent of a Business Unit in cases where inheritance applies.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInitialChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInitialChangeImpl.java index 6f6778965e6..a74e90cc9f5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInitialChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInitialChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change initial State update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInputHintChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInputHintChangeImpl.java index 252b0cfa12f..0e622108d5e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInputHintChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeInputHintChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("fieldName", fieldName) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeIsActiveChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeIsActiveChangeImpl.java index 407856a1ad4..e49f0fcae37 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeIsActiveChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeIsActiveChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeIsSearchableChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeIsSearchableChangeImpl.java index 8dbdc8da752..14449ff0a76 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeIsSearchableChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeIsSearchableChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change AttributeDefinition IsSearchable update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeKeyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeKeyChangeImpl.java index dc72647b0e7..a8139b9d177 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeKeyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeKeyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLabelChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLabelChangeImpl.java index 284e8ee1951..d5065f619c4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLabelChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLabelChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("fieldName", fieldName) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLineItemQuantityChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLineItemQuantityChangeImpl.java index f1338fa8b0b..1c0a2fee6d6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLineItemQuantityChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLineItemQuantityChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change LineItem Quantity update action.

        @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("lineItemId", lineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedDescriptionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedDescriptionChangeImpl.java index 8b0466bac16..d2b0e8e0408 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedDescriptionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedDescriptionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedEnumValueLabelChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedEnumValueLabelChangeImpl.java index 8925c6c72c2..9ebd93bd73c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedEnumValueLabelChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedEnumValueLabelChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -183,4 +185,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("fieldName", fieldName) + .append("attributeName", attributeName) + .append("valueKey", valueKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedEnumValueOrderChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedEnumValueOrderChangeImpl.java index fb3bd865b0e..332934c7231 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedEnumValueOrderChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedEnumValueOrderChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -175,4 +177,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("fieldName", fieldName) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedNameChangeImpl.java index 639929d260b..ccb5b2d5efb 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeLocalizedNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -136,4 +138,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeMasterVariantChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeMasterVariantChangeImpl.java index bedf729e2f5..06e4b5e47f9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeMasterVariantChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeMasterVariantChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Master Variant update action.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeNameChangeImpl.java index c4d8d3c977a..ce09de89243 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -136,4 +138,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeOrderHintChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeOrderHintChangeImpl.java index 092bec58076..870874c9497 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeOrderHintChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeOrderHintChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change OrderHint update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeOrderStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeOrderStateChangeImpl.java index 827e21b9a8d..e4631ea37d1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeOrderStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeOrderStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeParentChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeParentChangeImpl.java index e24fdf4bead..0cf7c0873e5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeParentChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeParentChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Parent update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeParentUnitChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeParentUnitChangeImpl.java index a23a76f1e20..07c284ee16b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeParentUnitChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeParentUnitChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Parent Unit update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePaymentStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePaymentStateChangeImpl.java index 403182cf96d..3cde98d147e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePaymentStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePaymentStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePlainEnumValueLabelChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePlainEnumValueLabelChangeImpl.java index 88a3fc4c8c1..42b6d95b7cd 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePlainEnumValueLabelChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePlainEnumValueLabelChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change the label of an EnumValue update action.

        @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("attributeName", attributeName) + .append("valueKey", valueKey) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePlainEnumValueOrderChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePlainEnumValueOrderChangeImpl.java index 0a59071a510..7cf7aea70f0 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePlainEnumValueOrderChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePlainEnumValueOrderChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change the order of EnumValues update action.

        @@ -150,4 +152,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePredicateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePredicateChangeImpl.java index fdd64807edd..3632f96fc2c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePredicateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePredicateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Predicate update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePriceChangeImpl.java index 5882ff25dca..ba4dd7a8ea1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangePriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Price update action.

        @@ -162,4 +164,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .append("priceId", priceId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeProductSelectionActiveChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeProductSelectionActiveChangeImpl.java index 4f417e9f2c9..0a7f452aabc 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeProductSelectionActiveChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeProductSelectionActiveChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Product Selection Active update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("productSelection", productSelection) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuantityChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuantityChangeImpl.java index 5179231604d..c039db5019d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuantityChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuantityChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Quantity update action.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuoteRequestStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuoteRequestStateChangeImpl.java index d06f84306a5..b3050ab356e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuoteRequestStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuoteRequestStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Quote Request State update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuoteStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuoteStateChangeImpl.java index 666259b644f..0932bc7d419 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuoteStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeQuoteStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Quote State update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeRequiresDiscountCodeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeRequiresDiscountCodeChangeImpl.java index e788bf01686..f2168e432a1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeRequiresDiscountCodeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeRequiresDiscountCodeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Requires DiscountCode update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeReviewRatingStatisticsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeReviewRatingStatisticsChangeImpl.java index b95db8a142f..b1b0c4b1f6e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeReviewRatingStatisticsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeReviewRatingStatisticsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeReviewRatingStatisticsChange @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShipmentStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShipmentStateChangeImpl.java index 1306059b8d6..f8210b4cf7d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShipmentStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShipmentStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShoppingListLineItemQuantityChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShoppingListLineItemQuantityChangeImpl.java index 4e0628e2be2..fa97e6d2875 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShoppingListLineItemQuantityChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShoppingListLineItemQuantityChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change ShoppingListLineItem Quantity update action.

        @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShoppingListLineItemsOrderChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShoppingListLineItemsOrderChangeImpl.java index f9fdfaef679..add0170999d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShoppingListLineItemsOrderChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeShoppingListLineItemsOrderChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change ShoppingListLineItems Order update action.

        @@ -134,4 +136,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeSlugChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeSlugChangeImpl.java index aecc8dcda5d..4c89e32a4c0 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeSlugChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeSlugChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeSortOrderChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeSortOrderChangeImpl.java index 81669fe5140..1cd0374eb2d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeSortOrderChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeSortOrderChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStackingModeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStackingModeChangeImpl.java index 3399ec9be9a..770fd3843b9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStackingModeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStackingModeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Stacking Mode update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStagedQuoteStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStagedQuoteStateChangeImpl.java index d4b418df4cf..6aea1c43b3c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStagedQuoteStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStagedQuoteStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the ChangeStagedQuoteState update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStateTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStateTypeChangeImpl.java index 05f11b138dd..efc928f9bac 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStateTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStateTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change State Type update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStatusChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStatusChangeImpl.java index 79c8173e835..f1f49858568 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStatusChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeStatusChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Status update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTargetChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTargetChangeImpl.java index 888394f4669..15b3d157e6e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTargetChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTargetChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Target update action.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxCalculationModeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxCalculationModeChangeImpl.java index a08785f282c..7ffa5c6bb13 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxCalculationModeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxCalculationModeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change TaxCalculationMode update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxModeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxModeChangeImpl.java index 298d6a9a009..7a62841d8e8 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxModeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxModeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change TaxMode update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxRoundingModeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxRoundingModeChangeImpl.java index 431afab6b10..00e760d1a05 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxRoundingModeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTaxRoundingModeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change Tax RoundingMode update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemNameChangeImpl.java index b590feabd77..9ea2ae60a69 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change TextLineItem Name update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("textLineItem", textLineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemQuantityChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemQuantityChangeImpl.java index cc3fc3fb559..32b66de083a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemQuantityChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemQuantityChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change TextLineItem Quantity update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("textLineItem", textLineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemsOrderChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemsOrderChangeImpl.java index 7e9a5400d6d..8b1a6fe03dd 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemsOrderChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTextLineItemsOrderChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change TextLineItems Order update action.

        @@ -133,4 +135,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionInteractionIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionInteractionIdChangeImpl.java index a2221c8fc39..01b823f901d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionInteractionIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionInteractionIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change TransactionInteractionId update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("transaction", transaction) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionStateChangeImpl.java index ea0add4bb0d..116670cc5e9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change TransactionState update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("transaction", transaction) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionTimestampChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionTimestampChangeImpl.java index 88a1c848214..5b96837b0c6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionTimestampChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeTransactionTimestampChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Change TransactionTimestamp update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("transaction", transaction) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeValueChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeValueChangeImpl.java index 2fd01e9c872..d9b343138e9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeValueChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/ChangeValueChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/MoveImageToPositionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/MoveImageToPositionChangeImpl.java index 0cecd8b0b9a..40c7f6b5fe4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/MoveImageToPositionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/MoveImageToPositionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Move image to position update action.

        @@ -152,4 +154,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/PublishChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/PublishChangeImpl.java index da7d1f7fb31..f5d9e10a174 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/PublishChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/PublishChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Publish update action.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAddressChangeImpl.java index f7a60c4971d..5ba29fdf391 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Address update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAssetChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAssetChangeImpl.java index 36f6d7a8f8d..f20747a07b9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAssetChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAssetChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAssociateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAssociateChangeImpl.java index f91a7a7f7f0..bfa04b8dbba 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAssociateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAssociateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Associate update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAttributeDefinitionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAttributeDefinitionChangeImpl.java index 2cbf58df632..3c768fa25ac 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAttributeDefinitionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveAttributeDefinitionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove AttributeDefinition update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveBillingAddressIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveBillingAddressIdChangeImpl.java index 1f24345b6a1..c530a2b1c7d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveBillingAddressIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveBillingAddressIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Billing Address ID update action.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveChannelRolesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveChannelRolesChangeImpl.java index ff5a099e92b..8f9157738ad 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveChannelRolesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveChannelRolesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Roles update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveCustomLineItemChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveCustomLineItemChangeImpl.java index cbd21c0c80c..cbedf65f240 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveCustomLineItemChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveCustomLineItemChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove CustomLineItem update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveDeliveryItemsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveDeliveryItemsChangeImpl.java index f7417cdad52..4fd2566f8a4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveDeliveryItemsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveDeliveryItemsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Delivery update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveDiscountCodeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveDiscountCodeChangeImpl.java index 4eba78840aa..85a32730970 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveDiscountCodeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveDiscountCodeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove DiscountCode update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveEnumValuesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveEnumValuesChangeImpl.java index d5a1f46059b..b80e74b05ce 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveEnumValuesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveEnumValuesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove EnumValues from AttributeDefinition update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveFieldDefinitionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveFieldDefinitionChangeImpl.java index 186fced2ccf..2f945339717 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveFieldDefinitionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveFieldDefinitionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove FieldDefinition update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveFromCategoryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveFromCategoryChangeImpl.java index 76dee56a441..e176b1ddad2 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveFromCategoryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveFromCategoryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove from Category update action.

        @@ -150,4 +152,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("category", category) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveImageChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveImageChangeImpl.java index 126df562255..70389c39b14 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveImageChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveImageChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Image update action.

        @@ -152,4 +154,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveInheritedAssociateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveInheritedAssociateChangeImpl.java index 23651ff56a6..e5fd9447cb5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveInheritedAssociateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveInheritedAssociateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Associate update action on a parent of a Business Unit in cases where inheritance applies.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveItemShippingAddressesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveItemShippingAddressesChangeImpl.java index 2bbbe96a0df..5b1c15f33c3 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveItemShippingAddressesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveItemShippingAddressesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Item Shipping Address update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveLocalizedEnumValuesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveLocalizedEnumValuesChangeImpl.java index 5516413f4d9..afc8167862c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveLocalizedEnumValuesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveLocalizedEnumValuesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove EnumValues from AttributeDefinition update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveLocationChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveLocationChangeImpl.java index 43e584280f1..11126cb352d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveLocationChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveLocationChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Location update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveOrderLineItemChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveOrderLineItemChangeImpl.java index bd5fdd128ad..f33561a8926 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveOrderLineItemChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveOrderLineItemChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Parcel From Delivery update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveParcelFromDeliveryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveParcelFromDeliveryChangeImpl.java index 2cad69aaa03..24d17441b8d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveParcelFromDeliveryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveParcelFromDeliveryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("deliveryId", deliveryId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePaymentChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePaymentChangeImpl.java index e40216a234f..00131ad32ec 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePaymentChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePaymentChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePriceChangeImpl.java index 5b2b0e51220..2949a89afd6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Embedded Price update action.

        @@ -162,4 +164,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .append("priceId", priceId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveProductChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveProductChangeImpl.java index ba34e71169b..99db2c6e2d1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveProductChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveProductChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Product update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveProductSelectionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveProductSelectionChangeImpl.java index 4d48b206bf7..d128e943cca 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveProductSelectionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveProductSelectionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Product Selection update action.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePropertyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePropertyChangeImpl.java index f2cafee9e30..460690c13a3 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePropertyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemovePropertyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Update CustomObject request when an existing property is removed.

        @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(previousValue).append(path).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("path", path) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveShippingAddressIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveShippingAddressIdChangeImpl.java index e50c0cde7cc..ce09562bb91 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveShippingAddressIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveShippingAddressIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove Shipping Address ID update action.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveShoppingListLineItemChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveShoppingListLineItemChangeImpl.java index 046e8399414..ab93b9a13da 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveShoppingListLineItemChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveShoppingListLineItemChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove ShoppingListLineItem update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveStateRolesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveStateRolesChangeImpl.java index 231d1cac26d..d74e61fa8ad 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveStateRolesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveStateRolesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove State roles update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveTaxRateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveTaxRateChangeImpl.java index aa9b2faced8..41873ae49fa 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveTaxRateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveTaxRateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove TaxRate update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveTextLineItemChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveTextLineItemChangeImpl.java index 42cea143ba0..3db8bde1f3d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveTextLineItemChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveTextLineItemChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove TextLineItem update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveVariantChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveVariantChangeImpl.java index 94ccb3a87c8..e7df8f973fc 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveVariantChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RemoveVariantChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Remove ProductVariant update action.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RequestQuoteRenegotiationChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RequestQuoteRenegotiationChangeImpl.java index 13ca99b7fd1..2b84cd941e9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RequestQuoteRenegotiationChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/RequestQuoteRenegotiationChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Request Quote Renegotiation update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("buyerComment", buyerComment) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressChangeImpl.java index f2c4e619a79..3891d674215 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Address update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressCustomFieldChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressCustomFieldChangeImpl.java index 11d0ce22849..0d5ba6a77e6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressCustomFieldChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressCustomFieldChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Address Custom Field update action.

        @@ -178,4 +180,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("address", address) + .append("name", name) + .append("customTypeId", customTypeId) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressCustomTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressCustomTypeChangeImpl.java index 9df740ba1be..1a14d06adcb 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressCustomTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAddressCustomTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Address Custom Type update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("address", address) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAnonymousIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAnonymousIdChangeImpl.java index 91834b16fce..9d3d7b8bcb9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAnonymousIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAnonymousIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetApplicationVersionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetApplicationVersionChangeImpl.java index 7b15bbaed6f..19c2e1876c6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetApplicationVersionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetApplicationVersionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered automatically due to a user-initiated change.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetCustomFieldChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetCustomFieldChangeImpl.java index a115f904be0..b03e938091a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetCustomFieldChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetCustomFieldChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -182,4 +184,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("name", name) + .append("customTypeId", customTypeId) + .append("asset", asset) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetCustomTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetCustomTypeChangeImpl.java index 3756645fbfe..96692c89944 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetCustomTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetCustomTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("asset", asset) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetDescriptionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetDescriptionChangeImpl.java index a68390544da..c8b1e3c0656 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetDescriptionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetDescriptionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("asset", asset) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetKeyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetKeyChangeImpl.java index d2f4c152180..382e359f712 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetKeyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetKeyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("asset", asset) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetSourcesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetSourcesChangeImpl.java index 13baef95e4a..b20db1f4f36 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetSourcesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetSourcesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -154,4 +156,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("asset", asset) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetTagsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetTagsChangeImpl.java index f938ecbd23f..c764c9be008 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetTagsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAssetTagsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -153,4 +155,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("asset", asset) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAttributeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAttributeChangeImpl.java index c399dd16a52..cd03ac5632e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAttributeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAttributeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Attribute update action.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAuthenticationModeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAuthenticationModeChangeImpl.java index 7cca1968b85..0142f7b6d64 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAuthenticationModeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAuthenticationModeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set AuthenticationMode update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAuthorNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAuthorNameChangeImpl.java index 32a74237409..c725df16e80 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAuthorNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetAuthorNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Author Name update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetBillingAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetBillingAddressChangeImpl.java index 22e91a6b4a4..c2387de131f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetBillingAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetBillingAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCartPredicateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCartPredicateChangeImpl.java index 92ce1c270a4..9cfc4c0ce27 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCartPredicateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCartPredicateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Cart Predicate update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCategoryOrderHintChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCategoryOrderHintChangeImpl.java index 7a7c0b9a775..e4cf2eb6753 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCategoryOrderHintChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCategoryOrderHintChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Category Order Hint update action.

        @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .append("categoryId", categoryId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetChannelRolesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetChannelRolesChangeImpl.java index 125f32dad52..b132e8aadd3 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetChannelRolesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetChannelRolesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Roles update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCompanyNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCompanyNameChangeImpl.java index 983ddf3923b..6df9c00950b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCompanyNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCompanyNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Company Name update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetContactEmailChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetContactEmailChangeImpl.java index 6107226676f..c26280e6175 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetContactEmailChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetContactEmailChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Contact Email update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCountriesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCountriesChangeImpl.java index c8f1195775f..29d3e679085 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCountriesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCountriesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Countries update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCountryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCountryChangeImpl.java index 1a218f4a634..0fece7f9163 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCountryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCountryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Country update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomFieldChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomFieldChangeImpl.java index 3cc1fb36228..d9b3661f2ce 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomFieldChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomFieldChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -179,4 +181,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("name", name) + .append("customTypeId", customTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemCustomFieldChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemCustomFieldChangeImpl.java index 98f55d0f297..0f3a548f030 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemCustomFieldChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemCustomFieldChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -182,4 +184,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("name", name) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemCustomTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemCustomTypeChangeImpl.java index 472ad9fda5f..c290ad9e347 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemCustomTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemCustomTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemMoneyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemMoneyChangeImpl.java index 41c91047b95..87c50f92388 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemMoneyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemMoneyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set CustomLineItem Money update action.

        @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemShippingDetailsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemShippingDetailsChangeImpl.java index e376d80a5bf..2c8214b92be 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemShippingDetailsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemShippingDetailsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxAmountChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxAmountChangeImpl.java index da0b998072e..d3b656efcf7 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxAmountChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxAmountChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set CustomLineItem TaxAmount update action.

        @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxCategoryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxCategoryChangeImpl.java index e088937896f..97e0df418f7 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxCategoryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxCategoryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetCustomLineItemTaxCategoryChange @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxRateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxRateChangeImpl.java index 4ce27717905..22ecb4b86fd 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxRateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxRateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set CustomLineItem TaxRate update action.

        @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxedPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxedPriceChangeImpl.java index d422f11b149..575c4fc9f6f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxedPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTaxedPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetCustomLineItemTaxedPriceChange @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTotalPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTotalPriceChangeImpl.java index 2bc3908fb03..6a7983cd047 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTotalPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomLineItemTotalPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetCustomLineItemTotalPriceChange @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customLineItem", customLineItem) + .append("customLineItemId", customLineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomShippingMethodChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomShippingMethodChangeImpl.java index 43b6e421f04..96aaf206bd8 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomShippingMethodChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomShippingMethodChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Custom ShippingMethod update action.

        @@ -124,4 +126,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomTypeChangeImpl.java index a14fd292098..4b5b8cb6e77 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -142,4 +144,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerChangeImpl.java index 31c45e5b7b3..8871dfff16e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerEmailChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerEmailChangeImpl.java index 4e9a389b0ee..6ecd4cad814 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerEmailChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerEmailChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerGroupChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerGroupChangeImpl.java index bc0835eaa3b..421a15252d5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerGroupChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerGroupChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set CustomerGroup update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerIdChangeImpl.java index 2aaceba19ed..3ba49245612 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerNumberChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerNumberChangeImpl.java index 8774249d466..1f9e13b72a0 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerNumberChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetCustomerNumberChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Customer Number update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDateOfBirthChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDateOfBirthChangeImpl.java index 428632184f1..d7abfb891b1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDateOfBirthChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDateOfBirthChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Date of Birth update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDefaultBillingAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDefaultBillingAddressChangeImpl.java index 6b75ba1ec5d..5f63f8d52c1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDefaultBillingAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDefaultBillingAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Default Billing Address update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDefaultShippingAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDefaultShippingAddressChangeImpl.java index 1019b68f276..29d2fdd099d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDefaultShippingAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDefaultShippingAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Default Shipping Address update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeleteDaysAfterLastModificationChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeleteDaysAfterLastModificationChangeImpl.java index 78810ec4463..f9b3a391114 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeleteDaysAfterLastModificationChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeleteDaysAfterLastModificationChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set DeleteDaysAfterLastModification update action.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeliveryAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeliveryAddressChangeImpl.java index ccfbe6cdb4f..4e607940e1e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeliveryAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeliveryAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("deliveryId", deliveryId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeliveryItemsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeliveryItemsChangeImpl.java index 1c0b919477a..f3d4139f366 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeliveryItemsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDeliveryItemsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -154,4 +156,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("deliveryId", deliveryId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDescriptionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDescriptionChangeImpl.java index 4739593a689..71f9fcbe868 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDescriptionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDescriptionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -134,4 +136,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDiscountedPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDiscountedPriceChangeImpl.java index 464b84452dc..fd27756378b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDiscountedPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDiscountedPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Discounted Embedded Price update action.

        @@ -181,4 +183,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .append("variant", variant) + .append("priceId", priceId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDistributionChannelsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDistributionChannelsChangeImpl.java index 2eab17c9a77..346e1782e11 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDistributionChannelsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetDistributionChannelsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Distribution Channels update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetExpectedDeliveryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetExpectedDeliveryChangeImpl.java index 5e06b64d2a6..7f8d3459002 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetExpectedDeliveryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetExpectedDeliveryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set ExpectedDelivery update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetExternalIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetExternalIdChangeImpl.java index 3313dec7bdd..592018baae4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetExternalIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetExternalIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetFirstNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetFirstNameChangeImpl.java index 56989b2a384..4b46d3a660a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetFirstNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetFirstNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set First Name update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetGeoLocationChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetGeoLocationChangeImpl.java index b12ea526bea..b6609da09c8 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetGeoLocationChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetGeoLocationChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set GeoLocation update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetImageLabelChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetImageLabelChangeImpl.java index 41f9ec5a97d..a9f3ca6f6c1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetImageLabelChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetImageLabelChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Image Label update action.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetInputTipChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetInputTipChangeImpl.java index 11a9bc4579c..0ee1e648193 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetInputTipChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetInputTipChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set AttributeDefinition InputTip update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("attributeName", attributeName) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetInterfaceIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetInterfaceIdChangeImpl.java index ec27d19177e..43dca10c2a2 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetInterfaceIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetInterfaceIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set InterfaceId update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetIsValidChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetIsValidChangeImpl.java index c2a80f9b25c..ed337d47bbc 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetIsValidChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetIsValidChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered automatically due to a user-initiated change.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetKeyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetKeyChangeImpl.java index e0217716888..33f31c14f5a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetKeyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetKeyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -136,4 +138,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLanguagesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLanguagesChangeImpl.java index 32cb974f51c..0f1139dc1d6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLanguagesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLanguagesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by Set Languages update action.

        @@ -130,4 +132,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLastNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLastNameChangeImpl.java index 26bbfc92ed5..8beaa5d77dd 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLastNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLastNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by Set Last Name update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDeactivatedAtChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDeactivatedAtChangeImpl.java index 5a06438f044..da33290834a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDeactivatedAtChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDeactivatedAtChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetLineItemDeactivatedAtChange @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDiscountedPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDiscountedPriceChangeImpl.java index 9042934db5b..6588d24bf53 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDiscountedPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDiscountedPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetLineItemDiscountedPriceChange @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDiscountedPricePerQuantityChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDiscountedPricePerQuantityChangeImpl.java index 8abe2f5d1d5..8272ee7e9e6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDiscountedPricePerQuantityChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDiscountedPricePerQuantityChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetLineItemDiscountedPricePerQuantityChange @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDistributionChannelChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDistributionChannelChangeImpl.java index e6fb58c6cc5..a185dc61d92 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDistributionChannelChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemDistributionChannelChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set LineItem DistributionChannel update action.

        @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemPriceChangeImpl.java index 0b2b5b69816..5858ac2dd7e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set LineItem Price update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemProductKeyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemProductKeyChangeImpl.java index 9948edeeccd..9dd0e847611 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemProductKeyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemProductKeyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetLineItemProductKeyChange @@ -178,4 +180,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("lineItemId", lineItemId) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemProductSlugChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemProductSlugChangeImpl.java index cfcf07e9385..d0e31c15003 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemProductSlugChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemProductSlugChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered automatically due to a user-initiated change.

        @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemShippingDetailsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemShippingDetailsChangeImpl.java index cd33ae995a9..206759b4b11 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemShippingDetailsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemShippingDetailsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItemId", lineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxAmountChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxAmountChangeImpl.java index 4687249b1f5..889ab82ea38 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxAmountChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxAmountChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set LineItem TaxAmount update action.

        @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("variant", variant) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxRateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxRateChangeImpl.java index 7e4caf5c95b..6a45eb8d664 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxRateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxRateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set LineItemTaxRate update action.

        @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("variant", variant) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxedPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxedPriceChangeImpl.java index e342fd28ce4..35f1cae7d50 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxedPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTaxedPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetLineItemTaxedPriceChange @@ -160,4 +162,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("lineItemId", lineItemId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTotalPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTotalPriceChangeImpl.java index 7746974376a..a0ceb776409 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTotalPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLineItemTotalPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set LineItemTotalPrice update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocaleChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocaleChangeImpl.java index 4ab64481fe2..7426305620e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocaleChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocaleChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -128,4 +130,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocalizedDescriptionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocalizedDescriptionChangeImpl.java index c32ddea5257..54af0646913 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocalizedDescriptionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocalizedDescriptionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -134,4 +136,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocalizedNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocalizedNameChangeImpl.java index 28c873e7b1d..ccbe2fd7376 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocalizedNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetLocalizedNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMaxApplicationsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMaxApplicationsChangeImpl.java index 8a0318493ce..34f2819fcf2 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMaxApplicationsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMaxApplicationsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Max Applications update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMaxApplicationsPerCustomerChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMaxApplicationsPerCustomerChangeImpl.java index d7cb17d2269..04d4ac4f163 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMaxApplicationsPerCustomerChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMaxApplicationsPerCustomerChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Max Applications Per Customer update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaDescriptionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaDescriptionChangeImpl.java index 77c0e81a0c7..fa099e4fa6c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaDescriptionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaDescriptionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaKeywordsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaKeywordsChangeImpl.java index 7af7931d798..6aa9a10fe6c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaKeywordsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaKeywordsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaTitleChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaTitleChangeImpl.java index 928c2f2f287..a0ead44f898 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaTitleChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMetaTitleChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoInterfaceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoInterfaceChangeImpl.java index c0a677a5823..07c893e488b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoInterfaceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoInterfaceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set MethodInfoInterface update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoMethodChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoMethodChangeImpl.java index 13185811309..5977788c225 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoMethodChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoMethodChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set MethodInfoInterface update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoNameChangeImpl.java index 2ee82563152..28817720694 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMethodInfoNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set MethodInfoName update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMiddleNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMiddleNameChangeImpl.java index 670d10a49b1..7b9650a3434 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMiddleNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetMiddleNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Middle Name update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetNameChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetNameChangeImpl.java index fb181a33c45..cf3b57c2240 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetNameChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetNameChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Name update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderLineItemCustomFieldChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderLineItemCustomFieldChangeImpl.java index f73687239fc..549e76d8741 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderLineItemCustomFieldChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderLineItemCustomFieldChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -201,4 +203,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("customTypeId", customTypeId) + .append("name", name) + .append("lineItem", lineItem) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderLineItemCustomTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderLineItemCustomTypeChangeImpl.java index 2160f1eca1f..693ade70fe5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderLineItemCustomTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderLineItemCustomTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderNumberChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderNumberChangeImpl.java index 7fb8edb5645..b7d9d6b865d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderNumberChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderNumberChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTaxedPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTaxedPriceChangeImpl.java index 98e0a11baa8..e3ad40caf74 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTaxedPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTaxedPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetOrderTaxedPriceChange @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTotalPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTotalPriceChangeImpl.java index 0d2f5c0cb71..b7b68551a29 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTotalPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTotalPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered automatically due to a user-initiated change.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTotalTaxChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTotalTaxChangeImpl.java index 852e94987da..2ae68e3c6f8 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTotalTaxChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetOrderTotalTaxChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set OrderTotalTax update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelItemsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelItemsChangeImpl.java index 4d2a3eba7a8..38f92f968ff 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelItemsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelItemsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -154,4 +156,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("parcel", parcel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelMeasurementsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelMeasurementsChangeImpl.java index 913d44bda3b..f09f3ec77ef 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelMeasurementsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelMeasurementsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("parcel", parcel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelTrackingDataChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelTrackingDataChangeImpl.java index e8390ff7c9d..6e786892e4d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelTrackingDataChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetParcelTrackingDataChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("parcel", parcel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPermissionsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPermissionsChangeImpl.java index 1d0c5a6ef65..068ca1bda4f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPermissionsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPermissionsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Permissions, Add Permission, and Remove Permission update actions.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPricesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPricesChangeImpl.java index 863feb428f0..6c780ba93ec 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPricesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPricesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Prices update action.

        @@ -170,4 +172,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductCountChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductCountChangeImpl.java index c11b91417cb..147a32df3ad 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductCountChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductCountChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered automatically by the Add Product or Remove Product update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductPriceCustomFieldChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductPriceCustomFieldChangeImpl.java index b112355376c..b45ea78ee13 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductPriceCustomFieldChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductPriceCustomFieldChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Price CustomField update action.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductPriceCustomTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductPriceCustomTypeChangeImpl.java index 1fcd70432de..e8b9cbafc8e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductPriceCustomTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductPriceCustomTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Price Custom Type update action.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductSelectionsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductSelectionsChangeImpl.java index 4f6c93cb0d2..2c07cc58372 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductSelectionsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductSelectionsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Product Selections update action.

        @@ -133,4 +135,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductVariantKeyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductVariantKeyChangeImpl.java index 3681eeee0a8..9eb264bd0d4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductVariantKeyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetProductVariantKeyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set ProductVariant Key update action.

        @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPropertyChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPropertyChangeImpl.java index 02bf4877c0f..c47737c7d46 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPropertyChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPropertyChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Update CustomObject request when an existing property is updated.

        @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("path", path) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPurchaseOrderNumberChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPurchaseOrderNumberChangeImpl.java index 9a8ae6e123d..a557bc0acde 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPurchaseOrderNumberChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetPurchaseOrderNumberChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetRatingChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetRatingChangeImpl.java index 449fb75877b..01718cf9c9c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetRatingChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetRatingChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Rating update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReservationsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReservationsChangeImpl.java index 5cde9b6659f..f2f26b36e99 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReservationsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReservationsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetReservationsChange @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetRestockableInDaysChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetRestockableInDaysChangeImpl.java index 62007e9bd8a..314fec71a2d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetRestockableInDaysChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetRestockableInDaysChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set RestockableInDays update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReturnPaymentStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReturnPaymentStateChangeImpl.java index 6a411fb8067..bbc9d22fccc 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReturnPaymentStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReturnPaymentStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReturnShipmentStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReturnShipmentStateChangeImpl.java index a5067b4de4d..43c8b9b91c6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReturnShipmentStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetReturnShipmentStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSalutationChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSalutationChangeImpl.java index 0b70dbee85b..bb2f481f355 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSalutationChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSalutationChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Salutation update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSearchKeywordsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSearchKeywordsChangeImpl.java index 95357a4786f..a2a12c3de75 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSearchKeywordsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSearchKeywordsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set SearchKeywords update action.

        @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSellerCommentChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSellerCommentChangeImpl.java index 744d1fb3d4d..62f970b794e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSellerCommentChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSellerCommentChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Seller Comment update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingAddressChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingAddressChangeImpl.java index 9e741e26aa5..ab519688b52 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingAddressChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingAddressChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingInfoPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingInfoPriceChangeImpl.java index 0b0f3ea936c..0d0c724b21a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingInfoPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingInfoPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetShippingInfoPriceChange @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingInfoTaxedPriceChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingInfoTaxedPriceChangeImpl.java index fcfc7054d44..1a760958821 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingInfoTaxedPriceChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingInfoTaxedPriceChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetShippingInfoTaxedPriceChange @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodChangeImpl.java index 1292a83b2e5..9d0531070bd 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set ShippingMethod update action.

        @@ -123,4 +125,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodTaxAmountChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodTaxAmountChangeImpl.java index f926b77d626..fdf65d6a6f3 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodTaxAmountChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodTaxAmountChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set ShippingMethod TaxAmount update action.

        @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodTaxRateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodTaxRateChangeImpl.java index 8ee5f2680d4..067599eee56 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodTaxRateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingMethodTaxRateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set ShippingMethod TaxRate update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("taxMode", taxMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingRateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingRateChangeImpl.java index 5f7554bdb85..5ec507fbca5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingRateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingRateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetShippingRateChange @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingRateInputChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingRateInputChangeImpl.java index a79792add79..c165c624199 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingRateInputChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShippingRateInputChangeImpl.java @@ -16,6 +16,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Shipping Rate Input update action.

        @@ -145,4 +147,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShoppingListLineItemCustomFieldChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShoppingListLineItemCustomFieldChangeImpl.java index 5b0fbb9d092..3bdafcde762 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShoppingListLineItemCustomFieldChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShoppingListLineItemCustomFieldChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set ShoppingListLineItem Custom Field update action.

        @@ -179,4 +181,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("name", name) + .append("customTypeId", customTypeId) + .append("lineItem", lineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShoppingListLineItemCustomTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShoppingListLineItemCustomTypeChangeImpl.java index f74927d9228..738024edaa9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShoppingListLineItemCustomTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetShoppingListLineItemCustomTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set ShoppingListLineItem Custom Type update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItem", lineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSkuChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSkuChangeImpl.java index a4b9fc24e23..bb0041633bb 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSkuChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSkuChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set SKU update action.

        @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSlugChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSlugChangeImpl.java index f4f206bb4f9..cee0d1ee4e9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSlugChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSlugChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Slug update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStateRolesChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStateRolesChangeImpl.java index 1fb17f1f4ca..0ff78fbc99f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStateRolesChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStateRolesChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set State roles update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStatusInterfaceCodeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStatusInterfaceCodeChangeImpl.java index 34876c2855b..04fb8391734 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStatusInterfaceCodeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStatusInterfaceCodeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set StatusInterfaceCode update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStatusInterfaceTextChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStatusInterfaceTextChangeImpl.java index a991af5c633..2ac72a04e56 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStatusInterfaceTextChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStatusInterfaceTextChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set StatusInterfaceText update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoreChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoreChangeImpl.java index 40e2b6917b2..f34113e3bcb 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoreChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoreChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoreModeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoreModeChangeImpl.java index 05849c28075..13428c64e74 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoreModeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoreModeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Store Mode update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoresChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoresChangeImpl.java index 353a6133dc8..690e722b447 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoresChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetStoresChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Stores update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSupplyChannelChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSupplyChannelChangeImpl.java index 4a8055af896..6a4e63a0ee8 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSupplyChannelChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSupplyChannelChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set SupplyChannel update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSupplyChannelsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSupplyChannelsChangeImpl.java index b2353a1b743..90588e49fb5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSupplyChannelsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetSupplyChannelsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Supply Channels update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTargetChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTargetChangeImpl.java index 18e42a3f2c5..a0a4f855d35 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTargetChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTargetChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Target update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTaxCategoryChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTaxCategoryChangeImpl.java index 8b28aacc738..1124589bb0e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTaxCategoryChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTaxCategoryChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set TaxCategory update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextChangeImpl.java index 23330f78748..80c5b32a5d6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Text update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemCustomFieldChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemCustomFieldChangeImpl.java index 78a25071ae5..f4d0e4746a6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemCustomFieldChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemCustomFieldChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set TextLineItem CustomField update action.

        @@ -178,4 +180,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("name", name) + .append("customTypeId", customTypeId) + .append("textLineItem", textLineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemCustomTypeChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemCustomTypeChangeImpl.java index db075471af2..2b11de0741b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemCustomTypeChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemCustomTypeChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set TextLineItem Custom Type update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("textLineItem", textLineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemDescriptionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemDescriptionChangeImpl.java index 5b7547ba8e1..a1c8863cb01 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemDescriptionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTextLineItemDescriptionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set TextLineItem Description update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("textLineItem", textLineItem) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTitleChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTitleChangeImpl.java index b0a29034172..4ca79fec85b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTitleChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTitleChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTransitionsChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTransitionsChangeImpl.java index fcdf87e91ff..14532e4b991 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTransitionsChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetTransitionsChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Transitions update action.

        @@ -131,4 +133,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidFromAndUntilChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidFromAndUntilChangeImpl.java index 3d4451cc8e4..cbc49919a55 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidFromAndUntilChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidFromAndUntilChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -128,4 +130,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidFromChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidFromChangeImpl.java index 0394aaf4469..a00c084a92e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidFromChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidFromChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidToChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidToChangeImpl.java index 4fc25dd9406..e9aa7a2552f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidToChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidToChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Valid To update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidUntilChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidUntilChangeImpl.java index 667a64be8c1..acb25f2f742 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidUntilChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValidUntilChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValueChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValueChangeImpl.java index 1c09d1393cb..ee56dd54ade 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValueChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetValueChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Update CustomObject request when a value of a property is updated.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVariantAvailabilityChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVariantAvailabilityChangeImpl.java index 17dfda4fe9a..625f9b4cb80 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVariantAvailabilityChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVariantAvailabilityChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered automatically when an InventoryEntry associated with a Product changes.

        @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("catalogData", catalogData) + .append("variant", variant) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVariantSelectionChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVariantSelectionChangeImpl.java index 88d653615d2..86036df8c76 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVariantSelectionChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVariantSelectionChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Variant Selection update action.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("product", product) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVatIdChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVatIdChangeImpl.java index dec71cc3930..c45148642dd 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVatIdChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/SetVatIdChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Set Vat ID update action.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionCustomLineItemStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionCustomLineItemStateChangeImpl.java index 98ddb9c1052..79cbb35cc38 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionCustomLineItemStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionCustomLineItemStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -172,4 +174,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItemId", lineItemId) + .append("stateId", stateId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionLineItemStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionLineItemStateChangeImpl.java index 86ae8a4b458..aba5e88bc35 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionLineItemStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionLineItemStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -172,4 +174,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .append("lineItemId", lineItemId) + .append("stateId", stateId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionStateChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionStateChangeImpl.java index e9d25f50ecd..43fed774e3b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionStateChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/TransitionStateChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -133,4 +135,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UnknownChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UnknownChangeImpl.java index cd59f5d9e7e..132ae74d15a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UnknownChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UnknownChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered when the format of changes on an entity is not identified by Audit Log.

        @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("previousValue", previousValue) + .append("nextValue", nextValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UnpublishChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UnpublishChangeImpl.java index 668bbcfbfab..5f48bf954bf 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UnpublishChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UnpublishChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the Unpublish update action.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UpdateSyncInfoChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UpdateSyncInfoChangeImpl.java index 5e4b98a6501..99fa28fb596 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UpdateSyncInfoChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/UpdateSyncInfoChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by the following update actions:

        @@ -122,4 +124,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).append(nextValue).append(channelId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .append("nextValue", nextValue) + .append("channelId", channelId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/VerifyEmailChangeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/VerifyEmailChangeImpl.java index 209731c62a7..7b80538d14b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/VerifyEmailChangeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change/VerifyEmailChangeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Change triggered by a Customer email verification.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(change).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("change", change) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ErrorObjectImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ErrorObjectImpl.java index 7d5ce1ba8e6..42bdb20c20a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ErrorObjectImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ErrorObjectImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ErrorObject @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ErrorResponseImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ErrorResponseImpl.java index 933cda00ffe..bd550adecf8 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ErrorResponseImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ErrorResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ErrorResponse @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("statusCode", statusCode) + .append("message", message) + .append("error", error) + .append("errorDescription", errorDescription) + .append("errors", errors) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ModifiedByImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ModifiedByImpl.java index ad4f16756a1..6c7d3542efe 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ModifiedByImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/ModifiedByImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Information about the user or API Client who performed the change. This is a variant of LastModifiedBy.

        @@ -189,4 +191,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("type", type) + .append("clientId", clientId) + .append("anonymousId", anonymousId) + .append("customer", customer) + .append("associate", associate) + .append("isPlatformClient", isPlatformClient) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/RecordImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/RecordImpl.java index 2c6ae389f7a..db5a0b04f69 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/RecordImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/RecordImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Captures the differences between the previous and next version of a resource.

        @@ -289,4 +291,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("previousVersion", previousVersion) + .append("type", type) + .append("modifiedBy", modifiedBy) + .append("modifiedAt", modifiedAt) + .append("label", label) + .append("previousLabel", previousLabel) + .append("changes", changes) + .append("resource", resource) + .append("stores", stores) + .append("businessUnit", businessUnit) + .append("withoutChanges", withoutChanges) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/RecordPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/RecordPagedQueryResponseImpl.java index e91559490ba..e4e33e06c46 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/RecordPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_history/RecordPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult with results containing an array of Record.

        @@ -147,4 +149,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/AssetChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/AssetChangeValueImpl.java index 6336bafdeaf..b8ccf940d9b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/AssetChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/AssetChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssetChangeValue @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/AttributeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/AttributeValueImpl.java index e6b2a0ffa8d..29fd7ff5396 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/AttributeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/AttributeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeValue @@ -93,4 +95,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetChangeValueImpl.java index 7276bc4a79a..ef6f4b98904 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeTargetChangeValue @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetCustomLineItemsChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetCustomLineItemsChangeValueImpl.java index 9ba4f731bf9..5aab8b93c68 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetCustomLineItemsChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetCustomLineItemsChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeTargetCustomLineItemsChangeValue @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(predicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetLineItemsChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetLineItemsChangeValueImpl.java index 8de15dd7b54..5f790fbe20b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetLineItemsChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetLineItemsChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeTargetLineItemsChangeValue @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(predicate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetMultiBuyCustomLineItemsChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetMultiBuyCustomLineItemsChangeValueImpl.java index 9ac824a182c..d1554817f84 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetMultiBuyCustomLineItemsChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetMultiBuyCustomLineItemsChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeTargetMultiBuyCustomLineItemsChangeValue @@ -161,4 +163,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .append("triggerQuantity", triggerQuantity) + .append("discountedQuantity", discountedQuantity) + .append("maxOccurrence", maxOccurrence) + .append("selectionMode", selectionMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetMultiBuyLineItemsChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetMultiBuyLineItemsChangeValueImpl.java index 88befa9604e..85ffbdf976e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetMultiBuyLineItemsChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetMultiBuyLineItemsChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeTargetMultiBuyLineItemsChangeValue @@ -161,4 +163,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("predicate", predicate) + .append("triggerQuantity", triggerQuantity) + .append("discountedQuantity", discountedQuantity) + .append("maxOccurrence", maxOccurrence) + .append("selectionMode", selectionMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetShippingChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetShippingChangeValueImpl.java index 9b63d96b9ec..8bb2bcac7f6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetShippingChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeTargetShippingChangeValueImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeTargetShippingChangeValue @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueAbsoluteChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueAbsoluteChangeValueImpl.java index bae2f698c26..3c3bdc323c6 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueAbsoluteChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueAbsoluteChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeValueAbsoluteChangeValue @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(money).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("money", money) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueChangeValueImpl.java index 650456adb7b..b3fe937569b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeValueChangeValue @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueExternalChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueExternalChangeValueImpl.java index 525e643670d..07dedb7a60e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueExternalChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueExternalChangeValueImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeValueExternalChangeValue @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueGiftLineItemChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueGiftLineItemChangeValueImpl.java index db4376f871b..659bbf18d5e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueGiftLineItemChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueGiftLineItemChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeValueGiftLineItemChangeValue @@ -142,4 +144,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("product", product) + .append("variantId", variantId) + .append("supplyChannel", supplyChannel) + .append("distributionChannel", distributionChannel) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueRelativeChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueRelativeChangeValueImpl.java index ae48aecd403..e560d997756 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueRelativeChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ChangeValueRelativeChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeValueRelativeChangeValue @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(permyriad).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("permyriad", permyriad) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/CustomFieldExpandedValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/CustomFieldExpandedValueImpl.java index b611cfcc5db..67baf54fd47 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/CustomFieldExpandedValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/CustomFieldExpandedValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Only present if expand is set to true.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(value).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("value", value) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/CustomShippingMethodChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/CustomShippingMethodChangeValueImpl.java index afa00a1f688..729745735ad 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/CustomShippingMethodChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/CustomShippingMethodChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomShippingMethodChangeValue @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/DeliveryChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/DeliveryChangeValueImpl.java index f21b40bfc93..d509f9fd7f9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/DeliveryChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/DeliveryChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryChangeValue @@ -113,4 +115,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(items).append(address).append(parcels).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("items", items) + .append("address", address) + .append("parcels", parcels) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/EnumValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/EnumValueImpl.java index ca4a60891bc..46a07703057 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/EnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/EnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * EnumValue @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/FieldDefinitionOrderValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/FieldDefinitionOrderValueImpl.java index 67316966d42..5d659f01952 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/FieldDefinitionOrderValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/FieldDefinitionOrderValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FieldDefinitionOrderValue @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/InventoryQuantityValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/InventoryQuantityValueImpl.java index 73fe3055f7d..3a709b88dff 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/InventoryQuantityValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/InventoryQuantityValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InventoryQuantityValue @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(quantityOnStock).append(availableQuantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quantityOnStock", quantityOnStock) + .append("availableQuantity", availableQuantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/LocalizedEnumValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/LocalizedEnumValueImpl.java index fee88c44494..73c39dd26fe 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/LocalizedEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/LocalizedEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LocalizedEnumValue @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ParcelChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ParcelChangeValueImpl.java index 115c1e7e002..b972137bf25 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ParcelChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ParcelChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ParcelChangeValue @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(createdAt).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("createdAt", createdAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/SetCartClassificationShippingRateInputValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/SetCartClassificationShippingRateInputValueImpl.java index 45c928d25b7..27748a233e4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/SetCartClassificationShippingRateInputValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/SetCartClassificationShippingRateInputValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetCartClassificationShippingRateInputValue @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/SetCartScoreShippingRateInputValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/SetCartScoreShippingRateInputValueImpl.java index 003d1b76eb9..cd7d82ffa3f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/SetCartScoreShippingRateInputValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/SetCartScoreShippingRateInputValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SetCartScoreShippingRateInputValue @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(score).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("score", score) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShippingMethodChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShippingMethodChangeValueImpl.java index 5758e986187..60264082c4d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShippingMethodChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShippingMethodChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodChangeValue @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShippingMethodTaxAmountChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShippingMethodTaxAmountChangeValueImpl.java index d9a5dff0823..d6ba201588c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShippingMethodTaxAmountChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShippingMethodTaxAmountChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingMethodTaxAmountChangeValue @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(taxedPrice).append(taxRate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("taxedPrice", taxedPrice) + .append("taxRate", taxRate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShoppingListLineItemValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShoppingListLineItemValueImpl.java index 7853a343727..dd372ad5955 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShoppingListLineItemValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ShoppingListLineItemValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShoppingListLineItemValue @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(name).append(variantId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .append("variantId", variantId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/TextLineItemValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/TextLineItemValueImpl.java index 9188a5506f7..4785b1f02a3 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/TextLineItemValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/TextLineItemValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TextLineItemValue @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/TransactionChangeValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/TransactionChangeValueImpl.java index 2465a37b84d..0abe2b1056c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/TransactionChangeValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/TransactionChangeValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TransactionChangeValue @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(interactionId).append(timestamp).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("interactionId", interactionId) + .append("timestamp", timestamp) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ValidFromAndUntilValueImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ValidFromAndUntilValueImpl.java index cc541f39d23..36a7b9bc666 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ValidFromAndUntilValueImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/change_value/ValidFromAndUntilValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ValidFromAndUntilValue @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(validFrom).append(validUntil).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("validFrom", validFrom) + .append("validUntil", validUntil) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AddressImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AddressImpl.java index 3904f4c380b..907babd6cb0 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AddressImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AddressImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Address @@ -515,4 +517,34 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("title", title) + .append("salutation", salutation) + .append("firstName", firstName) + .append("lastName", lastName) + .append("streetName", streetName) + .append("streetNumber", streetNumber) + .append("additionalStreetInfo", additionalStreetInfo) + .append("postalCode", postalCode) + .append("city", city) + .append("region", region) + .append("state", state) + .append("country", country) + .append("company", company) + .append("department", department) + .append("building", building) + .append("apartment", apartment) + .append("pOBox", pOBox) + .append("phone", phone) + .append("mobile", mobile) + .append("email", email) + .append("fax", fax) + .append("additionalAddressInfo", additionalAddressInfo) + .append("externalId", externalId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetDimensionsImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetDimensionsImpl.java index 60c86204e5e..e6aaed77003 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetDimensionsImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetDimensionsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssetDimensions @@ -81,4 +83,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(w).append(h).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("w", w).append("h", h).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetImpl.java index 206b8ea6a77..8ec87af0b71 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Asset @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .append("description", description) + .append("custom", custom) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetSourceImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetSourceImpl.java index bb19678edf0..505620ca7ee 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetSourceImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssetSourceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssetSource @@ -121,4 +123,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(uri).append(key).append(dimensions).append(contentType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("uri", uri) + .append("key", key) + .append("dimensions", dimensions) + .append("contentType", contentType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssociateImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssociateImpl.java index 1be163dec72..db687234409 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssociateImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssociateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Associate @@ -93,4 +95,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRoleAssignments).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("associateRoleAssignments", associateRoleAssignments) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssociateRoleAssignmentImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssociateRoleAssignmentImpl.java index cc854690232..9d21501476e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssociateRoleAssignmentImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AssociateRoleAssignmentImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleAssignment @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).append(inheritance).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .append("inheritance", inheritance) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AttributeDefinitionImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AttributeDefinitionImpl.java index 372d3e03a54..f5a5ade7fab 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AttributeDefinitionImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AttributeDefinitionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeDefinition @@ -203,4 +205,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("label", label) + .append("isRequired", isRequired) + .append("attributeConstraint", attributeConstraint) + .append("inputTip", inputTip) + .append("inputHint", inputHint) + .append("isSearchable", isSearchable) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AttributeTypeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AttributeTypeImpl.java index 8c7c517a53d..87270ed377d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AttributeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/AttributeTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeType @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CategoryOrderHintsImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CategoryOrderHintsImpl.java index bdca616f056..79e343cad6a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CategoryOrderHintsImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CategoryOrderHintsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryOrderHints @@ -69,4 +71,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CustomFieldsImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CustomFieldsImpl.java index 25c4e76dc7e..03c9023db28 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CustomFieldsImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CustomFieldsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomFields @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CustomLineItemImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CustomLineItemImpl.java index 8663d7e8e66..e55fedcae6a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CustomLineItemImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/CustomLineItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomLineItem @@ -182,4 +184,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .append("money", money) + .append("taxedPrice", taxedPrice) + .append("totalPrice", totalPrice) + .append("slug", slug) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DeliveryImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DeliveryImpl.java index 390497720cc..b698240bf79 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DeliveryImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DeliveryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Delivery @@ -171,4 +173,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("createdAt", createdAt) + .append("items", items) + .append("parcels", parcels) + .append("address", address) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DeliveryItemImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DeliveryItemImpl.java index 905e2155bb8..748b33d69f5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DeliveryItemImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DeliveryItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryItem @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(quantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountCodeInfoImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountCodeInfoImpl.java index 433f7252305..c0e795dc970 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountCodeInfoImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountCodeInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeInfo @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(discountCode).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("discountCode", discountCode) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPortionImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPortionImpl.java index fc668da0572..b5f39321e6d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPortionImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPortionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPortion @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(discount).append(discountedAmount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("discount", discount) + .append("discountedAmount", discountedAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPriceForQuantityImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPriceForQuantityImpl.java index ab0078e70ec..895c0f6b620 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPriceForQuantityImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPriceForQuantityImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPriceForQuantity @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(quantity).append(discountedPrice).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quantity", quantity) + .append("discountedPrice", discountedPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPriceImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPriceImpl.java index 91cb686b623..22c86d241c9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPriceImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/DiscountedLineItemPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPrice @@ -92,4 +94,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(includedDiscounts).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("includedDiscounts", includedDiscounts) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/FieldDefinitionImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/FieldDefinitionImpl.java index 5ccabcaaae5..c9f68348058 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/FieldDefinitionImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/FieldDefinitionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FieldDefinition @@ -122,4 +124,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(name).append(label).append(inputHint).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("label", label) + .append("inputHint", inputHint) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/FieldTypeImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/FieldTypeImpl.java index e196aaf6e48..592342cd246 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/FieldTypeImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/FieldTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FieldType @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/GeoLocationImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/GeoLocationImpl.java index 5dfc5562d9c..557afd6fa77 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/GeoLocationImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/GeoLocationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GeoLocation @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(coordinates).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("coordinates", coordinates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ImageDimensionsImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ImageDimensionsImpl.java index 9e080a8b5ba..670be6dddc8 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ImageDimensionsImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ImageDimensionsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ImageDimensions @@ -81,4 +83,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(w).append(h).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("w", w).append("h", h).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ImageImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ImageImpl.java index 38cb649413a..3cd87d91390 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ImageImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ImageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Image @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(url).append(dimensions).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("url", url) + .append("dimensions", dimensions) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/InheritedAssociateImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/InheritedAssociateImpl.java index 4f94b3c708d..926ff94c46e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/InheritedAssociateImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/InheritedAssociateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InheritedAssociate @@ -93,4 +95,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRoleAssignments).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("associateRoleAssignments", associateRoleAssignments) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/InheritedAssociateRoleAssignmentImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/InheritedAssociateRoleAssignmentImpl.java index efbde07db47..0f2563e20a1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/InheritedAssociateRoleAssignmentImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/InheritedAssociateRoleAssignmentImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InheritedAssociateRoleAssignment @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(associateRole).append(source).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("associateRole", associateRole) + .append("source", source) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemShippingDetailsImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemShippingDetailsImpl.java index 80523a391cc..491bc884ca2 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemShippingDetailsImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemShippingDetailsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ItemShippingDetails @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(targets).append(valid).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("targets", targets) + .append("valid", valid) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemShippingTargetImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemShippingTargetImpl.java index 3982afbaffa..db7ef7856f0 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemShippingTargetImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemShippingTargetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ItemShippingTarget @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(addressKey).append(quantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("addressKey", addressKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemStateImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemStateImpl.java index 5e8371c7472..680a687f265 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemStateImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ItemStateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ItemState @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(quantity).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quantity", quantity) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/KeyReferenceImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/KeyReferenceImpl.java index f2b7343f292..d666164a993 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/KeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/KeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * KeyReference @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LineItemImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LineItemImpl.java index e0678629f95..94c0f678d05 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LineItemImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LineItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LineItem @@ -240,4 +242,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("addedAt", addedAt) + .append("custom", custom) + .append("id", id) + .append("name", name) + .append("productId", productId) + .append("productSlug", productSlug) + .append("productType", productType) + .append("quantity", quantity) + .append("variant", variant) + .append("variantId", variantId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LocalizedStringImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LocalizedStringImpl.java index 7e9bbb4b767..76a9e973d85 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LocalizedStringImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LocalizedStringImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LocalizedString @@ -69,4 +71,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LocationImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LocationImpl.java index 8595b45388e..59a562941d4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LocationImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/LocationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Shape of the value for addLocation and removeLocation actions

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(country).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("country", country) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/MoneyImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/MoneyImpl.java index 9008a37df43..4fb0b7f3a0e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/MoneyImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/MoneyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Money @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("currencyCode", currencyCode) + .append("centAmount", centAmount) + .append("fractionDigits", fractionDigits) + .append("type", type) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ParcelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ParcelImpl.java index 22f9c0ae06f..b08ee1e4d39 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ParcelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ParcelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Parcel @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("createdAt", createdAt) + .append("measurements", measurements) + .append("trackingData", trackingData) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ParcelMeasurementsImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ParcelMeasurementsImpl.java index d4e8cec72ee..66137991b49 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ParcelMeasurementsImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ParcelMeasurementsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ParcelMeasurements @@ -126,4 +128,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("heightInMillimeter", heightInMillimeter) + .append("lengthInMillimeter", lengthInMillimeter) + .append("widthInMillimeter", widthInMillimeter) + .append("weightInGram", weightInGram) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/PaymentInfoImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/PaymentInfoImpl.java index bb841943539..5fe2610cb5b 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/PaymentInfoImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/PaymentInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentInfo @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(payments).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("payments", payments).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/PriceImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/PriceImpl.java index 4df5e1e8c8c..8bcb9dbaa90 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/PriceImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/PriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Price @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductSelectionSettingImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductSelectionSettingImpl.java index 26ed8c04f6b..6dc646adc58 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductSelectionSettingImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductSelectionSettingImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductSelectionSetting @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(productSelection).append(active).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productSelection", productSelection) + .append("active", active) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantAvailabilityImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantAvailabilityImpl.java index 4f394e54bd3..977c4dd417c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantAvailabilityImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantAvailabilityImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductVariantAvailability @@ -127,4 +129,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("isOnStock", isOnStock) + .append("restockableInDays", restockableInDays) + .append("availableQuantity", availableQuantity) + .append("channels", channels) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantChannelAvailabilityImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantChannelAvailabilityImpl.java index 5146bd2590b..35616b19b36 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantChannelAvailabilityImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantChannelAvailabilityImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductVariantChannelAvailability @@ -107,4 +109,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("isOnStock", isOnStock) + .append("restockableInDays", restockableInDays) + .append("availableQuantity", availableQuantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantChannelAvailabilityMapImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantChannelAvailabilityMapImpl.java index 3814031ef3d..ff060a4e76f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantChannelAvailabilityMapImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantChannelAvailabilityMapImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductVariantChannelAvailabilityMap @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantSelectionImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantSelectionImpl.java index 7c85f428653..11baa6970b2 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantSelectionImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ProductVariantSelectionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductVariantSelection @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(skus).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("skus", skus) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReferenceImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReferenceImpl.java index ea56c1f6f0e..d4d67e9cb42 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Reference @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReservationImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReservationImpl.java index b3a2d8f1653..8a390b49e3a 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReservationImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReservationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Reservation @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quantity", quantity) + .append("owner", owner) + .append("createdAt", createdAt) + .append("checkoutStartedAt", checkoutStartedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ResourceIdentifierImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ResourceIdentifierImpl.java index c2bb07f729d..bae6d2d6d9d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ResourceIdentifierImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ResourceIdentifierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ResourceIdentifier @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReturnInfoImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReturnInfoImpl.java index d68961c0523..87a7f275979 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReturnInfoImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReturnInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReturnInfo @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(items).append(returnTrackingId).append(returnDate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("items", items) + .append("returnTrackingId", returnTrackingId) + .append("returnDate", returnDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReturnItemImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReturnItemImpl.java index ab96482651c..ec2b445097f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReturnItemImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReturnItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReturnItem @@ -200,4 +202,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("quantity", quantity) + .append("type", type) + .append("comment", comment) + .append("shipmentState", shipmentState) + .append("paymentState", paymentState) + .append("lastModifiedAt", lastModifiedAt) + .append("createdAt", createdAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReviewRatingStatisticsImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReviewRatingStatisticsImpl.java index a9c607320c2..38586d681ca 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReviewRatingStatisticsImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ReviewRatingStatisticsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewRatingStatistics @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("averageRating", averageRating) + .append("highestRating", highestRating) + .append("lowestRating", lowestRating) + .append("count", count) + .append("ratingsDistribution", ratingsDistribution) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SearchKeywordImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SearchKeywordImpl.java index facb668e5f0..3cac54b8bbd 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SearchKeywordImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SearchKeywordImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SearchKeyword @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(text).append(suggestTokenizer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("text", text) + .append("suggestTokenizer", suggestTokenizer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SearchKeywordsImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SearchKeywordsImpl.java index 4c4a747c02b..56c707e1f95 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SearchKeywordsImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SearchKeywordsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SearchKeywords @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ShippingRateImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ShippingRateImpl.java index 8b21b3a976e..90041dd5905 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ShippingRateImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ShippingRateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRate @@ -130,4 +132,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("price", price) + .append("freeAbove", freeAbove) + .append("isMatching", isMatching) + .append("tiers", tiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ShippingRatePriceTierImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ShippingRatePriceTierImpl.java index a70f763292a..c48f821e9a0 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ShippingRatePriceTierImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/ShippingRatePriceTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRatePriceTier @@ -67,4 +69,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/StoreCountryImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/StoreCountryImpl.java index 57f706086f3..eceb43d1df4 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/StoreCountryImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/StoreCountryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StoreCountry @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SubRateImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SubRateImpl.java index e9f4bba73f2..6d0da7a9067 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SubRateImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SubRateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SubRate @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(amount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("amount", amount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SuggestTokenizerImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SuggestTokenizerImpl.java index fd4a7f69723..49f9897cfb1 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SuggestTokenizerImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SuggestTokenizerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SuggestTokenizer @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SyncInfoImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SyncInfoImpl.java index 3c1f7d4ee6d..4791f50c553 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SyncInfoImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/SyncInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SyncInfo @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(channel).append(externalId).append(syncedAt).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("channel", channel) + .append("externalId", externalId) + .append("syncedAt", syncedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxRateImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxRateImpl.java index b69943bb28e..162bba3baf8 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxRateImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxRateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Shape of the value for addTaxRate and removeTaxRate actions

        @@ -185,4 +187,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .append("amount", amount) + .append("includedInPrice", includedInPrice) + .append("country", country) + .append("state", state) + .append("subRates", subRates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxedItemPriceImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxedItemPriceImpl.java index 3c2bd29542c..227e0fda3da 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxedItemPriceImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxedItemPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxedItemPrice @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalNet).append(totalGross).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalNet", totalNet) + .append("totalGross", totalGross) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxedPriceImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxedPriceImpl.java index 0d3b8561d80..5c6aee18a98 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TaxedPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxedPrice @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalNet).append(totalGross).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalNet", totalNet) + .append("totalGross", totalGross) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TextLineItemImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TextLineItemImpl.java index a510263a1f7..1becb1ff6c7 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TextLineItemImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TextLineItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TextLineItem @@ -164,4 +166,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("addedAt", addedAt) + .append("custom", custom) + .append("description", description) + .append("id", id) + .append("name", name) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TrackingDataImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TrackingDataImpl.java index a565eda652c..2f75adbb8b9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TrackingDataImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TrackingDataImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TrackingData @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("trackingId", trackingId) + .append("carrier", carrier) + .append("provider", provider) + .append("providerTransaction", providerTransaction) + .append("isReturn", isReturn) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TransactionImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TransactionImpl.java index 8658c47c75d..918f945cf9d 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TransactionImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/TransactionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Transaction @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("timestamp", timestamp) + .append("type", type) + .append("amount", amount) + .append("interactionId", interactionId) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/VariantImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/VariantImpl.java index fc8e7f2263a..5cb45083eb5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/VariantImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/common/VariantImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Variant @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(sku).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("sku", sku) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/AssociateRoleLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/AssociateRoleLabelImpl.java index d787544b8da..45b6dd88431 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/AssociateRoleLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/AssociateRoleLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AssociateRoleLabel @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/BusinessUnitLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/BusinessUnitLabelImpl.java index 7bb67b4f676..5a86dc266a3 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/BusinessUnitLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/BusinessUnitLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * BusinessUnitLabel @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/CustomObjectLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/CustomObjectLabelImpl.java index 2dbee99332f..6f7e7a6c0c5 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/CustomObjectLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/CustomObjectLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomObjectLabel @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(container).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("container", container) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/CustomerLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/CustomerLabelImpl.java index 62df105261e..0d18b04b689 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/CustomerLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/CustomerLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomerLabel @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("firstName", firstName) + .append("lastName", lastName) + .append("customerNumber", customerNumber) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/LabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/LabelImpl.java index 9c6b1380ae2..b6d9e0bd137 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/LabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/LabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Provides descriptive information specific to the resource.

        @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/LocalizedLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/LocalizedLabelImpl.java index 996d0e8d5b6..1c6a480fc3c 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/LocalizedLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/LocalizedLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LocalizedLabel @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/OrderLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/OrderLabelImpl.java index dc12cb7d76a..258776fed0e 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/OrderLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/OrderLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OrderLabel @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(customerEmail).append(orderNumber).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("customerEmail", customerEmail) + .append("orderNumber", orderNumber) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/PaymentLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/PaymentLabelImpl.java index 0cd06919934..8d64954eb5f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/PaymentLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/PaymentLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * PaymentLabel @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(amountPlanned).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("amountPlanned", amountPlanned) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/ProductLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/ProductLabelImpl.java index e4eaa5e2075..4d7f198af6f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/ProductLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/ProductLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductLabel @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(slug).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("slug", slug) + .append("name", name) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/QuoteLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/QuoteLabelImpl.java index d86ff16bfa5..cec6d341ba9 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/QuoteLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/QuoteLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteLabel @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("customer", customer) + .append("stagedQuote", stagedQuote) + .append("quoteRequest", quoteRequest) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/QuoteRequestLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/QuoteRequestLabelImpl.java index 602f59fbdf2..915d7ad8a80 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/QuoteRequestLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/QuoteRequestLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * QuoteRequestLabel @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(customer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("customer", customer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/ReviewLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/ReviewLabelImpl.java index 082d6164b14..5c127b04c65 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/ReviewLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/ReviewLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReviewLabel @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(title).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("title", title) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/StagedQuoteLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/StagedQuoteLabelImpl.java index ac0942db9bf..fbe9dcf4631 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/StagedQuoteLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/StagedQuoteLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StagedQuoteLabel @@ -118,4 +120,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(customer).append(quoteRequest).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("customer", customer) + .append("quoteRequest", quoteRequest) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/StringLabelImpl.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/StringLabelImpl.java index 9b0e8593fcb..b8e2a044157 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/StringLabelImpl.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/label/StringLabelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * StringLabel @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportImpl.java index 874d48ca73d..d326fb37fa9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for a Category to be imported that is persisted as a Category in the Project.

        @@ -281,4 +283,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("slug", slug) + .append("description", description) + .append("parent", parent) + .append("orderHint", orderHint) + .append("externalId", externalId) + .append("metaTitle", metaTitle) + .append("metaDescription", metaDescription) + .append("metaKeywords", metaKeywords) + .append("assets", assets) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressImpl.java index 104518cc5d1..de6db4052e3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Address @@ -534,4 +536,35 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("key", key) + .append("title", title) + .append("salutation", salutation) + .append("firstName", firstName) + .append("lastName", lastName) + .append("streetName", streetName) + .append("streetNumber", streetNumber) + .append("additionalStreetInfo", additionalStreetInfo) + .append("postalCode", postalCode) + .append("city", city) + .append("region", region) + .append("state", state) + .append("country", country) + .append("company", company) + .append("department", department) + .append("building", building) + .append("apartment", apartment) + .append("pOBox", pOBox) + .append("phone", phone) + .append("mobile", mobile) + .append("email", email) + .append("fax", fax) + .append("additionalAddressInfo", additionalAddressInfo) + .append("externalId", externalId) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetDimensionsImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetDimensionsImpl.java index 9f0c85f6b71..4a73b4097a7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetDimensionsImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetDimensionsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The width and height of the Asset Source.

        @@ -81,4 +83,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(w).append(h).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("w", w).append("h", h).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetImpl.java index 7632db22b35..7249065c7de 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Asset @@ -182,4 +184,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("sources", sources) + .append("name", name) + .append("description", description) + .append("tags", tags) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetSourceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetSourceImpl.java index 6e34cc19926..576ca628f15 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetSourceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetSourceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        An AssetSource is a representation of an Asset in a specific format, for example, a video in a certain encoding or an image in a certain resolution.

        @@ -121,4 +123,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(uri).append(key).append(dimensions).append(contentType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("uri", uri) + .append("key", key) + .append("dimensions", dimensions) + .append("contentType", contentType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceImpl.java index e9eb72aff0e..4287f80878c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a cart discount by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceImpl.java index 94368214740..d702673c89a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a cart by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceImpl.java index 8234e4f914f..7cc8b97f462 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a category by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceImpl.java index f4d0dfe25da..cccb4016ec1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a channel by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceImpl.java index 0ffb75cb07b..dfa99b6bfee 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a key value document by key.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).append(container).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .append("container", container) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceImpl.java index 82d1db91d58..cc31ad9cc8c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a customer group by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceImpl.java index d90c93a84ca..a264d24f8db 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a customer by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceImpl.java index 4320be67d36..714de0d959c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a discount code by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceImpl.java index bec5bbdf212..7495ea133ab 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedPrice @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(discount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("discount", discount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/EnumValueImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/EnumValueImpl.java index bdc161dbb32..950466dc1e5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/EnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/EnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * EnumValue @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyImpl.java index c9b566bf512..7596ca3967c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * HighPrecisionMoney @@ -140,4 +142,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("fractionDigits", fractionDigits) + .append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .append("preciseAmount", preciseAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImageImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImageImpl.java index 6b10eb72c6f..bbf650d5c49 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImageImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImageImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        An Image uploaded to commercetools Composable Commerce is stored in a Content Delivery Network and it's available in several pre-defined sizes. If you already have an image stored on an external service, you can save the URL when creating a new product or adding a variant, or you can add it later.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(url).append(dimensions).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("url", url) + .append("dimensions", dimensions) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImportResourceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImportResourceImpl.java index 5c935c606db..c8b8aff01c3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImportResourceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImportResourceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A representation of the resource to import. Import resources are similar to draft types, but they only support key references. In general, import resources are more granular then regular resources. They are optimized for incremental updates and therefore have a slightly different structure.

        @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReferenceImpl.java index e0af6a29bbf..a49ddf04e1c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a resource by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedEnumValueImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedEnumValueImpl.java index 41f9df751a9..7cd474a2e7e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LocalizedEnumValue @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedStringImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedStringImpl.java index 12aca4e8e60..41f1094ee33 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedStringImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedStringImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

        @@ -74,4 +76,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyImpl.java index 82f1324c592..b8be634fdde 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Money @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("fractionDigits", fractionDigits) + .append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceImpl.java index 3b542fccab1..252dd158392 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References an order by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceImpl.java index 4824ec62407..4bdbad75440 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a payment by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceImpl.java index 0ad59827a19..16df294cdc6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a price by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceTierImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceTierImpl.java index 79a4b5a3329..6c2ecd059b9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceTierImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A price tier is selected instead of the default price when a certain quantity of the ProductVariant is added to a cart and ordered.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(minimumQuantity).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("minimumQuantity", minimumQuantity) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceImpl.java index a0e161daa6f..82cf099b836 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a product discount by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceImpl.java index c72185022cb..6a624d59fbe 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a product by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceImpl.java index b4b1ad993da..a555805f6e6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a product type by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceImpl.java index 8b092ac5b56..fd78be54f0e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a product variant by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceImpl.java index fc3f1b8f2c5..c461ae51c9c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a shipping method by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceImpl.java index 31955ad2cdc..1c6e4a34796 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a state by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceImpl.java index ebc68af48e6..aa45c7314e5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a store by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceImpl.java index bdf45ebb396..f12081913da 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a tax category by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceImpl.java index fde74f70296..907b065070a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        References a type by key.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoneyImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoneyImpl.java index 923f7bde015..0483d5e58cf 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoneyImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoneyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TypedMoney @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("fractionDigits", fractionDigits) + .append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesImpl.java index f5bdf0db0d0..3f3df4c8ba8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * UnresolvedReferences @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(typeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("typeId", typeId) + .build(); + } + } 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 40fbb5f75ce..2ef562e6767 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Different from Address in that key is required and id is not supported.

        @@ -515,4 +517,34 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("title", title) + .append("salutation", salutation) + .append("firstName", firstName) + .append("lastName", lastName) + .append("streetName", streetName) + .append("streetNumber", streetNumber) + .append("additionalStreetInfo", additionalStreetInfo) + .append("postalCode", postalCode) + .append("city", city) + .append("region", region) + .append("state", state) + .append("country", country) + .append("company", company) + .append("department", department) + .append("building", building) + .append("apartment", apartment) + .append("pOBox", pOBox) + .append("phone", phone) + .append("mobile", mobile) + .append("email", email) + .append("fax", fax) + .append("additionalAddressInfo", additionalAddressInfo) + .append("externalId", externalId) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportImpl.java index 9b40f97f077..23249460c89 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for a Customer to be imported that is persisted as a Customer in the Project.

        @@ -523,4 +525,33 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("customerNumber", customerNumber) + .append("email", email) + .append("password", password) + .append("stores", stores) + .append("firstName", firstName) + .append("lastName", lastName) + .append("middleName", middleName) + .append("title", title) + .append("salutation", salutation) + .append("externalId", externalId) + .append("dateOfBirth", dateOfBirth) + .append("companyName", companyName) + .append("vatId", vatId) + .append("isEmailVerified", isEmailVerified) + .append("customerGroup", customerGroup) + .append("addresses", addresses) + .append("defaultBillingAddress", defaultBillingAddress) + .append("billingAddresses", billingAddresses) + .append("defaultShippingAddress", defaultShippingAddress) + .append("shippingAddresses", shippingAddresses) + .append("locale", locale) + .append("custom", custom) + .append("authenticationMode", authenticationMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldImpl.java index 9d456adc1ad..f01d4f51761 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a boolean value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldImpl.java index 87e351aa996..88071b5caa8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a boolean set value.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomFieldImpl.java index 918ddf3170b..b6535416293 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Provides the value for a Custom Field of a specific type.

        @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomImpl.java index 9e6e18fc8b5..92752041a05 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The representation to be sent to the server when creating a resource with Custom Fields.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldImpl.java index e513ada92af..f5ff49a919a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a date value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldImpl.java index 64a9d26b3c9..b39b9d19eb6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a date set value.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldImpl.java index e8b970ca85b..245cc77a2b2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a date time value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldImpl.java index 2e8bdd10e9a..9cb9dd92743 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a date time set value.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldImpl.java index d29399043d8..3690a8640a2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with an enum value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldImpl.java index 13e0a028a1a..9b5a66a2d41 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with an enum set value.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/FieldContainerImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/FieldContainerImpl.java index 5c1117a914c..9ef32f48da5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/FieldContainerImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/FieldContainerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Maps the Custom Field names to actual values.

        @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldImpl.java index ef32e293343..1bbed145ab5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a localized enum value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldImpl.java index 6f6ffb4462c..7a6b2739f59 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a localized enum set value.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldImpl.java index f69025ebe56..68511ccefb8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a localized string value.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldImpl.java index 0a76327cfee..247404326d1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a localized string set value.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldImpl.java index 51f0d054dc1..dac04a07a57 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a money value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldImpl.java index c9a045f9b0f..7f94920b3da 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a money set value.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldImpl.java index 3f70b6b6eaa..2da4de223b5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a number value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldImpl.java index e40d5f8ebf2..8cef0877ee7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a number value.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceFieldImpl.java index a0a53e81262..ad0588f6a0b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a reference value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldImpl.java index 0f4257ebe68..1f152b136f2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a reference set value.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldImpl.java index 2ceb6c324ed..7acd314849f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a string value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldImpl.java index 65c6732b67a..ffbc3fa240a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a string set value.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldImpl.java index 097b074cd18..077ec99687a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a time value.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldImpl.java index 89cb289c139..732abfe5edc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A field with a time set value.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/AccessDeniedErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/AccessDeniedErrorImpl.java index 1af232cb0d0..045bd382bd3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/AccessDeniedErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/AccessDeniedErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This is the generic error code for access denied. In case of a wrong scope, an InvalidScopeError will be returned.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ConcurrentModificationErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ConcurrentModificationErrorImpl.java index 12ca09649bf..0bec9ebd230 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ConcurrentModificationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ConcurrentModificationErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request conflicts with the current state of the involved resources. This error typically occurs when the request attempts to modify a resource that is out of date, that is, it has been modified by another client since the last time it was retrieved by the system attempting to update it. The client application should resolve the conflict (with or without involving the end-user) before retrying the request.

        @@ -141,4 +143,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("specifiedVersion", specifiedVersion) + .append("currentVersion", currentVersion) + .append("conflictedResource", conflictedResource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ContentionErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ContentionErrorImpl.java index 1affff592c3..3868698dcf9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ContentionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ContentionErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ContentionError @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateAttributeValueErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateAttributeValueErrorImpl.java index 421aa0c91b0..ad447dfdae7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateAttributeValueErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateAttributeValueErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The Unique AttributeConstraintEnum was violated.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(attribute).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("attribute", attribute) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateAttributeValuesErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateAttributeValuesErrorImpl.java index d0d1251e760..9a50490175a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateAttributeValuesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateAttributeValuesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The CombinationUnique AttributeConstraintEnum was violated.

        @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(attributes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateFieldErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateFieldErrorImpl.java index c2150872b13..2e9592f2bc3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The given value already exists for a field that is checked for unique values.

        @@ -121,4 +123,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("field", field) + .append("duplicateValue", duplicateValue) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateVariantValuesErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateVariantValuesErrorImpl.java index f286194f4b5..2803fda25a6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateVariantValuesErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/DuplicateVariantValuesErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The given combination of values of a Product Variant conflicts with an existing one. Every Product Variant must have a distinct combination of SKU, prices, and custom attribute values.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(variantValues).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("variantValues", variantValues) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ErrorObjectImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ErrorObjectImpl.java index 013ffda3a3f..7381ec9aab8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ErrorObjectImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ErrorObjectImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ErrorObject @@ -81,4 +83,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ErrorResponseImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ErrorResponseImpl.java index f193bcaeb7f..f14f1fce6c9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ErrorResponseImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ErrorResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The response in case of an error.

        @@ -148,4 +150,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("statusCode", statusCode) + .append("message", message) + .append("error", error) + .append("errorDescription", errorDescription) + .append("errors", errors) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/GenericErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/GenericErrorImpl.java index 0246245ca36..fc189aa201f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/GenericErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/GenericErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GenericError @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InsufficientScopeErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InsufficientScopeErrorImpl.java index 25a61c23d20..254ce3c365b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InsufficientScopeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InsufficientScopeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InsufficientScopeError @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidCredentialsErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidCredentialsErrorImpl.java index 78f4a9c8124..c1b496605a0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidCredentialsErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidCredentialsErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InvalidCredentialsError @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorImpl.java index 41e9dc0c7fa..a3404e93ad1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A given field is not supported. This error occurs, for example, if the field variants, which is not supported by Product Import, is sent to the Product Import endpoint.

        @@ -163,4 +165,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("field", field) + .append("invalidValue", invalidValue) + .append("allowedValues", allowedValues) + .append("resourceIndex", resourceIndex) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidInputImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidInputImpl.java index 74fbfaa4f8a..ac34433ca52 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidInputImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        An invalid input has been sent to the service. The client application should validate the input according to the constraints described in the error message before sending the request again.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidJsonInputImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidJsonInputImpl.java index 10ecc7d5d4e..d50d0304a6c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidJsonInputImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidJsonInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        An invalid JSON input has been sent to the service. Either the JSON is syntactically incorrect or the JSON has an unexpected shape, for example, a required field is missing. The client application should validate the input according to the constraints described in the error message before sending the request again.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidOperationImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidOperationImpl.java index b8cf5ee8bec..2774e282c4a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidOperationImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidOperationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The resources in the request are not in the valid state for the operation. The client application should validate the constraints described in the error message before sending the request again.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidScopeErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidScopeErrorImpl.java index c482a2eaf6d..fc09d55fb5e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidScopeErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidScopeErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.

        @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidStateTransitionErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidStateTransitionErrorImpl.java index b26cc3f9faf..ceeca2e0128 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidStateTransitionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidStateTransitionErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InvalidStateTransitionError @@ -122,4 +124,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("currentState", currentState) + .append("newState", newState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidTokenErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidTokenErrorImpl.java index b5a5718465f..dcbd1ab33d6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidTokenErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidTokenErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * InvalidTokenError @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/RequiredFieldErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/RequiredFieldErrorImpl.java index 96c48469039..1f8bf328998 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/RequiredFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/RequiredFieldErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A required field is missing a value.

        @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(field).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("field", field) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorImpl.java index a1832524843..b52d4b5f3ed 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ResourceCreationError @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(resource).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("resource", resource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorImpl.java index 4ea49720066..92fdfdae35a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ResourceDeletionError @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(resource).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("resource", resource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorImpl.java index 5d3b842bca7..e41f1b73ecc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ResourceNotFoundError @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(resource).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("resource", resource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorImpl.java index ec35e1f2306..dea308db2aa 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ResourceUpdateError @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(code).append(message).append(resource).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("code", code) + .append("message", message) + .append("resource", resource) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesImpl.java index d7c8acdfa71..b765acc9b38 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * VariantValues @@ -113,4 +115,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(sku).append(prices).append(attributes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("sku", sku) + .append("prices", prices) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftImpl.java index 096c60621dc..6abef4bafad 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The representation sent to the server when creating an ImportContainer.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(resourceType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("resourceType", resourceType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerImpl.java index a81dbe9c73b..940ce9926fe 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Serves as the entry point of resources. An Import Container is not resource type-specific.

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("resourceType", resourceType) + .append("version", version) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseImpl.java index 52e00bce63e..904b97a3f23 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult for ImportContainers. Used as a response to a query request for ImportContainers.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraftImpl.java index a997e91c996..e34a2a9aad8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The representation sent to the server when updating an import container.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(version).append(resourceType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("resourceType", resourceType) + .build(); + } + } 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 a20fbd52dd2..c7c5721362c 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Import Operation describes the import status of a specific resource.

        @@ -268,4 +270,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("version", version) + .append("importContainerKey", importContainerKey) + .append("resourceKey", resourceKey) + .append("id", id) + .append("state", state) + .append("resourceVersion", resourceVersion) + .append("errors", errors) + .append("unresolvedReferences", unresolvedReferences) + .append("createdAt", createdAt) + .append("lastModifiedAt", lastModifiedAt) + .append("expiresAt", expiresAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationPagedResponseImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationPagedResponseImpl.java index 2a4389b38bb..d6684ab291a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationPagedResponseImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationPagedResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        PagedQueryResult for Import Operations.

        @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("count", count) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusImpl.java index a84494200d5..be57cb8fcfd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ImportOperationStatus @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(operationId).append(state).append(errors).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("operationId", operationId) + .append("state", state) + .append("errors", errors) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/CategoryImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/CategoryImportRequestImpl.java index 59bce0e8299..4cc7d344093 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/CategoryImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/CategoryImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import Categories. Contains data for Categories to be created or updated in a Project.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/CustomerImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/CustomerImportRequestImpl.java index bc261a67b41..9af9712496c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/CustomerImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/CustomerImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import Customers. Contains data for Customers to be created or updated in a Project.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequestImpl.java index 8c8d01ba86b..c6d470b013a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequestImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        An import request batches multiple import resources of the same import resource type for processing by an import container.

        @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseImpl.java index e27d1c190fe..43a86fff3c6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A list of the ID's and validation statuses of newly created ImportOperations. Used as a response at each resource-specific import endpoint, for example, at Import Categories and Import ProductTypes.

        @@ -75,4 +77,10 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(operationStatus).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("operationStatus", operationStatus) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/InventoryImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/InventoryImportRequestImpl.java index 1d70052875e..005fd69a1f7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/InventoryImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/InventoryImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import Inventories. Contains data for InventoryEntries to be created or updated in a commercetools Project.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/OrderImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/OrderImportRequestImpl.java index 1292b29d4fc..77a4710c9b8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/OrderImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/OrderImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import Orders. Contains data for Orders to be created in a Project.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/OrderPatchImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/OrderPatchImportRequestImpl.java index bdab5eed71b..ec831563b06 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/OrderPatchImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/OrderPatchImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import OrderPatches. The data to be imported are represented by OrderPatchImport.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(patches).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("patches", patches) + .build(); + } + } 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 dd47d1710ec..1ba88ceb8ea 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 @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import Embedded Prices. Contains data for Embedded Prices to be created or updated in a Project.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductDraftImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductDraftImportRequestImpl.java index 2530df34c0d..406048554e4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductDraftImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductDraftImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import ProductDrafts. Contains data for Products to be created or updated in a Project.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductImportRequestImpl.java index 2946ea0f9e1..91174d30a27 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import Products. Contains data for Products to be created or updated in a Project.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductTypeImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductTypeImportRequestImpl.java index a43634284a0..c67c82a4f78 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductTypeImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductTypeImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import ProductTypes. Contains data for ProductTypes to be created or updated in a Project.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductVariantImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductVariantImportRequestImpl.java index 292bb56ae3c..04adba64698 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductVariantImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductVariantImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import ProductVariants. Contains data for ProductVariants to be created or updated in a Project.

        @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductVariantPatchRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductVariantPatchRequestImpl.java index 963ad2ef2b3..75049059429 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductVariantPatchRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductVariantPatchRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import ProductVariantPatches. The data to be imported are represented by ProductVariantPatch.

        @@ -89,4 +91,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(patches).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("patches", patches) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/StandalonePriceImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/StandalonePriceImportRequestImpl.java index 4f04685d68d..29ce17820bf 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/StandalonePriceImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/StandalonePriceImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import Standalone Prices. Contains data for Standalone Prices to be created or updated in a Project.

        @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/TypeImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/TypeImportRequestImpl.java index 52b096bb616..2743caab5e1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/TypeImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/TypeImportRequestImpl.java @@ -14,6 +14,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The request body to import Types. Contains data for Types to be created or updated in a Project.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryImpl.java index 599a494720d..b4207cfd8f0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Describes the status of an ImportContainer by the number of resources in each Processing State. Can be used to monitor the import progress per Import Container.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(states).append(total).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("states", states) + .append("total", total) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesImpl.java index e1d7a6487fd..4224529b872 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * OperationStates @@ -182,4 +184,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("processing", processing) + .append("validationFailed", validationFailed) + .append("unresolved", unresolved) + .append("waitForMasterVariant", waitForMasterVariant) + .append("imported", imported) + .append("rejected", rejected) + .append("canceled", canceled) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportImpl.java index 442a430e078..60e7455c592 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for an Inventory to be imported that is persisted as a Inventory in the Project.

        @@ -182,4 +184,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("sku", sku) + .append("quantityOnStock", quantityOnStock) + .append("restockableInDays", restockableInDays) + .append("expectedDelivery", expectedDelivery) + .append("supplyChannel", supplyChannel) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftImpl.java index cb1ff586737..592e252b531 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryAddressDraft @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(deliveryId).append(address).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("deliveryId", deliveryId) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftImpl.java index 50292e842eb..d1e15b7d193 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryDraft @@ -114,4 +116,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(items).append(address).append(parcels).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("items", items) + .append("address", address) + .append("parcels", parcels) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftImpl.java index 52f7006c2f0..df01868c7ec 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryParcelDraft @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(measurements).append(trackingData).append(items).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("measurements", measurements) + .append("trackingData", trackingData) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelImpl.java index 2dc008b7755..eeeab51f70c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryParcel @@ -130,4 +132,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("deliveryId", deliveryId) + .append("measurements", measurements) + .append("trackingData", trackingData) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderFieldImpl.java index 35a7fb7c8dc..7abfdf151c3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderFieldImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Order fields that needs to be added or updated.

        @@ -240,4 +242,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("addReturnInfo", addReturnInfo) + .append("addParcelToDelivery", addParcelToDelivery) + .append("addDeliveries", addDeliveries) + .append("removeDelivery", removeDelivery) + .append("removeParcelFromDelivery", removeParcelFromDelivery) + .append("setDeliveryAddress", setDeliveryAddress) + .append("setParcelMeasurements", setParcelMeasurements) + .append("setParcelTrackingData", setParcelTrackingData) + .append("setParcelItems", setParcelItems) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportImpl.java index c2f9f060fa7..179623d6708 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Representation for an update of an Order. Use this type to import updates for existing Orders in a Project.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(orderNumber).append(fields).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("orderNumber", orderNumber) + .append("fields", fields) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsImpl.java index c6291b040e3..0ef0d67b2b6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ParcelItems @@ -90,4 +92,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(parcelId).append(items).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("parcelId", parcelId) + .append("items", items) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftImpl.java index c4688163208..a6e5f2c8da5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ParcelMeasurementDraft @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(parcelId).append(measurements).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("parcelId", parcelId) + .append("measurements", measurements) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataImpl.java index 03035617901..0d065843bed 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ParcelTrackingData @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(parcelId).append(trackingData).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("parcelId", parcelId) + .append("trackingData", trackingData) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveDeliveryDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveDeliveryDraftImpl.java index cbf882bfa99..67682b2e044 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveDeliveryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveDeliveryDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * RemoveDeliveryDraft @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftImpl.java index 4d069d4be8d..7766860ad05 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * RemoveParcelFromDeliveryDraft @@ -66,4 +68,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(parcelId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("parcelId", parcelId).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoImpl.java index 13fc5ef8c0b..b48fc5b3f90 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReturnInfo @@ -109,4 +111,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(items).append(returnTrackingId).append(returnDate).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("items", items) + .append("returnTrackingId", returnTrackingId) + .append("returnDate", returnDate) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftImpl.java index 10ec94f8f68..2e6155cd45e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ReturnItemDraft @@ -146,4 +148,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quantity", quantity) + .append("lineItemId", lineItemId) + .append("customLineItemId", customLineItemId) + .append("comment", comment) + .append("shipmentState", shipmentState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CartClassificationTierImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CartClassificationTierImpl.java index ea028c8f2bc..6124eaa01b6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CartClassificationTierImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CartClassificationTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CartClassificationTier @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("value", value) + .append("price", price) + .append("tiers", tiers) + .append("isMatching", isMatching) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ClassificationShippingRateInputImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ClassificationShippingRateInputImpl.java index 8300428d3fd..d3e6971f0a1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ClassificationShippingRateInputImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ClassificationShippingRateInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ClassificationShippingRateInput @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftImpl.java index e17ee0d95a6..9db5a56ec65 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomLineItemDraft @@ -294,4 +296,21 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("money", money) + .append("taxedPrice", taxedPrice) + .append("totalPrice", totalPrice) + .append("slug", slug) + .append("quantity", quantity) + .append("state", state) + .append("taxCategory", taxCategory) + .append("taxRate", taxRate) + .append("externalTaxRate", externalTaxRate) + .append("discountedPricePerQuantity", discountedPricePerQuantity) + .append("shippingDetails", shippingDetails) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemTaxedPriceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemTaxedPriceImpl.java index 5e00acc9fc2..e5d938b8e77 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemTaxedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemTaxedPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomLineItemTaxedPrice @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalNet).append(totalGross).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalNet", totalNet) + .append("totalGross", totalGross) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryImpl.java index 7961446f3fb..24657830b2a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Delivery @@ -153,4 +155,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("createdAt", createdAt) + .append("items", items) + .append("parcels", parcels) + .append("address", address) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemImpl.java index f2c86175177..6289064a54d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DeliveryItem @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(id).append(quantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoImpl.java index acc0aabe046..349088f1fc8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountCodeInfo @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(discountCode).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("discountCode", discountCode) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionImpl.java index 36b84676029..885f0647dfb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPortion @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(discount).append(discountedAmount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("discount", discount) + .append("discountedAmount", discountedAmount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftImpl.java index a7187b31c81..36c0164b588 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * DiscountedLineItemPriceDraft @@ -92,4 +94,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(value).append(includedDiscounts).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("includedDiscounts", includedDiscounts) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftImpl.java index d90ccd3d509..4eab91a51bb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ExternalTaxRateDraft @@ -166,4 +168,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("amount", amount) + .append("country", country) + .append("state", state) + .append("subRates", subRates) + .append("includedInPrice", includedInPrice) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftImpl.java index 220a9d2f0b3..94ef2e0a02e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ItemShippingDetailsDraft @@ -71,4 +73,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(targets).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("targets", targets).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetImpl.java index dd92da10697..680d937e8e2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The item's shipping target.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(addressKey).append(quantity).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("addressKey", addressKey) + .append("quantity", quantity) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateImpl.java index bf8b6023da1..f1c41fb599b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The item's state.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(quantity).append(state).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("quantity", quantity) + .append("state", state) + .build(); + } + } 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 b513d468c15..a7f8a4900fb 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Represents an individual Line Item in an Order. A line item is a snapshot of a product at the time it was added to the order.

        @@ -267,4 +269,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("product", product) + .append("name", name) + .append("variant", variant) + .append("price", price) + .append("quantity", quantity) + .append("state", state) + .append("supplyChannel", supplyChannel) + .append("distributionChannel", distributionChannel) + .append("taxRate", taxRate) + .append("shippingDetails", shippingDetails) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceImpl.java index 475dd30db1e..a74373e5da3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LineItemPrice @@ -226,4 +228,18 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("country", country) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("discounted", discounted) + .append("tiers", tiers) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftImpl.java index 6feed60324e..f1879b656f9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LineItemProductVariantImportDraft @@ -160,4 +162,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productVariant", productVariant) + .append("sku", sku) + .append("prices", prices) + .append("attributes", attributes) + .append("images", images) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportImpl.java index d8413bb51ae..e13e852d07b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for an Order to be imported that is persisted as an Order in the Project.

        @@ -527,4 +529,33 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("orderNumber", orderNumber) + .append("customer", customer) + .append("customerEmail", customerEmail) + .append("lineItems", lineItems) + .append("customLineItems", customLineItems) + .append("totalPrice", totalPrice) + .append("taxedPrice", taxedPrice) + .append("shippingAddress", shippingAddress) + .append("billingAddress", billingAddress) + .append("customerGroup", customerGroup) + .append("country", country) + .append("orderState", orderState) + .append("shipmentState", shipmentState) + .append("paymentState", paymentState) + .append("shippingInfo", shippingInfo) + .append("completedAt", completedAt) + .append("custom", custom) + .append("inventoryMode", inventoryMode) + .append("taxRoundingMode", taxRoundingMode) + .append("taxCalculationMode", taxCalculationMode) + .append("origin", origin) + .append("itemShippingAddresses", itemShippingAddresses) + .append("store", store) + .append("state", state) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelImpl.java index 5e3deeab8b3..536257e2ad7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Parcel @@ -167,4 +169,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("createdAt", createdAt) + .append("measurements", measurements) + .append("trackingData", trackingData) + .append("items", items) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsImpl.java index eff4a67da97..a5d793d238e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ParcelMeasurements @@ -126,4 +128,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("heightInMillimeter", heightInMillimeter) + .append("lengthInMillimeter", lengthInMillimeter) + .append("widthInMillimeter", widthInMillimeter) + .append("weightInGram", weightInGram) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ScoreShippingRateInputImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ScoreShippingRateInputImpl.java index c969b846574..24657ed10ae 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ScoreShippingRateInputImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ScoreShippingRateInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ScoreShippingRateInput @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(score).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("score", score) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftImpl.java index 6c863193e37..77f8fcee0e0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Maps to an order's shippingInfo property. This field is usually populated by the cart assosciated with the order, but when importing orders you must provide a draft representation as a part of the OrderImport.

        @@ -228,4 +230,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("shippingMethodName", shippingMethodName) + .append("price", price) + .append("shippingRate", shippingRate) + .append("taxRate", taxRate) + .append("taxCategory", taxCategory) + .append("shippingMethod", shippingMethod) + .append("deliveries", deliveries) + .append("discountedPrice", discountedPrice) + .append("shippingMethodState", shippingMethodState) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftImpl.java index 49c5d0cb37b..9c3e70be4e1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRateDraft @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(price).append(freeAbove).append(tiers).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("price", price) + .append("freeAbove", freeAbove) + .append("tiers", tiers) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateInputImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateInputImpl.java index aabbf66bd50..27c2ae301ab 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateInputImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateInputImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRateInput @@ -63,4 +65,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRatePriceTierImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRatePriceTierImpl.java index 7a8dded592c..2dff661bb0c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRatePriceTierImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRatePriceTierImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ShippingRatePriceTier @@ -63,4 +65,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoImpl.java index 47f291ed31e..4633b245a9d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SyncInfo @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(channel).append(externalId).append(syncedAt).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("channel", channel) + .append("externalId", externalId) + .append("syncedAt", syncedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionImpl.java index 9b4b47d36a8..748716eb782 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxPortion @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(rate).append(amount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("rate", rate) + .append("amount", amount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxedPriceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxedPriceImpl.java index e94136c748f..ec30b34eb44 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxedPriceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxedPrice @@ -108,4 +110,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(totalNet).append(totalGross).append(taxPortions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalNet", totalNet) + .append("totalGross", totalGross) + .append("taxPortions", taxPortions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataImpl.java index 5f7fb4704e1..78cd4be1c60 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TrackingData @@ -144,4 +146,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("trackingId", trackingId) + .append("carrier", carrier) + .append("provider", provider) + .append("providerTransaction", providerTransaction) + .append("isReturn", isReturn) + .build(); + } + } 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 a1483214748..46264f254af 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 @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for a price to be imported that is persisted as a Price in the Project.

        @@ -303,4 +305,22 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("value", value) + .append("country", country) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("discounted", discounted) + .append("publish", publish) + .append("tiers", tiers) + .append("custom", custom) + .append("productVariant", productVariant) + .append("product", product) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateImpl.java index 0f36895b128..4ec10874ef5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SubRate @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(amount).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("amount", amount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/TaxRateImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/TaxRateImpl.java index 58ca46d5828..67af201e5bb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/TaxRateImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/TaxRateImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * TaxRate @@ -184,4 +186,16 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id) + .append("name", name) + .append("amount", amount) + .append("includedInPrice", includedInPrice) + .append("country", country) + .append("state", state) + .append("subRates", subRates) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportImpl.java index be65c5cb65d..50d3e4ca986 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The representation of a Price Draft for the import purpose.

        @@ -245,4 +247,19 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("value", value) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("custom", custom) + .append("discounted", discounted) + .append("tiers", tiers) + .append("key", key) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportImpl.java index 94662620056..f86bdd63aee 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The representation of a Product Draft for the import purpose.

        @@ -397,4 +399,25 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("productType", productType) + .append("name", name) + .append("slug", slug) + .append("description", description) + .append("categories", categories) + .append("metaTitle", metaTitle) + .append("metaDescription", metaDescription) + .append("metaKeywords", metaKeywords) + .append("masterVariant", masterVariant) + .append("variants", variants) + .append("taxCategory", taxCategory) + .append("searchKeywords", searchKeywords) + .append("state", state) + .append("publish", publish) + .append("priceMode", priceMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportImpl.java index 199445e5315..9747108a2f4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The representation of a Product Variant Draft for the import purpose.

        @@ -181,4 +183,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("sku", sku) + .append("key", key) + .append("prices", prices) + .append("attributes", attributes) + .append("images", images) + .append("assets", assets) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/CustomTokenizerImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/CustomTokenizerImpl.java index 118ddd788e4..1b7ca90bc1d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/CustomTokenizerImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/CustomTokenizerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CustomTokenizer @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).append(inputs).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("inputs", inputs) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportImpl.java index 81295f92692..77f6ec92f5e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for a Product to be imported that is persisted as a Product in the Project.

        @@ -353,4 +355,23 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("productType", productType) + .append("slug", slug) + .append("description", description) + .append("categories", categories) + .append("metaTitle", metaTitle) + .append("metaDescription", metaDescription) + .append("metaKeywords", metaKeywords) + .append("taxCategory", taxCategory) + .append("searchKeywords", searchKeywords) + .append("state", state) + .append("publish", publish) + .append("priceMode", priceMode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordImpl.java index 2f4a4860c6a..16b28bb2155 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SearchKeyword @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(text).append(suggestTokenizer).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("text", text) + .append("suggestTokenizer", suggestTokenizer) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordsImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordsImpl.java index 00e526eca9e..45a142be1f5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordsImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordsImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

        @@ -86,4 +88,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SuggestTokenizerImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SuggestTokenizerImpl.java index 0e7993a83e7..3e2b19ab40f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SuggestTokenizerImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SuggestTokenizerImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The tokenizer defines the tokens that are used to match against the Suggest Query input.

        @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/WhitespaceTokenizerImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/WhitespaceTokenizerImpl.java index f141c938a37..49c638faa62 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/WhitespaceTokenizerImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/WhitespaceTokenizerImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * WhitespaceTokenizer @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeBooleanTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeBooleanTypeImpl.java index d69f02d53d0..6bdc570e030 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeBooleanTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeBooleanTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeBooleanType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDateTimeTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDateTimeTypeImpl.java index 696fff342f2..fbdafdb2c76 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDateTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDateTimeTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeDateTimeType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDateTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDateTypeImpl.java index 1fa16f1df99..fef515b84c5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDateTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDateTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeDateType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionImpl.java index e0948ad6607..e9bc463dfb5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeDefinition @@ -214,4 +216,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("label", label) + .append("isRequired", isRequired) + .append("attributeConstraint", attributeConstraint) + .append("inputTip", inputTip) + .append("inputHint", inputHint) + .append("isSearchable", isSearchable) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeEnumTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeEnumTypeImpl.java index 6ad87202626..b79fd4d8aba 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeEnumTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeEnumType @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizableTextTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizableTextTypeImpl.java index a76908c8b79..d77bd9cd675 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizableTextTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizableTextTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeLocalizableTextType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizedEnumTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizedEnumTypeImpl.java index 66162130b33..b71b00b2c11 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizedEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizedEnumTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeLocalizedEnumType @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizedEnumValueImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizedEnumValueImpl.java index d276f88ec44..f73f7a8306a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizedEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeLocalizedEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeLocalizedEnumValue @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeMoneyTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeMoneyTypeImpl.java index 8931004e16f..ec88427c9df 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeMoneyTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeMoneyTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeMoneyType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeImpl.java index 3c0a238e714..21c474477f5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeNestedType @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(typeReference).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("typeReference", typeReference) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNumberTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNumberTypeImpl.java index 098c994c870..757255c14c9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNumberTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNumberTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeNumberType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributePlainEnumValueImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributePlainEnumValueImpl.java index 9975b024a1a..c459a6450f8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributePlainEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributePlainEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributePlainEnumValue @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeImpl.java index 9297aa5abb9..329e510b58b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeReferenceType @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(referenceTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("referenceTypeId", referenceTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeSetTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeSetTypeImpl.java index c3399c0842f..806ce1e6803 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeSetTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeSetTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeSetType @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(elementType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("elementType", elementType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTextTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTextTypeImpl.java index f8240cedc14..5f9d4229e51 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTextTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTextTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeTextType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTimeTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTimeTypeImpl.java index 2c3cbfb28c7..24a4ab2ed51 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTimeTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeTimeType @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTypeImpl.java index 3d83bede922..94d236af7a6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * AttributeType @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportImpl.java index a409a219ceb..6fe71425c7d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for a ProductType to be imported that is persisted as a ProductType in the Project.

        @@ -126,4 +128,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(name).append(description).append(attributes).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("description", description) + .append("attributes", attributes) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributeImpl.java index ad2d8ad9745..0432664bf22 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents the value of an attribute of a product variant. The name and type property must match the name and type property of an attribute definition of the product type.

        @@ -81,4 +83,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributesImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributesImpl.java index 00304fee10c..decf84e210a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributesImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributesImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Attributes @@ -70,4 +72,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeImpl.java index 9992ed9cd86..96b7e82fb1b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is either "true" or "false".

        @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeImpl.java index e260560dbd0..f73d85c5271 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is set of boolean values.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeImpl.java index 2f4147b7d8a..1b6c1edd1bd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a date.

        @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeImpl.java index 68bacc3bdf3..1dcff255797 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a set of dates.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeImpl.java index 07f94140707..250ee715598 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a date with time.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeImpl.java index 51ddd072301..145f57827b6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a set of dates with time.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeImpl.java index 1284d675cb3..8a53d9e16c8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is an enum. The attribute value refers to the key of the enum value.

        @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeImpl.java index f8a3e4aeb83..b2e9d23a903 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is an enum. The attribute value refers to the key of the enum value.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeImpl.java index 30be332059f..96d60771adb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a localized enum. The attribute value refers to the key of the enum value.

        @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeImpl.java index 482fe26e7ad..e0ef9943871 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a localized enum. The attribute value refers to the key of the enum value.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeImpl.java index f48e5c5ff25..d1ce79d0bb9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a localized text.

        @@ -105,4 +107,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeImpl.java index 67aabc914f0..b11c1d294df 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a localized text.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeImpl.java index bb456525822..47ef214439c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a money object.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeImpl.java index d6a78ab22d6..ab3181a7e1e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a set of money objects.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeImpl.java index bfbc7eea068..b2d3a155841 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a number.

        @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeImpl.java index 39f09d84df6..70ac82fa43f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a set of numbers.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportImpl.java index 30864f8a8c2..82ee24c41a3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for a ProductVariant to be imported that is persisted as a ProductVariant in the Project.

        @@ -214,4 +216,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("sku", sku) + .append("isMasterVariant", isMasterVariant) + .append("attributes", attributes) + .append("images", images) + .append("assets", assets) + .append("publish", publish) + .append("product", product) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java index 781c986ab78..db9160bfbb2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Representation for an update of a ProductVariant. Use this type to import updates for existing ProductVariants in a Project.

        @@ -134,4 +136,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productVariant", productVariant) + .append("attributes", attributes) + .append("staged", staged) + .append("product", product) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeImpl.java index c9a027ae34d..07bb375686c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a key reference.

        @@ -100,4 +102,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeImpl.java index b7489eaedd4..e9f7f124b57 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a set of references.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeImpl.java index c70e4aa5669..a98431fc49c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a string.

        @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeImpl.java index be77428034a..a2ba0064678 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a set of strings.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeImpl.java index 2a7040e22db..0c723089655 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a time.

        @@ -99,4 +101,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeImpl.java index 9cc5d79c66c..725b30a4b60 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        This type represents an attribute whose value is a set of times.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(type).append(value).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("type", type) + .append("value", value) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java index a208d580d8e..e1e2e42e3f4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for a Standalone Price to be imported that is persisted as a Standalone Price in the Project.

        @@ -263,4 +265,20 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("sku", sku) + .append("value", value) + .append("country", country) + .append("customerGroup", customerGroup) + .append("channel", channel) + .append("validFrom", validFrom) + .append("validUntil", validUntil) + .append("tiers", tiers) + .append("discounted", discounted) + .append("custom", custom) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldBooleanTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldBooleanTypeImpl.java index fbcb7c644de..2485261a619 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldBooleanTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldBooleanTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for Boolean values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTimeTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTimeTypeImpl.java index 20e8dd05595..82146f986dd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTimeTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for DateTime values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTypeImpl.java index ff315506dba..6ee700551da 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for Date values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumTypeImpl.java index a2690b6940c..17d6619e47d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for enum values.

        @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumValueImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumValueImpl.java index fa0c343a6eb..11ea389ff5a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Defines an allowed value of a CustomFieldEnumType field.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumTypeImpl.java index 155106189de..525f33ba4da 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for localized enum values.

        @@ -88,4 +90,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("values", values) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumValueImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumValueImpl.java index 94ccc361fbe..17a7764ca75 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumValueImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumValueImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Defines an allowed value of a CustomFieldLocalizedEnumType field.

        @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(key).append(label).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("label", label) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedStringTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedStringTypeImpl.java index 569bf06fea1..7b603f66f12 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedStringTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedStringTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for LocalizedString values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldMoneyTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldMoneyTypeImpl.java index 9148c024941..bbcaea5b107 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldMoneyTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldMoneyTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for CentPrecisionMoney values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldNumberTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldNumberTypeImpl.java index f5ce42ea659..5e84c7df71b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldNumberTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldNumberTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for number values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceTypeImpl.java index 747c7f679b0..a88c28292c1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for Reference values.

        @@ -84,4 +86,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(referenceTypeId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("referenceTypeId", referenceTypeId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldSetTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldSetTypeImpl.java index 96e934ac2e1..5591b91c345 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldSetTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldSetTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Values of a SetType Custom Field are sets of values of the specified elementType (without duplicate elements).

        @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).append(elementType).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("elementType", elementType) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldStringTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldStringTypeImpl.java index 33ba3553127..4a1eae5f242 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldStringTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldStringTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for string values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldTimeTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldTimeTypeImpl.java index 2e2eaf418cc..c7fffd54fb6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldTimeTypeImpl.java @@ -12,6 +12,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Field type for Time values.

        @@ -55,4 +57,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldDefinitionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldDefinitionImpl.java index dc2ffdbb90e..b6e3634414c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldDefinitionImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldDefinitionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Defines a Custom Field and its meta-information. Maps to Type.FieldDefinition.

        @@ -145,4 +147,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("name", name) + .append("label", label) + .append("required", required) + .append("inputHint", inputHint) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldTypeImpl.java index f3eb5448873..cea75e953de 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldTypeImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * FieldType @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(name).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportImpl.java index 17e300dde60..0d5c7b7c442 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The data representation for a Type to be imported that is persisted as a Type in the Project.

        @@ -156,4 +158,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("description", description) + .append("resourceTypeIds", resourceTypeIds) + .append("fieldDefinitions", fieldDefinitions) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationImpl.java index b0580a4baff..48230c251c7 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectCategoryRecommendation @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(category).append(confidence).append(path).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("category", category) + .append("confidence", confidence) + .append("path", path) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationMetaImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationMetaImpl.java index b82a80baff8..dbc84ffac0d 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationMetaImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationMetaImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectCategoryRecommendationMeta @@ -111,4 +113,12 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("productName", productName) + .append("productImageUrl", productImageUrl) + .append("generalCategoryNames", generalCategoryNames) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationPagedQueryResponseImpl.java index 3fa803b0e97..04f2308d40d 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/category_recommendations/ProjectCategoryRecommendationPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProjectCategoryRecommendationPagedQueryResponse @@ -152,4 +154,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .append("meta", meta) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/CategoryReferenceImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/CategoryReferenceImpl.java index 808320af9c7..5d7881b6740 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/CategoryReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/CategoryReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * CategoryReference @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/LocalizedStringImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/LocalizedStringImpl.java index e27f134c2de..9b83bd38adf 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/LocalizedStringImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/LocalizedStringImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * LocalizedString @@ -69,4 +71,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(values).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("values", values).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/MoneyImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/MoneyImpl.java index f761b9ec894..a175c025fa0 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/MoneyImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/MoneyImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Money @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(centAmount).append(currencyCode).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("centAmount", centAmount) + .append("currencyCode", currencyCode) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductReferenceImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductReferenceImpl.java index e42d555303c..96884871fab 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductReference @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductTypeReferenceImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductTypeReferenceImpl.java index ee46979b95d..0820f4d24c8 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductTypeReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductTypeReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ProductTypeReference @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductVariantImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductVariantImpl.java index 80131dedbf9..1b62165d3f2 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductVariantImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ProductVariantImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        The product variant that contains the image.

        @@ -103,4 +105,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(product).append(staged).append(variantId).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("product", product) + .append("staged", staged) + .append("variantId", variantId) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ReferenceImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ReferenceImpl.java index 26a6a1fb6ce..e9b27c520e1 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/ReferenceImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * Reference @@ -82,4 +84,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("typeId", typeId) + .append("id", id) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/TaskTokenImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/TaskTokenImpl.java index 98958d7f637..15bf57c7b6c 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/TaskTokenImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/common/TaskTokenImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Represents a URL path to poll to get the results of an Asynchronous Request.

        @@ -85,4 +87,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(taskId).append(uriPath).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("taskId", taskId) + .append("uriPath", uriPath) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/general_category_recommendations/GeneralCategoryRecommendationImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/general_category_recommendations/GeneralCategoryRecommendationImpl.java index 9ff52c731c7..29df117ddb4 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/general_category_recommendations/GeneralCategoryRecommendationImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/general_category_recommendations/GeneralCategoryRecommendationImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GeneralCategoryRecommendation @@ -86,4 +88,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(categoryName).append(confidence).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("categoryName", categoryName) + .append("confidence", confidence) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/general_category_recommendations/GeneralCategoryRecommendationPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/general_category_recommendations/GeneralCategoryRecommendationPagedQueryResponseImpl.java index 3541f7d7005..e1ad9f222aa 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/general_category_recommendations/GeneralCategoryRecommendationPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/general_category_recommendations/GeneralCategoryRecommendationPagedQueryResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * GeneralCategoryRecommendationPagedQueryResponse @@ -128,4 +130,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(count).append(total).append(offset).append(results).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search/ImageSearchResponseImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search/ImageSearchResponseImpl.java index 08832783345..7378e9b9501 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search/ImageSearchResponseImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search/ImageSearchResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Response format from image search endpoint.

        @@ -125,4 +127,13 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(count).append(offset).append(total).append(results).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("count", count) + .append("offset", offset) + .append("total", total) + .append("results", results) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search/ResultItemImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search/ResultItemImpl.java index ff637772829..afa38f6282c 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search/ResultItemImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search/ResultItemImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        An image URL and the product variants it is contained in. If no matching images are found, ResultItem is not present.

        @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(imageUrl).append(productVariants).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("imageUrl", imageUrl) + .append("productVariants", productVariants) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ChangeStatusUpdateActionImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ChangeStatusUpdateActionImpl.java index 253a36339f5..6bfa71a4089 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ChangeStatusUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ChangeStatusUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ChangeStatusUpdateAction @@ -83,4 +85,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).append(status).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action) + .append("status", status) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigRequestImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigRequestImpl.java index b243b8e97d5..aaf6c9d190a 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigRequestImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigRequestImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ImageSearchConfigRequest @@ -73,4 +75,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(actions).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("actions", actions).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigResponseImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigResponseImpl.java index 159c00bdc3e..bacd70a4870 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigResponseImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigResponseImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ImageSearchConfigResponse @@ -87,4 +89,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(status).append(lastModifiedAt).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("status", status) + .append("lastModifiedAt", lastModifiedAt) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigUpdateActionImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigUpdateActionImpl.java index 1a17a0c31f9..f91390c32ed 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigUpdateActionImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/image_search_config/ImageSearchConfigUpdateActionImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * ImageSearchConfigUpdateAction @@ -62,4 +64,9 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(action).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("action", action).build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/ProductSetSelectorImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/ProductSetSelectorImpl.java index b94e08c094e..714c76aa0fc 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/ProductSetSelectorImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/ProductSetSelectorImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A set of ProductData for comparison. If no optional attributes are specified, all current ProductData are selected for comparison.

        @@ -172,4 +174,15 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("projectKey", projectKey) + .append("productIds", productIds) + .append("productTypeIds", productTypeIds) + .append("staged", staged) + .append("includeVariants", includeVariants) + .append("productSetLimit", productSetLimit) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductImpl.java index df194899d6b..484ed4a29a1 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        One part of a SimilarProductPair. Refers to a specific ProductVariant.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(product).append(variantId).append(meta).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("product", product) + .append("variantId", variantId) + .append("meta", meta) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductMetaImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductMetaImpl.java index ee8f5162619..39fb6049b39 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductMetaImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductMetaImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SimilarProductMeta @@ -126,4 +128,13 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("description", description) + .append("price", price) + .append("variantCount", variantCount) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductPairImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductPairImpl.java index 46cdb393814..bc87a618478 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductPairImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductPairImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        A pair of SimilarProducts

        @@ -91,4 +93,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(confidence).append(products).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("confidence", confidence) + .append("products", products) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductSearchRequestImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductSearchRequestImpl.java index f702ba81385..6053dc6b09d 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductSearchRequestImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductSearchRequestImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SimilarProductSearchRequest @@ -207,4 +209,17 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("limit", limit) + .append("offset", offset) + .append("language", language) + .append("currencyCode", currencyCode) + .append("similarityMeasures", similarityMeasures) + .append("productSetSelectors", productSetSelectors) + .append("confidenceMin", confidenceMin) + .append("confidenceMax", confidenceMax) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductSearchRequestMetaImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductSearchRequestMetaImpl.java index 15712edd181..a3e820ef6ac 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductSearchRequestMetaImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductSearchRequestMetaImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SimilarProductSearchRequestMeta @@ -70,4 +72,11 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(similarityMeasures).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) + .append("similarityMeasures", similarityMeasures) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductsPagedQueryResultImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductsPagedQueryResultImpl.java index b22678ed3d3..11b55aabddf 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductsPagedQueryResultImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductsPagedQueryResultImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** * SimilarProductsPagedQueryResult @@ -149,4 +151,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("count", count) + .append("total", total) + .append("offset", offset) + .append("results", results) + .append("meta", meta) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductsTaskStatusImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductsTaskStatusImpl.java index d2086b8f430..e9bcbcc9f66 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductsTaskStatusImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarProductsTaskStatusImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Represents a URL path to poll to get the results of an Asynchronous Request.

        @@ -104,4 +106,12 @@ public int hashCode() { return new HashCodeBuilder(17, 37).append(state).append(expires).append(result).toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("state", state) + .append("expires", expires) + .append("result", result) + .build(); + } + } diff --git a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarityMeasuresImpl.java b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarityMeasuresImpl.java index efd15b131c1..6c7f3babbf7 100644 --- a/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarityMeasuresImpl.java +++ b/commercetools/commercetools-sdk-java-ml/src/main/java-generated/com/commercetools/ml/models/similar_products/SimilarityMeasuresImpl.java @@ -13,6 +13,8 @@ import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; /** *

        Specify which ProductData attributes to use for estimating similarity and how to weigh them. An attribute's weight can be any whole positive integer, starting with 0. The larger the integer, the higher its weight.

        @@ -143,4 +145,14 @@ public int hashCode() { .toHashCode(); } + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", name) + .append("description", description) + .append("attribute", attribute) + .append("variantCount", variantCount) + .append("price", price) + .build(); + } + } diff --git a/reference.txt b/reference.txt new file mode 100644 index 00000000000..0529ac5854e --- /dev/null +++ b/reference.txt @@ -0,0 +1 @@ +7b77469463c577a7ac4a7c1f8949d5a6398d5415 diff --git a/references.txt b/references.txt index f39cb254d8b..8d0b4891845 100644 --- a/references.txt +++ b/references.txt @@ -140,3 +140,5 @@ a384c593b1d1c14c2f8d601afbe1b588521b860e 9401eca18a12c325fc8470a2a1996683a7c99b33 7b77469463c577a7ac4a7c1f8949d5a6398d5415 7b77469463c577a7ac4a7c1f8949d5a6398d5415 +efe74ff3931aae55e055d243f79065c8fc69ec33 +efe74ff3931aae55e055d243f79065c8fc69ec33