com.commercetools.graphql.api.client.DiscountCodesProjectionRoot 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 DiscountCodesProjectionRoot, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public DiscountCodesProjectionRoot() {
super(null, null, java.util.Optional.of("DiscountCodeQueryResult"));
}
public DiscountCodesProjectionRoot __typename() {
getFields().put("__typename", null);
return this;
}
public DiscountCodeProjection, DiscountCodesProjectionRoot> results(
) {
DiscountCodeProjection, DiscountCodesProjectionRoot> projection = new DiscountCodeProjection<>(this, this);
getFields().put("results", projection);
return projection;
}
public DiscountCodesProjectionRoot offset() {
getFields().put("offset", null);
return this;
}
public DiscountCodesProjectionRoot count() {
getFields().put("count", null);
return this;
}
public DiscountCodesProjectionRoot total() {
getFields().put("total", null);
return this;
}
public DiscountCodesProjectionRoot exists() {
getFields().put("exists", null);
return this;
}
}