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

com.commercetools.graphql.api.client.UpdateShippingMethodProjectionRoot 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.String;
import java.util.ArrayList;
import java.util.List;

public class UpdateShippingMethodProjectionRoot, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  public UpdateShippingMethodProjectionRoot() {
    super(null, null, java.util.Optional.of("ShippingMethod"));
  }

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

  public ZoneRateProjection, UpdateShippingMethodProjectionRoot> zoneRates(
      ) {
    ZoneRateProjection, UpdateShippingMethodProjectionRoot> projection = new ZoneRateProjection<>(this, this);    
    getFields().put("zoneRates", projection);
    return projection;
  }

  public ReferenceProjection, UpdateShippingMethodProjectionRoot> taxCategoryRef(
      ) {
    ReferenceProjection, UpdateShippingMethodProjectionRoot> projection = new ReferenceProjection<>(this, this);    
    getFields().put("taxCategoryRef", projection);
    return projection;
  }

  public LocalizedStringProjection, UpdateShippingMethodProjectionRoot> localizedDescriptionAllLocales(
      ) {
    LocalizedStringProjection, UpdateShippingMethodProjectionRoot> projection = new LocalizedStringProjection<>(this, this);    
    getFields().put("localizedDescriptionAllLocales", projection);
    return projection;
  }

  public LocalizedStringProjection, UpdateShippingMethodProjectionRoot> localizedNameAllLocales(
      ) {
    LocalizedStringProjection, UpdateShippingMethodProjectionRoot> projection = new LocalizedStringProjection<>(this, this);    
    getFields().put("localizedNameAllLocales", projection);
    return projection;
  }

  public StringProjection, UpdateShippingMethodProjectionRoot> localizedDescription(
      String locale, List acceptLanguage) {
    StringProjection, UpdateShippingMethodProjectionRoot> projection = new StringProjection<>(this, this);    
    getFields().put("localizedDescription", projection);
    getInputArguments().computeIfAbsent("localizedDescription", k -> new ArrayList<>());                      
    InputArgument localeArg = new InputArgument("locale", locale);
    getInputArguments().get("localizedDescription").add(localeArg);
    InputArgument acceptLanguageArg = new InputArgument("acceptLanguage", acceptLanguage);
    getInputArguments().get("localizedDescription").add(acceptLanguageArg);
    return projection;
  }

  public StringProjection, UpdateShippingMethodProjectionRoot> localizedName(
      String locale, List acceptLanguage) {
    StringProjection, UpdateShippingMethodProjectionRoot> projection = new StringProjection<>(this, this);    
    getFields().put("localizedName", projection);
    getInputArguments().computeIfAbsent("localizedName", k -> new ArrayList<>());                      
    InputArgument localeArg = new InputArgument("locale", locale);
    getInputArguments().get("localizedName").add(localeArg);
    InputArgument acceptLanguageArg = new InputArgument("acceptLanguage", acceptLanguage);
    getInputArguments().get("localizedName").add(acceptLanguageArg);
    return projection;
  }

  public TaxCategoryProjection, UpdateShippingMethodProjectionRoot> taxCategory(
      ) {
    TaxCategoryProjection, UpdateShippingMethodProjectionRoot> projection = new TaxCategoryProjection<>(this, this);    
    getFields().put("taxCategory", projection);
    return projection;
  }

  public CustomFieldsTypeProjection, UpdateShippingMethodProjectionRoot> custom(
      ) {
    CustomFieldsTypeProjection, UpdateShippingMethodProjectionRoot> projection = new CustomFieldsTypeProjection<>(this, this);    
    getFields().put("custom", projection);
    return projection;
  }

  public InitiatorProjection, UpdateShippingMethodProjectionRoot> createdBy(
      ) {
    InitiatorProjection, UpdateShippingMethodProjectionRoot> projection = new InitiatorProjection<>(this, this);    
    getFields().put("createdBy", projection);
    return projection;
  }

  public InitiatorProjection, UpdateShippingMethodProjectionRoot> lastModifiedBy(
      ) {
    InitiatorProjection, UpdateShippingMethodProjectionRoot> projection = new InitiatorProjection<>(this, this);    
    getFields().put("lastModifiedBy", projection);
    return projection;
  }

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

  public UpdateShippingMethodProjectionRoot active() {
    getFields().put("active", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot isDefault() {
    getFields().put("isDefault", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot predicate() {
    getFields().put("predicate", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot key() {
    getFields().put("key", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot localizedDescription() {
    getFields().put("localizedDescription", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot localizedName() {
    getFields().put("localizedName", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot id() {
    getFields().put("id", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot version() {
    getFields().put("version", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot createdAt() {
    getFields().put("createdAt", null);
    return this;
  }

  public UpdateShippingMethodProjectionRoot lastModifiedAt() {
    getFields().put("lastModifiedAt", null);
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy