All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.commercetools.graphql.api.client.AssociateProjection Maven / Gradle / Ivy

There is a newer version: 17.15.1
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy