com.commercetools.graphql.api.client.UpdateCartProjectionRoot 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 UpdateCartProjectionRoot, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public UpdateCartProjectionRoot() {
super(null, null, java.util.Optional.of("Cart"));
}
public UpdateCartProjectionRoot __typename() {
getFields().put("__typename", null);
return this;
}
public CustomerProjection, UpdateCartProjectionRoot> customer(
) {
CustomerProjection, UpdateCartProjectionRoot> projection = new CustomerProjection<>(this, this);
getFields().put("customer", projection);
return projection;
}
public LineItemProjection, UpdateCartProjectionRoot> lineItems(
) {
LineItemProjection, UpdateCartProjectionRoot> projection = new LineItemProjection<>(this, this);
getFields().put("lineItems", projection);
return projection;
}
public LineItemProjection, UpdateCartProjectionRoot> lineItems(
String id) {
LineItemProjection, UpdateCartProjectionRoot> 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, UpdateCartProjectionRoot> customLineItems(
) {
CustomLineItemProjection, UpdateCartProjectionRoot> projection = new CustomLineItemProjection<>(this, this);
getFields().put("customLineItems", projection);
return projection;
}
public MoneyProjection, UpdateCartProjectionRoot> totalPrice(
) {
MoneyProjection, UpdateCartProjectionRoot> projection = new MoneyProjection<>(this, this);
getFields().put("totalPrice", projection);
return projection;
}
public TaxedPriceProjection, UpdateCartProjectionRoot> taxedPrice(
) {
TaxedPriceProjection, UpdateCartProjectionRoot> projection = new TaxedPriceProjection<>(this, this);
getFields().put("taxedPrice", projection);
return projection;
}
public DiscountOnTotalPriceProjection, UpdateCartProjectionRoot> discountOnTotalPrice(
) {
DiscountOnTotalPriceProjection, UpdateCartProjectionRoot> projection = new DiscountOnTotalPriceProjection<>(this, this);
getFields().put("discountOnTotalPrice", projection);
return projection;
}
public AddressProjection, UpdateCartProjectionRoot> shippingAddress(
) {
AddressProjection, UpdateCartProjectionRoot> projection = new AddressProjection<>(this, this);
getFields().put("shippingAddress", projection);
return projection;
}
public AddressProjection, UpdateCartProjectionRoot> billingAddress(
) {
AddressProjection, UpdateCartProjectionRoot> projection = new AddressProjection<>(this, this);
getFields().put("billingAddress", projection);
return projection;
}
public InventoryModeProjection, UpdateCartProjectionRoot> inventoryMode(
) {
InventoryModeProjection, UpdateCartProjectionRoot> projection = new InventoryModeProjection<>(this, this);
getFields().put("inventoryMode", projection);
return projection;
}
public TaxModeProjection, UpdateCartProjectionRoot> taxMode(
) {
TaxModeProjection, UpdateCartProjectionRoot> projection = new TaxModeProjection<>(this, this);
getFields().put("taxMode", projection);
return projection;
}
public RoundingModeProjection, UpdateCartProjectionRoot> taxRoundingMode(
) {
RoundingModeProjection, UpdateCartProjectionRoot> projection = new RoundingModeProjection<>(this, this);
getFields().put("taxRoundingMode", projection);
return projection;
}
public TaxCalculationModeProjection, UpdateCartProjectionRoot> taxCalculationMode(
) {
TaxCalculationModeProjection, UpdateCartProjectionRoot> projection = new TaxCalculationModeProjection<>(this, this);
getFields().put("taxCalculationMode", projection);
return projection;
}
public CustomerGroupProjection, UpdateCartProjectionRoot> customerGroup(
) {
CustomerGroupProjection, UpdateCartProjectionRoot> projection = new CustomerGroupProjection<>(this, this);
getFields().put("customerGroup", projection);
return projection;
}
public ReferenceProjection, UpdateCartProjectionRoot> customerGroupRef(
) {
ReferenceProjection, UpdateCartProjectionRoot> projection = new ReferenceProjection<>(this, this);
getFields().put("customerGroupRef", projection);
return projection;
}
public ShippingInfoProjection, UpdateCartProjectionRoot> shippingInfo(
) {
ShippingInfoProjection, UpdateCartProjectionRoot> projection = new ShippingInfoProjection<>(this, this);
getFields().put("shippingInfo", projection);
return projection;
}
public DiscountCodeInfoProjection, UpdateCartProjectionRoot> discountCodes(
) {
DiscountCodeInfoProjection, UpdateCartProjectionRoot> projection = new DiscountCodeInfoProjection<>(this, this);
getFields().put("discountCodes", projection);
return projection;
}
public DirectDiscountProjection, UpdateCartProjectionRoot> directDiscounts(
) {
DirectDiscountProjection, UpdateCartProjectionRoot> projection = new DirectDiscountProjection<>(this, this);
getFields().put("directDiscounts", projection);
return projection;
}
public CartDiscountProjection, UpdateCartProjectionRoot> refusedGifts(
) {
CartDiscountProjection, UpdateCartProjectionRoot> projection = new CartDiscountProjection<>(this, this);
getFields().put("refusedGifts", projection);
return projection;
}
public ReferenceProjection, UpdateCartProjectionRoot> refusedGiftsRefs(
) {
ReferenceProjection, UpdateCartProjectionRoot> projection = new ReferenceProjection<>(this, this);
getFields().put("refusedGiftsRefs", projection);
return projection;
}
public PaymentInfoProjection, UpdateCartProjectionRoot> paymentInfo(
) {
PaymentInfoProjection, UpdateCartProjectionRoot> projection = new PaymentInfoProjection<>(this, this);
getFields().put("paymentInfo", projection);
return projection;
}
public ShippingRateInputProjection, UpdateCartProjectionRoot> shippingRateInput(
) {
ShippingRateInputProjection, UpdateCartProjectionRoot> projection = new ShippingRateInputProjection<>(this, this);
getFields().put("shippingRateInput", projection);
return projection;
}
public CartOriginProjection, UpdateCartProjectionRoot> origin(
) {
CartOriginProjection, UpdateCartProjectionRoot> projection = new CartOriginProjection<>(this, this);
getFields().put("origin", projection);
return projection;
}
public KeyReferenceProjection, UpdateCartProjectionRoot> storeRef(
) {
KeyReferenceProjection, UpdateCartProjectionRoot> projection = new KeyReferenceProjection<>(this, this);
getFields().put("storeRef", projection);
return projection;
}
public StoreProjection, UpdateCartProjectionRoot> store(
) {
StoreProjection, UpdateCartProjectionRoot> projection = new StoreProjection<>(this, this);
getFields().put("store", projection);
return projection;
}
public AddressProjection, UpdateCartProjectionRoot> itemShippingAddresses(
) {
AddressProjection, UpdateCartProjectionRoot> projection = new AddressProjection<>(this, this);
getFields().put("itemShippingAddresses", projection);
return projection;
}
public BusinessUnitProjection, UpdateCartProjectionRoot> businessUnit(
) {
BusinessUnitProjection, UpdateCartProjectionRoot> projection = new BusinessUnitProjection<>(this, this);
getFields().put("businessUnit", projection);
return projection;
}
public KeyReferenceProjection, UpdateCartProjectionRoot> businessUnitRef(
) {
KeyReferenceProjection, UpdateCartProjectionRoot> projection = new KeyReferenceProjection<>(this, this);
getFields().put("businessUnitRef", projection);
return projection;
}
public ShippingProjection, UpdateCartProjectionRoot> shipping(
) {
ShippingProjection, UpdateCartProjectionRoot> projection = new ShippingProjection<>(this, this);
getFields().put("shipping", projection);
return projection;
}
public TaxedPriceProjection, UpdateCartProjectionRoot> taxedShippingPrice(
) {
TaxedPriceProjection, UpdateCartProjectionRoot> projection = new TaxedPriceProjection<>(this, this);
getFields().put("taxedShippingPrice", projection);
return projection;
}
public ShippingModeProjection, UpdateCartProjectionRoot> shippingMode(
) {
ShippingModeProjection, UpdateCartProjectionRoot> projection = new ShippingModeProjection<>(this, this);
getFields().put("shippingMode", projection);
return projection;
}
public CustomFieldsTypeProjection, UpdateCartProjectionRoot> shippingCustomFields(
) {
CustomFieldsTypeProjection, UpdateCartProjectionRoot> projection = new CustomFieldsTypeProjection<>(this, this);
getFields().put("shippingCustomFields", projection);
return projection;
}
public CartStateProjection, UpdateCartProjectionRoot> cartState(
) {
CartStateProjection, UpdateCartProjectionRoot> projection = new CartStateProjection<>(this, this);
getFields().put("cartState", projection);
return projection;
}
public CustomFieldsTypeProjection, UpdateCartProjectionRoot> custom(
) {
CustomFieldsTypeProjection, UpdateCartProjectionRoot> projection = new CustomFieldsTypeProjection<>(this, this);
getFields().put("custom", projection);
return projection;
}
public InitiatorProjection, UpdateCartProjectionRoot> createdBy(
) {
InitiatorProjection, UpdateCartProjectionRoot> projection = new InitiatorProjection<>(this, this);
getFields().put("createdBy", projection);
return projection;
}
public InitiatorProjection, UpdateCartProjectionRoot> lastModifiedBy(
) {
InitiatorProjection, UpdateCartProjectionRoot> projection = new InitiatorProjection<>(this, this);
getFields().put("lastModifiedBy", projection);
return projection;
}
public UpdateCartProjectionRoot customerId() {
getFields().put("customerId", null);
return this;
}
public UpdateCartProjectionRoot customerEmail() {
getFields().put("customerEmail", null);
return this;
}
public UpdateCartProjectionRoot anonymousId() {
getFields().put("anonymousId", null);
return this;
}
public UpdateCartProjectionRoot country() {
getFields().put("country", null);
return this;
}
public UpdateCartProjectionRoot shippingKey() {
getFields().put("shippingKey", null);
return this;
}
public UpdateCartProjectionRoot locale() {
getFields().put("locale", null);
return this;
}
public UpdateCartProjectionRoot key() {
getFields().put("key", null);
return this;
}
public UpdateCartProjectionRoot deleteDaysAfterLastModification() {
getFields().put("deleteDaysAfterLastModification", null);
return this;
}
public UpdateCartProjectionRoot totalLineItemQuantity() {
getFields().put("totalLineItemQuantity", null);
return this;
}
public UpdateCartProjectionRoot id() {
getFields().put("id", null);
return this;
}
public UpdateCartProjectionRoot version() {
getFields().put("version", null);
return this;
}
public UpdateCartProjectionRoot createdAt() {
getFields().put("createdAt", null);
return this;
}
public UpdateCartProjectionRoot lastModifiedAt() {
getFields().put("lastModifiedAt", null);
return this;
}
}