Skip to content

Commit

Permalink
Add project scoped access to quotes, quoteRequests and stagedQuotes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarostar authored Feb 16, 2023
1 parent f295255 commit 5342479
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions commercetools.Sdk/commercetools.Sdk.Api/Client/ProjectApiRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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()
{
Expand All @@ -175,6 +188,11 @@ public ByProjectKeyShoppingListsRequestBuilder ShoppingLists()
{
return With().ShoppingLists();
}

public ByProjectKeyStagedQuotesRequestBuilder StagedQuotesRequests()
{
return With().StagedQuotes();
}

public ByProjectKeyStatesRequestBuilder States()
{
Expand Down

0 comments on commit 5342479

Please sign in to comment.