Class CustomerSignMeInGraphQLQuery
java.lang.Object
com.netflix.graphql.dgs.client.codegen.GraphQLQuery
com.commercetools.graphql.api.client.CustomerSignMeInGraphQLQuery
public class CustomerSignMeInGraphQLQuery
extends com.netflix.graphql.dgs.client.codegen.GraphQLQuery
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
Retrieves the authenticated customer (a customer that matches the given email/password pair).
If used with an access token for Anonymous Sessions, all orders and carts belonging to the `anonymousId` will be assigned to the newly created customer.
* If the customer does not have a cart yet, the anonymous cart that was modified most recently becomes the customer's cart.
* If the customer already has a cart, the most recently modified anonymous cart will be handled according to the `AnonymousCartSignInMode`.
If a cart is is returned as part of the `CustomerSignInResult`, it has been recalculated (it will have up-to-date prices, taxes and discounts, and invalid line items have been removed).
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCustomerSignMeInGraphQLQuery(CustomerSignMeInDraft draft, String storeKey, String queryName, Set<String> fieldsSet) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.netflix.graphql.dgs.client.codegen.GraphQLQuery
getInput, getName, getOperation, getOperationType, getQueryAlias, getVariableDefinitions, setQueryAlias
-
Constructor Details
-
CustomerSignMeInGraphQLQuery
public CustomerSignMeInGraphQLQuery(CustomerSignMeInDraft draft, String storeKey, String queryName, Set<String> fieldsSet) -
CustomerSignMeInGraphQLQuery
public CustomerSignMeInGraphQLQuery()
-
-
Method Details
-
getOperationName
- Specified by:
getOperationNamein classcom.netflix.graphql.dgs.client.codegen.GraphQLQuery
-
newRequest
-