Class ByProjectKeyDiscountGroupsGet

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyDiscountGroupsGet>, ErrorableTrait<ByProjectKeyDiscountGroupsGet>, ExpandableTrait<ByProjectKeyDiscountGroupsGet>, PagingTrait<ByProjectKeyDiscountGroupsGet>, QueryTrait<ByProjectKeyDiscountGroupsGet>, SortableTrait<ByProjectKeyDiscountGroupsGet>, ClientRequestCommand<DiscountGroupPagedQueryResponse>, CreateHttpRequestCommand, HttpRequestCommand<DiscountGroupPagedQueryResponse>, RequestCommand<DiscountGroupPagedQueryResponse>

Retrieves all DiscountGroups in the Project.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.discount_group.DiscountGroupPagedQueryResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .discountGroups()
            .get()
            .execute()