Skip to content

Commit f98fc99

Browse files
committed
DEVX-624: adding transactions() and paymentIntents() to ProjectScopedApiRoot
1 parent 013c073 commit f98fc99

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ public ByProjectKeyRequestBuilder with() {
2828
return ApiRoot.fromClient(apiHttpClient).withProjectKey(projectKey);
2929
}
3030

31+
@Override
32+
public ByProjectKeyPaymentIntentsRequestBuilder paymentIntents() {
33+
return with().paymentIntents();
34+
}
35+
36+
@Override
37+
public ByProjectKeyTransactionsRequestBuilder transactions() {
38+
return with().transactions();
39+
}
40+
3141
public ByProjectKeyRequestBuilder withProjectKey(final String projectKey) {
3242
return ApiRoot.fromClient(apiHttpClient).withProjectKey(projectKey);
3343
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33

44
public interface ProjectScopedApiRoot {
55
ByProjectKeyRequestBuilder with();
6+
ByProjectKeyTransactionsRequestBuilder transactions();
7+
ByProjectKeyPaymentIntentsRequestBuilder paymentIntents();
68
}

0 commit comments

Comments
 (0)