Skip to content

Commit afda4aa

Browse files
committed
add paymentmethods to apiroot
1 parent a4e7f86 commit afda4aa

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,11 @@ public ByProjectKeyDiscountGroupsRequestBuilder discountGroups() {
313313
return with().discountGroups();
314314
}
315315

316+
@Override
317+
public ByProjectKeyPaymentMethodsRequestBuilder paymentMethods() {
318+
return with().paymentMethods();
319+
}
320+
316321
@Override
317322
public <R> R with(Function<ProjectApiRoot, R> op) {
318323
return op.apply(this);

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,7 @@ public interface ProjectScopedApiRoot {
100100

101101
ByProjectKeyDiscountGroupsRequestBuilder discountGroups();
102102

103+
ByProjectKeyPaymentMethodsRequestBuilder paymentMethods();
104+
103105
<R> R with(Function<ProjectApiRoot, R> op);
104106
}

0 commit comments

Comments
 (0)