001 002package com.commercetools.api.client; 003 004import java.util.function.UnaryOperator; 005 006import io.vrap.rmf.base.client.ApiHttpClient; 007import io.vrap.rmf.base.client.utils.Generated; 008 009@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") 010public class ByProjectKeyMeQuotesByIDRequestBuilder { 011 012 private final ApiHttpClient apiHttpClient; 013 private final String projectKey; 014 private final String ID; 015 016 public ByProjectKeyMeQuotesByIDRequestBuilder(final ApiHttpClient apiHttpClient, final String projectKey, 017 final String ID) { 018 this.apiHttpClient = apiHttpClient; 019 this.projectKey = projectKey; 020 this.ID = ID; 021 } 022 023 public ByProjectKeyMeQuotesByIDGet get() { 024 return new ByProjectKeyMeQuotesByIDGet(apiHttpClient, projectKey, ID); 025 } 026 027 public ByProjectKeyMeQuotesByIDPost post(com.commercetools.api.models.me.MyQuoteUpdate myQuoteUpdate) { 028 return new ByProjectKeyMeQuotesByIDPost(apiHttpClient, projectKey, ID, myQuoteUpdate); 029 } 030 031 public ByProjectKeyMeQuotesByIDPostString post(final String myQuoteUpdate) { 032 return new ByProjectKeyMeQuotesByIDPostString(apiHttpClient, projectKey, ID, myQuoteUpdate); 033 } 034 035 public ByProjectKeyMeQuotesByIDPost post(UnaryOperator<com.commercetools.api.models.me.MyQuoteUpdateBuilder> op) { 036 return post(op.apply(com.commercetools.api.models.me.MyQuoteUpdateBuilder.of()).build()); 037 } 038 039}