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.
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.
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.
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.
Unique identifier of the referenced AssociateRole. Either id
or key
is required.
Unique identifier of the referenced AssociateRole. Required if key
is absent.
Unique key of the referenced AssociateRole. Either id
or key
is required.
Unique key of the referenced AssociateRole. Required if id
is absent.
Unique identifier of the referenced AssociateRole. Either id
or key
is required.
Unique identifier of the referenced AssociateRole. Required if key
is absent.
Unique key of the referenced AssociateRole. Either id
or key
is required.
Unique key of the referenced AssociateRole. Required if id
is absent.
id
or key
is required.
+ * Unique identifier of the referenced AssociateRole. Required if key
is absent.
Unique key of the referenced AssociateRole. Either id
or key
is required.
Unique key of the referenced AssociateRole. Required if id
is absent.
Unique identifier of the referenced AssociateRole. Either id
or key
is required.
Unique identifier of the referenced AssociateRole. Required if key
is absent.
Unique key of the referenced AssociateRole. Either id
or key
is required.
Unique key of the referenced AssociateRole. Required if id
is absent.
ResourceIdentifier of an AssociateRole.
+ *ResourceIdentifier of an AssociateRole. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced AssociateRole. Either id
or key
is required.
Unique identifier of the referenced AssociateRole. Required if key
is absent.
Unique key of the referenced AssociateRole. Either id
or key
is required.
Unique key of the referenced AssociateRole. Required if id
is absent.
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.
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.
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.
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.
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.
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.
id
or key
is required.
+ * Platform-generated unique identifier of the referenced AttributeGroup. Required if key
is absent.
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.
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.
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.
ResourceIdentifier to an AttributeGroup.
+ *ResourceIdentifier to an AttributeGroup. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
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.
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.
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
.
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.
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
.
ResourceIdentifier to a BusinessUnit.
+ *ResourceIdentifier to a BusinessUnit. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced BusinessUnit. Either id
or key
is required.
Unique identifier of the referenced BusinessUnit. Required if key
is absent.
Unique key of the referenced BusinessUnit. Either id
or key
is required.
Unique key of the referenced BusinessUnit. Required if id
is absent.
Unique identifier of the referenced BusinessUnit. Either id
or key
is required.
Unique identifier of the referenced BusinessUnit. Required if key
is absent.
Unique key of the referenced BusinessUnit. Either id
or key
is required.
Unique key of the referenced BusinessUnit. Required if id
is absent.
id
or key
is required.
+ * Unique identifier of the referenced BusinessUnit. Required if key
is absent.
Unique key of the referenced BusinessUnit. Either id
or key
is required.
Unique key of the referenced BusinessUnit. Required if id
is absent.
Unique identifier of the referenced BusinessUnit. Either id
or key
is required.
Unique identifier of the referenced BusinessUnit. Required if key
is absent.
Unique key of the referenced BusinessUnit. Either id
or key
is required.
Unique key of the referenced BusinessUnit. Required if id
is absent.
ResourceIdentifier to a BusinessUnit.
+ *ResourceIdentifier to a BusinessUnit. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced BusinessUnit. Either id
or key
is required.
Unique identifier of the referenced BusinessUnit. Required if key
is absent.
Unique key of the referenced BusinessUnit. Either id
or key
is required.
Unique key of the referenced BusinessUnit. Required if id
is absent.
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.
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.
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.
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.
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
.
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.
Adds a Shipping Method for a specified shipping address to a Cart with Multiple
ShippingMode.
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.
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.
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; /** *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.
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.
ResourceIdentifier to a Cart.
+ *ResourceIdentifier to a Cart. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced Cart. Either id
or key
is required.
Unique identifier of the referenced Cart. Required if key
is absent.
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.
Unique identifier of the referenced Cart. Either id
or key
is required.
Unique identifier of the referenced Cart. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced Cart. Required if key
is absent.
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.
Unique identifier of the referenced Cart. Either id
or key
is required.
Unique identifier of the referenced Cart. Required if key
is absent.
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.
ResourceIdentifier to a Cart.
+ *ResourceIdentifier to a Cart. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced Cart. Either id
or key
is required.
Unique identifier of the referenced Cart. Required if key
is absent.
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.
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.
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.
Can be used if the Cart has the External
TaxMode.
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
.
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
.
Number of days after which a Cart with Active
CartState is deleted since its last modification.
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.
Sets the LineItem price
and changes the priceMode
to ExternalPrice
LineItemPriceMode.
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.
Can be used if the Cart has the External
TaxMode.
Sets the LineItem totalPrice
and price
, and changes the priceMode
to ExternalTotal
LineItemPriceMode.
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
.
To set the Cart's Shipping Method the Cart must have the Single
ShippingMode and a shippingAddress
.
A Shipping Method tax amount can be set if the Cart has the ExternalAmount
TaxMode.
A Shipping Method Tax Rate can be set if the Cart has the External
TaxMode.
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.
Updates an address in itemShippingAddresses
by keeping the Address key
.
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.
Determines the address (as a reference to an address in itemShippingAddresses
) and the quantity shipped to the address.
For Product Variant identification, either the productId
and variantId
, or sku
must be provided.
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.
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.
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
.
Discount is applied to LineItems matching the predicate
.
PagedQueryResult with results
containing an array of CartDiscount.
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.
Unique identifier of the referenced CartDiscount. Either id
or key
is required.
Unique identifier of the referenced CartDiscount. Required if key
is absent.
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.
Unique identifier of the referenced CartDiscount. Either id
or key
is required.
Unique identifier of the referenced CartDiscount. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced CartDiscount. Required if key
is absent.
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.
Unique identifier of the referenced CartDiscount. Either id
or key
is required.
Unique identifier of the referenced CartDiscount. Required if key
is absent.
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.
ResourceIdentifier to a CartDiscount.
+ *ResourceIdentifier to a CartDiscount. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced CartDiscount. Either id
or key
is required.
Unique identifier of the referenced CartDiscount. Required if key
is absent.
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.
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.
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.
Can only be used in a CartDiscountDraft with no target
specified. Hence, this type can not be used in the Change Value update action.
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.
This update action changes the order of the assets
array. The new order is defined by listing the id
s of the Assets.
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.
Unique identifier of the referenced Category. Either id
or key
is required.
Unique identifier of the referenced Category. Required if key
is absent.
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.
Unique identifier of the referenced Category. Either id
or key
is required.
Unique identifier of the referenced Category. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced Category. Required if key
is absent.
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.
Unique identifier of the referenced Category. Either id
or key
is required.
Unique identifier of the referenced Category. Required if key
is absent.
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.
ResourceIdentifier to a Category.
+ *ResourceIdentifier to a Category. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced Category. Either id
or key
is required.
Unique identifier of the referenced Category. Required if key
is absent.
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.
Set or remove the key
of an Asset.
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.
Unique identifier of the referenced Channel. Either id
or key
is required.
Unique identifier of the referenced Channel. Required if key
is absent.
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.
Unique identifier of the referenced Channel. Either id
or key
is required.
Unique identifier of the referenced Channel. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced Channel. Required if key
is absent.
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.
Unique identifier of the referenced Channel. Either id
or key
is required.
Unique identifier of the referenced Channel. Required if key
is absent.
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.
ResourceIdentifier to a Channel.
+ *ResourceIdentifier to a Channel. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced Channel. Either id
or key
is required.
Unique identifier of the referenced Channel. Required if key
is absent.
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.
Address type to be used on write methods. Optionally, use the custom
field in addition to the fields of a BaseAddress.
Address type returned by read methods. Optionally, the custom
field can be present in addition to the fields of a BaseAddress.
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.
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.
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.
The representation for prices embedded in LineItems and in ProductVariants when the ProductPriceMode is Embedded
. For the Standalone
ProductPriceMode refer to StandalonePrice.
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.
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.
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.
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.
Adds an Address from the addresses
array to shippingAddressIds
. Either addressId
or addressKey
is required.
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.
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.
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.
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.
Unique identifier of the referenced Customer.
+ *Unique identifier of the referenced Customer. Required if key
is absent.
User-defined unique identifier of the referenced Customer.
+ *User-defined unique identifier of the referenced Customer. Required if id
is absent.
Unique identifier of the referenced Customer.
+ *Unique identifier of the referenced Customer. Required if key
is absent.
User-defined unique identifier of the referenced Customer.
+ *User-defined unique identifier of the referenced Customer. Required if id
is absent.
Unique identifier of the referenced Customer. Required if key
is absent.
User-defined unique identifier of the referenced Customer.
+ *User-defined unique identifier of the referenced Customer. Required if id
is absent.
Unique identifier of the referenced Customer.
+ *Unique identifier of the referenced Customer. Required if key
is absent.
User-defined unique identifier of the referenced Customer.
+ *User-defined unique identifier of the referenced Customer. Required if id
is absent.
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.
Unique identifier of the referenced Customer.
+ *Unique identifier of the referenced Customer. Required if key
is absent.
User-defined unique identifier of the referenced Customer.
+ *User-defined unique identifier of the referenced Customer. Required if id
is absent.
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.
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.
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.
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.
Unique identifier of the referenced CustomerGroup. Either id
or key
is required.
Unique identifier of the referenced CustomerGroup. Required if key
is absent.
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.
Unique identifier of the referenced CustomerGroup. Either id
or key
is required.
Unique identifier of the referenced CustomerGroup. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced CustomerGroup. Required if key
is absent.
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.
Unique identifier of the referenced CustomerGroup. Either id
or key
is required.
Unique identifier of the referenced CustomerGroup. Required if key
is absent.
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.
ResourceIdentifier to a CustomerGroup.
+ *ResourceIdentifier to a CustomerGroup. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced CustomerGroup. Either id
or key
is required.
Unique identifier of the referenced CustomerGroup. Required if key
is absent.
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.
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.
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.
Unique identifier of the referenced DiscountCode. Either id
or key
is required.
Unique identifier of the referenced DiscountCode. Required if key
is absent.
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.
Unique identifier of the referenced DiscountCode. Either id
or key
is required.
Unique identifier of the referenced DiscountCode. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced DiscountCode. Required if key
is absent.
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.
Unique identifier of the referenced DiscountCode. Either id
or key
is required.
Unique identifier of the referenced DiscountCode. Required if key
is absent.
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.
ResourceIdentifier to a DiscountCode.
+ *ResourceIdentifier to a DiscountCode. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced DiscountCode. Either id
or key
is required.
Unique identifier of the referenced DiscountCode. Required if key
is absent.
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.
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.
Returned when the type
is different for an AttributeDefinition using the same name
in multiple Product Types.
Returned when an AttributeDefinition does not exist for an Attribute name
.
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
.
Returned when the Unique
AttributeConstraint criteria are not met during an Update Product request.
Returned when the CombinationUnique
AttributeConstraint criteria are not met during an Update Product request.
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
).
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).
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
).
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.
Returned when the type
is different for an AttributeDefinition using the same name
in multiple Product Types.
Returned when an AttributeDefinition does not exist for an Attribute name
.
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
.
Returned when the Unique
AttributeConstraint criteria are not met during an Update Product request.
Returned when the CombinationUnique
AttributeConstraint criteria are not met during an Update Product request.
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
).
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).
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
).
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.
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.
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
).
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
.
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.
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.
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
).
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
.
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.
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
.
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.
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.
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.
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.
Updates availableQuantity
based on the new quantityOnStock
and amount of active reservations.
Updates availableQuantity
based on the new quantityOnStock
and amount of active reservations.
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.
ResourceIdentifier to an InventoryEntry.
+ *ResourceIdentifier to an InventoryEntry. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced InventoryEntry. Either id
or key
is required.
Unique identifier of the referenced InventoryEntry. Required if key
is absent.
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.
Unique identifier of the referenced InventoryEntry. Either id
or key
is required.
Unique identifier of the referenced InventoryEntry. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced InventoryEntry. Required if key
is absent.
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.
Unique identifier of the referenced InventoryEntry. Either id
or key
is required.
Unique identifier of the referenced InventoryEntry. Required if key
is absent.
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.
ResourceIdentifier to an InventoryEntry.
+ *ResourceIdentifier to an InventoryEntry. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced InventoryEntry. Either id
or key
is required.
Unique identifier of the referenced InventoryEntry. Required if key
is absent.
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.
If an entry with the same sku
and supplyChannel
already exists, an DuplicateField error is returned.
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
.
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.
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.
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.
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.
Setting a distribution channel for a LineItem can lead to an updated price
as described in LineItem Price selection.
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
.
Updates an address in itemShippingAddresses
by keeping the Address key
.
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.
Adds an address from the addresses
array to shippingAddressIds
. Either addressId
or addressKey
is required.
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.
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.
Setting the companyName
field on the Customer produces the CustomerCompanyNameSet Message.
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.
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.
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.
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.
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.
Transitions the quoteRequestState
of the Quote Request to Cancelled
. Can only be used when the Quote Request is in state Submitted
.
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.
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.
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.
Generated after a successful Create email token for Customer request. The resource
property of the Message is a CustomerEmailTokenReference.
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.
Generated after a successful Create password reset token for Customer request. The resource
property of the Message is a CustomerPasswordTokenReference.
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.
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
.
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
.
A Delivery can only be added to an Order if its shippingInfo
(for shippingMode
= Single
), or its shipping
(for shippingMode
= Multiple
) exists.
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.
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.
PagedQueryResult with results
containing an array of Order.
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.
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.
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.
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.
To set a ReturnShipmentState
, the Order returnInfo
must have at least one ReturnItem.
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.
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.
Updates an address in itemShippingAddresses
by keeping the Address key
.
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.
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.
If the editVersion
and/or resourceVersion
do not match the actual version, a 409 Conflict will be returned.
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.
Result of a failed application of stagedActions
to the Order. The data is calculated on the fly and is not queryable.
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.
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.
Unique identifier of the referenced OrderEdit.
+ *Unique identifier of the referenced OrderEdit. Required if key
is absent.
User-defined unique identifier of the referenced OrderEdit.
+ *User-defined unique identifier of the referenced OrderEdit. Required if id
is absent.
Unique identifier of the referenced OrderEdit.
+ *Unique identifier of the referenced OrderEdit. Required if key
is absent.
User-defined unique identifier of the referenced OrderEdit.
+ *User-defined unique identifier of the referenced OrderEdit. Required if id
is absent.
Unique identifier of the referenced OrderEdit. Required if key
is absent.
User-defined unique identifier of the referenced OrderEdit.
+ *User-defined unique identifier of the referenced OrderEdit. Required if id
is absent.
Unique identifier of the referenced OrderEdit.
+ *Unique identifier of the referenced OrderEdit. Required if key
is absent.
User-defined unique identifier of the referenced OrderEdit.
+ *User-defined unique identifier of the referenced OrderEdit. Required if id
is absent.
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.
Unique identifier of the referenced OrderEdit.
+ *Unique identifier of the referenced OrderEdit. Required if key
is absent.
User-defined unique identifier of the referenced OrderEdit.
+ *User-defined unique identifier of the referenced OrderEdit. Required if id
is absent.
If the edit is applied, stagedActions
cannot be updated.
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.
A Delivery can only be added to an Order if its shippingInfo
(for shippingMode
= Single
), or its shipping
(for shippingMode
= Multiple
) exists.
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.
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.
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.
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; /** *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.
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.
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.
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.
Can be used if the Cart has the External
TaxMode.
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
.
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.
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.
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.
Sets the LineItem price
and changes the priceMode
to ExternalPrice
LineItemPriceMode.
Can be used if the Cart has the ExternalAmount
TaxMode.
Can be used if the Cart has the External
TaxMode.
Sets the LineItem totalPrice
and price
, and changes the priceMode
to ExternalTotal
LineItemPriceMode.
Updates the total tax amount of the Order if it has the ExternalAmount
TaxMode.
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.
To set a ReturnShipmentState
, the Order returnInfo
must have at least one ReturnItem.
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.
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
.
A Shipping Method tax amount can be set if the Cart has the ExternalAmount
TaxMode.
A Shipping Method Tax Rate can be set if the Cart has the External
TaxMode.
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.
Updates an address in itemShippingAddresses
by keeping the Address key
.
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.
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.
Unique identifier of the referenced Payment. Either id
or key
is required.
Unique identifier of the referenced Payment. Required if key
is absent.
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.
Unique identifier of the referenced Payment. Either id
or key
is required.
Unique identifier of the referenced Payment. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced Payment. Required if key
is absent.
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.
Unique identifier of the referenced Payment. Either id
or key
is required.
Unique identifier of the referenced Payment. Required if key
is absent.
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.
ResourceIdentifier of a Payment.
+ *ResourceIdentifier of a Payment. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced Payment. Either id
or key
is required.
Unique identifier of the referenced Payment. Required if key
is absent.
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.
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.
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.
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.
Either variantId
or sku
is required. Produces the ProductImageAdded Message.
Adds the given Price to the prices
array of the ProductVariant. Either variantId
or sku
is required.
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.
Either variantId
or sku
is required. The Asset to update must be specified using either assetId
or assetKey
.
Either variantId
or sku
is required.
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.
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.
PagedQueryResult with results
containing an array of Product.
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
.
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.
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.
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.
Unique identifier of the referenced Product.
+ *Unique identifier of the referenced Product. Required if key
is absent.
User-defined unique identifier of the referenced Product.
+ *User-defined unique identifier of the referenced Product. Required if id
is absent.
Unique identifier of the referenced Product.
+ *Unique identifier of the referenced Product. Required if key
is absent.
User-defined unique identifier of the referenced Product.
+ *User-defined unique identifier of the referenced Product. Required if id
is absent.
Unique identifier of the referenced Product. Required if key
is absent.
User-defined unique identifier of the referenced Product.
+ *User-defined unique identifier of the referenced Product. Required if id
is absent.
Unique identifier of the referenced Product.
+ *Unique identifier of the referenced Product. Required if key
is absent.
User-defined unique identifier of the referenced Product.
+ *User-defined unique identifier of the referenced Product. Required if id
is absent.
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.
Unique identifier of the referenced Product.
+ *Unique identifier of the referenced Product. Required if key
is absent.
User-defined unique identifier of the referenced Product.
+ *User-defined unique identifier of the referenced Product. Required if id
is absent.
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
.
Either variantId
or sku
is required. The Asset to update must be specified using either assetId
or assetKey
.
Either variantId
or sku
is required. The Asset to update must be specified using either assetId
or assetKey
.
Either variantId
or sku
is required.
Either variantId
or sku
is required. The Asset to update must be specified using either assetId
or assetKey
.
Either variantId
or sku
is required. The Asset to update must be specified using either assetId
or assetKey
.
Either variantId
or sku
is required.
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
.
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.
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.
Either variantId
or sku
is required.
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.
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.
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.
JSON object where the key is a supply Channel id
and the value is the ProductVariantChannelAvailability of the InventoryEntry.
Creates a Product Variant when included in the masterVariant
and variants
fields of the ProductDraft.
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.
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.
Unique identifier of the referenced ProductDiscount. Either id
or key
is required.
Unique identifier of the referenced ProductDiscount. Required if key
is absent.
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.
Unique identifier of the referenced ProductDiscount. Either id
or key
is required.
Unique identifier of the referenced ProductDiscount. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced ProductDiscount. Required if key
is absent.
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.
Unique identifier of the referenced ProductDiscount. Either id
or key
is required.
Unique identifier of the referenced ProductDiscount. Required if key
is absent.
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.
ResourceIdentifier to a ProductDiscount.
+ *ResourceIdentifier to a ProductDiscount. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced ProductDiscount. Either id
or key
is required.
Unique identifier of the referenced ProductDiscount. Required if key
is absent.
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.
Discounts the Product Price by a fixed amount, defined by the money
field.
Discounts the Product's Price by a fixed amount, defined by the money
field.
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.
Discounts the product price by a percentage, defined by the permyriad
field.
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.
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.
Unique identifier of the referenced ProductSelection. Either id
or key
is required.
Unique identifier of the referenced ProductSelection. Required if key
is absent.
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.
Unique identifier of the referenced ProductSelection. Either id
or key
is required.
Unique identifier of the referenced ProductSelection. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced ProductSelection. Required if key
is absent.
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.
Unique identifier of the referenced ProductSelection. Either id
or key
is required.
Unique identifier of the referenced ProductSelection. Required if key
is absent.
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.
ResourceIdentifier to a ProductSelection.
+ *ResourceIdentifier to a ProductSelection. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced ProductSelection. Either id
or key
is required.
Unique identifier of the referenced ProductSelection. Required if key
is absent.
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.
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.
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.
Only Product Variants with the explicitly listed SKUs are part of a Product Selection with IndividualExclusion
ProductSelectionMode.
Polymorphic base type for Product Variant Selections. The actual type is determined by the type
field.
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).
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
.
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.
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
.
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
.
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.
Updates the inputHint
of an AttributeDefinition.
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.
Updates the order of localized enum values
in an AttributeLocalizedEnumType AttributeDefinition. It can update an AttributeLocalizedEnumType AttributeDefinition or an AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.
Updates the label of a single enum value
in an AttributeEnumType AttributeDefinition, or AttributeSetType of AttributeEnumType AttributeDefinition.
Updates the order of enum values
in an AttributeEnumType AttributeDefinition. It can update an AttributeEnumType AttributeDefinition or an AttributeSetType of AttributeEnumType AttributeDefinition.
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.
Unique identifier of the referenced ProductType. Either id
or key
is required.
Unique identifier of the referenced ProductType. Required if key
is absent.
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.
Unique identifier of the referenced ProductType. Either id
or key
is required.
Unique identifier of the referenced ProductType. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced ProductType. Required if key
is absent.
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.
Unique identifier of the referenced ProductType. Either id
or key
is required.
Unique identifier of the referenced ProductType. Required if key
is absent.
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.
ResourceIdentifier to a ProductType.
+ *ResourceIdentifier to a ProductType. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced ProductType. Either id
or key
is required.
Unique identifier of the referenced ProductType. Required if key
is absent.
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.
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.
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.
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.
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.
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.
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.
When creating a new Review, at least one of title
, text
or rating
should be set.
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.
Unique identifier of the referenced Review. Either id
or key
is required.
Unique identifier of the referenced Review. Required if key
is absent.
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.
Unique identifier of the referenced Review. Either id
or key
is required.
Unique identifier of the referenced Review. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced Review. Required if key
is absent.
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.
Unique identifier of the referenced Review. Either id
or key
is required.
Unique identifier of the referenced Review. Required if key
is absent.
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.
ResourceIdentifier to a Review.
+ *ResourceIdentifier to a Review. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced Review. Either id
or key
is required.
Unique identifier of the referenced Review. Required if key
is absent.
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.
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
).
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.
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
.'
PagedQueryResult with results
containing an array of ShippingMethod.
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.
Unique identifier of the referenced ShippingMethod. Either id
or key
is required.
Unique identifier of the referenced ShippingMethod. Required if key
is absent.
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.
Unique identifier of the referenced ShippingMethod. Either id
or key
is required.
Unique identifier of the referenced ShippingMethod. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced ShippingMethod. Required if key
is absent.
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.
Unique identifier of the referenced ShippingMethod. Either id
or key
is required.
Unique identifier of the referenced ShippingMethod. Required if key
is absent.
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.
ResourceIdentifier to a ShippingMethod.
+ *ResourceIdentifier to a ShippingMethod. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced ShippingMethod. Either id
or key
is required.
Unique identifier of the referenced ShippingMethod. Required if key
is absent.
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.
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.
The ProductVariant to be included in the ShoppingListLineItem must be specified using the productID
and variantID
, or by the sku
.
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.
Unique identifier of the referenced ShoppingList. Either id
or key
is required.
Unique identifier of the referenced ShoppingList. Required if key
is absent.
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.
Unique identifier of the referenced ShoppingList. Either id
or key
is required.
Unique identifier of the referenced ShoppingList. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced ShoppingList. Required if key
is absent.
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.
Unique identifier of the referenced ShoppingList. Either id
or key
is required.
Unique identifier of the referenced ShoppingList. Required if key
is absent.
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.
ResourceIdentifier to a ShoppingList.
+ *ResourceIdentifier to a ShoppingList. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced ShoppingList. Either id
or key
is required.
Unique identifier of the referenced ShoppingList. Required if key
is absent.
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.
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.
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.
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.
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.
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.
Updating the validFrom
and validUntil
values generates the StandalonePriceValidFromAndUntilSet Message.
Updating the validUntil
value generates the StandalonePriceValidUntilSet Message.
PagedQueryResult with results
containing an array of State.
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.
Unique identifier of the referenced State. Either id
or key
is required.
Unique identifier of the referenced State. Required if key
is absent.
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.
Unique identifier of the referenced State. Either id
or key
is required.
Unique identifier of the referenced State. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced State. Required if key
is absent.
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.
Unique identifier of the referenced State. Either id
or key
is required.
Unique identifier of the referenced State. Required if key
is absent.
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.
ResourceIdentifier to a State.
+ *ResourceIdentifier to a State. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced State. Either id
or key
is required.
Unique identifier of the referenced State. Required if key
is absent.
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.
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.
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.
Unique ID of the referenced Store. Either id
or key
is required.
Unique ID of the referenced Store. Required if key
is absent.
Unique key of the referenced Store. Either id
or key
is required.
Unique key of the referenced Store. Required if id
is absent.
Unique ID of the referenced Store. Either id
or key
is required.
Unique ID of the referenced Store. Required if key
is absent.
Unique key of the referenced Store. Either id
or key
is required.
Unique key of the referenced Store. Required if id
is absent.
id
or key
is required.
+ * Unique ID of the referenced Store. Required if key
is absent.
Unique key of the referenced Store. Either id
or key
is required.
Unique key of the referenced Store. Required if id
is absent.
Unique ID of the referenced Store. Either id
or key
is required.
Unique ID of the referenced Store. Required if key
is absent.
Unique key of the referenced Store. Either id
or key
is required.
Unique key of the referenced Store. Required if id
is absent.
ResourceIdentifier to a Store.
+ *ResourceIdentifier to a Store. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique ID of the referenced Store. Either id
or key
is required.
Unique ID of the referenced Store. Required if key
is absent.
Unique key of the referenced Store. Either id
or key
is required.
Unique key of the referenced Store. Required if id
is absent.
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.
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.
The CloudEventsFormat represents event data in a way that conforms to a common specification. The message payload can be found inside the data
field.
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.
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
.
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.
Either messages
or changes
must be set.
PagedQueryResult with results
containing an array of Subscription.
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.
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.
Unique identifier of the referenced TaxCategory. Either id
or key
is required.
Unique identifier of the referenced TaxCategory. Required if key
is absent.
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.
Unique identifier of the referenced TaxCategory. Either id
or key
is required.
Unique identifier of the referenced TaxCategory. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced TaxCategory. Required if key
is absent.
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.
Unique identifier of the referenced TaxCategory. Either id
or key
is required.
Unique identifier of the referenced TaxCategory. Required if key
is absent.
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.
ResourceIdentifier to a TaxCategory.
+ *ResourceIdentifier to a TaxCategory. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced TaxCategory. Either id
or key
is required.
Unique identifier of the referenced TaxCategory. Required if key
is absent.
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.
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).
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.
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.
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.
Changes the label
of a LocalizedEnumValue of a LocalizedEnumType FieldDefinition.
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.
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.
Unique identifier of the referenced Type. Either id
or key
is required.
Unique identifier of the referenced Type. Required if key
is absent.
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.
Unique identifier of the referenced Type. Either id
or key
is required.
Unique identifier of the referenced Type. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced Type. Required if key
is absent.
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.
Unique identifier of the referenced Type. Either id
or key
is required.
Unique identifier of the referenced Type. Required if key
is absent.
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.
ResourceIdentifier of a Type.
+ *ResourceIdentifier of a Type. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced Type. Either id
or key
is required.
Unique identifier of the referenced Type. Required if key
is absent.
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.
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.
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.
Unique identifier of the referenced Zone. Either id
or key
is required.
Unique identifier of the referenced Zone. Required if key
is absent.
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.
Unique identifier of the referenced Zone. Either id
or key
is required.
Unique identifier of the referenced Zone. Required if key
is absent.
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.
id
or key
is required.
+ * Unique identifier of the referenced Zone. Required if key
is absent.
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.
Unique identifier of the referenced Zone. Either id
or key
is required.
Unique identifier of the referenced Zone. Required if key
is absent.
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.
ResourceIdentifier to a Zone.
+ *ResourceIdentifier to a Zone. Either id
or key
is required. If both are set, an InvalidJsonInput error is returned.
Unique identifier of the referenced Zone. Either id
or key
is required.
Unique identifier of the referenced Zone. Required if key
is absent.
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.
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.
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.
Only present if expand
is set to true
.
Shape of the value for addLocation
and removeLocation
actions
Shape of the value for addTaxRate
and removeTaxRate
actions
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.
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.
The CombinationUnique
AttributeConstraintEnum was violated.
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.
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.
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).
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
.
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.
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