Skip to content

Commit

Permalink
add discountCodes to import API project api root
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Apr 18, 2024
1 parent cc3c20b commit de92f9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ public ByProjectKeyTypesRequestBuilder types() {
return with().types();
}

@Override
public ByProjectKeyDiscountCodesRequestBuilder discountCodes() {
return with().discountCodes();

Check warning on line 112 in commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectApiRoot.java

View check run for this annotation

Codecov / codecov/patch

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

Added line #L112 was not covered by tests
}

@Override
public void close() {
if (apiHttpClient == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ public interface ProjectScopedApiRoot {
ByProjectKeyInventoriesRequestBuilder inventories();

ByProjectKeyTypesRequestBuilder types();

ByProjectKeyDiscountCodesRequestBuilder discountCodes();
}

0 comments on commit de92f9b

Please sign in to comment.