com.commercetools.graphql.api.client.AssociateProjection 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 AssociateProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public AssociateProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("Associate"));
}
public AssociateProjection __typename() {
getFields().put("__typename", null);
return this;
}
public AssociateRoleAssignmentProjection, ROOT> associateRoleAssignments(
) {
AssociateRoleAssignmentProjection, ROOT> projection = new AssociateRoleAssignmentProjection<>(this, getRoot());
getFields().put("associateRoleAssignments", projection);
return projection;
}
public ReferenceProjection, ROOT> customerRef() {
ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
getFields().put("customerRef", projection);
return projection;
}
public CustomerProjection, ROOT> customer() {
CustomerProjection, ROOT> projection = new CustomerProjection<>(this, getRoot());
getFields().put("customer", projection);
return projection;
}
}