diff --git a/changes.md b/changes.md
index 05db4c4e8bd..157ae6b4fe9 100644
--- a/changes.md
+++ b/changes.md
@@ -10,6 +10,17 @@
Added Type(s)
+- added type `CustomerGroupAssignment`
+- added type `CustomerGroupAssignmentDraft`
+- added type `CustomerAddCustomerGroupAssignmentAction`
+- added type `CustomerRemoveCustomerGroupAssignmentAction`
+- added type `CustomerSetCustomerGroupAssignmentsAction`
+- added type `CustomerGroupAssignmentAddedMessage`
+- added type `CustomerGroupAssignmentRemovedMessage`
+- added type `CustomerGroupAssignmentsSetMessage`
+- added type `CustomerGroupAssignmentAddedMessagePayload`
+- added type `CustomerGroupAssignmentRemovedMessagePayload`
+- added type `CustomerGroupAssignmentsSetMessagePayload`
- added type `ShoppingListSetBusinessUnitAction`
@@ -17,7 +28,30 @@
Added Property(s)
+- added property `customerGroupAssignments` to type `Customer`
+- added property `customerGroupAssignments` to type `CustomerDraft`
+- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`
- added property `businessUnit` to type `ShoppingList`
- added property `businessUnit` to type `ShoppingListDraft`
+
+
+Added QueryParameter(s)
+
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products`
+- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products`
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections`
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/key={key}`
+- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/key={key}`
+- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/key={key}`
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/{ID}`
+- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/{ID}`
+- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/{ID}`
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/search`
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/key={key}`
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/{ID}`
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}`
+- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}`
+
+
diff --git a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls
index d02e768677d..1442f07bc17 100644
--- a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls
+++ b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls
@@ -8947,7 +8947,7 @@ type ProductVariant {
prices: [ProductPrice!]
"Returns a single price based on the price selection rules."
- price(currency: Currency!, country: Country, customerGroupId: String, channelId: String, date: DateTime): ProductPrice
+ price(currency: Currency!, country: Country, customerGroupId: String, customerGroupAssignmentIds: [String], channelId: String, date: DateTime): ProductPrice
images: [Image!]!
assets: [Asset!]!
availability: ProductVariantAvailabilityWithChannels
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java
index 086b6663737..fc400ad4dc5 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java
@@ -125,6 +125,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -496,6 +500,95 @@ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPri
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
+ final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
+ final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java
index c0315b8f770..5b43da06b21 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java
@@ -125,6 +125,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -499,6 +503,95 @@ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet ad
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDGet.java
index dd82554bb92..9ce8767b208 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDGet.java
@@ -114,6 +114,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -464,6 +468,93 @@ public ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroup(
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductProjectionsByIDGet
+ */
+ public ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsGet.java
index 14bb7ef6412..67eb2a0846e 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsGet.java
@@ -109,6 +109,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -473,6 +477,93 @@ public ByProjectKeyProductProjectionsGet addPriceCustomerGroup(
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductProjectionsGet
+ */
+ public ByProjectKeyProductProjectionsGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductProjectionsGet
+ */
+ public ByProjectKeyProductProjectionsGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductProjectionsGet
+ */
+ public ByProjectKeyProductProjectionsGet withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductProjectionsGet
+ */
+ public ByProjectKeyProductProjectionsGet addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductProjectionsGet
+ */
+ public ByProjectKeyProductProjectionsGet withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductProjectionsGet
+ */
+ public ByProjectKeyProductProjectionsGet addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductProjectionsGet
+ */
+ public ByProjectKeyProductProjectionsGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductProjectionsGet
+ */
+ public ByProjectKeyProductProjectionsGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyGet.java
index 5990d0cd99d..8399bd8ad12 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyGet.java
@@ -114,6 +114,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -466,6 +470,94 @@ public ByProjectKeyProductProjectionsKeyByKeyGet addPriceCustomerGroup(
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductProjectionsKeyByKeyGet
+ */
+ public ByProjectKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchGet.java
index cea727441bf..431b8b1f6cc 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchGet.java
@@ -153,6 +153,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -1380,6 +1384,93 @@ public ByProjectKeyProductProjectionsSearchGet addPriceCustomerGroup(
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductProjectionsSearchGet
+ */
+ public ByProjectKeyProductProjectionsSearchGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductProjectionsSearchGet
+ */
+ public ByProjectKeyProductProjectionsSearchGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductProjectionsSearchGet
+ */
+ public ByProjectKeyProductProjectionsSearchGet withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductProjectionsSearchGet
+ */
+ public ByProjectKeyProductProjectionsSearchGet addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductProjectionsSearchGet
+ */
+ public ByProjectKeyProductProjectionsSearchGet withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductProjectionsSearchGet
+ */
+ public ByProjectKeyProductProjectionsSearchGet addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductProjectionsSearchGet
+ */
+ public ByProjectKeyProductProjectionsSearchGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductProjectionsSearchGet
+ */
+ public ByProjectKeyProductProjectionsSearchGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java
index dbb3269733e..90fa35ce213 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java
@@ -110,6 +110,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -373,6 +377,93 @@ public ByProjectKeyProductsByIDDelete addPriceCustomerGroup(final Colle
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductsByIDDelete
+ */
+ public ByProjectKeyProductsByIDDelete withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductsByIDDelete
+ */
+ public ByProjectKeyProductsByIDDelete addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductsByIDDelete
+ */
+ public ByProjectKeyProductsByIDDelete withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductsByIDDelete
+ */
+ public ByProjectKeyProductsByIDDelete addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductsByIDDelete
+ */
+ public ByProjectKeyProductsByIDDelete withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductsByIDDelete
+ */
+ public ByProjectKeyProductsByIDDelete addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductsByIDDelete
+ */
+ public ByProjectKeyProductsByIDDelete withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductsByIDDelete
+ */
+ public ByProjectKeyProductsByIDDelete addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java
index 93f7b216b76..05026da9797 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java
@@ -106,6 +106,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -365,6 +369,93 @@ public ByProjectKeyProductsByIDGet addPriceCustomerGroup(final Collecti
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductsByIDGet
+ */
+ public ByProjectKeyProductsByIDGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductsByIDGet
+ */
+ public ByProjectKeyProductsByIDGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductsByIDGet
+ */
+ public ByProjectKeyProductsByIDGet withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductsByIDGet
+ */
+ public ByProjectKeyProductsByIDGet addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductsByIDGet
+ */
+ public ByProjectKeyProductsByIDGet withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductsByIDGet
+ */
+ public ByProjectKeyProductsByIDGet addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductsByIDGet
+ */
+ public ByProjectKeyProductsByIDGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductsByIDGet
+ */
+ public ByProjectKeyProductsByIDGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java
index bf94e3340e9..9bcee023214 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java
@@ -116,6 +116,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -375,6 +379,93 @@ public ByProjectKeyProductsByIDPost addPriceCustomerGroup(final Collect
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductsByIDPost
+ */
+ public ByProjectKeyProductsByIDPost withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductsByIDPost
+ */
+ public ByProjectKeyProductsByIDPost addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductsByIDPost
+ */
+ public ByProjectKeyProductsByIDPost withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductsByIDPost
+ */
+ public ByProjectKeyProductsByIDPost addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductsByIDPost
+ */
+ public ByProjectKeyProductsByIDPost withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductsByIDPost
+ */
+ public ByProjectKeyProductsByIDPost addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductsByIDPost
+ */
+ public ByProjectKeyProductsByIDPost withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductsByIDPost
+ */
+ public ByProjectKeyProductsByIDPost addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java
index 7a9670a3fa3..632da449fb5 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java
@@ -115,6 +115,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -376,6 +380,93 @@ public ByProjectKeyProductsByIDPostString addPriceCustomerGroup(
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param value type
+ * @param priceCustomerGroupAssignments value to be set
+ * @return ByProjectKeyProductsByIDPostString
+ */
+ public ByProjectKeyProductsByIDPostString withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param value type
+ * @param priceCustomerGroupAssignments value to be added
+ * @return ByProjectKeyProductsByIDPostString
+ */
+ public ByProjectKeyProductsByIDPostString addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductsByIDPostString
+ */
+ public ByProjectKeyProductsByIDPostString withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductsByIDPostString
+ */
+ public ByProjectKeyProductsByIDPostString addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductsByIDPostString
+ */
+ public ByProjectKeyProductsByIDPostString withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductsByIDPostString
+ */
+ public ByProjectKeyProductsByIDPostString addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param value type
+ * @param priceCustomerGroupAssignments values to be set
+ * @return ByProjectKeyProductsByIDPostString
+ */
+ public ByProjectKeyProductsByIDPostString withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param value type
+ * @param priceCustomerGroupAssignments values to be added
+ * @return ByProjectKeyProductsByIDPostString
+ */
+ public ByProjectKeyProductsByIDPostString addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param value type
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java
index 81cec5942f4..1428b0d4728 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java
@@ -105,6 +105,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -455,6 +459,91 @@ public ByProjectKeyProductsGet addPriceCustomerGroup(final Collection value type
+ * @return ByProjectKeyProductsGet
+ */
+ public ByProjectKeyProductsGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductsGet
+ */
+ public ByProjectKeyProductsGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductsGet
+ */
+ public ByProjectKeyProductsGet withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductsGet
+ */
+ public ByProjectKeyProductsGet addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductsGet
+ */
+ public ByProjectKeyProductsGet withPriceCustomerGroupAssignments(final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductsGet
+ */
+ public ByProjectKeyProductsGet addPriceCustomerGroupAssignments(final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductsGet
+ */
+ public ByProjectKeyProductsGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductsGet
+ */
+ public ByProjectKeyProductsGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java
index ff8836df09b..a92d1840ded 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java
@@ -110,6 +110,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -375,6 +379,93 @@ public ByProjectKeyProductsKeyByKeyDelete addPriceCustomerGroup(
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyDelete
+ */
+ public ByProjectKeyProductsKeyByKeyDelete withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyDelete
+ */
+ public ByProjectKeyProductsKeyByKeyDelete addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductsKeyByKeyDelete
+ */
+ public ByProjectKeyProductsKeyByKeyDelete withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductsKeyByKeyDelete
+ */
+ public ByProjectKeyProductsKeyByKeyDelete addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductsKeyByKeyDelete
+ */
+ public ByProjectKeyProductsKeyByKeyDelete withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductsKeyByKeyDelete
+ */
+ public ByProjectKeyProductsKeyByKeyDelete addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyDelete
+ */
+ public ByProjectKeyProductsKeyByKeyDelete withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyDelete
+ */
+ public ByProjectKeyProductsKeyByKeyDelete addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java
index f279588567a..0ecb2f52294 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java
@@ -106,6 +106,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -366,6 +370,93 @@ public ByProjectKeyProductsKeyByKeyGet addPriceCustomerGroup(final Coll
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyGet
+ */
+ public ByProjectKeyProductsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyGet
+ */
+ public ByProjectKeyProductsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductsKeyByKeyGet
+ */
+ public ByProjectKeyProductsKeyByKeyGet withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductsKeyByKeyGet
+ */
+ public ByProjectKeyProductsKeyByKeyGet addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductsKeyByKeyGet
+ */
+ public ByProjectKeyProductsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductsKeyByKeyGet
+ */
+ public ByProjectKeyProductsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyGet
+ */
+ public ByProjectKeyProductsKeyByKeyGet withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyGet
+ */
+ public ByProjectKeyProductsKeyByKeyGet addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java
index 6d5749bb546..a049944f298 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java
@@ -115,6 +115,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -376,6 +380,93 @@ public ByProjectKeyProductsKeyByKeyPost addPriceCustomerGroup(
.collect(Collectors.toList()));
}
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param priceCustomerGroupAssignments value to be set
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyPost
+ */
+ public ByProjectKeyProductsKeyByKeyPost withPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param priceCustomerGroupAssignments value to be added
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyPost
+ */
+ public ByProjectKeyProductsKeyByKeyPost addPriceCustomerGroupAssignments(
+ final TValue priceCustomerGroupAssignments) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param supplier supplier for the value to be set
+ * @return ByProjectKeyProductsKeyByKeyPost
+ */
+ public ByProjectKeyProductsKeyByKeyPost withPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param supplier supplier for the value to be added
+ * @return ByProjectKeyProductsKeyByKeyPost
+ */
+ public ByProjectKeyProductsKeyByKeyPost addPriceCustomerGroupAssignments(final Supplier supplier) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified value
+ * @param op builder for the value to be set
+ * @return ByProjectKeyProductsKeyByKeyPost
+ */
+ public ByProjectKeyProductsKeyByKeyPost withPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameter
+ * @param op builder for the value to be added
+ * @return ByProjectKeyProductsKeyByKeyPost
+ */
+ public ByProjectKeyProductsKeyByKeyPost addPriceCustomerGroupAssignments(
+ final Function op) {
+ return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
+ }
+
+ /**
+ * set priceCustomerGroupAssignments with the specified values
+ * @param priceCustomerGroupAssignments values to be set
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyPost
+ */
+ public ByProjectKeyProductsKeyByKeyPost withPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().withoutQueryParam("priceCustomerGroupAssignments")
+ .addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
+ /**
+ * add additional priceCustomerGroupAssignments query parameters
+ * @param priceCustomerGroupAssignments values to be added
+ * @param value type
+ * @return ByProjectKeyProductsKeyByKeyPost
+ */
+ public ByProjectKeyProductsKeyByKeyPost addPriceCustomerGroupAssignments(
+ final Collection priceCustomerGroupAssignments) {
+ return copy().addQueryParams(priceCustomerGroupAssignments.stream()
+ .map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
+ .collect(Collectors.toList()));
+ }
+
/**
* set priceChannel with the specified value
* @param priceChannel value to be set
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPostString.java
index dafe2d9b032..8e057e77f03 100644
--- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPostString.java
+++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPostString.java
@@ -114,6 +114,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List