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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy