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

com.commercetools.graphql.api.client.ProductAssignmentProjection 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 ProductAssignmentProjection, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  public ProductAssignmentProjection(PARENT parent, ROOT root) {
    super(parent, root, java.util.Optional.of("ProductAssignment"));
  }

  public ProductAssignmentProjection __typename() {
    getFields().put("__typename", null);
    return this;
  }

  public ReferenceProjection, ROOT> productRef() {
     ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
     getFields().put("productRef", projection);
     return projection;
  }

  public ProductProjection, ROOT> product() {
     ProductProjection, ROOT> projection = new ProductProjection<>(this, getRoot());
     getFields().put("product", projection);
     return projection;
  }

  public ReferenceProjection, ROOT> productSelectionRef(
      ) {
     ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
     getFields().put("productSelectionRef", projection);
     return projection;
  }

  public ProductSelectionProjection, ROOT> productSelection(
      ) {
     ProductSelectionProjection, ROOT> projection = new ProductSelectionProjection<>(this, getRoot());
     getFields().put("productSelection", projection);
     return projection;
  }

  public ProductVariantSelectionProjection, ROOT> variantSelection(
      ) {
     ProductVariantSelectionProjection, ROOT> projection = new ProductVariantSelectionProjection<>(this, getRoot());
     getFields().put("variantSelection", projection);
     return projection;
  }

  public ProductVariantExclusionProjection, ROOT> variantExclusion(
      ) {
     ProductVariantExclusionProjection, ROOT> projection = new ProductVariantExclusionProjection<>(this, getRoot());
     getFields().put("variantExclusion", projection);
     return projection;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy