Skip to content

Commit 765a4ef

Browse files
Merge pull request #703 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 5fdde6c + 63d35d2 commit 765a4ef

File tree

725 files changed

+1280
-851
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

725 files changed

+1280
-851
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDDelete.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDDelete(ByProjectKeyApiClientsByIDDelete t) {
6060
@Override
6161
protected ApiHttpRequest buildHttpRequest() {
6262
List<String> params = new ArrayList<>(getQueryParamUriStrings());
63-
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
63+
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
64+
encodePathParam(this.ID));
6465
if (!params.isEmpty()) {
6566
httpRequestPath += "?" + String.join("&", params);
6667
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDGet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDGet(ByProjectKeyApiClientsByIDGet t) {
6060
@Override
6161
protected ApiHttpRequest buildHttpRequest() {
6262
List<String> params = new ArrayList<>(getQueryParamUriStrings());
63-
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
63+
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
64+
encodePathParam(this.ID));
6465
if (!params.isEmpty()) {
6566
httpRequestPath += "?" + String.join("&", params);
6667
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDHead.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDHead(ByProjectKeyApiClientsByIDHead t) {
6060
@Override
6161
protected ApiHttpRequest buildHttpRequest() {
6262
List<String> params = new ArrayList<>(getQueryParamUriStrings());
63-
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
63+
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
64+
encodePathParam(this.ID));
6465
if (!params.isEmpty()) {
6566
httpRequestPath += "?" + String.join("&", params);
6667
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public ByProjectKeyApiClientsGet(ByProjectKeyApiClientsGet t) {
6565
@Override
6666
protected ApiHttpRequest buildHttpRequest() {
6767
List<String> params = new ArrayList<>(getQueryParamUriStrings());
68-
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
68+
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
6969
if (!params.isEmpty()) {
7070
httpRequestPath += "?" + String.join("&", params);
7171
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsHead.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public ByProjectKeyApiClientsHead(ByProjectKeyApiClientsHead t) {
6060
@Override
6161
protected ApiHttpRequest buildHttpRequest() {
6262
List<String> params = new ArrayList<>(getQueryParamUriStrings());
63-
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
63+
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
6464
if (!params.isEmpty()) {
6565
httpRequestPath += "?" + String.join("&", params);
6666
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsPost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public ByProjectKeyApiClientsPost(ByProjectKeyApiClientsPost t) {
6666
@Override
6767
protected ApiHttpRequest buildHttpRequest() {
6868
List<String> params = new ArrayList<>(getQueryParamUriStrings());
69-
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
69+
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
7070
if (!params.isEmpty()) {
7171
httpRequestPath += "?" + String.join("&", params);
7272
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet(
7373
@Override
7474
protected ApiHttpRequest buildHttpRequest() {
7575
List<String> params = new ArrayList<>(getQueryParamUriStrings());
76-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
77-
this.associateId, this.ID);
76+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
77+
encodePathParam(this.associateId), encodePathParam(this.ID));
7878
if (!params.isEmpty()) {
7979
httpRequestPath += "?" + String.join("&", params);
8080
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead(
6868
@Override
6969
protected ApiHttpRequest buildHttpRequest() {
7070
List<String> params = new ArrayList<>(getQueryParamUriStrings());
71-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
72-
this.associateId, this.ID);
71+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
72+
encodePathParam(this.associateId), encodePathParam(this.ID));
7373
if (!params.isEmpty()) {
7474
httpRequestPath += "?" + String.join("&", params);
7575
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost(
7979
@Override
8080
protected ApiHttpRequest buildHttpRequest() {
8181
List<String> params = new ArrayList<>(getQueryParamUriStrings());
82-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
83-
this.associateId, this.ID);
82+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
83+
encodePathParam(this.associateId), encodePathParam(this.ID));
8484
if (!params.isEmpty()) {
8585
httpRequestPath += "?" + String.join("&", params);
8686
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet(
7272
@Override
7373
protected ApiHttpRequest buildHttpRequest() {
7474
List<String> params = new ArrayList<>(getQueryParamUriStrings());
75-
String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId);
75+
String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey),
76+
encodePathParam(this.associateId));
7677
if (!params.isEmpty()) {
7778
httpRequestPath += "?" + String.join("&", params);
7879
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead(
6767
@Override
6868
protected ApiHttpRequest buildHttpRequest() {
6969
List<String> params = new ArrayList<>(getQueryParamUriStrings());
70-
String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId);
70+
String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey),
71+
encodePathParam(this.associateId));
7172
if (!params.isEmpty()) {
7273
httpRequestPath += "?" + String.join("&", params);
7374
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet(
7373
@Override
7474
protected ApiHttpRequest buildHttpRequest() {
7575
List<String> params = new ArrayList<>(getQueryParamUriStrings());
76-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey,
77-
this.associateId, this.key);
76+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s",
77+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key));
7878
if (!params.isEmpty()) {
7979
httpRequestPath += "?" + String.join("&", params);
8080
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead(
6868
@Override
6969
protected ApiHttpRequest buildHttpRequest() {
7070
List<String> params = new ArrayList<>(getQueryParamUriStrings());
71-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey,
72-
this.associateId, this.key);
71+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s",
72+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key));
7373
if (!params.isEmpty()) {
7474
httpRequestPath += "?" + String.join("&", params);
7575
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost(
7979
@Override
8080
protected ApiHttpRequest buildHttpRequest() {
8181
List<String> params = new ArrayList<>(getQueryParamUriStrings());
82-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey,
83-
this.associateId, this.key);
82+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s",
83+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key));
8484
if (!params.isEmpty()) {
8585
httpRequestPath += "?" + String.join("&", params);
8686
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost(
7272
@Override
7373
protected ApiHttpRequest buildHttpRequest() {
7474
List<String> params = new ArrayList<>(getQueryParamUriStrings());
75-
String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId);
75+
String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey),
76+
encodePathParam(this.associateId));
7677
if (!params.isEmpty()) {
7778
httpRequestPath += "?" + String.join("&", params);
7879
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
7979
protected ApiHttpRequest buildHttpRequest() {
8080
List<String> params = new ArrayList<>(getQueryParamUriStrings());
8181
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows/%s",
82-
this.projectKey, this.associateId, this.businessUnitKey, this.ID);
82+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
83+
encodePathParam(this.ID));
8384
if (!params.isEmpty()) {
8485
httpRequestPath += "?" + String.join("&", params);
8586
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
8484
protected ApiHttpRequest buildHttpRequest() {
8585
List<String> params = new ArrayList<>(getQueryParamUriStrings());
8686
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows/%s",
87-
this.projectKey, this.associateId, this.businessUnitKey, this.ID);
87+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
88+
encodePathParam(this.ID));
8889
if (!params.isEmpty()) {
8990
httpRequestPath += "?" + String.join("&", params);
9091
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
7777
protected ApiHttpRequest buildHttpRequest() {
7878
List<String> params = new ArrayList<>(getQueryParamUriStrings());
7979
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows",
80-
this.projectKey, this.associateId, this.businessUnitKey);
80+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
8181
if (!params.isEmpty()) {
8282
httpRequestPath += "?" + String.join("&", params);
8383
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDGet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
7979
protected ApiHttpRequest buildHttpRequest() {
8080
List<String> params = new ArrayList<>(getQueryParamUriStrings());
8181
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/%s",
82-
this.projectKey, this.associateId, this.businessUnitKey, this.ID);
82+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
83+
encodePathParam(this.ID));
8384
if (!params.isEmpty()) {
8485
httpRequestPath += "?" + String.join("&", params);
8586
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDPost.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
8484
protected ApiHttpRequest buildHttpRequest() {
8585
List<String> params = new ArrayList<>(getQueryParamUriStrings());
8686
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/%s",
87-
this.projectKey, this.associateId, this.businessUnitKey, this.ID);
87+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
88+
encodePathParam(this.ID));
8889
if (!params.isEmpty()) {
8990
httpRequestPath += "?" + String.join("&", params);
9091
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
7777
protected ApiHttpRequest buildHttpRequest() {
7878
List<String> params = new ArrayList<>(getQueryParamUriStrings());
7979
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules",
80-
this.projectKey, this.associateId, this.businessUnitKey);
80+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
8181
if (!params.isEmpty()) {
8282
httpRequestPath += "?" + String.join("&", params);
8383
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyGet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
7979
protected ApiHttpRequest buildHttpRequest() {
8080
List<String> params = new ArrayList<>(getQueryParamUriStrings());
8181
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/key=%s",
82-
this.projectKey, this.associateId, this.businessUnitKey, this.key);
82+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
83+
encodePathParam(this.key));
8384
if (!params.isEmpty()) {
8485
httpRequestPath += "?" + String.join("&", params);
8586
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyPost.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
8484
protected ApiHttpRequest buildHttpRequest() {
8585
List<String> params = new ArrayList<>(getQueryParamUriStrings());
8686
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/key=%s",
87-
this.projectKey, this.associateId, this.businessUnitKey, this.key);
87+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
88+
encodePathParam(this.key));
8889
if (!params.isEmpty()) {
8990
httpRequestPath += "?" + String.join("&", params);
9091
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesPost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
7979
protected ApiHttpRequest buildHttpRequest() {
8080
List<String> params = new ArrayList<>(getQueryParamUriStrings());
8181
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules",
82-
this.projectKey, this.associateId, this.businessUnitKey);
82+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
8383
if (!params.isEmpty()) {
8484
httpRequestPath += "?" + String.join("&", params);
8585
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDDelete.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
8282
@Override
8383
protected ApiHttpRequest buildHttpRequest() {
8484
List<String> params = new ArrayList<>(getQueryParamUriStrings());
85-
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey,
86-
this.associateId, this.businessUnitKey, this.ID);
85+
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s",
86+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
87+
encodePathParam(this.ID));
8788
if (!params.isEmpty()) {
8889
httpRequestPath += "?" + String.join("&", params);
8990
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDGet.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
7878
@Override
7979
protected ApiHttpRequest buildHttpRequest() {
8080
List<String> params = new ArrayList<>(getQueryParamUriStrings());
81-
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey,
82-
this.associateId, this.businessUnitKey, this.ID);
81+
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s",
82+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
83+
encodePathParam(this.ID));
8384
if (!params.isEmpty()) {
8485
httpRequestPath += "?" + String.join("&", params);
8586
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDHead.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
7373
@Override
7474
protected ApiHttpRequest buildHttpRequest() {
7575
List<String> params = new ArrayList<>(getQueryParamUriStrings());
76-
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey,
77-
this.associateId, this.businessUnitKey, this.ID);
76+
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s",
77+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
78+
encodePathParam(this.ID));
7879
if (!params.isEmpty()) {
7980
httpRequestPath += "?" + String.join("&", params);
8081
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDPost.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
8383
@Override
8484
protected ApiHttpRequest buildHttpRequest() {
8585
List<String> params = new ArrayList<>(getQueryParamUriStrings());
86-
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey,
87-
this.associateId, this.businessUnitKey, this.ID);
86+
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s",
87+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
88+
encodePathParam(this.ID));
8889
if (!params.isEmpty()) {
8990
httpRequestPath += "?" + String.join("&", params);
9091
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
7676
@Override
7777
protected ApiHttpRequest buildHttpRequest() {
7878
List<String> params = new ArrayList<>(getQueryParamUriStrings());
79-
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", this.projectKey,
80-
this.associateId, this.businessUnitKey);
79+
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts",
80+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
8181
if (!params.isEmpty()) {
8282
httpRequestPath += "?" + String.join("&", params);
8383
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsHead.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
7272
@Override
7373
protected ApiHttpRequest buildHttpRequest() {
7474
List<String> params = new ArrayList<>(getQueryParamUriStrings());
75-
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", this.projectKey,
76-
this.associateId, this.businessUnitKey);
75+
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts",
76+
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
7777
if (!params.isEmpty()) {
7878
httpRequestPath += "?" + String.join("&", params);
7979
}

0 commit comments

Comments
 (0)