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

com.commercetools.graphql.api.client.CreateQuoteProjectionRoot 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 CreateQuoteProjectionRoot, ROOT extends BaseSubProjectionNode> extends BaseSubProjectionNode {
  public CreateQuoteProjectionRoot() {
    super(null, null, java.util.Optional.of("Quote"));
  }

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

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

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

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

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

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

  public LineItemProjection, CreateQuoteProjectionRoot> lineItems(
      String id) {
    LineItemProjection, CreateQuoteProjectionRoot> projection = new LineItemProjection<>(this, this);    
    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, CreateQuoteProjectionRoot> customLineItems(
      ) {
    CustomLineItemProjection, CreateQuoteProjectionRoot> projection = new CustomLineItemProjection<>(this, this);    
    getFields().put("customLineItems", projection);
    return projection;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  public QuoteStateProjection, CreateQuoteProjectionRoot> quoteState(
      ) {
    QuoteStateProjection, CreateQuoteProjectionRoot> projection = new QuoteStateProjection<>(this, this);    
    getFields().put("quoteState", projection);
    return projection;
  }

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

  public StagedQuoteProjection, CreateQuoteProjectionRoot> stagedQuote(
      ) {
    StagedQuoteProjection, CreateQuoteProjectionRoot> projection = new StagedQuoteProjection<>(this, this);    
    getFields().put("stagedQuote", projection);
    return projection;
  }

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

  public QuoteRequestProjection, CreateQuoteProjectionRoot> quoteRequest(
      ) {
    QuoteRequestProjection, CreateQuoteProjectionRoot> projection = new QuoteRequestProjection<>(this, this);    
    getFields().put("quoteRequest", projection);
    return projection;
  }

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

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

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

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

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

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

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

  public CreateQuoteProjectionRoot validTo() {
    getFields().put("validTo", null);
    return this;
  }

  public CreateQuoteProjectionRoot sellerComment() {
    getFields().put("sellerComment", null);
    return this;
  }

  public CreateQuoteProjectionRoot buyerComment() {
    getFields().put("buyerComment", null);
    return this;
  }

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy