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

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

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

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

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

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

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

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

  public DiscountOnTotalPriceProjection, CreateOrderFromQuoteProjectionRoot> discountOnTotalPrice(
      ) {
    DiscountOnTotalPriceProjection, CreateOrderFromQuoteProjectionRoot> projection = new DiscountOnTotalPriceProjection<>(this, this);    
    getFields().put("discountOnTotalPrice", projection);
    return projection;
  }

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

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

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

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

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

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

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

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

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

  public DiscountCodeInfoProjection, CreateOrderFromQuoteProjectionRoot> discountCodes(
      ) {
    DiscountCodeInfoProjection, CreateOrderFromQuoteProjectionRoot> projection = new DiscountCodeInfoProjection<>(this, this);    
    getFields().put("discountCodes", projection);
    return projection;
  }

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

  public CartDiscountProjection, CreateOrderFromQuoteProjectionRoot> refusedGifts(
      ) {
    CartDiscountProjection, CreateOrderFromQuoteProjectionRoot> projection = new CartDiscountProjection<>(this, this);    
    getFields().put("refusedGifts", projection);
    return projection;
  }

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

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

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

  public CartOriginProjection, CreateOrderFromQuoteProjectionRoot> origin(
      ) {
    CartOriginProjection, CreateOrderFromQuoteProjectionRoot> projection = new CartOriginProjection<>(this, this);    
    getFields().put("origin", projection);
    return projection;
  }

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

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

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

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

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

  public ShippingProjection, CreateOrderFromQuoteProjectionRoot> shipping(
      ) {
    ShippingProjection, CreateOrderFromQuoteProjectionRoot> projection = new ShippingProjection<>(this, this);    
    getFields().put("shipping", projection);
    return projection;
  }

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

  public ShippingModeProjection, CreateOrderFromQuoteProjectionRoot> shippingMode(
      ) {
    ShippingModeProjection, CreateOrderFromQuoteProjectionRoot> projection = new ShippingModeProjection<>(this, this);    
    getFields().put("shippingMode", projection);
    return projection;
  }

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

  public OrderStateProjection, CreateOrderFromQuoteProjectionRoot> orderState(
      ) {
    OrderStateProjection, CreateOrderFromQuoteProjectionRoot> projection = new OrderStateProjection<>(this, this);    
    getFields().put("orderState", projection);
    return projection;
  }

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

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

  public ShipmentStateProjection, CreateOrderFromQuoteProjectionRoot> shipmentState(
      ) {
    ShipmentStateProjection, CreateOrderFromQuoteProjectionRoot> projection = new ShipmentStateProjection<>(this, this);    
    getFields().put("shipmentState", projection);
    return projection;
  }

  public PaymentStateProjection, CreateOrderFromQuoteProjectionRoot> paymentState(
      ) {
    PaymentStateProjection, CreateOrderFromQuoteProjectionRoot> projection = new PaymentStateProjection<>(this, this);    
    getFields().put("paymentState", projection);
    return projection;
  }

  public SyncInfoProjection, CreateOrderFromQuoteProjectionRoot> syncInfo(
      ) {
    SyncInfoProjection, CreateOrderFromQuoteProjectionRoot> projection = new SyncInfoProjection<>(this, this);    
    getFields().put("syncInfo", projection);
    return projection;
  }

  public ReturnInfoProjection, CreateOrderFromQuoteProjectionRoot> returnInfo(
      ) {
    ReturnInfoProjection, CreateOrderFromQuoteProjectionRoot> projection = new ReturnInfoProjection<>(this, this);    
    getFields().put("returnInfo", projection);
    return projection;
  }

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

  public CartProjection, CreateOrderFromQuoteProjectionRoot> cart(
      ) {
    CartProjection, CreateOrderFromQuoteProjectionRoot> projection = new CartProjection<>(this, this);    
    getFields().put("cart", projection);
    return projection;
  }

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

  public QuoteProjection, CreateOrderFromQuoteProjectionRoot> quote(
      ) {
    QuoteProjection, CreateOrderFromQuoteProjectionRoot> projection = new QuoteProjection<>(this, this);    
    getFields().put("quote", projection);
    return projection;
  }

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

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

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

  public CreateOrderFromQuoteProjectionRoot customerId() {
    getFields().put("customerId", null);
    return this;
  }

  public CreateOrderFromQuoteProjectionRoot customerEmail() {
    getFields().put("customerEmail", null);
    return this;
  }

  public CreateOrderFromQuoteProjectionRoot anonymousId() {
    getFields().put("anonymousId", null);
    return this;
  }

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

  public CreateOrderFromQuoteProjectionRoot shippingKey() {
    getFields().put("shippingKey", null);
    return this;
  }

  public CreateOrderFromQuoteProjectionRoot locale() {
    getFields().put("locale", null);
    return this;
  }

  public CreateOrderFromQuoteProjectionRoot completedAt() {
    getFields().put("completedAt", null);
    return this;
  }

  public CreateOrderFromQuoteProjectionRoot orderNumber() {
    getFields().put("orderNumber", null);
    return this;
  }

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

  public CreateOrderFromQuoteProjectionRoot lastMessageSequenceNumber() {
    getFields().put("lastMessageSequenceNumber", null);
    return this;
  }

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy