Skip to content

Commit de92f9b

Browse files
committed
add discountCodes to import API project api root
1 parent cc3c20b commit de92f9b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectApiRoot.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ public ByProjectKeyTypesRequestBuilder types() {
107107
return with().types();
108108
}
109109

110+
@Override
111+
public ByProjectKeyDiscountCodesRequestBuilder discountCodes() {
112+
return with().discountCodes();
113+
}
114+
110115
@Override
111116
public void close() {
112117
if (apiHttpClient == null) {

commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectScopedApiRoot.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ public interface ProjectScopedApiRoot {
3333
ByProjectKeyInventoriesRequestBuilder inventories();
3434

3535
ByProjectKeyTypesRequestBuilder types();
36+
37+
ByProjectKeyDiscountCodesRequestBuilder discountCodes();
3638
}

0 commit comments

Comments
 (0)