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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  public CartStateProjection, UpdateMyCartProjectionRoot> cartState(
      ) {
    CartStateProjection, UpdateMyCartProjectionRoot> projection = new CartStateProjection<>(this, this);    
    getFields().put("cartState", projection);
    return projection;
  }

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

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

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

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

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

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

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

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

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

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

  public UpdateMyCartProjectionRoot deleteDaysAfterLastModification() {
    getFields().put("deleteDaysAfterLastModification", null);
    return this;
  }

  public UpdateMyCartProjectionRoot totalLineItemQuantity() {
    getFields().put("totalLineItemQuantity", null);
    return this;
  }

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy