Class ByProjectKeyDiscountCodesGet

All Implemented Interfaces:
ByProjectKeyDiscountCodesGetMixin, Deprecatable200Trait<ByProjectKeyDiscountCodesGet>, ErrorableTrait<ByProjectKeyDiscountCodesGet>, ExpandableTrait<ByProjectKeyDiscountCodesGet>, PagedQueryResourceRequest<ByProjectKeyDiscountCodesGet,DiscountCodePagedQueryResponse,com.commercetools.api.predicates.query.discount_code.DiscountCodeQueryBuilderDsl>, PagingTrait<ByProjectKeyDiscountCodesGet>, QueryTrait<ByProjectKeyDiscountCodesGet>, SimplePagedQueryResourceRequest<ByProjectKeyDiscountCodesGet,DiscountCodePagedQueryResponse,com.commercetools.api.predicates.query.discount_code.DiscountCodeQueryBuilderDsl>, SortableTrait<ByProjectKeyDiscountCodesGet>, ClientRequestCommand<DiscountCodePagedQueryResponse>, CreateHttpRequestCommand, HttpRequestCommand<DiscountCodePagedQueryResponse>, RequestCommand<DiscountCodePagedQueryResponse>

Deprecated OAuth 2.0 Scope: view_orders:{projectKey}



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.discount_code.DiscountCodePagedQueryResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .discountCodes()
            .get()
            .execute()