From 5342479c456aa5dd685a7fb3ed8f18b5d2df3a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20B=C3=B8rnich?= Date: Thu, 16 Feb 2023 13:30:40 +0100 Subject: [PATCH] Add project scoped access to quotes, quoteRequests and stagedQuotes (#199) --- .../Client/ProjectApiRoot.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Client/ProjectApiRoot.cs b/commercetools.Sdk/commercetools.Sdk.Api/Client/ProjectApiRoot.cs index 0af4db39fc3..97756f80079 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Client/ProjectApiRoot.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Client/ProjectApiRoot.cs @@ -34,6 +34,9 @@ using commercetools.Base.Client; using commercetools.Sdk.Api.Client.RequestBuilders.StandalonePrices; using commercetools.Sdk.Api.Client.RequestBuilders.ProductSelections; +using commercetools.Sdk.Api.Client.RequestBuilders.QuoteRequests; +using commercetools.Sdk.Api.Client.RequestBuilders.Quotes; +using commercetools.Sdk.Api.Client.RequestBuilders.StagedQuotes; namespace commercetools.Sdk.Api.Client { @@ -160,6 +163,16 @@ public ByProjectKeyProductTypesRequestBuilder ProductTypes() { return With().ProductTypes(); } + + public ByProjectKeyQuotesRequestBuilder Quotes() + { + return With().Quotes(); + } + + public ByProjectKeyQuoteRequestsRequestBuilder QuoteRequests() + { + return With().QuoteRequests(); + } public ByProjectKeyReviewsRequestBuilder Reviews() { @@ -175,6 +188,11 @@ public ByProjectKeyShoppingListsRequestBuilder ShoppingLists() { return With().ShoppingLists(); } + + public ByProjectKeyStagedQuotesRequestBuilder StagedQuotesRequests() + { + return With().StagedQuotes(); + } public ByProjectKeyStatesRequestBuilder States() {