Interface CustomerResetPassword


public interface CustomerResetPassword
CustomerResetPassword
Example to create an instance using the builder pattern

     CustomerResetPassword customerResetPassword = CustomerResetPassword.builder()
             .tokenValue("{tokenValue}")
             .newPassword("{newPassword}")
             .build()
 
  • Method Details

    • getTokenValue

      @NotNull @NotNull String getTokenValue()

      Value of the token to reset the Customer password.

      Returns:
      tokenValue
    • getNewPassword

      @NotNull @NotNull String getNewPassword()

      New password to be set.

      Returns:
      newPassword
    • getVersion

      Long getVersion()

      Expected version of the Customer.

      Returns:
      version
    • setTokenValue

      void setTokenValue(String tokenValue)

      Value of the token to reset the Customer password.

      Parameters:
      tokenValue - value to be set
    • setNewPassword

      void setNewPassword(String newPassword)

      New password to be set.

      Parameters:
      newPassword - value to be set
    • setVersion

      void setVersion(Long version)

      Expected version of the Customer.

      Parameters:
      version - value to be set
    • of

      static CustomerResetPassword of()
      factory method
      Returns:
      instance of CustomerResetPassword
    • of

      factory method to create a shallow copy CustomerResetPassword
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of CustomerResetPassword
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static CustomerResetPasswordBuilder builder()
      builder factory method for CustomerResetPassword
      Returns:
      builder
    • builder

      create builder for CustomerResetPassword instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerResetPassword

      default <T> T withCustomerResetPassword(Function<CustomerResetPassword,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<CustomerResetPassword> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference