com.commercetools.graphql.api.client.OrderEditResultProjection 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 OrderEditResultProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public OrderEditResultProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("OrderEditResult"));
}
public OrderEditResultProjection __typename() {
getFields().put("__typename", null);
return this;
}
public OrderEditResultProjection type() {
getFields().put("type", null);
return this;
}
public AppliedFragmentProjection, ROOT> onApplied() {
AppliedFragmentProjection, ROOT> fragment = new AppliedFragmentProjection<>(this, getRoot());
getFragments().add(fragment);
return fragment;
}
public NotProcessedFragmentProjection, ROOT> onNotProcessed(
) {
NotProcessedFragmentProjection, ROOT> fragment = new NotProcessedFragmentProjection<>(this, getRoot());
getFragments().add(fragment);
return fragment;
}
public PreviewFailureFragmentProjection, ROOT> onPreviewFailure(
) {
PreviewFailureFragmentProjection, ROOT> fragment = new PreviewFailureFragmentProjection<>(this, getRoot());
getFragments().add(fragment);
return fragment;
}
public PreviewSuccessFragmentProjection, ROOT> onPreviewSuccess(
) {
PreviewSuccessFragmentProjection, ROOT> fragment = new PreviewSuccessFragmentProjection<>(this, getRoot());
getFragments().add(fragment);
return fragment;
}
}