com.commercetools.graphql.api.client.ParcelProjection 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 ParcelProjection, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public ParcelProjection(PARENT parent, ROOT root) {
super(parent, root, java.util.Optional.of("Parcel"));
}
public ParcelProjection __typename() {
getFields().put("__typename", null);
return this;
}
public ParcelMeasurementsProjection, ROOT> measurements() {
ParcelMeasurementsProjection, ROOT> projection = new ParcelMeasurementsProjection<>(this, getRoot());
getFields().put("measurements", projection);
return projection;
}
public TrackingDataProjection, ROOT> trackingData() {
TrackingDataProjection, ROOT> projection = new TrackingDataProjection<>(this, getRoot());
getFields().put("trackingData", projection);
return projection;
}
public DeliveryItemProjection, ROOT> items() {
DeliveryItemProjection, ROOT> projection = new DeliveryItemProjection<>(this, getRoot());
getFields().put("items", projection);
return projection;
}
public CustomFieldsTypeProjection, ROOT> custom() {
CustomFieldsTypeProjection, ROOT> projection = new CustomFieldsTypeProjection<>(this, getRoot());
getFields().put("custom", projection);
return projection;
}
public ParcelProjection id() {
getFields().put("id", null);
return this;
}
public ParcelProjection key() {
getFields().put("key", null);
return this;
}
public ParcelProjection createdAt() {
getFields().put("createdAt", null);
return this;
}
}