Class ByProjectKeyMePasswordPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyMePasswordPostString,Customer>
com.commercetools.api.client.ByProjectKeyMePasswordPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyMePasswordPostString>, ErrorableTrait<ByProjectKeyMePasswordPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Customer>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Customer>

public class ByProjectKeyMePasswordPostString extends io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyMePasswordPostString,Customer> implements ConflictingTrait<ByProjectKeyMePasswordPostString>, ErrorableTrait<ByProjectKeyMePasswordPostString>

Changing the password of the Customer produces the CustomerPasswordUpdated Message with reset=false.

If the current password does not match, an InvalidCurrentPassword error is returned.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
            .withProjectKey("{projectKey}")
            .me()
            .password()
            .post("")
            .execute()
 
  • Constructor Details

    • ByProjectKeyMePasswordPostString

      public ByProjectKeyMePasswordPostString(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String myCustomerChangePassword)
    • ByProjectKeyMePasswordPostString

      public ByProjectKeyMePasswordPostString(ByProjectKeyMePasswordPostString t)
  • Method Details