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

com.commercetools.graphql.api.client.ProductPriceCustomFieldAddedFragmentProjection 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;
import java.lang.Override;
import java.lang.String;

public class ProductPriceCustomFieldAddedFragmentProjection, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  {
    getFields().put("__typename", null);
  }

  public ProductPriceCustomFieldAddedFragmentProjection(PARENT parent, ROOT root) {
    super(parent, root, java.util.Optional.of("ProductPriceCustomFieldAdded"));
  }

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

  public ProductPriceCustomFieldAddedFragmentProjection priceId() {
    getFields().put("priceId", null);
    return this;
  }

  public ProductPriceCustomFieldAddedFragmentProjection variantId() {
    getFields().put("variantId", null);
    return this;
  }

  public ProductPriceCustomFieldAddedFragmentProjection staged() {
    getFields().put("staged", null);
    return this;
  }

  public ProductPriceCustomFieldAddedFragmentProjection name() {
    getFields().put("name", null);
    return this;
  }

  public ProductPriceCustomFieldAddedFragmentProjection value() {
    getFields().put("value", null);
    return this;
  }

  public ProductPriceCustomFieldAddedFragmentProjection type() {
    getFields().put("type", null);
    return this;
  }

  @Override
  public String toString() {
    StringBuilder builder = new StringBuilder();
    builder.append("... on ProductPriceCustomFieldAdded {");
    getFields().forEach((k, v) -> {
        builder.append(" ").append(k);
        if(v != null) {
            builder.append(" ").append(v.toString());
        }
    });
    builder.append("}");
     
    return builder.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy