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 ByProjectKeyCustomersEmailConfirmRequestBuilder { 011 012 private final ApiHttpClient apiHttpClient; 013 private final String projectKey; 014 015 public ByProjectKeyCustomersEmailConfirmRequestBuilder(final ApiHttpClient apiHttpClient, final String projectKey) { 016 this.apiHttpClient = apiHttpClient; 017 this.projectKey = projectKey; 018 } 019 020 public ByProjectKeyCustomersEmailConfirmPost post( 021 com.commercetools.api.models.customer.CustomerEmailVerify customerEmailVerify) { 022 return new ByProjectKeyCustomersEmailConfirmPost(apiHttpClient, projectKey, customerEmailVerify); 023 } 024 025 public ByProjectKeyCustomersEmailConfirmPostString post(final String customerEmailVerify) { 026 return new ByProjectKeyCustomersEmailConfirmPostString(apiHttpClient, projectKey, customerEmailVerify); 027 } 028 029 public ByProjectKeyCustomersEmailConfirmPost post( 030 UnaryOperator<com.commercetools.api.models.customer.CustomerEmailVerifyBuilder> op) { 031 return post(op.apply(com.commercetools.api.models.customer.CustomerEmailVerifyBuilder.of()).build()); 032 } 033 034}