All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.commercetools.graphql.api.client.OrderExcerptProjection Maven / Gradle / Ivy

There is a newer version: 17.15.1
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy