Package com.commercetools.graphql.api
Interface GraphQLRequest<T>
- All Superinterfaces:
GraphQLRequest
,ProjectRequestBuilder<ByProjectKeyGraphqlQuery<T>>
public interface GraphQLRequest<T>
extends GraphQLRequest, ProjectRequestBuilder<ByProjectKeyGraphqlQuery<T>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ByProjectKeyGraphqlQuery<T>
build
(ApiHttpClient client, String projectKey) static <T> GraphQLRequestBuilder<T>
builder()
builder factory method for GraphQLRequestvoid
setDataMapper
(Function<GraphQLData, T> dataMapper) Methods inherited from interface com.commercetools.api.models.graph_ql.GraphQLRequest
getOperationName, getQuery, getVariables, setOperationName, setQuery, setVariables, withGraphQLRequest
-
Method Details
-
getDataMapper
Function<GraphQLData,T> getDataMapper() -
setDataMapper
-
build
- Specified by:
build
in interfaceProjectRequestBuilder<T>
-
builder
builder factory method for GraphQLRequest- Returns:
- builder
-