diff --git a/changes.md b/changes.md
index a0eed6748cb..f64a255eaa2 100644
--- a/changes.md
+++ b/changes.md
@@ -14,6 +14,26 @@
+
+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}`
+
+
+
Added Type(s)
@@ -21,7 +41,18 @@
- added type `BestDeal`
- added type `DiscountTypeCombination`
- added type `Stacking`
+- 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 `OrderBusinessUnitSetMessage`
+- added type `CustomerGroupAssignmentAddedMessagePayload`
+- added type `CustomerGroupAssignmentRemovedMessagePayload`
+- added type `CustomerGroupAssignmentsSetMessagePayload`
- added type `OrderBusinessUnitSetMessagePayload`
- added type `StagedOrderSetBusinessUnitAction`
- added type `OrderSetBusinessUnitAction`
@@ -66,8 +97,11 @@
Added Property(s)
- added property `discountTypeCombination` to type `Cart`
+- added property `customerGroupAssignments` to type `Customer`
+- added property `customerGroupAssignments` to type `CustomerDraft`
- added property `discountTypeCombination` to type `StagedOrder`
- added property `discountTypeCombination` to type `Order`
+- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`
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 714b7c4cf40..20ee42b286b 100644
--- a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls
+++ b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls
@@ -198,6 +198,11 @@ input AddCustomerBillingAddressId {
addressKey: String
}
+"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+input AddCustomerGroupAssignment {
+ customerGroupAssignment: CustomerGroupAssignmentDraft!
+}
+
input AddCustomerShippingAddressId {
addressId: String
addressKey: String
@@ -3521,6 +3526,9 @@ type Customer implements Versioned & ReferenceExpandable {
billingAddresses: [Address!]!
storesRef: [KeyReference!]!
stores: [Store!]!
+
+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+ customerGroupAssignments: [CustomerGroupAssignment!]
custom: CustomFieldsType
id: String!
version: Long!
@@ -3677,6 +3685,35 @@ type CustomerGroup implements Versioned & ReferenceExpandable {
lastModifiedBy: Initiator
}
+"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+type CustomerGroupAssignment {
+ customerGroupRef: Reference
+ customerGroup: CustomerGroup
+}
+
+"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+type CustomerGroupAssignmentAdded implements MessagePayload {
+ customerGroupAssignment: CustomerGroupAssignment!
+ type: String!
+}
+
+"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+input CustomerGroupAssignmentDraft {
+ customerGroup: ResourceIdentifierInput!
+}
+
+"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+type CustomerGroupAssignmentRemoved implements MessagePayload {
+ customerGroupAssignment: CustomerGroupAssignment!
+ type: String!
+}
+
+"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+type CustomerGroupAssignmentsSet implements MessagePayload {
+ customerGroupAssignments: [CustomerGroupAssignment!]!
+ type: String!
+}
+
type CustomerGroupCustomFieldAdded implements MessagePayload {
name: String!
value: Json!
@@ -3910,6 +3947,9 @@ input CustomerSignUpDraft {
anonymousCart: ResourceIdentifierInput
externalId: String
customerGroup: ResourceIdentifierInput
+
+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+ customerGroupAssignments: [CustomerGroupAssignmentDraft!]
isEmailVerified: Boolean
anonymousId: String
authenticationMode: AuthenticationMode
@@ -3923,12 +3963,18 @@ type CustomerTitleSet implements MessagePayload {
input CustomerUpdateAction {
addAddress: AddCustomerAddress
addBillingAddressId: AddCustomerBillingAddressId
+
+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+ addCustomerGroupAssignment: AddCustomerGroupAssignment
addShippingAddressId: AddCustomerShippingAddressId
addStore: AddCustomerStore
changeAddress: ChangeCustomerAddress
changeEmail: ChangeCustomerEmail
removeAddress: RemoveCustomerAddress
removeBillingAddressId: RemoveCustomerBillingAddressId
+
+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+ removeCustomerGroupAssignment: RemoveCustomerGroupAssignment
removeShippingAddressId: RemoveCustomerShippingAddressId
removeStore: RemoveCustomerStore
setCompanyName: SetCustomerCompanyName
@@ -3938,6 +3984,9 @@ input CustomerUpdateAction {
setCustomField: SetCustomerCustomField
setCustomType: SetCustomerCustomType
setCustomerGroup: SetCustomerGroup
+
+ "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+ setCustomerGroupAssignments: SetCustomerGroupAssignments
setKey: SetCustomerKey
setLocale: SetCustomerLocale
setCustomerNumber: SetCustomerNumber
@@ -8999,7 +9048,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
@@ -10050,6 +10099,11 @@ input RemoveCustomerBillingAddressId {
addressKey: String
}
+"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+input RemoveCustomerGroupAssignment {
+ customerGroup: ResourceIdentifierInput!
+}
+
input RemoveCustomerShippingAddressId {
addressId: String
addressKey: String
@@ -11289,6 +11343,11 @@ input SetCustomerGroup {
customerGroup: ResourceIdentifierInput
}
+"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
+input SetCustomerGroupAssignments {
+ customerGroupAssignments: [CustomerGroupAssignmentDraft!]!
+}
+
input SetCustomerGroupCustomField {
name: String!
value: String
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 1456f522905..d0f603ddd84 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
@@ -126,6 +126,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -497,6 +501,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 39484966255..5e8c4e59a0e 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
@@ -126,6 +126,10 @@ public List getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}
+ public List getPriceCustomerGroupAssignments() {
+ return this.getQueryParam("priceCustomerGroupAssignments");
+ }
+
public List getPriceChannel() {
return this.getQueryParam("priceChannel");
}
@@ -500,6 +504,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 0800de5373a..8f84b09cad6 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 2d8f71d1ebd..05effbc20c6 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 ea84086985f..b01b2915650 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 2a16f34b55c..53754539290 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