com.commercetools.graphql.api.client.ProductAssignmentProjection 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 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;
}
}