Class ByProjectKeyCustomersEmailTokenPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyCustomersEmailTokenPost,CustomerToken,CustomerCreateEmailToken>
com.commercetools.api.client.ByProjectKeyCustomersEmailTokenPost
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyCustomersEmailTokenPost>, io.vrap.rmf.base.client.ClientRequestCommand<CustomerToken>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<CustomerToken>, io.vrap.rmf.base.client.RequestCommand<CustomerToken>

public class ByProjectKeyCustomersEmailTokenPost extends io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyCustomersEmailTokenPost,CustomerToken,CustomerCreateEmailToken> implements ErrorableTrait<ByProjectKeyCustomersEmailTokenPost>

Produces the CustomerEmailTokenCreated Message.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.CustomerToken>> result = apiRoot
            .withProjectKey("{projectKey}")
            .customers()
            .emailToken()
            .post(null)
            .execute()