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

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

public class QuoteRequestProjection, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  public QuoteRequestProjection(PARENT parent, ROOT root) {
    super(parent, root, java.util.Optional.of("QuoteRequest"));
  }

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

  public ReferenceProjection, ROOT> customerRef() {
     ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
     getFields().put("customerRef", projection);
     return projection;
  }

  public CustomerProjection, ROOT> customer() {
     CustomerProjection, ROOT> projection = new CustomerProjection<>(this, getRoot());
     getFields().put("customer", projection);
     return projection;
  }

  public ReferenceProjection, ROOT> customerGroupRef() {
     ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
     getFields().put("customerGroupRef", projection);
     return projection;
  }

  public CustomerGroupProjection, ROOT> customerGroup() {
     CustomerGroupProjection, ROOT> projection = new CustomerGroupProjection<>(this, getRoot());
     getFields().put("customerGroup", projection);
     return projection;
  }

  public LineItemProjection, ROOT> lineItems() {
     LineItemProjection, ROOT> projection = new LineItemProjection<>(this, getRoot());
     getFields().put("lineItems", projection);
     return projection;
  }

  public LineItemProjection, ROOT> lineItems(String id) {
    LineItemProjection, ROOT> projection = new LineItemProjection<>(this, getRoot());    
    getFields().put("lineItems", projection);
    getInputArguments().computeIfAbsent("lineItems", k -> new ArrayList<>());                      
    InputArgument idArg = new InputArgument("id", id);
    getInputArguments().get("lineItems").add(idArg);
    return projection;
  }

  public CustomLineItemProjection, ROOT> customLineItems() {
     CustomLineItemProjection, ROOT> projection = new CustomLineItemProjection<>(this, getRoot());
     getFields().put("customLineItems", projection);
     return projection;
  }

  public MoneyProjection, ROOT> totalPrice() {
     MoneyProjection, ROOT> projection = new MoneyProjection<>(this, getRoot());
     getFields().put("totalPrice", projection);
     return projection;
  }

  public TaxedPriceProjection, ROOT> taxedPrice() {
     TaxedPriceProjection, ROOT> projection = new TaxedPriceProjection<>(this, getRoot());
     getFields().put("taxedPrice", projection);
     return projection;
  }

  public AddressProjection, ROOT> shippingAddress() {
     AddressProjection, ROOT> projection = new AddressProjection<>(this, getRoot());
     getFields().put("shippingAddress", projection);
     return projection;
  }

  public AddressProjection, ROOT> billingAddress() {
     AddressProjection, ROOT> projection = new AddressProjection<>(this, getRoot());
     getFields().put("billingAddress", projection);
     return projection;
  }

  public AddressProjection, ROOT> itemShippingAddresses() {
     AddressProjection, ROOT> projection = new AddressProjection<>(this, getRoot());
     getFields().put("itemShippingAddresses", projection);
     return projection;
  }

  public InventoryModeProjection, ROOT> inventoryMode() {
     InventoryModeProjection, ROOT> projection = new InventoryModeProjection<>(this, getRoot());
     getFields().put("inventoryMode", projection);
     return projection;
  }

  public TaxModeProjection, ROOT> taxMode() {
     TaxModeProjection, ROOT> projection = new TaxModeProjection<>(this, getRoot());
     getFields().put("taxMode", projection);
     return projection;
  }

  public RoundingModeProjection, ROOT> taxRoundingMode() {
     RoundingModeProjection, ROOT> projection = new RoundingModeProjection<>(this, getRoot());
     getFields().put("taxRoundingMode", projection);
     return projection;
  }

  public TaxCalculationModeProjection, ROOT> taxCalculationMode(
      ) {
     TaxCalculationModeProjection, ROOT> projection = new TaxCalculationModeProjection<>(this, getRoot());
     getFields().put("taxCalculationMode", projection);
     return projection;
  }

  public ShippingInfoProjection, ROOT> shippingInfo() {
     ShippingInfoProjection, ROOT> projection = new ShippingInfoProjection<>(this, getRoot());
     getFields().put("shippingInfo", projection);
     return projection;
  }

  public PaymentInfoProjection, ROOT> paymentInfo() {
     PaymentInfoProjection, ROOT> projection = new PaymentInfoProjection<>(this, getRoot());
     getFields().put("paymentInfo", projection);
     return projection;
  }

  public DirectDiscountProjection, ROOT> directDiscounts() {
     DirectDiscountProjection, ROOT> projection = new DirectDiscountProjection<>(this, getRoot());
     getFields().put("directDiscounts", projection);
     return projection;
  }

  public ShippingRateInputProjection, ROOT> shippingRateInput(
      ) {
     ShippingRateInputProjection, ROOT> projection = new ShippingRateInputProjection<>(this, getRoot());
     getFields().put("shippingRateInput", projection);
     return projection;
  }

  public KeyReferenceProjection, ROOT> storeRef() {
     KeyReferenceProjection, ROOT> projection = new KeyReferenceProjection<>(this, getRoot());
     getFields().put("storeRef", projection);
     return projection;
  }

  public StoreProjection, ROOT> store() {
     StoreProjection, ROOT> projection = new StoreProjection<>(this, getRoot());
     getFields().put("store", projection);
     return projection;
  }

  public BusinessUnitProjection, ROOT> businessUnit() {
     BusinessUnitProjection, ROOT> projection = new BusinessUnitProjection<>(this, getRoot());
     getFields().put("businessUnit", projection);
     return projection;
  }

  public KeyReferenceProjection, ROOT> businessUnitRef() {
     KeyReferenceProjection, ROOT> projection = new KeyReferenceProjection<>(this, getRoot());
     getFields().put("businessUnitRef", projection);
     return projection;
  }

  public QuoteRequestStateProjection, ROOT> quoteRequestState(
      ) {
     QuoteRequestStateProjection, ROOT> projection = new QuoteRequestStateProjection<>(this, getRoot());
     getFields().put("quoteRequestState", projection);
     return projection;
  }

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

  public ReferenceProjection, ROOT> stateRef() {
     ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
     getFields().put("stateRef", projection);
     return projection;
  }

  public StateProjection, ROOT> state() {
     StateProjection, ROOT> projection = new StateProjection<>(this, getRoot());
     getFields().put("state", projection);
     return projection;
  }

  public ReferenceProjection, ROOT> cartRef() {
     ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
     getFields().put("cartRef", projection);
     return projection;
  }

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

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

  public QuoteRequestProjection country() {
    getFields().put("country", null);
    return this;
  }

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

  public QuoteRequestProjection comment() {
    getFields().put("comment", null);
    return this;
  }

  public QuoteRequestProjection purchaseOrderNumber() {
    getFields().put("purchaseOrderNumber", null);
    return this;
  }

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy