com.commercetools.graphql.api.client.OrderExcerptProjection 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;
public class OrderExcerptProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public OrderExcerptProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("OrderExcerpt"));
}
public OrderExcerptProjection __typename() {
getFields().put("__typename", null);
return this;
}
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 OrderExcerptProjection version() {
getFields().put("version", null);
return this;
}
}