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