com.commercetools.graphql.api.client.CreateBusinessUnitProjectionRoot 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 CreateBusinessUnitProjectionRoot, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public CreateBusinessUnitProjectionRoot() {
super(null, null, java.util.Optional.of("BusinessUnit"));
}
public CreateBusinessUnitProjectionRoot __typename() {
getFields().put("__typename", null);
return this;
}
public AddressProjection, CreateBusinessUnitProjectionRoot> addresses(
) {
AddressProjection, CreateBusinessUnitProjectionRoot> projection = new AddressProjection<>(this, this);
getFields().put("addresses", projection);
return projection;
}
public AddressProjection, CreateBusinessUnitProjectionRoot> defaultShippingAddress(
) {
AddressProjection, CreateBusinessUnitProjectionRoot> projection = new AddressProjection<>(this, this);
getFields().put("defaultShippingAddress", projection);
return projection;
}
public AddressProjection, CreateBusinessUnitProjectionRoot> defaultBillingAddress(
) {
AddressProjection, CreateBusinessUnitProjectionRoot> projection = new AddressProjection<>(this, this);
getFields().put("defaultBillingAddress", projection);
return projection;
}
public AddressProjection, CreateBusinessUnitProjectionRoot> shippingAddresses(
) {
AddressProjection, CreateBusinessUnitProjectionRoot> projection = new AddressProjection<>(this, this);
getFields().put("shippingAddresses", projection);
return projection;
}
public AddressProjection, CreateBusinessUnitProjectionRoot> billingAddresses(
) {
AddressProjection, CreateBusinessUnitProjectionRoot> projection = new AddressProjection<>(this, this);
getFields().put("billingAddresses", projection);
return projection;
}
public BusinessUnitStatusProjection, CreateBusinessUnitProjectionRoot> status(
) {
BusinessUnitStatusProjection, CreateBusinessUnitProjectionRoot> projection = new BusinessUnitStatusProjection<>(this, this);
getFields().put("status", projection);
return projection;
}
public KeyReferenceProjection, CreateBusinessUnitProjectionRoot> storesRef(
) {
KeyReferenceProjection, CreateBusinessUnitProjectionRoot> projection = new KeyReferenceProjection<>(this, this);
getFields().put("storesRef", projection);
return projection;
}
public StoreProjection, CreateBusinessUnitProjectionRoot> stores(
) {
StoreProjection, CreateBusinessUnitProjectionRoot> projection = new StoreProjection<>(this, this);
getFields().put("stores", projection);
return projection;
}
public BusinessUnitTypeProjection, CreateBusinessUnitProjectionRoot> unitType(
) {
BusinessUnitTypeProjection, CreateBusinessUnitProjectionRoot> projection = new BusinessUnitTypeProjection<>(this, this);
getFields().put("unitType", projection);
return projection;
}
public AssociateProjection, CreateBusinessUnitProjectionRoot> associates(
) {
AssociateProjection, CreateBusinessUnitProjectionRoot> projection = new AssociateProjection<>(this, this);
getFields().put("associates", projection);
return projection;
}
public BusinessUnitAssociateModeProjection, CreateBusinessUnitProjectionRoot> associateMode(
) {
BusinessUnitAssociateModeProjection, CreateBusinessUnitProjectionRoot> projection = new BusinessUnitAssociateModeProjection<>(this, this);
getFields().put("associateMode", projection);
return projection;
}
public InheritedAssociateProjection, CreateBusinessUnitProjectionRoot> inheritedAssociates(
) {
InheritedAssociateProjection, CreateBusinessUnitProjectionRoot> projection = new InheritedAssociateProjection<>(this, this);
getFields().put("inheritedAssociates", projection);
return projection;
}
public CustomFieldsTypeProjection, CreateBusinessUnitProjectionRoot> custom(
) {
CustomFieldsTypeProjection, CreateBusinessUnitProjectionRoot> projection = new CustomFieldsTypeProjection<>(this, this);
getFields().put("custom", projection);
return projection;
}
public KeyReferenceProjection, CreateBusinessUnitProjectionRoot> parentUnitRef(
) {
KeyReferenceProjection, CreateBusinessUnitProjectionRoot> projection = new KeyReferenceProjection<>(this, this);
getFields().put("parentUnitRef", projection);
return projection;
}
public BusinessUnitProjection, CreateBusinessUnitProjectionRoot> parentUnit(
) {
BusinessUnitProjection, CreateBusinessUnitProjectionRoot> projection = new BusinessUnitProjection<>(this, this);
getFields().put("parentUnit", projection);
return projection;
}
public BusinessUnitProjection, CreateBusinessUnitProjectionRoot> ancestors(
) {
BusinessUnitProjection, CreateBusinessUnitProjectionRoot> projection = new BusinessUnitProjection<>(this, this);
getFields().put("ancestors", projection);
return projection;
}
public InheritedStoreProjection, CreateBusinessUnitProjectionRoot> inheritedStores(
) {
InheritedStoreProjection, CreateBusinessUnitProjectionRoot> projection = new InheritedStoreProjection<>(this, this);
getFields().put("inheritedStores", projection);
return projection;
}
public KeyReferenceProjection, CreateBusinessUnitProjectionRoot> topLevelUnitRef(
) {
KeyReferenceProjection, CreateBusinessUnitProjectionRoot> projection = new KeyReferenceProjection<>(this, this);
getFields().put("topLevelUnitRef", projection);
return projection;
}
public BusinessUnitProjection, CreateBusinessUnitProjectionRoot> topLevelUnit(
) {
BusinessUnitProjection, CreateBusinessUnitProjectionRoot> projection = new BusinessUnitProjection<>(this, this);
getFields().put("topLevelUnit", projection);
return projection;
}
public BusinessUnitApprovalRuleModeProjection, CreateBusinessUnitProjectionRoot> approvalRuleMode(
) {
BusinessUnitApprovalRuleModeProjection, CreateBusinessUnitProjectionRoot> projection = new BusinessUnitApprovalRuleModeProjection<>(this, this);
getFields().put("approvalRuleMode", projection);
return projection;
}
public InitiatorProjection, CreateBusinessUnitProjectionRoot> createdBy(
) {
InitiatorProjection, CreateBusinessUnitProjectionRoot> projection = new InitiatorProjection<>(this, this);
getFields().put("createdBy", projection);
return projection;
}
public InitiatorProjection, CreateBusinessUnitProjectionRoot> lastModifiedBy(
) {
InitiatorProjection, CreateBusinessUnitProjectionRoot> projection = new InitiatorProjection<>(this, this);
getFields().put("lastModifiedBy", projection);
return projection;
}
public CreateBusinessUnitProjectionRoot key() {
getFields().put("key", null);
return this;
}
public CreateBusinessUnitProjectionRoot name() {
getFields().put("name", null);
return this;
}
public CreateBusinessUnitProjectionRoot contactEmail() {
getFields().put("contactEmail", null);
return this;
}
public CreateBusinessUnitProjectionRoot defaultShippingAddressId() {
getFields().put("defaultShippingAddressId", null);
return this;
}
public CreateBusinessUnitProjectionRoot defaultBillingAddressId() {
getFields().put("defaultBillingAddressId", null);
return this;
}
public CreateBusinessUnitProjectionRoot shippingAddressIds() {
getFields().put("shippingAddressIds", null);
return this;
}
public CreateBusinessUnitProjectionRoot billingAddressIds() {
getFields().put("billingAddressIds", null);
return this;
}
public CreateBusinessUnitProjectionRoot storeMode() {
getFields().put("storeMode", null);
return this;
}
public CreateBusinessUnitProjectionRoot id() {
getFields().put("id", null);
return this;
}
public CreateBusinessUnitProjectionRoot version() {
getFields().put("version", null);
return this;
}
public CreateBusinessUnitProjectionRoot createdAt() {
getFields().put("createdAt", null);
return this;
}
public CreateBusinessUnitProjectionRoot lastModifiedAt() {
getFields().put("lastModifiedAt", null);
return this;
}
}