com.commercetools.graphql.api.client.QuoteProjection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commercetools-graphql-api Show documentation
Show all versions of commercetools-graphql-api Show documentation
The e-commerce SDK from commercetools Composable Commerce for Java
package com.commercetools.graphql.api.client;
import com.netflix.graphql.dgs.client.codegen.BaseSubProjectionNode;
import java.lang.String;
import java.util.ArrayList;
public class QuoteProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public QuoteProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("Quote"));
}
public QuoteProjection __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 QuoteStateProjection, ROOT> quoteState() {
QuoteStateProjection, ROOT> projection = new QuoteStateProjection<>(this, getRoot());
getFields().put("quoteState", projection);
return projection;
}
public ReferenceProjection, ROOT> stagedQuoteRef() {
ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
getFields().put("stagedQuoteRef", projection);
return projection;
}
public StagedQuoteProjection, ROOT> stagedQuote() {
StagedQuoteProjection, ROOT> projection = new StagedQuoteProjection<>(this, getRoot());
getFields().put("stagedQuote", projection);
return projection;
}
public ReferenceProjection, ROOT> quoteRequestRef() {
ReferenceProjection, ROOT> projection = new ReferenceProjection<>(this, getRoot());
getFields().put("quoteRequestRef", projection);
return projection;
}
public QuoteRequestProjection, ROOT> quoteRequest() {
QuoteRequestProjection, ROOT> projection = new QuoteRequestProjection<>(this, getRoot());
getFields().put("quoteRequest", 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 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 QuoteProjection country() {
getFields().put("country", null);
return this;
}
public QuoteProjection key() {
getFields().put("key", null);
return this;
}
public QuoteProjection validTo() {
getFields().put("validTo", null);
return this;
}
public QuoteProjection sellerComment() {
getFields().put("sellerComment", null);
return this;
}
public QuoteProjection buyerComment() {
getFields().put("buyerComment", null);
return this;
}
public QuoteProjection purchaseOrderNumber() {
getFields().put("purchaseOrderNumber", null);
return this;
}
public QuoteProjection id() {
getFields().put("id", null);
return this;
}
public QuoteProjection version() {
getFields().put("version", null);
return this;
}
public QuoteProjection createdAt() {
getFields().put("createdAt", null);
return this;
}
public QuoteProjection lastModifiedAt() {
getFields().put("lastModifiedAt", null);
return this;
}
}