Class ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost

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<ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost,Customer,MyCustomerResetPassword>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost>, io.vrap.rmf.base.client.ClientRequestCommand<Customer>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<Customer>, io.vrap.rmf.base.client.RequestCommand<Customer>

public class ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost extends io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost,Customer,MyCustomerResetPassword> implements ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost>

This is the last step in the password reset process of the authenticated Customer.

Resetting a password produces the of the Customer CustomerPasswordUpdated Message with reset=true.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .me()
            .password()
            .reset()
            .post(null)
            .execute()