com.commercetools.graphql.api.client.InitiatorProjection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commercetools-graphql-api Show documentation
Show all versions of commercetools-graphql-api Show documentation
The e-commerce SDK from commercetools Composable Commerce for Java
package com.commercetools.graphql.api.client;
import com.netflix.graphql.dgs.client.codegen.BaseSubProjectionNode;
public class InitiatorProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public InitiatorProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("Initiator"));
}
public InitiatorProjection __typename() {
getFields().put("__typename", null);
return this;
}
public AttributionProjection, ROOT> attributedTo() {
AttributionProjection, ROOT> projection = new AttributionProjection<>(this, getRoot());
getFields().put("attributedTo", projection);
return projection;
}
public ReferenceProjection, ROOT> customerRef() {
ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
getFields().put("customerRef", projection);
return projection;
}
public ReferenceProjection, ROOT> userRef() {
ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
getFields().put("userRef", projection);
return projection;
}
public ReferenceProjection, ROOT> associateRef() {
ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
getFields().put("associateRef", projection);
return projection;
}
public InitiatorProjection isPlatformClient() {
getFields().put("isPlatformClient", null);
return this;
}
public InitiatorProjection externalUserId() {
getFields().put("externalUserId", null);
return this;
}
public InitiatorProjection anonymousId() {
getFields().put("anonymousId", null);
return this;
}
public InitiatorProjection clientId() {
getFields().put("clientId", null);
return this;
}
}