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

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

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy