Interface InvalidCurrentPasswordError

All Superinterfaces:
ErrorObject

public interface InvalidCurrentPasswordError extends ErrorObject

Returned when the current password of the Customer does not match.

The error is returned as a failed response to:

  • Change Customer Password and Change Customer Password in a Store requests on Customers.
  • Change Customer Password and Change Customer Password in a Store requests on My Customer Profile.

Example to create an instance using the builder pattern

     InvalidCurrentPasswordError invalidCurrentPasswordError = InvalidCurrentPasswordError.builder()
             .message("{message}")
             .build()