com.commercetools.graphql.api.client.ShippingRateProjection 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
The newest version!
package com.commercetools.graphql.api.client;
import com.netflix.graphql.dgs.client.codegen.BaseSubProjectionNode;
public class ShippingRateProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public ShippingRateProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("ShippingRate"));
}
public ShippingRateProjection __typename() {
getFields().put("__typename", null);
return this;
}
public MoneyProjection, ROOT> price() {
MoneyProjection, ROOT> projection = new MoneyProjection<>(this, getRoot());
getFields().put("price", projection);
return projection;
}
public MoneyProjection, ROOT> freeAbove() {
MoneyProjection, ROOT> projection = new MoneyProjection<>(this, getRoot());
getFields().put("freeAbove", projection);
return projection;
}
public ShippingRatePriceTierProjection, ROOT> tiers() {
ShippingRatePriceTierProjection, ROOT> projection = new ShippingRatePriceTierProjection<>(this, getRoot());
getFields().put("tiers", projection);
return projection;
}
public ShippingRateProjection isMatching() {
getFields().put("isMatching", null);
return this;
}
}